Skip to content

Fix the response schema for the gemma4 converter#45411

Merged
Rocketknight1 merged 1 commit intomainfrom
fix_gemma4_converter_template
Apr 14, 2026
Merged

Fix the response schema for the gemma4 converter#45411
Rocketknight1 merged 1 commit intomainfrom
fix_gemma4_converter_template

Conversation

@Rocketknight1
Copy link
Copy Markdown
Member

This PR fixes the response schema used in the Gemma4 conversion script. The change has already been made in the Hub repos themselves, so I'm just copying the updated schema into the codebase!

@Rocketknight1 Rocketknight1 marked this pull request as ready for review April 13, 2026 15:31
@Rocketknight1
Copy link
Copy Markdown
Member Author

cc @vasqu but don't worry about reviewing too deeply since I've already iterated on this schema with the people at Google!

@github-actions
Copy link
Copy Markdown
Contributor

[For maintainers] Suggested jobs to run (before merge)

run-slow: gemma4

@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

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.

Copy link
Copy Markdown
Contributor

@vasqu vasqu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trusting you but could you add which commits were related to these changes. Meaning those on the hub and it to the PR description here.

@vasqu
Copy link
Copy Markdown
Contributor

vasqu commented Apr 13, 2026

I would like to say to add a test but we don't really add tests to converters per se but the end product :D

@Rocketknight1 Rocketknight1 added this pull request to the merge queue Apr 14, 2026
@Rocketknight1
Copy link
Copy Markdown
Member Author

@vasqu there's actually no original commit on the Hub that corresponds to the conversion script schema, I think - we were developing the schema live before the launch, and the conversion script went out of date pretty quickly because we were focused on the repos!

Merged via the queue into main with commit 908064c Apr 14, 2026
19 checks passed
@Rocketknight1 Rocketknight1 deleted the fix_gemma4_converter_template branch April 14, 2026 10:21
sirzechs66 pushed a commit to sirzechs66/transformers that referenced this pull request Apr 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants