Technology

A computer program has written the next Game of Thrones book, turns out Varys will kill Khaleesi

Winter is here and so is ‘Winds of Winter’.

Game of Thrones just wrapped up its season 7 and, boy, it was one hell of a ride. But now that the finale has aired you’re probably wondering what to do with all the extra time you seem to have. You could choose to re-watch all the episodes or you could start reading Winds of Winter, the sixth book in the series.

Since George R.R. Martin will probably take forever to churn out the next book, a computer program has done the job for him. A full-stack engineer and Game of Thrones enthusiast, Zack Thoutt, developed a recurrent neural network (RNN) and fed it the first five books in the series. Neural networks are a type of machine learning algorithm modeled on the human brain. All 5,400 pages of them. The neural network read the books and using its ‘long short-term memory’ it identified characters, plot lines and used it to write the next book itself.

Zack spoke with Motherboard about the chapters have been generated and said, “I start each chapter by giving it [RNN] a prime word, which I always used as a character name, and tell it how many words after that to generate. I wanted to do chapters for specific characters like in the books, so I always used one of the character names as the prime word … there is no editing other than supplying the network that first prime word.”

The program has already written the first five chapter of ‘Winds of Winter’ and they follow a similar template like the previous books, that is, they are written from a specific character’s point of view. However, they aren’t exactly accurate in term of grammar because neural networks are usually trained on kindergarten vocabulary not George R.R. Martin’s descriptive tone. The storyline is also very loose but they are a lot of fun to read if you are a GoT enthusiast.

The book also feeds fan theories that have been circling the internet for years now. For example, the books says that Jon Snow will ride a dragon (finally), Varys will poison Danaerys (always knew he was up to no good), Jaime will kill Cersei (you go, Jaime!), and as a fun plus Ned Stark is back from the dead (absolutely no problem with that!).

The entire computer-generated Winds of Winter will be out by 2019 and we’re pretty sure George R.R. Martin will still be at his desk, whipping up plot twists.

Till then, read the first five chapters online.

Sponsored
Maryam Dodhy

I love bringing to light stories of extraordinary people working in Pakistan's tech and startup industry. You can reach out to me through maryamdodhy@techjuice.pk.

Leave a Comment
Share
Published by
Maryam Dodhy

Recent Posts

Sukkur IBA Sets Seven Conditions for Conducting MDCAT

The Secretary of the Sukkur IBA Testing Agency has formally requested urgent action from the…

8 mins ago

PSEB Opens Bidding for Nationwide e-Rozgar Centers

The Pakistan Software Export Board (PSEB) has launched a nationwide program to encourage IT startups…

40 mins ago

Google Play Services Bug Disrupts Access to Apps for Pixel Users: Here’s How to Fix It

A significant issue with Google Play Services has left many Pixel users unable to access…

45 mins ago

WhatsApp Beta Partners with Google for Innovative Image Search Feature

When it comes to Android messaging apps, WhatsApp stands out as one of the best.…

1 hour ago

Farrukh Sabzwari Appointed as CEO of PSX, Set to Serve for Three Years

Farrukh H. Sabzwari has been appointed Chief Executive Officer (CEO) of Pakistan Stock Exchange Company…

2 hours ago

250 Government Schools to Be Run by Private Sector

RAWALPINDI: The chairman of the Punjab Education Foundation, Malik Shoaib Awan, stated on Monday that…

3 hours ago