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.

Share
Published by
Maryam Dodhy

Recent Posts

Rumors Indicate iPhone 17 May Feature Unconventional Camera Design

Apple is reportedly preparing for a significant design overhaul with its iPhone 17 series, blending…

4 hours ago

First AI-Powered Teacher Launched in Pakistan’s Private School

Karachi: A private school in Karachi has unveiled Pakistan’s first AI-powered teacher, a groundbreaking move…

5 hours ago

Yahoo Surprises Users with Its Latest Android Launcher

Third-party apps have long been a staple of the Android ecosystem, but their appeal has…

6 hours ago

Phase-II Review of PTCL-Telenor Deal Finalized by CCP

ISLAMABAD: The Competition Commission of Pakistan (CCP) has completed its Phase-II review of Pakistan Telecommunication…

6 hours ago

Xiaomi’s SU7 Achieves New Production Record, Driving Q3 Growth

Xiaomi has shattered records by producing 100,000 vehicles in just 230 days. This is nearly…

8 hours ago

Teachers Can Now Access OpenAI’s Free AI Course

OpenAI, in collaboration with nonprofit organization Common Sense Media, announced on Wednesday the launch of…

9 hours ago