Skip to content

[bugfix] Fix gemma4 image template#9115

Merged
Jintao-Huang merged 3 commits intomodelscope:mainfrom
Jintao-Huang:fix_gemma4_image_template
Apr 15, 2026
Merged

[bugfix] Fix gemma4 image template#9115
Jintao-Huang merged 3 commits intomodelscope:mainfrom
Jintao-Huang:fix_gemma4_image_template

Conversation

@Jintao-Huang
Copy link
Copy Markdown
Collaborator

No description provided.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the replace_tag method in the Gemma template to remove unnecessary newlines surrounding the <|image|> and <|video|> tags. I have no feedback to provide.

@Jintao-Huang Jintao-Huang merged commit 7fdca8a into modelscope:main Apr 15, 2026
2 of 3 checks passed
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.

2 participants