diff options
author | Leonardo Neumann <leonardo@neumann.dev.br> | 2023-04-02 04:56:20 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-02 10:56:20 +0300 |
commit | 6e7801d08d81c931a5427bae46f00763e993f54a (patch) | |
tree | 926755ba6dfb42f182c57366abebac1c0ae59172 | |
parent | 81040f10aae3160317c5787c9c59acb219927826 (diff) |
examples : add gpt4all script (#658)
-rwxr-xr-x | examples/gpt4all.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/gpt4all.sh b/examples/gpt4all.sh new file mode 100755 index 0000000..d974f95 --- /dev/null +++ b/examples/gpt4all.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +# +# Temporary script - will be removed in the future +# + +cd `dirname $0` +cd .. + +./main --color --instruct --threads 4 \ + --model ./models/gpt4all-7B/gpt4all-lora-quantized.bin \ + --file ./prompts/alpaca.txt \ + --batch_size 8 --ctx_size 2048 \ + --repeat_last_n 64 --repeat_penalty 1.3 \ + --n_predict 128 --temp 0.1 --top_k 40 --top_p 0.95 |