]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
readme : quick start command fix (#2908)
authorZHAOKAI WANG <redacted>
Fri, 1 Sep 2023 14:06:44 +0000 (22:06 +0800)
committerGitHub <redacted>
Fri, 1 Sep 2023 14:06:44 +0000 (17:06 +0300)
* quick start command fix

* quick start win command fix

examples/main/README.md

index d555afdccaf81caa980eea9273d1c6bf8ca2d2f2..2773fe976b57d7cafb06e5d45b2830d50238c83b 100644 (file)
@@ -34,7 +34,7 @@ For an interactive experience, try this command:
 #### Unix-based systems (Linux, macOS, etc.):
 
 ```bash
-./main -m models/7B/ggml-model.bin -n -1 --color -r "User:" --in-prefix " " \
+./main -m models/7B/ggml-model.bin -n -1 --color -r "User:" --in-prefix " " -i -p \
 'User: Hi
 AI: Hello. I am an AI chatbot. Would you like to talk?
 User: Sure!
@@ -45,7 +45,7 @@ User:'
 #### Windows:
 
 ```powershell
-main.exe -m models\7B\ggml-model.bin -n -1 --color -r "User:" --in-prefix " " -e --prompt "User: Hi\nAI: Hello. I am an AI chatbot. Would you like to talk?\nUser: Sure!\nAI: What would you like to talk about?\nUser:"
+main.exe -m models\7B\ggml-model.bin -n -1 --color -r "User:" --in-prefix " " -i -e -p "User: Hi\nAI: Hello. I am an AI chatbot. Would you like to talk?\nUser: Sure!\nAI: What would you like to talk about?\nUser:"
 ```
 
 The following command generates "infinite" text from a starting prompt (you can use `Ctrl-C` to stop it):