cdpierse / cdpierse/transformers-interpret
'Bert' object has no attribute 'config'
Open
- Dominant language
- Jupyter Notebook
- Stars
- 1.4k
- Forks
- 99
- PR merge metrics
- No merged PRs in 30d
Description
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?
Contributor guide
Assessment
This issue has not been assessed yet.