fixed whitespace in reverse prompt issue
This commit is contained in:
parent
88c6535377
commit
ff9b824a2a
2 changed files with 4 additions and 3 deletions
|
@ -6,11 +6,12 @@ cd ..
|
||||||
|
|
||||||
# get -m model parameter otherwise defer to default
|
# get -m model parameter otherwise defer to default
|
||||||
if [ "$1" == "-m" ]; then
|
if [ "$1" == "-m" ]; then
|
||||||
MODEL="-m $1"
|
MODEL="-m $2 "
|
||||||
fi
|
fi
|
||||||
|
|
||||||
./main $MODEL --color \
|
./main $MODEL --color \
|
||||||
-f ./prompts/reason-act.txt \
|
-f ./prompts/reason-act.txt \
|
||||||
-i --interactive-first \
|
-i --interactive-first \
|
||||||
--top_k 10000 --temp 0.2 --repeat_penalty 1 -t 7 -c 2048 \
|
--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
|
||||||
|
|
|
@ -15,4 +15,4 @@ Answer: The calculate tool says it is 9.3333333333
|
||||||
Question: What is capital of france?
|
Question: What is capital of france?
|
||||||
Thought: Do I need to use an action? No, I know the answer
|
Thought: Do I need to use an action? No, I know the answer
|
||||||
Answer: Paris is the capital of France
|
Answer: Paris is the capital of France
|
||||||
Question:
|
Question:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue