fixed whitespace in reverse prompt issue

This commit is contained in:
Tobias Lütke 2023-03-29 09:56:11 +02:00
parent 88c6535377
commit ff9b824a2a
No known key found for this signature in database
GPG key ID: 1FC0DBB14164709A
2 changed files with 4 additions and 3 deletions

View file

@ -6,11 +6,12 @@ cd ..
# get -m model parameter otherwise defer to default
if [ "$1" == "-m" ]; then
MODEL="-m $1"
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: " -n -1
-r "Question:" -r "Observation:" --in-prefix " " \
-n -1

View file

@ -15,4 +15,4 @@ Answer: The calculate tool says it is 9.3333333333
Question: What is capital of france?
Thought: Do I need to use an action? No, I know the answer
Answer: Paris is the capital of France
Question:
Question: