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.
Documenting the tactics of an anti-net neutrality bot campaign. This campaign used the same MadLibs algorithm you'll be implementing in lab.
More examples of automatic text generation:
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 https://play.aidungeon.io/, 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.
For our reddit bots, we will be using a much simpler MadLibs-style text generation algorithm. Follow the instructions in the
madlibs.py file to implement this algorithm.