Skip to content

Commit fce75e7

Browse files
mergennachinfacebook-github-bot
authored andcommitted
Fix llama2/README.md. Add Hugging Face link. (#2874)
Summary: Pull Request resolved: #2874 This is not the HF format. It is still in Meta's format. The HF format has the "-hf" in the address. https://huggingface.co/meta-llama/Llama-2-7b-hf/ Reviewed By: lucylq Differential Revision: D55805488 fbshipit-source-id: a3d89c0f110db12cfef1dc6fe3b6b27da2d3eefd
1 parent 1adf268 commit fce75e7

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

examples/models/llama2/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,9 @@ Performance was measured on Samsung Galaxy S22, S23, S24 and One Plus 12. Measur
5959

6060
You can export and run the original Llama2 7B model.
6161

62-
1. Llama2 pretrained parameters can be downloaded [here](https://ai.meta.com/resources/models-and-libraries/llama-downloads/)
62+
1. Llama2 pretrained parameters can be downloaded from [Meta's official website](https://ai.meta.com/resources/models-and-libraries/llama-downloads/) or from [Hugging Face](https://huggingface.co/meta-llama/Llama-2-7b).
6363

64-
2. TODO: Do some preparation.
65-
66-
3. Export model and generate `.pte` file:
64+
2. Export model and generate `.pte` file:
6765
```
6866
python -m examples.models.llama2.export_llama --checkpoint <checkpoint.pth> --params <params.json> -kv --use_sdpa_with_kv_cache -X -qmode 8da4w -d fp32
6967
```

0 commit comments

Comments
 (0)