Update README.md
#3
by
marcsun13
HF staff
- opened
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 " Llama-2-7b-chat-mlx/ Llama-2-7b-chat-mlx/tokenizer.model
|
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 " Llama-2-7b-chat-mlx/ Llama-2-7b-chat-mlx/tokenizer.model
|
34 |
```
|
35 |
|
36 |
Please, refer to the [original model card](https://huggingface.co/meta-llama/Llama-2-7b-chat) for details on Llama 2.
|