streamlit-allennlp icon indicating copy to clipboard operation
streamlit-allennlp copied to clipboard

allennlp + streamlit demo

AllenNLP + Streamlit Demo

This is a simple example of how to use Streamlit to create an interactive demo for an AllenNLP model. In particular, this demonstrates the BiDAF model for question answering, trained on the SQuAD dataset.

image of demo

How to run this demo

pip install -r requirements.txt
streamlit run app.py

Go to http://localhost:8501, and try your own examples.