Open Guiraud opened 1 year ago
Hi @Guiraud !
This model was trained with Tensorflow and does not have PyTorch compatible weights.
By default, the CamembertForSequenceClassification.from_pretrained
method seems to look for PyTorch weights.
As suggested, you should use from_tf=True
to force loading Tensorflow weights.
Or you could directly use the TFAutoModelForSequenceClassification.from_pretrained
method, which is what I do in the colab example
I hope my answer clears you up !
Hi I'm trying to use your transformer in one of my program. Saddly I have this error message :
WHat should I do ?