Using Pachyderm to generate new Game of Thrones scripts

The series finale of Game Of Thrones is almost upon us and over here at Pachyderm, we couldn’t be more excited. I mean come on, what’s not to be excited about right? Showrunners David Benioff and D.B. Weiss did a fantastic job in series 7 tieing up loose ends and setting series 8 to be nothing short of monumental.

However, we’d be lying if we said we weren’t lamenting the end of such an epic series at least a little bit. Sure, we can grasp on to a tiny bit of hope knowing this isn’t actually the end of the show, and sure it’s possible George RR Martin could finish the series sometime in the next decade or two – as long as his DOS computer loaded with WordStar 4.0 doesn’t crash and he lives that long. But if Mr. Martin has taught us anything it’s nothing is for certain and there’s nothing we can do about it. Or can we?

Alt Text

While none of us here can wield a pen like Martin, but it did get us thinking. What if we could get a build a machine learning pipeline in Pachyderm to generate scripts for us? What if we could use a recurrent neural net to take the shows own episode scripts as input, and train a model to generate new episodes. So, as our own little tribute to what is and will always be a fantastic show, we present to you a Pachyderm example that you can use to generate GoT scripts. Sure they won’t get you an Emmy anytime soon, but it will help keep your mind off the fact that there are still 20+ days to go.

Building a RNN to generate new GoT episode scripts:

And if you want a video demonstration of this example, you should check out the webinar we did a couple of weeks back with our friends over at Loodse.