Merge pull request #45 from bbelescot/clarify-llama-readme-instructions

📝 Clarify python command for llama example
This commit is contained in:
Awni Hannun 2023-12-08 09:38:07 -08:00 committed by GitHub
commit 331690491f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,7 @@ Alternatively, you can also download a select converted checkpoints from the [ml
Convert the weights with: Convert the weights with:
``` ```
python convert.py <path_to_torch_weights> mlx_llama_weights.npz python convert.py <path_to_torch_weights> <path_to_mlx_llama_weights.npz>
``` ```
### Run ### Run
@ -32,7 +32,7 @@ Once you've converted the weights to MLX format, you can interact with the
LLaMA model: LLaMA model:
``` ```
python llama.py mlx_llama_weights.npz <path_to_tokenizer.model> "hello" python llama.py <path_to_mlx_llama_weights.npz> <path_to_tokenizer.model> "hello"
``` ```
Run `python llama.py --help` for more details. Run `python llama.py --help` for more details.