{"id":27622,"date":"2017-08-29T14:52:43","date_gmt":"2017-08-29T09:22:43","guid":{"rendered":"http:\/\/officechai.com\/?p=27622"},"modified":"2017-08-29T14:52:43","modified_gmt":"2017-08-29T09:22:43","slug":"tired-waiting-next-game-thrones-book-engineer-builds-neural-network-write","status":"publish","type":"post","link":"https:\/\/officechai.com\/news\/tired-waiting-next-game-thrones-book-engineer-builds-neural-network-write\/","title":{"rendered":"Tired Of Waiting For The Next Game Of Thrones Book, Engineer Builds Neural Network To Write It"},"content":{"rendered":"<p><span style=\"font-size: 12pt; color: #000000;\">Most Game Of Thrones fans are\u00a0resigned to waiting until 2019 to find out what happens in HBO&#8217;s hit show, but an Artificial Intelligence engineer has decided to take matters into his own hands.<\/span><\/p>\n<p><span style=\"font-size: 12pt; color: #000000;\">Zack Thoutt, a full-stack software programmer, has written a neural network that automatically generates the sixth novel\u00a0in George R. R. Martin&#8217;s series. \u00a0&#8220;I&#8217;m a huge fan of Game of Thrones, the books and the show,&#8221; he <span style=\"color: #33cccc;\"><a style=\"color: #33cccc;\" href=\"https:\/\/motherboard.vice.com\/en_us\/article\/evvq3n\/game-of-thrones-winds-of-winter-neural-network\" target=\"_blank\">told <\/a><\/span>Vice.\u00a0&#8220;I had worked with RNNs (Recurrent Neural Networks) a bit in that class and thought I&#8217;d give working with the books a shot.&#8221;<\/span><\/p>\n<p><span style=\"color: #000000;\"><img data-recalc-dims=\"1\" fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter size-large wp-image-27623\" src=\"https:\/\/i0.wp.com\/officechai.com\/wp-content\/uploads\/2017\/08\/pjimage-3-1.jpg?resize=640%2C336\" alt=\"pjimage (3)\" width=\"640\" height=\"336\" srcset=\"https:\/\/i0.wp.com\/officechai.com\/wp-content\/uploads\/2017\/08\/pjimage-3-1.jpg?resize=1024%2C538&amp;ssl=1 1024w, https:\/\/i0.wp.com\/officechai.com\/wp-content\/uploads\/2017\/08\/pjimage-3-1.jpg?resize=300%2C158&amp;ssl=1 300w, https:\/\/i0.wp.com\/officechai.com\/wp-content\/uploads\/2017\/08\/pjimage-3-1.jpg?resize=768%2C403&amp;ssl=1 768w, https:\/\/i0.wp.com\/officechai.com\/wp-content\/uploads\/2017\/08\/pjimage-3-1.jpg?resize=500%2C263&amp;ssl=1 500w, https:\/\/i0.wp.com\/officechai.com\/wp-content\/uploads\/2017\/08\/pjimage-3-1.jpg?resize=600%2C315&amp;ssl=1 600w, https:\/\/i0.wp.com\/officechai.com\/wp-content\/uploads\/2017\/08\/pjimage-3-1.jpg?w=1200&amp;ssl=1 1200w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/span><\/p>\n<p><span style=\"font-size: 12pt; color: #000000;\">Recurrent Neural Networks use large amounts of data to train a model, which can then generate its own outputs. Thoutt used the first five Game of Thrones novels as input into his own novel-wring model, which then created a whole new book.\u00a0<\/span><\/p>\n<p><span style=\"font-size: 12pt; color: #000000;\">And for something that was created by a machine, the novel feels pretty authentic. (You can read the first six chapters <span style=\"color: #33cccc;\"><a style=\"color: #33cccc;\" href=\"https:\/\/github.com\/zackthoutt\/got-book-6\/tree\/master\/generated-book-v1\" target=\"_blank\">here<\/a><\/span>). It was created by a model trained on George R. R Martin&#8217;s writing, so the text feels like something that could&#8217;ve been been written by him. It uses his characteristic descriptions and his old English, with characters referring to each other as Ser and My Lord, and constantly invoking the Gods. <\/span><\/p>\n<p><span style=\"font-size: 12pt; color: #000000;\">Lots of major characters make appearances. Thuott&#8217;s model requires a &#8220;prime word&#8221; to start off &#8212;\u00a0it then sees how this word was used in previous books, and begins creating text around it. Thoutt uses major characters&#8217; names to start off each chapter &#8212; the first Chapter begins\u00a0with &#8220;Tyrion&#8221;, while other chapters start off with Arya, Varys and Jon.\u00a0<\/span><\/p>\n<p><span style=\"font-size: 12pt; color: #000000;\">While the results are fairly impressive, the model does slip up once in a while. It doesn&#8217;t realize when characters are dead, so lots of long-forgotten characters show up &#8211; &#8211; Ned, who was dead at the end of season 1, ends up in a scene with Tyrion. The models also doesn&#8217;t seem to know how far characters are apart geographically, so they seem to keep jumping between locations, which ironically is a criticism that the actual writers of the show have also faced this season.<\/span><\/p>\n<p><span style=\"font-size: 12pt; color: #000000;\">But there are some unnervingly accurate moments. The model predicts that Jon rides a dragon, a situation which is looking increasingly likely given how he&#8217;s just been revealed to be a Targarean. It also predicts a sticky end for Danerys, who ends up being poisoned by Varys. And given how Jamie has just fallen out with Cersei, it shows how that situation resolves itself:<\/span><\/p>\n<p class=\"article__blockquote\"><span style=\"font-size: 12pt; color: #000000;\"><i>Jaime killed Cersei and was cold and full of words, and Jon thought he was the wolf now, and white harbor&#8230;<\/i><\/span><\/p>\n<p class=\"article__blockquote\"><span style=\"font-size: 12pt; color: #000000;\">George R. R. Martin had better start work on his new books soon &#8212; looks like there are already AIs ready to take his job.\u00a0<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Most Game Of Thrones fans are\u00a0resigned to waiting until 2019 to find out what happens in HBO&#8217;s hit show, but an Artificial Intelligence&#8230;<\/p>\n","protected":false},"author":1,"featured_media":27623,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[202],"tags":[],"class_list":["post-27622","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Tired Of Waiting For The Next Game Of Thrones Book, Engineer Builds Neural Network To Write It<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/officechai.com\/news\/tired-waiting-next-game-thrones-book-engineer-builds-neural-network-write\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Tired Of Waiting For The Next Game Of Thrones Book, Engineer Builds Neural Network To Write It\" \/>\n<meta property=\"og:description\" content=\"Most Game Of Thrones fans are\u00a0resigned to waiting until 2019 to find out what happens in HBO&#8217;s hit show, but an Artificial Intelligence...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/officechai.com\/news\/tired-waiting-next-game-thrones-book-engineer-builds-neural-network-write\/\" \/>\n<meta property=\"og:site_name\" content=\"OfficeChai\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/OfficeChai\/\" \/>\n<meta property=\"article:published_time\" content=\"2017-08-29T09:22:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/officechai.com\/wp-content\/uploads\/2017\/08\/pjimage-3-1.jpg?fit=1200%2C630&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"OfficeChai Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@OfficeChai\" \/>\n<meta name=\"twitter:site\" content=\"@OfficeChai\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"OfficeChai Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/officechai.com\/news\/tired-waiting-next-game-thrones-book-engineer-builds-neural-network-write\/\",\"url\":\"https:\/\/officechai.com\/news\/tired-waiting-next-game-thrones-book-engineer-builds-neural-network-write\/\",\"name\":\"Tired Of Waiting For The Next Game Of Thrones Book, Engineer Builds Neural Network To Write It\",\"isPartOf\":{\"@id\":\"https:\/\/officechai.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/officechai.com\/news\/tired-waiting-next-game-thrones-book-engineer-builds-neural-network-write\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/officechai.com\/news\/tired-waiting-next-game-thrones-book-engineer-builds-neural-network-write\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/officechai.com\/wp-content\/uploads\/2017\/08\/pjimage-3-1.jpg?fit=1200%2C630&ssl=1\",\"datePublished\":\"2017-08-29T09:22:43+00:00\",\"author\":{\"@id\":\"https:\/\/officechai.com\/#\/schema\/person\/5861f1134993293cc28905de7624d6b2\"},\"breadcrumb\":{\"@id\":\"https:\/\/officechai.com\/news\/tired-waiting-next-game-thrones-book-engineer-builds-neural-network-write\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/officechai.com\/news\/tired-waiting-next-game-thrones-book-engineer-builds-neural-network-write\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/officechai.com\/news\/tired-waiting-next-game-thrones-book-engineer-builds-neural-network-write\/#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/officechai.com\/wp-content\/uploads\/2017\/08\/pjimage-3-1.jpg?fit=1200%2C630&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/officechai.com\/wp-content\/uploads\/2017\/08\/pjimage-3-1.jpg?fit=1200%2C630&ssl=1\",\"width\":1200,\"height\":630},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/officechai.com\/news\/tired-waiting-next-game-thrones-book-engineer-builds-neural-network-write\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/officechai.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tired Of Waiting For The Next Game Of Thrones Book, Engineer Builds Neural Network To Write It\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/officechai.com\/#website\",\"url\":\"https:\/\/officechai.com\/\",\"name\":\"OfficeChai\",\"description\":\"Startups, Businesses And Careers\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/officechai.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/officechai.com\/#\/schema\/person\/5861f1134993293cc28905de7624d6b2\",\"name\":\"OfficeChai Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/officechai.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/61d744733248dc647d505d0676bb425323413132ee5447e86aa8eecbbb7b27d5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/61d744733248dc647d505d0676bb425323413132ee5447e86aa8eecbbb7b27d5?s=96&d=mm&r=g\",\"caption\":\"OfficeChai Team\"},\"description\":\"Dotting the i's, crossing the t's.\",\"url\":\"https:\/\/officechai.com\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Tired Of Waiting For The Next Game Of Thrones Book, Engineer Builds Neural Network To Write It","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/officechai.com\/news\/tired-waiting-next-game-thrones-book-engineer-builds-neural-network-write\/","og_locale":"en_US","og_type":"article","og_title":"Tired Of Waiting For The Next Game Of Thrones Book, Engineer Builds Neural Network To Write It","og_description":"Most Game Of Thrones fans are\u00a0resigned to waiting until 2019 to find out what happens in HBO&#8217;s hit show, but an Artificial Intelligence...","og_url":"https:\/\/officechai.com\/news\/tired-waiting-next-game-thrones-book-engineer-builds-neural-network-write\/","og_site_name":"OfficeChai","article_publisher":"https:\/\/www.facebook.com\/OfficeChai\/","article_published_time":"2017-08-29T09:22:43+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/i0.wp.com\/officechai.com\/wp-content\/uploads\/2017\/08\/pjimage-3-1.jpg?fit=1200%2C630&ssl=1","type":"image\/jpeg"}],"author":"OfficeChai Team","twitter_card":"summary_large_image","twitter_creator":"@OfficeChai","twitter_site":"@OfficeChai","twitter_misc":{"Written by":"OfficeChai Team","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/officechai.com\/news\/tired-waiting-next-game-thrones-book-engineer-builds-neural-network-write\/","url":"https:\/\/officechai.com\/news\/tired-waiting-next-game-thrones-book-engineer-builds-neural-network-write\/","name":"Tired Of Waiting For The Next Game Of Thrones Book, Engineer Builds Neural Network To Write It","isPartOf":{"@id":"https:\/\/officechai.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/officechai.com\/news\/tired-waiting-next-game-thrones-book-engineer-builds-neural-network-write\/#primaryimage"},"image":{"@id":"https:\/\/officechai.com\/news\/tired-waiting-next-game-thrones-book-engineer-builds-neural-network-write\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/officechai.com\/wp-content\/uploads\/2017\/08\/pjimage-3-1.jpg?fit=1200%2C630&ssl=1","datePublished":"2017-08-29T09:22:43+00:00","author":{"@id":"https:\/\/officechai.com\/#\/schema\/person\/5861f1134993293cc28905de7624d6b2"},"breadcrumb":{"@id":"https:\/\/officechai.com\/news\/tired-waiting-next-game-thrones-book-engineer-builds-neural-network-write\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/officechai.com\/news\/tired-waiting-next-game-thrones-book-engineer-builds-neural-network-write\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/officechai.com\/news\/tired-waiting-next-game-thrones-book-engineer-builds-neural-network-write\/#primaryimage","url":"https:\/\/i0.wp.com\/officechai.com\/wp-content\/uploads\/2017\/08\/pjimage-3-1.jpg?fit=1200%2C630&ssl=1","contentUrl":"https:\/\/i0.wp.com\/officechai.com\/wp-content\/uploads\/2017\/08\/pjimage-3-1.jpg?fit=1200%2C630&ssl=1","width":1200,"height":630},{"@type":"BreadcrumbList","@id":"https:\/\/officechai.com\/news\/tired-waiting-next-game-thrones-book-engineer-builds-neural-network-write\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/officechai.com\/"},{"@type":"ListItem","position":2,"name":"Tired Of Waiting For The Next Game Of Thrones Book, Engineer Builds Neural Network To Write It"}]},{"@type":"WebSite","@id":"https:\/\/officechai.com\/#website","url":"https:\/\/officechai.com\/","name":"OfficeChai","description":"Startups, Businesses And Careers","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/officechai.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/officechai.com\/#\/schema\/person\/5861f1134993293cc28905de7624d6b2","name":"OfficeChai Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/officechai.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/61d744733248dc647d505d0676bb425323413132ee5447e86aa8eecbbb7b27d5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/61d744733248dc647d505d0676bb425323413132ee5447e86aa8eecbbb7b27d5?s=96&d=mm&r=g","caption":"OfficeChai Team"},"description":"Dotting the i's, crossing the t's.","url":"https:\/\/officechai.com\/author\/admin\/"}]}},"jetpack_featured_media_url":"https:\/\/i0.wp.com\/officechai.com\/wp-content\/uploads\/2017\/08\/pjimage-3-1.jpg?fit=1200%2C630&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p685C6-7bw","jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/officechai.com\/wp-json\/wp\/v2\/posts\/27622","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/officechai.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/officechai.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/officechai.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/officechai.com\/wp-json\/wp\/v2\/comments?post=27622"}],"version-history":[{"count":1,"href":"https:\/\/officechai.com\/wp-json\/wp\/v2\/posts\/27622\/revisions"}],"predecessor-version":[{"id":27624,"href":"https:\/\/officechai.com\/wp-json\/wp\/v2\/posts\/27622\/revisions\/27624"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/officechai.com\/wp-json\/wp\/v2\/media\/27623"}],"wp:attachment":[{"href":"https:\/\/officechai.com\/wp-json\/wp\/v2\/media?parent=27622"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/officechai.com\/wp-json\/wp\/v2\/categories?post=27622"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/officechai.com\/wp-json\/wp\/v2\/tags?post=27622"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}