Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use classification explainer for custom models? #145

Open
Hossein-1991 opened this issue Apr 23, 2024 · 0 comments
Open

How to use classification explainer for custom models? #145

Hossein-1991 opened this issue Apr 23, 2024 · 0 comments

Comments

@Hossein-1991
Copy link

Hossein-1991 commented Apr 23, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant