llama.cpp/examples/chat.sh

17 lines
337 B
Bash
Raw 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
#
2023-03-25 20:51:41 +01: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