I followed these instructions for fine-tuning model, and everything works nicely since I got these problems. I am using Google Colab for fine-tuning.
It’s strange since the Trainer can not recognize the model. I have already tried using BertForSequenceClassification and AutoModelForSequenceClassification but the results are the same.
Is there any way to fix this?
By the way, I install libraries following the above link.