interpretml / interpret-text

A library that incorporates state-of-the-art explainers for text-based machine learning models and visualizes the result with a built-in dashboard.
MIT License
409 stars 68 forks source link

Issue with Introspective Rationale Explainer for BERT on text #202

Open ahana17 opened 2 years ago

ahana17 commented 2 years ago

explainer.fit(df_train, df_test) is giving error 'RuntimeError: view size is not compatible with input tensor's size and stride (at least one dimension spans across two contiguous subspaces). Use .reshape(...) instead.' I'm getting this error on running the example notebook as well as trying on my own data