Last active
November 30, 2023 22:16
-
-
Save akhenakh/12bbb8e1a438c53b2f94d347a5053031 to your computer and use it in GitHub Desktop.
Use a llama model on your mac
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://github.com/ggerganov/llama.cpp | |
cd llama.cpp | |
make -j | |
pip3 install huggingface-hub | |
huggingface-cli download TheBloke/zephyr-7B-alpha-GGUF zephyr-7b-alpha.Q5_K_M.gguf --local-dir ./models --local-dir-use-symlinks False | |
export MODEL=./models/zephyr-7b-alpha.Q5_K_M.gguf | |
./examples/server-llama2-13B.sh | |
# go to http://localhost:8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment