aboutsummaryrefslogtreecommitdiff
path: root/examples/llama2.sh
diff options
context:
space:
mode:
Diffstat (limited to 'examples/llama2.sh')
-rwxr-xr-xexamples/llama2.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/examples/llama2.sh b/examples/llama2.sh
new file mode 100755
index 0000000..221b375
--- /dev/null
+++ b/examples/llama2.sh
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+#
+# Temporary script - will be removed in the future
+#
+
+cd `dirname $0`
+cd ..
+
+./main -m models/available/Llama2/7B/llama-2-7b.ggmlv3.q4_0.bin \
+ --color \
+ --ctx_size 2048 \
+ -n -1 \
+ -ins -b 256 \
+ --top_k 10000 \
+ --temp 0.2 \
+ --repeat_penalty 1.1 \
+ -t 8