Open SoshyHayami opened 1 month ago
Hi! Could you post the code that you're running for trimming and training? Also attach the output of pip freeze
so I can inspect the environment.
Will try to have a look later today.
Damn, thanks a lot for the fast response! I already closed the kaggle env, but I can share the notebook (it's mostly based on the official hf tutorial) I won't clean it in case something might give you a clue. here:
https://www.kaggle.com/code/respair/notebooka6f94376b2 (you'll have to add the data_collator back in the trainer arguments, if the notebook is not updated yet, also you can ignore the protobuf installating cell, i never ran that cell and yet the problem persist.)
btw, have you seen this? wondering what's the difference between your work and that
Damn, thanks a lot for the fast response! I already closed the kaggle env, but I can share the notebook (it's mostly based on the official hf tutorial) I won't clean it in case something might give you a clue. here:
https://www.kaggle.com/code/respair/notebooka6f94376b2 (you'll have to add the data_collator back in the trainer arguments, if the notebook is not updated yet, also you can ignore the protobuf installating cell, i never ran that cell and yet the problem persist.)
btw, have you seen this? wondering what's the difference between your work and that
Getting the same error even with that repo, while in both cases if I use the original models it works just fine. are you sure training with a trimmed vocab is even possible?
Sorry, I'm running busy till next week and won't be able to get to this immediately.
But yes, training is definitely possible. I finetuned all the trimmed models when I was working on my graduate thesis, and it worked back then. I'm guessing there's been some changes to the code on huggingface's end which is why it's failing.
Meanwhile, you could try using transformers=4.17.0 instead of the latest and see if that helps.
Hi, sounds like the code doesn't work. do you have any suggestions?
I followed the exact same steps. used transformers 4.24 and also the most recent version.
torch : 2.1.2