Spaces:
Build error
Build error
Download llama.cpp/examples/chat.sh from YZ-TAN/flask-llama: direct link, hf CLI and curl.
- Browser
- Download file 365 Bytes
-
https://huggingface.co/spaces/YZ-TAN/flask-llama/resolve/5a292634f6a0d0358b4ea9a6e2ca2bcc779f3785/llama.cpp/examples/chat.sh
- Command line
-
hf download hf://spaces/YZ-TAN/flask-llama@5a292634f6a0d0358b4ea9a6e2ca2bcc779f3785/llama.cpp/examples/chat.sh
-
curl -L -o chat.sh https://huggingface.co/spaces/YZ-TAN/flask-llama/resolve/5a292634f6a0d0358b4ea9a6e2ca2bcc779f3785/llama.cpp/examples/chat.sh
365 Bytes
| # | |
| # Temporary script - will be removed in the future | |
| # | |
| cd `dirname $0` | |
| cd .. | |
| # Important: | |
| # | |
| # "--keep 48" is based on the contents of prompts/chat-with-bob.txt | |
| # | |
| ./llama-cli -m ./models/llama-7b/ggml-model-q4_0.gguf -c 512 -b 1024 -n 256 --keep 48 \ | |
| --repeat_penalty 1.0 --color -i \ | |
| -r "User:" -f prompts/chat-with-bob.txt | |