Skip to content

Conversation

cmar28
Copy link

@cmar28 cmar28 commented May 7, 2025

What does this PR do?

  • evaluation_strategy is no longer a valid keyword for the latest trl/transformers API. The parameter was renamed a few releases ago (along with save_strategy, log_strategy, etc.). The parameter name has changed to eval_strategy
  • tokenizer was taken out of the SFTTrainer constructor in TRL ≥ 0.16. The callable you pass is now called processing_class

Fixes # (issue)

Who can review?

Feel free to tag members/contributors who may be interested in your PR.

- evaluation_strategy is no longer a valid keyword for the latest
trl/transformers API. The parameter was renamed a few releases ago (along with save_strategy, log_strategy, etc.). The parameter name has changed to eval_strategy
- tokenizer was taken out of the SFTTrainer constructor in TRL ≥ 0.16. The callable you pass is now called processing_class
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

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.

1 participant