Commit ·
8f5cfcd
1
Parent(s): a935f92
Upload ChatIPC.cpp
Browse files- 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 << "
|
| 1203 |
-
std::cout << " --response-max-length N Maximum number of tokens
|
| 1204 |
-
std::cout << " --save FILE Save the knowledge-base
|
| 1205 |
-
std::cout << " --load-kb FILE Load a previously saved knowledge-base
|
| 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
|
| 1208 |
-
std::cout << " --repeat-penalty P Penalize repeated tokens
|
| 1209 |
-
std::cout << " --help Show
|
| 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){
|