Norod / gpt2-en-badwiki

Bad-Wiki is an automatic text generator. It creates really bad nonsense definitions for the terms you provide.

Home Page:https://badwiki.textgen.cloud

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gpt2-en-badwiki

Bad-Wiki is an automatic text generator. It creates nonsense definitions for the terms you provide.

Demo is available here - give it a try :)

Building from source

To get started on this project, follow these steps:

  • Clone: git clone https://github.com/Norod/gpt2-en-badwiki.git and cd gpt2-en-badwiki
  • Install Dependencies: pip install -r requirements.txt
  • Run download.sh to download and extract the trained GPT-2 model
  • Run server: python main.py
  • Open Web Browser and visit: http://localhost:8080/
  • Type Hello world and press on Define (or hit Enter)
  • Enjoy!

You may also want to build and run this project in docker container

  • Build: docker build -t gpt2-en-badwiki . (will take some time)
  • Run: docker run -p 8080:8080 --rm -d gpt2-en-badwiki

If successful, you will see something like this:

Demo Image

More information

This repository is based upon the code and knowlege found in the following Medium tutorial: Deploy Machine Learning Model in Google Cloud using Cloud Run

About

Bad-Wiki is an automatic text generator. It creates really bad nonsense definitions for the terms you provide.

https://badwiki.textgen.cloud

License:MIT License


Languages

Language:HTML 60.6%Language:Python 31.0%Language:Dockerfile 4.7%Language:Shell 3.7%