cdpierse / transformers-interpret

Model explainability that works seamlessly with 🤗 transformers. Explain your transformers model in just 2 lines of code.
Apache License 2.0
1.29k stars 97 forks source link

can batch and token_ids input ? #94

Closed WenxiongLiao closed 2 years ago

WenxiongLiao commented 2 years ago

As seen from transformers-interpret/notebooks/multiclass_classification_example.ipynb, the input to transformers-interpret is the text of a single sentence

can we input a batch? or input token_ids?

cdpierse commented 2 years ago

Hi @WenxiongLiao batching is on our roadmap for sometime in the future but we have a few more release we'd like to get done first. Thanks!