Update README.md (#4)
Browse files- Update README.md (94630ce8fc58d1eb6235c551e9b0439f533d4b9a)
Co-authored-by: Marc Sun <marcsun13@users.noreply.huggingface.co>
README.md
CHANGED
@@ -27,10 +27,10 @@ git clone https://github.com/ml-explore/mlx-examples.git
|
|
27 |
|
28 |
# Download model
|
29 |
export HF_HUB_ENABLE_HF_TRANSFER=1
|
30 |
-
huggingface-cli download --local-dir Llama-2-7b-chat-mlx mlx-
|
31 |
|
32 |
# Run example
|
33 |
-
python mlx-examples/llama/llama.py --prompt "My name is "
|
34 |
```
|
35 |
|
36 |
Please, refer to the [original model card](https://huggingface.co/meta-llama/Llama-2-7b-chat) for details on Llama 2.
|
|
|
27 |
|
28 |
# Download model
|
29 |
export HF_HUB_ENABLE_HF_TRANSFER=1
|
30 |
+
huggingface-cli download --local-dir Llama-2-7b-chat-mlx/ mlx-community/Llama-2-7b-chat-4-bit
|
31 |
|
32 |
# Run example
|
33 |
+
python mlx-examples/llms/llama/llama.py --prompt "My name is " --model-path Llama-2-7b-chat-mlx/
|
34 |
```
|
35 |
|
36 |
Please, refer to the [original model card](https://huggingface.co/meta-llama/Llama-2-7b-chat) for details on Llama 2.
|