Spaces:
Running on Zero
Running on Zero
Download backend/llama.cpp/examples/reason-act.sh from kazutab/mindmap-studio: direct link, hf CLI and curl.
- Browser
- Download file 363 Bytes
-
https://huggingface.co/spaces/kazutab/mindmap-studio/resolve/main/backend/llama.cpp/examples/reason-act.sh
- Command line
-
hf download hf://spaces/kazutab/mindmap-studio/backend/llama.cpp/examples/reason-act.sh
-
curl -L -o reason-act.sh https://huggingface.co/spaces/kazutab/mindmap-studio/resolve/main/backend/llama.cpp/examples/reason-act.sh
363 Bytes
| 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 | |