pcuenq HF staff marcsun13 HF staff commited on
Commit
b0dbf6c
1 Parent(s): 3cafc25

Update README.md (#4)

Browse files

- Update README.md (94630ce8fc58d1eb6235c551e9b0439f533d4b9a)


Co-authored-by: Marc Sun <marcsun13@users.noreply.huggingface.co>

Files changed (1) hide show
  1. README.md +2 -2
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-llama/Llama-2-7b-chat-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 " --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.