Skip to content

How to use classification explainer for custom models? #145

@Hossein-1991

Description

@Hossein-1991

I've just been introduced to your package (it is so helpful).
I have a question regarding the classification explainer. I've fine-tuned a distilbert model on a specific dataset with my own designed classifier (several fc layers) on top of that (so, my model is not in the pretrained bert models):
soal

when I try to use the package to interpret outcomes, it gives this error:
'Distilbert' object has no attribute 'config'.
How should I fix that?
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions