summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorZHAOKAI WANG <sanxianwei@163.com>2023-09-01 22:06:44 +0800
committerGitHub <noreply@github.com>2023-09-01 17:06:44 +0300
commit69fdbb9abc8907dd2a9ffdd840cba92d678a660a (patch)
tree102f080592872912dd1bb9058d8761bc2b2dc56f /examples
parent5d6f19f16b2173afe2d5c6aee2f5c9fc31038eba (diff)
readme : quick start command fix (#2908)
* quick start command fix * quick start win command fix
Diffstat (limited to 'examples')
-rw-r--r--examples/main/README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/main/README.md b/examples/main/README.md
index d555afdc..2773fe97 100644
--- a/examples/main/README.md
+++ b/examples/main/README.md
@@ -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):