Reddit Bot Lab II: Text Generation


In the last lab you learned how to programmatically read/write messages to reddit. In this lab, we will focus on generating realistic content for the messages you will write.

Required readings:

Optional readings:

Lab Instructions

  1. In the first part of this lab, you'll experiment with the state-of-the-art text generation technique called GPT-3. Create a free account at, and play around with the game for 10-20 minutes. I personally find that the game generates realistic sentences and paragraphs, but it has trouble making longer cohesive narratives. But it's still pretty amazing/scary how good it is.

  2. For our reddit bots, we will be using a much simpler MadLibs-style text generation algorithm. Follow the instructions in the file to implement this algorithm.