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] Make sure to not conflict between transformers and TRL implementation #933

Merged
merged 3 commits into from
Oct 31, 2023

Conversation

younesbelkada
Copy link
Contributor

What does this PR do?

As per title, huggingface/transformers#27141 is going to be merged in transformers, therefore this PR makes sure SFTTrainer's NEFTune does not conflict with transformers Trainer one

cc @lvwerra

@younesbelkada younesbelkada requested a review from lvwerra October 31, 2023 13:43
Copy link
Member

@lvwerra lvwerra left a comment

Choose a reason for hiding this comment

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

Sounds good, should have added the neftune parameter to the training arguments in the first place :)

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Oct 31, 2023

The documentation is not available anymore as the PR was closed or merged.

@younesbelkada younesbelkada merged commit b763432 into main Oct 31, 2023
8 checks passed
@younesbelkada younesbelkada deleted the standardize-neftune branch October 31, 2023 15:04
lapp0 pushed a commit to lapp0/trl that referenced this pull request May 10, 2024
…RL implementation (huggingface#933)

* standardize neftune

* up

* fix again
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.

3 participants