Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Set the secondary EOS for Gemma2 - #527

Merged
copybara-service[bot] merged 2 commits into
google:devfrom
ufownl:feature/gemma2_secondary_eos
Mar 25, 2025
Merged

Set the secondary EOS for Gemma2#527
copybara-service[bot] merged 2 commits into
google:devfrom
ufownl:feature/gemma2_secondary_eos

Conversation

@ufownl

@ufownl ufownl commented Mar 21, 2025

Copy link
Copy Markdown
Contributor

This PR also removes the <end_of_turn> filter that was set up specifically for Gemma2 and fixes the EOS checking.

@jan-wassenberg jan-wassenberg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, @pculliton, any thoughts?

@pculliton pculliton left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Great changes - thank you for making them!

@jan-wassenberg jan-wassenberg added the copybara-import Trigger Copybara for merging pull requests label Mar 21, 2025

@jan-wassenberg jan-wassenberg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We have a merge conflict, can you please rebase?

@jan-wassenberg jan-wassenberg removed the copybara-import Trigger Copybara for merging pull requests label Mar 21, 2025
ufownl added 2 commits March 22, 2025 01:32
The secondary eos is usually `<end_of_turn>`, which can appear in the
prompt, so we can only check it not in the prompt.
So that we can remove the `<end_of_turn>` filter that was set up
specifically for Gemma2.
@ufownl
ufownl force-pushed the feature/gemma2_secondary_eos branch from cbb84e1 to d42deaa Compare March 21, 2025 17:33
@ufownl

ufownl commented Mar 21, 2025

Copy link
Copy Markdown
Contributor Author

I have rebased, but no conflict complained by git.

@jan-wassenberg jan-wassenberg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks! It could be that our copybara import was stuck, hopefully this will unblock it.

@jan-wassenberg jan-wassenberg added the copybara-import Trigger Copybara for merging pull requests label Mar 21, 2025
@copybara-service
copybara-service Bot merged commit 4a924f1 into google:dev Mar 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

copybara-import Trigger Copybara for merging pull requests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants