Update build.yml

This commit is contained in:
fraxy-v 2024-03-19 16:52:01 +02:00 committed by GitHub
parent 927be9b58e
commit 6014a63125
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -150,9 +150,9 @@ jobs:
run: | run: |
cd build cd build
echo "Fetch tokenizer" echo "Fetch tokenizer"
wget https://huggingface.co/karpathy/tinyllamas/resolve/main/stories260K/tok512.bin?download=true wget https://huggingface.co/karpathy/tinyllamas/resolve/main/stories260K/tok512.bin
echo "Fetch llama2c model" echo "Fetch llama2c model"
wget https://huggingface.co/karpathy/tinyllamas/resolve/main/stories260K/stories260K.bin?download=true wget https://huggingface.co/karpathy/tinyllamas/resolve/main/stories260K/stories260K.bin
./bin/convert-llama2c-to-ggml --copy-vocab-from-model ./tok512.bin --llama2c-model stories260K.bin --llama2c-output-model stories260K.gguf ./bin/convert-llama2c-to-ggml --copy-vocab-from-model ./tok512.bin --llama2c-model stories260K.bin --llama2c-output-model stories260K.gguf
./bin/main -m stories260K.gguf.bin -p "One day, Lily met a Shoggoth" -n 500 -c 256 ./bin/main -m stories260K.gguf.bin -p "One day, Lily met a Shoggoth" -n 500 -c 256