-
Notifications
You must be signed in to change notification settings - Fork 164
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
Clash in requirements for finetuning Starcoder2 #12
Comments
Issue is still open: huggingface/trl#1409 |
Nothing? @loubnabnl any suggestions on how the default Finetuning script doesn't work out of the box? |
If you change the requirements.txt to reference the latest version of trl this will work fine.
That should do it. I'm using Rye to install dependencies, but that change worked for me. Rye dependencies in
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
#Facing the following error while trying to finetune Starcoder2 with the given script.
Description:
For
transformers.AutoModelForCausalLM
to recognize Starcoder2transformers>4.39.0
is required.But
trl
is still usingtransformers==4.38.2
. Even if I compile from source & usetrl=0.7.12.dev0
I still get an issue.Here is the error with using
transformers==4.38.2
Here is the error when using
transformers==4.39.0
The text was updated successfully, but these errors were encountered: