pcuenq HF staff commited on
Commit
6b21b8c
·
1 Parent(s): f34c38d

Fix code snippet (#4)

Browse files

- Fix code snippet (1317bc9be54c418e54289f4a1b977cb2aa075381)

Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -26,7 +26,7 @@ export HF_HUB_ENABLE_HF_TRANSFER=1
26
  huggingface-cli download --local-dir Llama-2-7b-mlx mlx-llama/Llama-2-7b-mlx
27
 
28
  # Run example
29
- python mlx-examples/llama/llama.py Llama-2-7b-mlx/ Llama-2-7b-chat-mlx/tokenizer.model "My name is "
30
  ```
31
 
32
  Please, refer to the [original model card](https://huggingface.co/meta-llama/Llama-2-7b/tree/main) for details on Llama 2.
 
26
  huggingface-cli download --local-dir Llama-2-7b-mlx mlx-llama/Llama-2-7b-mlx
27
 
28
  # Run example
29
+ python mlx-examples/llama/llama.py --prompt "My name is" Llama-2-7b-mlx/ Llama-2-7b-mlx/tokenizer.model
30
  ```
31
 
32
  Please, refer to the [original model card](https://huggingface.co/meta-llama/Llama-2-7b/tree/main) for details on Llama 2.