technician1 commited on
Commit
8f5cfcd
·
1 Parent(s): a935f92

Upload ChatIPC.cpp

Browse files
Files changed (1) hide show
  1. ChatIPC.cpp +7 -7
ChatIPC.cpp CHANGED
@@ -1199,14 +1199,14 @@ static void load_kb_binary(KnowledgeBase &kb, const std::string &fname, int cli_
1199
  }
1200
 
1201
  static void print_usage(const char *p){
1202
- std::cout << "Usage: " << p << " [--response-max-length N] [--save FILE] [--load-kb FILE] [--dictionary-depth D] [--learn f1 f2 ...] [--repeat-penalty P] [--help]\n";
1203
- std::cout << " --response-max-length N Maximum number of tokens constructed in a response.\n";
1204
- std::cout << " --save FILE Save the knowledge-base and dictionary expansions to a binary file.\n";
1205
- std::cout << " --load-kb FILE Load a previously saved knowledge-base (and dictionary expansions) from a binary file.\n";
1206
  std::cout << " --dictionary-depth D Depth of dictionary-definition expansion used during learning.\n";
1207
- std::cout << " --learn f1 f2 ... Learn from one or more text files to update the knowledge base.\n";
1208
- std::cout << " --repeat-penalty P Penalize repeated tokens during response generation (higher values discourage repetition).\n";
1209
- std::cout << " --help Show command-line interface options for ChatIPC usage.\n";
1210
  }
1211
 
1212
  int main(int argc, char **argv){
 
1199
  }
1200
 
1201
  static void print_usage(const char *p){
1202
+ std::cout << "CLI options: [--response-max-length N] [--save FILE] [--load-kb FILE] [--dictionary-depth D] [--learn f1 f2 ...] [--repeat-penalty P] [--help]\n";
1203
+ std::cout << " --response-max-length N Maximum number of tokens in a response.\n";
1204
+ std::cout << " --save FILE Save the knowledge-base to a binary file.\n";
1205
+ std::cout << " --load-kb FILE Load a previously saved knowledge-base from a binary file.\n";
1206
  std::cout << " --dictionary-depth D Depth of dictionary-definition expansion used during learning.\n";
1207
+ std::cout << " --learn f1 f2 ... Learn from one or more text files to update the knowledge-base.\n";
1208
+ std::cout << " --repeat-penalty P Penalize repeated tokens when constructing response (higher values reduce repetition).\n";
1209
+ std::cout << " --help Show Command-Line Interface (CLI) options for using " << p << "\n";
1210
  }
1211
 
1212
  int main(int argc, char **argv){