How to generate the modeling_gemma2.py file from diff_gemma2.py

#19
by Asap7772 - opened

Hi, I am trying to make a change to the underlying transformers implementation for a project and was wondering what the process would be to take the changes from diff_gemma2.py and apply them to the modeling_gemma2.py and configuration_gemma2.py file in the transformers repo found here: src/transformers/models/gemma2. Any help would be much appreciated. Thanks!

Google org

Please refer to the guidelines mentioned in this document "Contribute to 🤗 Transformers" which explained the process of how you can modify the model and apply the changes to the main file.

Sign up or log in to comment