This is a simple NLP web app using OpenAI's GPT-2 model for:
- ๐ฎ Next-word prediction
- โ๏ธ Sentence autocomplete
Built with Streamlit and Hugging Face Transformers.
- Real-time word prediction
- Autocomplete with configurable text length
- Clean web interface
- Clone this repo:
git clone https://github.com/yourusername/nlpproject.git cd nlpproject - (Optional) Set up a virtual environment
python -m venv venv venv\Script\activate
- Install dependencies
pip install -r requirements.txt
- Run the Streamlit app
streamlit run app.py
