CoolFace
Apppublic

SudhanshuBlaze/text-generation-gpt-neo

sourceHugging Faceopenrailupdated 4y agoView on Hugging Face
3likes
App README

Text Autocomplete using HuggingFace

Text Autocomplete, or text generation, is a task in which an application can fill in incomplete text or paraphrase.

Goal

In this project we are buidling text-autocomplete streamlit web-app powered by GPT-neo. GPT-Neo 125M is a transformer model designed using EleutherAI's replication of the GPT-3 architecture. GPT-Neo refers to the class of models, while 125M represents the number of parameters of this particular pre-trained model.

Deployed app

The app is deployed on Huggingface Spaces: Click here for live demo

Project Structure

bash
Text Generator Project

├── app.py
└── requirements.txt

Project Requirements

  • —Python3
  • —git

Project Steps

  • —Step 1: Cloning the repo
bash
git clone https://github.com/DigitalProductschool/AI-Makerspace.git
  • —Step 2: Changing working directory to HuggingFace/Spaces
bash
cd AI-Makerspace/HuggingFace/Spaces
  • —Step 3: Installing dependencies using pip3
bash
pip3 install -r requirements.txt
  • —Step 4: Running the streamlit web app
bash
streamlit run app.py
Now go to http://localhost:8501/ to test out this streamlit web-app