-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Set _tokenizer attribute in experimental trainers #5566
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
Merged
albertvillanova
merged 20 commits into
huggingface:main
from
albertvillanova:set-tokenizer-attribute-exp
Apr 28, 2026
Merged
Changes from 4 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
8852bd2
Set tokenizer attribute in OnlineDPO
albertvillanova ee2fd2d
Replace self.pad_token_id and self.eos_token_id
albertvillanova 5375253
Use self._tokenizer
albertvillanova 995558d
Merge remote-tracking branch 'upstream/main' into set-tokenizer-attri…
albertvillanova ddb0457
Merge remote-tracking branch 'upstream/main' into set-tokenizer-attri…
albertvillanova 9c535e0
Set tokenizer attribute in SDFT
albertvillanova 0f85a79
Set tokenizer attribute in SelfDistillation
albertvillanova a355438
Set tokenizer attribute in SSD
albertvillanova 4e8448b
Set tokenizer attribute in TPO
albertvillanova 4cec956
Replace self.pad_token_id and self.eos_token_id in SDFT
albertvillanova 7916f77
Remove self.pad_token_id and self.eos_token_id in BaseSelfDistillation
albertvillanova 3204efb
Replace self.pad_token_id in SDPO SuccessfulRolloutTeacherContextBuilder
albertvillanova 6d8a23f
Replace self.pad_token_id and self.eos_token_id in SSD
albertvillanova 09b0a4a
Replace self.pad_token_id and self.eos_token_id in OnlineRolloutMixin
albertvillanova 8a81c5d
Use self._tokenizer in PromptTokenizer
albertvillanova d0911b9
Merge remote-tracking branch 'upstream/main' into set-tokenizer-attri…
albertvillanova ad61f84
Merge remote-tracking branch 'upstream/main' into set-tokenizer-attri…
albertvillanova 0161f79
Merge remote-tracking branch 'upstream/main' into set-tokenizer-attri…
albertvillanova d335ec1
Set tokenizer attribute in KTO
albertvillanova ba22aad
Use self._tokenizer in _prepare_dataset
albertvillanova File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.