Update usage instructions
Browse files
README.md
CHANGED
@@ -26,10 +26,10 @@ git clone https://github.com/ml-explore/mlx-examples.git
|
|
26 |
|
27 |
# Download model
|
28 |
export HF_HUB_ENABLE_HF_TRANSFER=1
|
29 |
-
huggingface-cli download --local-dir
|
30 |
|
31 |
# Run example
|
32 |
-
python mlx-examples/llama/llama.py CodeLlama-7b-Python-mlx CodeLlama-7b-Python-mlx/tokenizer.model "
|
33 |
```
|
34 |
|
35 |
Please, refer to the [original model card](https://github.com/facebookresearch/codellama/blob/main/MODEL_CARD.md) for details on CodeLlama.
|
|
|
26 |
|
27 |
# Download model
|
28 |
export HF_HUB_ENABLE_HF_TRANSFER=1
|
29 |
+
huggingface-cli download --local-dir CodeLlama-7b-Python-mlx mlx-llama/CodeLlama-7b-Python-mlx
|
30 |
|
31 |
# Run example
|
32 |
+
python mlx-examples/llama/llama.py CodeLlama-7b-Python-mlx/CodeLlama-7b-Python.npz CodeLlama-7b-Python-mlx/tokenizer.model "def fibonacci("
|
33 |
```
|
34 |
|
35 |
Please, refer to the [original model card](https://github.com/facebookresearch/codellama/blob/main/MODEL_CARD.md) for details on CodeLlama.
|