llama.cpp/examples/chat.sh

19 lines
384 B
Bash
Executable File

#!/bin/bash
#
# 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
#
./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