summaryrefslogtreecommitdiff
path: root/examples/gpt4all.sh
diff options
context:
space:
mode:
authorniansa/tuxifan <anton-sa@web.de>2023-04-13 15:03:39 +0200
committerGitHub <noreply@github.com>2023-04-13 16:03:39 +0300
commit107980d970808c2ccf9334ad033e2782a560b911 (patch)
treef09fad5a7128c3ccca8cc1ab205685aa6c7f48af /examples/gpt4all.sh
parent585d91a156794d30eec16ebe67c8d7a1d41406c1 (diff)
examples : add -n to alpaca and gpt4all scripts (#706)
Diffstat (limited to 'examples/gpt4all.sh')
-rwxr-xr-xexamples/gpt4all.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/gpt4all.sh b/examples/gpt4all.sh
index d974f95a..5fd739e5 100755
--- a/examples/gpt4all.sh
+++ b/examples/gpt4all.sh
@@ -10,6 +10,6 @@ cd ..
./main --color --instruct --threads 4 \
--model ./models/gpt4all-7B/gpt4all-lora-quantized.bin \
--file ./prompts/alpaca.txt \
- --batch_size 8 --ctx_size 2048 \
+ --batch_size 8 --ctx_size 2048 -n -1 \
--repeat_last_n 64 --repeat_penalty 1.3 \
--n_predict 128 --temp 0.1 --top_k 40 --top_p 0.95