From b333b06772c89d96aacb5490d6a219fba7c09cc6 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Thu, 12 Feb 2026 20:57:17 +0100 Subject: Engage! --- llama.cpp/examples/reason-act.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 llama.cpp/examples/reason-act.sh (limited to 'llama.cpp/examples/reason-act.sh') diff --git a/llama.cpp/examples/reason-act.sh b/llama.cpp/examples/reason-act.sh new file mode 100755 index 0000000..3c80192 --- /dev/null +++ b/llama.cpp/examples/reason-act.sh @@ -0,0 +1,16 @@ +#!/usr/bin/env bash + +cd `dirname $0` +cd .. + +# get -m model parameter otherwise defer to default +if [ "$1" == "-m" ]; then + MODEL="-m $2 " +fi + +./llama-cli $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 -- cgit v1.2.3