Closed shaktisd closed 3 years ago
Seems to be a TensorFlow checkpoint loading error.
Can you try running the same snippet without TF ie using PyTorch (TFTrainingArguments -> TrainingArguments, TFTrainer -> Trainer, etc) and see if you get an error?
Hi I am trying to fine tune indic bert on IITP Movie Reviews . It is not working for AutoTokenizer, AutoModelForSequenceClassification or AlbertTokenizer, AlbertForSequenceClassification Following is the code I am trying to run , getting same exception if I change to Auto from Albert.
Getting error : ValueError:
Checkpoint
was expecting a trackable object (an object derived fromTrackableBase
), got AlbertForSequenceClassification(