You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've written a Bert model with a fc layer for a classification task.
This is my codes:
But when I want to use my model to SequenceClassificationExplainer it gives this error: AttributeError: 'Bert' object has no attribute 'config'.
How should I fix that?
The text was updated successfully, but these errors were encountered:
Hello,
I've written a Bert model with a fc layer for a classification task.
This is my codes:
But when I want to use my model to
SequenceClassificationExplainer
it gives this error:AttributeError: 'Bert' object has no attribute 'config'
.How should I fix that?
The text was updated successfully, but these errors were encountered: