llama.cpp/examples/chat.sh

17 lines
337 B
Bash
Raw Normal View History

2023-03-21 16:09:37 +00:00
#!/bin/bash
2023-03-25 18:36:52 +00:00
2023-03-21 16:09:37 +00:00
#
# Temporary script - will be removed in the future
#
2023-03-25 18:36:52 +00:00
cd `dirname $0`
cd ..
# Important:
#
# "--keep 48" is based on the contents of prompts/chat-with-bob.txt
#
2023-03-25 19:51:41 +00:00
./main -m ./models/7B/ggml-model-q4_0.bin -c 512 -b 1024 -n 256 --keep 48 \
--repeat_penalty 1.0 --color -i \
-r "User:" -f prompts/chat-with-bob.txt