huggingface / transformers

🤗 Transformers: State-of-the-art Machine Learning for Pytorch, TensorFlow, and JAX.
https://huggingface.co/transformers
Apache License 2.0
128.29k stars 25.45k forks source link

[`Llama`] Conversion: fix and simplify the script! #31591

Closed ArthurZucker closed 1 day ago

ArthurZucker commented 3 days ago

What does this PR do?

Fixes #30734 #30723 by updating the script. It simplifies the way we call the conversion script, and give better names to variables! Also supports some issues we have had with consolidated names!

HuggingFaceDocBuilderDev commented 3 days ago

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.