Skip to content

Chanchreek/nlpproject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

GPT-2 Word Prediction Web App

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.

๐Ÿš€ Features

  • Real-time word prediction
  • Autocomplete with configurable text length
  • Clean web interface

๐Ÿ› ๏ธ How to Run

  1. Clone this repo:
    git clone https://github.com/yourusername/nlpproject.git
    cd nlpproject
    
  2. (Optional) Set up a virtual environment
    python -m venv venv
    venv\Script\activate
    
  3. Install dependencies
    pip install -r requirements.txt
    
  4. Run the Streamlit app
    streamlit run app.py
    

๐Ÿ“ธ Screenshot

App Screenshot

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages