Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Gemma importable from transformers Gemma implementation #1147

Closed
wants to merge 2 commits into from

Conversation

mfuntowicz
Copy link
Contributor

@mfuntowicz mfuntowicz commented Feb 23, 2024

This PR implements the code (mostly inherinted from llama model) to import a Hugging Face Gemma checkpoints and convert it to GemmaForCausalLM.

This PR bumps to required transformers version to 4.38.1 to bring in native Gemma support from transformers.

@byshiue
Copy link
Collaborator

byshiue commented Mar 4, 2024

@mfuntowicz Thanks very much for your great contribution. The changes will be included in the next main branch update to the GitHub, and we will credit you as co-author. Thanks!

Note that transformers 4.38.1 has bug on llama, and they release 4.38.2 to fix the issue.

@kaiyux kaiyux mentioned this pull request Mar 5, 2024
@nv-guomingz nv-guomingz closed this Jun 4, 2024
@nv-guomingz nv-guomingz added triaged Issue has been triaged by maintainers Merged labels Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Merged triaged Issue has been triaged by maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants