Skip to content
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

[SFTTrainer] Fix Trainer when args is None #1064

Merged
merged 3 commits into from
Dec 6, 2023

Conversation

younesbelkada
Copy link
Contributor

What does this PR do?

Fixes #1055

This PR makes sure the SFTTrainer deals correctly the args when it is set to None, thus avoiding the issue described on #1055

cc @lvwerra

@younesbelkada younesbelkada requested a review from lvwerra December 6, 2023 16:40
@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.

@younesbelkada younesbelkada merged commit 9fb00cf into main Dec 6, 2023
9 checks passed
@younesbelkada younesbelkada deleted the fix-sft-trainer-none-arg branch December 6, 2023 18:02
lapp0 pushed a commit to lapp0/trl that referenced this pull request May 10, 2024
* fix sfttrainer when args is None

* oops
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 using quantized model + peft does not work
3 participants