A web app that is capable of predicting next word on it's own.
A web application that has a pretained model uncased BERT that will be loaded when they will be selected only once . After that they will serve fast as they are cached. You can select n number of next words that should come after given text.
- Windows user can double click on activation.bat file to install required package
- Linux User type following command in commnand line a) First create a virtual environment
python3.7 -m virtualenv venv
b) Move to venv directory and activate environment
cd venv
. bin/activate
c) Clone this project
git clone https://github.com/pandeynandancse/next_word_prediction_streamlit.git
d) Move into cloned directory
cd next_word_prediction_streamlit
e) Now install all requirements
pip install -r requirements.txt
- After successfull installation windows user can directly open the link that will be appeared
- After successful installation open type
streamlit run next_word.py
and then open link
- Add More Architecture Options
- Trigger prediction on each time when space is pressed
If you find a bug (the website couldn't handle the query and / or gave undesired results), kindly open an issue here by including your search query and the expected result.
If you'd like to request a new function, feel free to do so by opening an issue here. Please include sample queries and their corresponding results.
If you'd like to do some contribution, feel free to do so by opening a pull request here. Please include sample queries and their corresponding results.
Nandan Pandey |