Closed kl2004 closed 1 year ago
Hi @kl2004
Thanks for the issue,
I have managed to successfully run the command you provided, can you make sure you upgrade your transformers
version, for example by installing it from source?
pip install git+https://github.com/huggingface/transformers.git
Hi @younesbelkada, I've reinstalled transformers, accelerate, torch and trl. I could finetune gpt2 now. Thanks for your help!
For reference, these are the versions that work for me:
accelerate==0.19.0
torch==1.13.1
transformers @ git+https://github.com/huggingface/transformers.git@273f5ba0266b223c1d611bd00d4a4b2d58771a33
-e git+https://github.com/lvwerra/trl@31cc361d1749bb385e205b211f0c2f1f51e7bd26#egg=trl
Hi all, I'm trying the latest version of
supervised_finetuning.py
and ran into the error:The full command is:
CUDA is available on the machine:
Installed packages: