From: ZHAOKAI WANG Date: Fri, 1 Sep 2023 14:06:44 +0000 (+0800) Subject: readme : quick start command fix (#2908) X-Git-Tag: gguf-v0.4.0~158 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=69fdbb9abc8907dd2a9ffdd840cba92d678a660a;p=pkg%2Fggml%2Fsources%2Fllama.cpp readme : quick start command fix (#2908) * quick start command fix * quick start win command fix --- 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):