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

Can I use IntrospectiveRationaleExplainer to explain pre-trained model ? #234

Open
nochimake opened this issue Feb 19, 2024 · 1 comment

Comments

@nochimake
Copy link

Hello, I have a pre-trained model for text sentiment polarity classification, with a structure roughly composed of RoBERTa+TextCNN. Can I use the Introspective Rationale Explainer to interpret its output? I aim to obtain the importance/contribution of each word towards the final predicted polarity.

@Siddharth-Latthe-07
Copy link

@nochimake I would suggest to try Exaplainable AI (XAI), Explainable AI (XAI) aims to make the decision-making processes of machine learning models transparent and interpretable.
Refer this:- https://github.com/explainX/explainx
Through it's lime and shap libraries , it is possible to interpret the decesions of model through visualizations.
You can also use the IRE for that as well, but have a look at the accuracy. In my oinion, XAI has the best one.
Plz let me know, if this helps
Thanks

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

No branches or pull requests

2 participants