mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-24 10:24:35 +00:00
readme : quick start command fix (#2908)
* quick start command fix * quick start win command fix
This commit is contained in:
parent
5d6f19f16b
commit
69fdbb9abc
@ -34,7 +34,7 @@ For an interactive experience, try this command:
|
|||||||
#### Unix-based systems (Linux, macOS, etc.):
|
#### Unix-based systems (Linux, macOS, etc.):
|
||||||
|
|
||||||
```bash
|
```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
|
'User: Hi
|
||||||
AI: Hello. I am an AI chatbot. Would you like to talk?
|
AI: Hello. I am an AI chatbot. Would you like to talk?
|
||||||
User: Sure!
|
User: Sure!
|
||||||
@ -45,7 +45,7 @@ User:'
|
|||||||
#### Windows:
|
#### Windows:
|
||||||
|
|
||||||
```powershell
|
```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):
|
The following command generates "infinite" text from a starting prompt (you can use `Ctrl-C` to stop it):
|
||||||
|
Loading…
Reference in New Issue
Block a user