add example of re-act pattern (#583)
* add example of re-act pattern * spelling... * fixed whitespace in reverse prompt issue
This commit is contained in:
parent
83df5639eb
commit
a6956b25a1
2 changed files with 35 additions and 0 deletions
17
examples/reason-act.sh
Executable file
17
examples/reason-act.sh
Executable file
|
@ -0,0 +1,17 @@
|
|||
|
||||
#!/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
|
Loading…
Add table
Add a link
Reference in a new issue