Simple application using transformers models to predict next word or a masked word in a sentence.
The purpose is to demo and compare the main models available up to date.
The first load take a long time since the application will download all the models. Beside 6 models running, inference time is acceptable even in CPU.
This app implements two variants of the same task (predict
The second variant is necessary to include a
cd web-app
python app.py
Open your browser http://localhost:8000