The GPT-2 language model generates natural language based on a seed phrase. In this demo, you generate natural text in the style of Shakespeare, US Politicians, Popular Scientists, or Song Lyrics. Select your style, input your seed phrase, and see what the AI comes up with! The results are usually amusing, sometimes amazing, and occasionally frightening. AI-Generated Text with GPT-2 using Google Cloud Run

Choose from the models above, finetuned on different text corpuses

Seeds the generated text with the inputted sample. (Optional: max 500 characters)

Length of the text in tokens to generate. (max: 1023)

Controls the generated text "creativity." (the higher the temperature, the more creative)

Constrains the generated text tokens to the top k possibilities. (set to 0 to disable)

Generated text will appear here! Use the form to configure GPT-2 and press Generate Text to get your own text!