AI Computer Tries And Hilariously Fails To Write New ‘Harry Potter’ Chapter

potter1Warner Brothers

As technology continues to advance, the battle between artificial intelligence and humanity is hotting up – but humanity seems safe for now.

At the centre of the latest clash is J.K. Rowling’s iconic Harry Potter.

Intrigued to see if AI was capable of mimicking human writing, a man from San Francisco trained a computer to write additional chapters to the popular series of books.


Max Deutsch used the first four Potter stories to train a Long Short Term Memory (LSTM) Recurrent Neural Network computer.

The network is capable of identifying patterns in data sequences, such as text, genomes, handwriting, spoken word, or even stock markets, reports the Daily Mail.

J.K. Rowling can breath a huge sigh of relief, however, as the results are hilariously bad.


One section bafflingly read:

Ron didn’t even upset her little ingredients on the toilet, and a group of third-year girls last year. Highly bushy and then burst away from them quickly.

While another says:

Harry saw Harry’s glasses. He took handfuls at the foot of the tree, and then walked forward, underneath its glass and beckoned to do something before he changed his wand. Harry had started face-to-face with her late, and then a sudden Death Eaters fed and Madame Maxime, but was left, not sporting red, white.

Could human authors ever really be replaced by computers? Not any time soon at least.


You can read all five parts of the latest ‘installment’ via Medium.

But despite the lack of plot, characters identifying themselves, Nearly Headless Nick’s newly-found prominence, and Ron’s sudden Lothario status in the bathroom, it is actually quite entertaining.

It’s kind of like listening to a drunken flatmate try and explain how the sick on the bathroom floor and on their shirt isn’t theirs – it’s incoherent, but you’ll probably remember it for some time.