Giter Site home page Giter Site logo

norod / gpt2-en-badwiki Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 1.0 125 KB

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

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

License: MIT License

Shell 3.68% HTML 60.64% Python 31.03% Dockerfile 4.65%
gpt2 gpt-2 cloudrun nonsense bad-wiki text-generation text-generator funny silly

gpt2-en-badwiki's Introduction

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

gpt2-en-badwiki's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

johndpope

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.