Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
RoberLopez committed Dec 4, 2024
1 parent 92dd22a commit 9143fa7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
4 changes: 2 additions & 2 deletions opennn/language_data_set.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1907,7 +1907,7 @@ void LanguageDataSet::read_txt_language_model()
const vector<vector<string>> context_tokens = preprocess_language_documents(context);
const vector<vector<string>> completion_tokens = preprocess_language_documents(completion);

bool imported_vocabulary = false;
// bool imported_vocabulary = false;

if (context_vocabulary_path.empty() || completion_vocabulary_path.empty())
{
Expand All @@ -1923,7 +1923,7 @@ void LanguageDataSet::read_txt_language_model()
{
cout << "Importing vocabularies..." << endl;

imported_vocabulary = true;
// imported_vocabulary = true;
import_vocabulary(context_vocabulary_path, context_vocabulary);
import_vocabulary(completion_vocabulary_path, completion_vocabulary);
}
Expand Down
2 changes: 0 additions & 2 deletions opennn/levenberg_marquardt_algorithm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
#include "tensors.h"
#include "levenberg_marquardt_algorithm.h"
#include "forward_propagation.h"
#include "scaling_layer_2d.h"
#include "unscaling_layer.h"

namespace opennn
{
Expand Down
2 changes: 0 additions & 2 deletions opennn/stochastic_gradient_descent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
#include "forward_propagation.h"
#include "back_propagation.h"
#include "language_data_set.h"
#include "scaling_layer_2d.h"
#include "unscaling_layer.h"

namespace opennn
{
Expand Down

0 comments on commit 9143fa7

Please # to comment.