Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 666 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 666 Bytes

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)