homeaboutarchives + tagsshopmembership!

Harry Potter and the Artificial Intelligence

posted by Jason Kottke   Jul 11, 2016

Max Deutsch trained a neural network using the first four Harry Potter books and then asked it to write its own chapter.

“The Malfoys!” said Hermione.

Harry was watching him. He looked like Madame Maxime. When she strode up the wrong staircase to visit himself.

“I’m afraid I’ve definitely been suspended from power, no chance - indeed?” said Snape. He put his head back behind them and read groups as they crossed a corner and fluttered down onto their ink lamp, and picked up his spoon. The doorbell rang. It was a lot cleaner down in London.

Hermione yelled. The party must be thrown by Krum, of course.

Harry collected fingers once more, with Malfoy. “Why, didn’t she never tell me. …” She vanished. And then, Ron, Harry noticed, was nearly right.

“Now, be off,” said Sirius, “I can’t trace a new voice.”

Rowling, your job is safe for now. Deutsch did the same thing with the Hamilton soundtrack…the result is not particularly good but that last line!

Update: Another similar effort is available here.

Ron’s Ron shirt was almost as bad as Ron himself.

“If you two can clump happily, I’m going to get aggressive,” confessed the reasonable Hermione.

“What about Ron magic?” offered Ron. To Harry, Ron was a loud, slow, and soft bird. Harry did not like to think about birds.