summaryrefslogtreecommitdiff
path: root/llama.cpp/scripts/get-wikitext-2.sh
diff options
context:
space:
mode:
Diffstat (limited to 'llama.cpp/scripts/get-wikitext-2.sh')
-rwxr-xr-xllama.cpp/scripts/get-wikitext-2.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/llama.cpp/scripts/get-wikitext-2.sh b/llama.cpp/scripts/get-wikitext-2.sh
new file mode 100755
index 0000000..67b0b01
--- /dev/null
+++ b/llama.cpp/scripts/get-wikitext-2.sh
@@ -0,0 +1,11 @@
+#!/usr/bin/env bash
+
+wget https://huggingface.co/datasets/ggml-org/ci/resolve/main/wikitext-2-raw-v1.zip
+unzip wikitext-2-raw-v1.zip
+
+echo "Usage:"
+echo ""
+echo " ./llama-perplexity -m model.gguf -f wikitext-2-raw/wiki.test.raw [other params]"
+echo ""
+
+exit 0