llama.cpp/examples/chat.sh

17 lines
344 B
Bash
Raw Permalink Normal View History

2023-03-21 17:09:37 +01:00
#!/bin/bash
2023-03-25 19:36:52 +01:00
2023-03-21 17:09:37 +01:00
#
# Temporary script - will be removed in the future
#
2023-03-25 19:36:52 +01:00
cd `dirname $0`
cd ..
# Important:
#
# "--keep 48" is based on the contents of prompts/chat-with-bob.txt
#
./main -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