We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 952513c commit 5a00bd8Copy full SHA for 5a00bd8
examples/slm_chatbot_ex.cpp
@@ -276,8 +276,8 @@ int main(int argc, char** argv)
276
!file_exists("chkpt-" + finetuned_model)) deserialize(model_file) >> net >> tokenizer;
277
else if (file_exists(finetuned_model) &&
278
!file_exists("chkpt-" + finetuned_model)) deserialize(finetuned_model) >> net >> tokenizer;
279
- else if (file_exists(tokenizer_file)) {
280
- deserialize(tokenizer_file) >> tokenizer; }
+ else if (file_exists(tokenizer_file))
+ deserialize(tokenizer_file) >> tokenizer;
281
else {
282
cout << "Pre-trained tokenizer not found at: " << tokenizer_file << endl;
283
return 1;
0 commit comments