Skip to content

How to use classification explainer for custom models? #145

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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