Update usage instructions

#2
by pcuenq HF staff - opened
Files changed (1) hide show
  1. README.md +2 -2
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 models --local-dir-use-symlinks False mlx-llama/CodeLlama-7b-Python-mlx CodeLlama-7b-Python-mlx
30
 
31
  # Run example
32
- python mlx-examples/llama/llama.py CodeLlama-7b-Python-mlx CodeLlama-7b-Python-mlx/tokenizer.model "My name is "
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.