meta-llama / llama-models

Utilities intended for use with Llama models.
Other
4.88k stars 839 forks source link

How can I get the python file of the model architecture, such as 'model.py' ? #171

Closed LaosGAmin closed 1 month ago

LaosGAmin commented 1 month ago

I want to make some changes to the model, but using the transforms packet seems a bit inconvenient.

raghotham commented 1 month ago

https://github.com/meta-llama/llama-models/blob/main/models/llama3/reference_impl/model.py

LaosGAmin commented 1 month ago

https://github.com/meta-llama/llama-models/blob/main/models/llama3/reference_impl/model.py Yes, I know LLAMA3, but how about llama3.2 or vision?