llama.cpp/examples/chat.sh

19 lines
384 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
#
./main -m ./models/7B/ggml-model-q4_0.bin -c 512 -b 1024 -n -1 --keep 48 \
--repeat_penalty 1.0 --color \
-i --interactive-first \
-r "User:" --in-prefix " " \
-f prompts/chat-with-bob.txt