llama docs: fix conversion script url (#22514)

This commit is contained in:
Kirill 2023-04-03 17:28:40 +03:00 committed by GitHub
parent 9419f144ad
commit a60010566a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,7 @@ The abstract from the paper is the following:
Tips:
- Weights for the LLaMA models can be obtained from by filling out [this form](https://docs.google.com/forms/d/e/1FAIpQLSfqNECQnMkycAp2jP4Z9TFX0cGR4uf7b_fBxjY_OjhJILlKGA/viewform?usp=send_form)
- After downloading the weights, they will need to be converted to the Hugging Face Transformers format using the [conversion script](/src/transformers/models/llama/convert_llama_weights_to_hf.py). The script can be called with the following (example) command:
- After downloading the weights, they will need to be converted to the Hugging Face Transformers format using the [conversion script](https://github.com/huggingface/transformers/blob/main/src/transformers/models/llama/convert_llama_weights_to_hf.py). The script can be called with the following (example) command:
```bash
python src/transformers/models/llama/convert_llama_weights_to_hf.py \
@ -73,4 +73,4 @@ This model was contributed by [zphang](https://huggingface.co/zphang) with contr
## LlamaForSequenceClassification
[[autodoc]] LlamaForSequenceClassification
- forward
- forward