Skip to content

tokenizer -> processor in trl trainers init#306

Merged
stevhliu merged 2 commits intohuggingface:mainfrom
sergiopaniego:issue-305
Jun 23, 2025
Merged

tokenizer -> processor in trl trainers init#306
stevhliu merged 2 commits intohuggingface:mainfrom
sergiopaniego:issue-305

Conversation

@sergiopaniego
Copy link
Member

@sergiopaniego sergiopaniego commented Jun 23, 2025

What does this PR do?

For TRL trainers, changed tokenizer to processor in init since it's no longer accepted.

Fixes #305
Related to huggingface/trl#2162 and huggingface/transformers#32385

Who can review?

@merveenoyan and @stevhliu.

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@sergiopaniego sergiopaniego marked this pull request as ready for review June 23, 2025 16:31
@sergiopaniego sergiopaniego changed the title tokenizer -> processor` in trl trainers init tokenizer -> processor in trl trainers init Jun 23, 2025
@HuggingFaceDocBuilderDev

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
Member

@stevhliu stevhliu left a comment

Choose a reason for hiding this comment

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

Thanks for updating!

@stevhliu stevhliu merged commit c9399e8 into huggingface:main Jun 23, 2025
1 check 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.

SFTTrainer init arg tokenizer not found

3 participants