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

Streamlit demo app to demonstrate the features of transformers interpret with multiple models.

Transformer Interpret Streamlit App

App GIF

  • Simple streamlit app to demonstrate some of the features of Transformers Interpret.
  • View the word attributions of 7+ text classification HuggingFace Transformer models.
  • View the attributions w.r.t to any class/label in a model.
  • View attributions w.r.t to both word and position embeddings for a model

Install

pip install -r requirements.txt

Run

streamlit run app.py