transformers-interpret icon indicating copy to clipboard operation
transformers-interpret copied to clipboard

Model explainability that works seamlessly with 🤗 transformers. Explain your transformers model in just 2 lines of code.

Results 49 transformers-interpret issues
Sort by recently updated
recently updated
newest added

Hi there, I am observing the following (strange) behavior when using `pipeline` from the `transformers` library and `transformer-interpret`: ``` text = "Now Accord networks is a company in video, and...

Hi @cdpierse , very nice project, congrats! I am doing some experiments for bias in sentiment classifiers using our tool Rubrix together with `transformers-interpret` and I have encountered an issue....

bug
enhancement

Hi, It is ok when I use SequenceClassificationExplainer with short texts but for long texts it throws an error like `RuntimeError: The expanded size of the tensor (583) must match...

As seen from [transformers-interpret](https://github.com/cdpierse/transformers-interpret)/[notebooks](https://github.com/cdpierse/transformers-interpret/tree/master/notebooks)/multiclass_classification_example.ipynb, the input to [transformers-interpret](https://github.com/cdpierse/transformers-interpret) is the text of a single sentence **can we input a batch? or input token_ids?**

The current version does not support function for getting attributions for list of sentences in `SequenceClassificationExplainer` . Is this feature in process of development? If not then I would like...

enhancement

I tried just passing 'input 1 [SEP] input 2' but kept getting the wrong predicted label from the SingleLabelClassifier -- I assume its because the tokenizer isn't assigning token_type_ids. Is...

In the case of a single label, the logic to calculate the classification probability with the `ZeroShotClassificationExplainer` (see [here](https://github.com/cdpierse/transformers-interpret/blob/v0.6.0/transformers_interpret/explainers/sequence_classification.py#L193-L194)) is different than the logic in the Huggingface `ZeroShotClassificationPipeline` (see [here](https://github.com/huggingface/transformers/blob/v4.15.0/src/transformers/pipelines/zero_shot_classification.py#L249-L251)):...

Sequence Classification Explainer ![image](https://user-images.githubusercontent.com/46684150/163943338-dd2cb88b-d7f8-4192-a473-045aa9ba0c73.png) MultiLabel (wrong mapping value) ![image](https://user-images.githubusercontent.com/46684150/163943269-17e62603-6c00-4975-aa93-7d0fb7a00c7d.png) but thanks for the package~!

Hi folks, I'm experiencing some memory leaks when using the Transformers Interpret (TI) library which triggers out of memory errors and kills the model service process. ## Setup Here is...

bug
enhancement