You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can find Meta Llama models on Hugging Face hub [here](https://huggingface.co/meta-llama), **where models with `hf` in the name are already converted to Hugging Face checkpoints so no further conversion is needed**. The conversion step below is only for original model weights from Meta that are hosted on Hugging Face model hub as well.
98
+
### Getting the Llama models
99
+
You can find Llama models on Hugging Face hub [here](https://huggingface.co/meta-llama), **where models with `hf` in the name are already converted to Hugging Face checkpoints so no further conversion is needed**. The conversion step below is only for original model weights from Meta that are hosted on Hugging Face model hub as well.
100
100
101
101
#### Model conversion to Hugging Face
102
-
The recipes and notebooks in this folder are using the Meta Llama model definition provided by Hugging Face's transformers library.
103
-
104
-
Given that the original checkpoint resides under models/7B you can install all requirements and convert the checkpoint with:
102
+
If you have the model checkpoints downloaded from the Meta website, you can convert it to the Hugging Face format with:
105
103
106
104
```bash
107
105
## Install Hugging Face Transformers from source
108
-
pip freeze | grep transformers ## verify it is version 4.31.0 or higher
106
+
pip freeze | grep transformers ## verify it is version 4.45.0 or higher
0 commit comments