diff options
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/reason-act.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/examples/reason-act.sh b/examples/reason-act.sh new file mode 100755 index 00000000..e7fe655d --- /dev/null +++ b/examples/reason-act.sh @@ -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 |