Skip to content

kilometersperhour/gpt-2-jokes

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gpt-2-jokes

Joke generation with OpenAI's GPT2

This model uses Max Woolf's gpt-2-simple The model was trained using short-jokes This project was done in collaboration with Liam Greenlee for ECE 498 at the University of Maine`

Running it

To run the model simply clone the repository and run docker build .

Generation

The model can be run by importing the jokes python library in the docker container. import jokes Then run jokes.genjoke()

jokes.genjoke(prefix = "", temperature = .7, length = 80, truncate = True)

About

Joke generation with OpenAI's GPT2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 73.7%
  • Dockerfile 26.3%