{"id":1265,"date":"2021-12-24T13:40:37","date_gmt":"2021-12-24T04:10:37","guid":{"rendered":"http:\/\/cosmicheroes.space\/blog\/?p=1265"},"modified":"2021-12-24T13:40:37","modified_gmt":"2021-12-24T04:10:37","slug":"ai-tomb-of-horrors-the-entrance","status":"publish","type":"post","link":"https:\/\/cosmicheroes.space\/blog\/index.php\/2021\/12\/24\/ai-tomb-of-horrors-the-entrance\/","title":{"rendered":"AI Tomb of Horrors &#8211; The Entrance"},"content":{"rendered":"\n<p>GPT-3 appeared last year:<\/p>\n\n\n\n<p><a href=\"https:\/\/www.forbes.com\/sites\/bernardmarr\/2020\/10\/05\/what-is-gpt-3-and-why-is-it-revolutionizing-artificial-intelligence\/\">https:\/\/www.forbes.com\/sites\/bernardmarr\/2020\/10\/05\/what-is-gpt-3-and-why-is-it-revolutionizing-artificial-intelligence\/<\/a><\/p>\n\n\n\n<p>Given that was not made openly available like GPT-2, others made an open source version, hence we have GPT-J and GPT-Neo, the latter being relevant for here.<\/p>\n\n\n\n<p>I have taken the 1.3B parameter model and thanks to HuggingFace and their model implementations, used this Colab notebook.: <a href=\"https:\/\/colab.research.google.com\/drive\/1H2mUZsYhel4g5ZUOmZHtYIaP4gSW5_ow?usp=sharing#scrollTo=eBIcgwE1kVQK\">https:\/\/colab.research.google.com\/drive\/1H2mUZsYhel4g5ZUOmZHtYIaP4gSW5_ow?usp=sharing#scrollTo=eBIcgwE1kVQK<\/a> The 2.7B parameter doesn&#8217;t seem to work here &#8211; runs out of memory.  Not surprising as it is 10GB.<\/p>\n\n\n\n<p>I thought a fun holiday project would be to use this to generate soom module type descriptions.<\/p>\n\n\n\n<p>There are certain limitations of how long the text prompt for the model to predict from can be, so for a first try I took the three entryway possibilities for the Tomb of Horrors.<\/p>\n\n\n\n<p>Here&#8217;s the output:<\/p>\n\n\n\n<ol start=\"4\"><li>TOMBS OF HORRORS: The rooms of the torture chamber can be<br>visited only if players are in the same chamber, using<br>special note if they are in the same room.<br>At the end of the hall, 2 pits lead to:<\/li><\/ol>\n\n\n\n<ol start=\"5\"><li>WELCOME TO THE TOMB OF HORRORS: The rooms of the wizard\u2019s work room<br>can be visited only if players are in the same room, using<br>special note if they are in the same room.<br>In the center of the room (the only room not full of<br>druids and other such creatures), you will find the statue<br>of a great warlock, his robe stained with the blood of<br>victims. This statue is the work of the warlock\u2019s master.<br>The wizard\u2019s work room is otherwise empty.<br>Torture chamber area. At the end of the hall, 2 pits lead to a<\/li><\/ol>\n\n\n\n<ol start=\"6\"><li>THE TORTURE CHAMBER: If players are in the same room<br>(or in the same space), the torturing chamber can be explored<br>independently.<br>One end of the chamber is a tiny chamber whose floor is<br>painted in a pattern of little figures of evil or good<br>design, and whose walls and ceiling are also painted in the<br>same pattern. The figures seem to be moving a weight<br>over some sort of anvil. The floor may be of lava or covered<br>with mud. Either of these may hold the weight of a figure with<br>a hand upon it. (See special note regarding the pits at the end<br>of this paragraph.) The wall on the other side of the chamber<br>opens up, and a chamber in the wall appears with a pit, a<br>stone wall, and a lever. A prisoner is taken into the pit. The<br>prisoner may be tied or, if it is tied, the prisoner is<br>released if the lever is pulled, and pushed into the pit again.<br>An assistant, an orc or a human being, lies dead by the lever.<br>This must be done by all players in the same room. The<br>chamber (or it may be filled with water) is now filled<br>with water, and a person is drawn into it and the lever is pulled. The<br>prisoner is still alive, as the lever is slowly pushed upwards,<br>and it is possible to see that the prisoner\u2019s body is<br>thrown back down into the pit again and again as<br>it is released from the lever\u2019s grip. If you were to use<br>a light, you would notice the number of men (or women)<br>released into the water from the torture pit, and their<br>number would be shown in the water as an illustration to<br>the left. If you were to use a sword, you would notice that<br>the number of men (or women) released from the<\/li><\/ol>\n\n\n\n<p>As you can see, that is pretty good for autogenerated based on a few paragraphs prompts from a generic model trained on close to a terabyte of stuff from the internet, and not tuned to the experience as in something like AI Dungeo &#8211; <a href=\"https:\/\/play.aidungeon.io\/\">https:\/\/play.aidungeon.io\/<\/a>.  It even recognised the room numbering of 1, 2, 3 and continued on.  It is generating text, so not going to finish sensibly all the time.  Not much work for a DM to join those together and edit a sentence or two though.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>GPT-3 appeared last year: https:\/\/www.forbes.com\/sites\/bernardmarr\/2020\/10\/05\/what-is-gpt-3-and-why-is-it-revolutionizing-artificial-intelligence\/ Given that was not made openly available like GPT-2, others made an open source version, hence we have GPT-J and GPT-Neo, the latter being relevant for here. I have taken the 1.3B parameter model and thanks to HuggingFace and their model implementations, used this Colab notebook.: https:\/\/colab.research.google.com\/drive\/1H2mUZsYhel4g5ZUOmZHtYIaP4gSW5_ow?usp=sharing#scrollTo=eBIcgwE1kVQK The 2.7B parameter &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/cosmicheroes.space\/blog\/index.php\/2021\/12\/24\/ai-tomb-of-horrors-the-entrance\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;AI Tomb of Horrors &#8211; The Entrance&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":1266,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[217,17,3],"tags":[316,25,315],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/cosmicheroes.space\/blog\/wp-content\/uploads\/2021\/12\/pexels-photo-2747893.jpeg?fit=1733%2C1300&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paET2V-kp","jetpack-related-posts":[{"id":1268,"url":"https:\/\/cosmicheroes.space\/blog\/index.php\/2021\/12\/24\/ai-tomb-of-horrors-rooms-4-to-6\/","url_meta":{"origin":1265,"position":0},"title":"AI Tomb of Horrors &#8211; Rooms 4 to 6","author":"richard","date":"December 24, 2021","format":false,"excerpt":"In similarfashion to the previous post, however this time the prompts used were rooms 4 to 6 FRESCO OF THE WIZARDLY WORK ROOM, THE ARCH OF MIST, THE FACE OF THE GREAT GREEN DEVIL This gives us a different room 7. THE PATH TO THE FURNACE OF DEATH: Directly oppositeand\u2026","rel":"","context":"In &quot;Data Science&quot;","block_context":{"text":"Data Science","link":"https:\/\/cosmicheroes.space\/blog\/index.php\/category\/data-science\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1376,"url":"https:\/\/cosmicheroes.space\/blog\/index.php\/2021\/12\/31\/ai-faserip-character-creation-gamma-powered\/","url_meta":{"origin":1265,"position":1},"title":"AI: FASERIP Character Creation &#8211; Gamma Powered","author":"richard","date":"December 31, 2021","format":false,"excerpt":"Thought I would give this a go, using the GPT clone model https:\/\/6b.eleuther.ai\/ Here's the few shot training data:- The Abomination Emil Blonsky F) Rm30A) Ex20S) Un100E) Un100R) Gd10I) Ex20P) Ty6 Health: 250 Karma: 36Resources: Fe Pop: -15 Known Powers:Body Armor: Am protection vs. Physical and Energy attacks.Resistances: Un resistance\u2026","rel":"","context":"In &quot;Data Science&quot;","block_context":{"text":"Data Science","link":"https:\/\/cosmicheroes.space\/blog\/index.php\/category\/data-science\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":501,"url":"https:\/\/cosmicheroes.space\/blog\/index.php\/2018\/05\/13\/adventures-into-darkness-public-domain-and-horrors\/","url_meta":{"origin":1265,"position":2},"title":"Adventures into Darkness &#8211; Public Domain and Horrors","author":"richard","date":"May 13, 2018","format":false,"excerpt":"Heroes --- Villains The American Eagle, Ace Buckley, --- Arsenath the Body Snatcher, --- Baron von Jundt: The Black Scholar, Blitz, Captain Future, The Cavalier, \"Doc\" Strange, The Dreammaster, --- Dagon, Devilfish, The Fighting Yank, --- Professor Fenton, The Ghost, --- Henry Akeley, Kara: Jungle Princess, --- Keziah the Witch,\u2026","rel":"","context":"In &quot;RPG&quot;","block_context":{"text":"RPG","link":"https:\/\/cosmicheroes.space\/blog\/index.php\/category\/rpg\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1482,"url":"https:\/\/cosmicheroes.space\/blog\/index.php\/2022\/12\/22\/ai-monster-manual\/","url_meta":{"origin":1265,"position":3},"title":"AI Monster Manual","author":"richard","date":"December 22, 2022","format":false,"excerpt":"Here's a cool use of ChatGPT https:\/\/aeonsnaugauries.blogspot.com\/2022\/12\/ai-assistance-in-campaign-creation.html Where asking for 6 monsters for a particular campaign started with:- Sure! Here are six unique monster entries for a campaign called \"The Menace of the Flowered Towers,\" inspired by the style of the AD&D Monster Manual: Monster Name: Floral Horror Armor Class:\u2026","rel":"","context":"In &quot;Fantasy&quot;","block_context":{"text":"Fantasy","link":"https:\/\/cosmicheroes.space\/blog\/index.php\/category\/fantasy\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":598,"url":"https:\/\/cosmicheroes.space\/blog\/index.php\/2018\/05\/21\/4cs-cthulhu-rising-adventure-framework\/","url_meta":{"origin":1265,"position":4},"title":"4CS &#8211; Cthulhu Rising Adventure Framework","author":"richard","date":"May 21, 2018","format":false,"excerpt":"4CS - Cthulhu Rising Adventure Framework The End of the World As We Know It. Unless a desperate superhero strike force with one last chance can finish a ritual to banish the big Old Octopus God. Only problem is to do that they need to get to R'lyeh. SETTING The\u2026","rel":"","context":"In &quot;RPG&quot;","block_context":{"text":"RPG","link":"https:\/\/cosmicheroes.space\/blog\/index.php\/category\/rpg\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2025,"url":"https:\/\/cosmicheroes.space\/blog\/index.php\/2024\/05\/19\/rpg-word-embeddings-what-is-most-similar-01\/","url_meta":{"origin":1265,"position":5},"title":"RPG Word Embeddings &#8211; What is Most Similar? &#8211; 01","author":"richard","date":"May 19, 2024","format":false,"excerpt":"I made a gloVe embedding model based on my game book collection - 7000 odd, of which 6000 or so managed to make it through a first pass pdf extraction pipeline This framework is quite good https:\/\/github.com\/NRCan\/geoscience_language_models\/tree\/main\/project_tools https:\/\/github.com\/NRCan\/geoscience_language_models\/tree\/main\/project_tools and parallelises, which is important for big books The C version of\u2026","rel":"","context":"In &quot;Data Science&quot;","block_context":{"text":"Data Science","link":"https:\/\/cosmicheroes.space\/blog\/index.php\/category\/data-science\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/cosmicheroes.space\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1265"}],"collection":[{"href":"https:\/\/cosmicheroes.space\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cosmicheroes.space\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cosmicheroes.space\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cosmicheroes.space\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=1265"}],"version-history":[{"count":1,"href":"https:\/\/cosmicheroes.space\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1265\/revisions"}],"predecessor-version":[{"id":1267,"href":"https:\/\/cosmicheroes.space\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1265\/revisions\/1267"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cosmicheroes.space\/blog\/index.php\/wp-json\/wp\/v2\/media\/1266"}],"wp:attachment":[{"href":"https:\/\/cosmicheroes.space\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=1265"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cosmicheroes.space\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=1265"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cosmicheroes.space\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=1265"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}