Open gungui98 opened 3 years ago
May be AutoModel is a new interface.
Is RobertaForSequenceClassification
ok for you?
both RobertaForSequenceClassification
and AutoModelForSequenceClassification
do not work, I notice that pooler become an option in later versions (specifically with params: add_pooling_layer), I do fix the problem with some modification (from my pull request) and it works for my case but It somehow violates your CI testing.
The Turbo is not ready for transformers 3.4.0. You can maintain a local turbo version for youself.
Hi, I am using your library with Roberta for sequence classification, the problem raises when I use the lib with new transformers(3.4.0).
This worked fine with default transformers 3.0.2, but the problem happened when I upgrade the transformers to 3.4.0 (older version cannot load the pretrained model in model hub properly) the error show