{"id":2025,"date":"2024-05-19T16:37:52","date_gmt":"2024-05-19T07:07:52","guid":{"rendered":"https:\/\/cosmicheroes.space\/blog\/?p=2025"},"modified":"2024-05-19T16:37:52","modified_gmt":"2024-05-19T07:07:52","slug":"rpg-word-embeddings-what-is-most-similar-01","status":"publish","type":"post","link":"https:\/\/cosmicheroes.space\/blog\/index.php\/2024\/05\/19\/rpg-word-embeddings-what-is-most-similar-01\/","title":{"rendered":"RPG Word Embeddings &#8211; What is Most Similar? &#8211; 01"},"content":{"rendered":"\n<p>I made a gloVe embedding model based on my game book collection &#8211; 7000 odd, of which 6000 or so managed to make it through a first pass pdf extraction pipeline<\/p>\n\n\n\n<p>This framework is quite good https:\/\/github.com\/NRCan\/geoscience_language_models\/tree\/main\/project_tools<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/NRCan\/geoscience_language_models\/tree\/main\/project_tools\">https:\/\/github.com\/NRCan\/geoscience_language_models\/tree\/main\/project_tools<\/a> and parallelises, which is important for big books<\/p>\n\n\n\n<p>The C version of gloVe is superior:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/avatars.githubusercontent.com\/u\/3046006?s=48&amp;v=4\" alt=\"\"\/><\/figure>\n\n\n\n<p><a href=\"https:\/\/github.com\/stanfordnlp\/GloVe\">https:\/\/github.com\/stanfordnlp\/GloVe<\/a><\/p>\n\n\n\n<p>With some work you can get a python version going, but I wouldn&#8217;t recommend for large numbers.<\/p>\n\n\n\n<p>e.g.<a href=\" https:\/\/pypi.org\/project\/glove-py\"> https:\/\/pypi.org\/project\/glove-py<\/a><\/p>\n\n\n\n<p>and associated hacks..<\/p>\n\n\n\n<p>The Notebook associated with this is here: <a href=\"https:\/\/github.com\/bluetyson\/RPG-gloVe-Model\">https:\/\/github.com\/bluetyson\/RPG-gloVe-Model<\/a><\/p>\n\n\n\n<p>These days microsoft probably won&#8217;t let you see something that big online, so will make a series of post excerpts.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I made a gloVe embedding model based on my game book collection &#8211; 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 gloVe is superior: https:\/\/github.com\/stanfordnlp\/GloVe With &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/cosmicheroes.space\/blog\/index.php\/2024\/05\/19\/rpg-word-embeddings-what-is-most-similar-01\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;RPG Word Embeddings &#8211; What is Most Similar? &#8211; 01&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"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,3],"tags":[629,631,578],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paET2V-wF","jetpack-related-posts":[{"id":1541,"url":"https:\/\/cosmicheroes.space\/blog\/index.php\/2022\/12\/30\/dungeon23-maps-and-3d-models\/","url_meta":{"origin":2025,"position":0},"title":"Dungeon23 &#8211; Maps and 3D Models","author":"richard","date":"December 30, 2022","format":false,"excerpt":"Lord Howe Island 3m merged DEM I made a repository for these - or at least the lower resolution variety in the case of the DEMs. https:\/\/github.com\/bluetyson\/Dungeon23-Mokuy Jupyter notebook here re: merging tiles for the high resolution DEM. Not got around to the point clouds as yet - and this\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":"https:\/\/i0.wp.com\/cosmicheroes.space\/blog\/wp-content\/uploads\/2022\/12\/LordHoweIslandDEM3m.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/cosmicheroes.space\/blog\/wp-content\/uploads\/2022\/12\/LordHoweIslandDEM3m.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/cosmicheroes.space\/blog\/wp-content\/uploads\/2022\/12\/LordHoweIslandDEM3m.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/cosmicheroes.space\/blog\/wp-content\/uploads\/2022\/12\/LordHoweIslandDEM3m.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/cosmicheroes.space\/blog\/wp-content\/uploads\/2022\/12\/LordHoweIslandDEM3m.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/cosmicheroes.space\/blog\/wp-content\/uploads\/2022\/12\/LordHoweIslandDEM3m.png?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":1975,"url":"https:\/\/cosmicheroes.space\/blog\/index.php\/2024\/01\/01\/phase-4\/","url_meta":{"origin":2025,"position":1},"title":"Phase 4","author":"richard","date":"January 1, 2024","format":false,"excerpt":"A FASERIP variant using a d20 mechanic https:\/\/preview.drivethrurpg.com\/en\/product\/187251\/phase-four See github for some notes and info https:\/\/github.com\/random-wizard\/phase-four\/tree\/main","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":2028,"url":"https:\/\/cosmicheroes.space\/blog\/index.php\/2024\/05\/23\/rpg-word-embeddings-analogies-02\/","url_meta":{"origin":2025,"position":2},"title":"RPG Word Embeddings \u2013 Analogies \u2013 02","author":"richard","date":"May 23, 2024","format":false,"excerpt":"What might be like what in this less than ideal game pdf hackery, here is an example: These 2 examples, not too bad.","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":1547,"url":"https:\/\/cosmicheroes.space\/blog\/index.php\/2022\/12\/30\/dungeon-23-lord-howe-island-hexkit-hexmap\/","url_meta":{"origin":2025,"position":3},"title":"Dungeon 23 &#8211; Lord Howe Island HexKit HexMap","author":"richard","date":"December 30, 2022","format":false,"excerpt":"Or as the more egotistical mad scientist might call it 'Ruby Base'. This is at about 1km scale hex. The island is approximately 2 standard 'day travel' wilderness hexes N-S. Volcanic terrain of course making that part somewhat tougher. Added to here https:\/\/github.com\/bluetyson\/Dungeon23-Mokuy\/tree\/main\/Lord%20Howe%20Island","rel":"","context":"In &quot;Fantasy&quot;","block_context":{"text":"Fantasy","link":"https:\/\/cosmicheroes.space\/blog\/index.php\/category\/fantasy\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/cosmicheroes.space\/blog\/wp-content\/uploads\/2022\/12\/LordHoweIslandMap1.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/cosmicheroes.space\/blog\/wp-content\/uploads\/2022\/12\/LordHoweIslandMap1.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/cosmicheroes.space\/blog\/wp-content\/uploads\/2022\/12\/LordHoweIslandMap1.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/cosmicheroes.space\/blog\/wp-content\/uploads\/2022\/12\/LordHoweIslandMap1.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":1809,"url":"https:\/\/cosmicheroes.space\/blog\/index.php\/2023\/02\/06\/welsh-piper-hex-map-algorithm-python\/","url_meta":{"origin":2025,"position":4},"title":"Welsh Piper hex map algorithm &#8211; Python","author":"richard","date":"February 6, 2023","format":false,"excerpt":"In relation to HexDescribe and TextMapper - the random or Smale algorithm is the Welsh Piper's. https:\/\/welshpiper.com\/hex-based-campaign-design-part-1\/ There's a follow on part linked for stocking hexes. I translated this to python - partly as a ChatGPT exercise. https:\/\/github.com\/bluetyson\/Dungeon23-Mokuy\/blob\/main\/smale.py Where I did a few tweaks of the Primary and Secondary maps\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":1294,"url":"https:\/\/cosmicheroes.space\/blog\/index.php\/2021\/12\/26\/hex-mapping\/","url_meta":{"origin":2025,"position":5},"title":"Hex Mapping","author":"richard","date":"December 26, 2021","format":false,"excerpt":"A very cool collection of resources to make maps and add randomly generated content to them :- https:\/\/github.com\/kensanata\/hex-mapping Also for Traveller. Possibly holidays could disappear here:... This and Alex's other game stuff can be found here: https:\/\/alexschroeder.ch\/wiki\/RPG Which can lead you down this enjoyable rabbit hole: https:\/\/cosmicheroes.space\/blog\/index.php\/2019\/01\/30\/old-school-rpg-planet\/","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\/2025"}],"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=2025"}],"version-history":[{"count":1,"href":"https:\/\/cosmicheroes.space\/blog\/index.php\/wp-json\/wp\/v2\/posts\/2025\/revisions"}],"predecessor-version":[{"id":2026,"href":"https:\/\/cosmicheroes.space\/blog\/index.php\/wp-json\/wp\/v2\/posts\/2025\/revisions\/2026"}],"wp:attachment":[{"href":"https:\/\/cosmicheroes.space\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=2025"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cosmicheroes.space\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=2025"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cosmicheroes.space\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=2025"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}