]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
alpaca.sh : update model file name (#2074)
authortslmy <redacted>
Thu, 6 Jul 2023 16:17:50 +0000 (09:17 -0700)
committerGitHub <redacted>
Thu, 6 Jul 2023 16:17:50 +0000 (19:17 +0300)
The original file name, `ggml-alpaca-7b-q4.bin`, implied the first-generation GGML. After the breaking changes (mentioned in https://github.com/ggerganov/llama.cpp/issues/382), `llama.cpp` requires GGML V3 now. Those model files are named `*ggmlv3*.bin`. We should change the example to an actually working model file, so that this thing is more likely to run out-of-the-box for more people, and less people would waste time downloading the old Alpaca model.

examples/alpaca.sh

index aef207f364797f1ccf2f5a4306ec4a695b562107..8d2bae6918b622e06dff9a419e265e72ac153250 100755 (executable)
@@ -7,7 +7,7 @@
 cd `dirname $0`
 cd ..
 
-./main -m ./models/ggml-alpaca-7b-q4.bin \
+./main -m ./models/alpaca.13b.ggmlv3.q8_0.bin \
        --color \
        -f ./prompts/alpaca.txt \
        --ctx_size 2048 \