mirror of
https://git.adityakumar.xyz/llama.cpp.git
synced 2024-11-09 15:29:43 +00:00
a6956b25a1
* add example of re-act pattern * spelling... * fixed whitespace in reverse prompt issue
17 lines
351 B
Bash
Executable file
17 lines
351 B
Bash
Executable file
|
|
#!/bin/bash
|
|
|
|
cd `dirname $0`
|
|
cd ..
|
|
|
|
# get -m model parameter otherwise defer to default
|
|
if [ "$1" == "-m" ]; then
|
|
MODEL="-m $2 "
|
|
fi
|
|
|
|
./main $MODEL --color \
|
|
-f ./prompts/reason-act.txt \
|
|
-i --interactive-first \
|
|
--top_k 10000 --temp 0.2 --repeat_penalty 1 -t 7 -c 2048 \
|
|
-r "Question:" -r "Observation:" --in-prefix " " \
|
|
-n -1
|