{"id":1206,"date":"2024-10-25T15:29:05","date_gmt":"2024-10-25T19:29:05","guid":{"rendered":"https:\/\/stacyprowell.com\/blog\/?p=1206"},"modified":"2025-01-27T13:15:54","modified_gmt":"2025-01-27T18:15:54","slug":"artificial-something","status":"publish","type":"post","link":"https:\/\/stacyprowell.com\/blog\/2024\/10\/25\/artificial-something\/","title":{"rendered":"Artificial Something"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<p class=\"has-drop-cap\">I think we all know about the problems that large language models (LLMs) have with counting the number of occurrences of the letter r in strawberry.  Modern LLMs have that fixed.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-style-default\"><img loading=\"lazy\" width=\"1594\" height=\"270\" src=\"https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image.png\" alt=\"\" class=\"wp-image-1207\" srcset=\"https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image.png 1594w, https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image-300x51.png 300w, https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image-1024x173.png 1024w, https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image-768x130.png 768w, https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image-1536x260.png 1536w, https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image-1200x203.png 1200w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><figcaption>ChatGPT knows what&#8217;s up, chat<\/figcaption><\/figure>\n\n\n\n<p>Now, how about a different test?  Aspartyltryptophan is a word I did not make up.  It&#8217;s the name for a compound, and you can find out more about it <a href=\"https:\/\/pubchem.ncbi.nlm.nih.gov\/compound\/Aspartyltryptophan\">here<\/a>.  Why do I bring it up?  Well, it has a lot of consecutive consonants: 9 of them.<\/p>\n\n\n\n<p><code>aspartyltryptophan<\/code> &#8211;&gt; <code>a sp a rtyltrypt o ph a n<\/code><\/p>\n\n\n\n<p>You will note that the longest block of consonants is 9 letters in length.  (Is y a vowel here?  Don&#8217;t think about it too much; that&#8217;s not the point.)<\/p>\n\n\n\n<p>Let&#8217;s ask ChatGPT about this.<\/p>\n\n\n\n<!--more-->\n\n\n\n<figure class=\"wp-block-image size-full is-resized is-style-default\"><img loading=\"lazy\" src=\"https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image-1.png\" alt=\"\" class=\"wp-image-1208\" width=\"795\" height=\"182\" srcset=\"https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image-1.png 1590w, https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image-1-300x69.png 300w, https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image-1-1024x234.png 1024w, https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image-1-768x176.png 768w, https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image-1-1536x352.png 1536w, https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image-1-1200x275.png 1200w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><figcaption>Life&#8217;s hard, chat<\/figcaption><\/figure>\n\n\n\n<p>Okay, ChatGPT responds with the wrong number and the wrong block.  Let&#8217;s see if we can help it figure out its mistake.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" src=\"https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image-2.png\" alt=\"\" class=\"wp-image-1210\" width=\"799\" height=\"1086\" srcset=\"https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image-2.png 1598w, https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image-2-221x300.png 221w, https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image-2-753x1024.png 753w, https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image-2-768x1044.png 768w, https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image-2-1130x1536.png 1130w, https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image-2-1507x2048.png 1507w, https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image-2-1200x1631.png 1200w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><figcaption>Obviously running a Python program results in C# output&#8230; for reasons<\/figcaption><\/figure>\n\n\n\n<p>Well, the code is correct and I love the confidence, but the answer is wrong.  Time to call ChatGPT on its mistake, because running the code gives the correct answer: 9.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" src=\"https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image-3.png\" alt=\"\" class=\"wp-image-1211\" width=\"797\" height=\"639\" srcset=\"https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image-3.png 1594w, https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image-3-300x241.png 300w, https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image-3-1024x821.png 1024w, https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image-3-768x616.png 768w, https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image-3-1536x1231.png 1536w, https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image-3-1200x962.png 1200w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><figcaption>I&#8217;m not even sure how it got this, chat<\/figcaption><\/figure>\n\n\n\n<p>That&#8217;s not at all what the code does.  Let&#8217;s ask for more detail.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" src=\"https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image-4.png\" alt=\"\" class=\"wp-image-1212\" width=\"799\" height=\"689\" srcset=\"https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image-4.png 1598w, https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image-4-300x259.png 300w, https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image-4-1024x883.png 1024w, https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image-4-768x662.png 768w, https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image-4-1536x1325.png 1536w, https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image-4-1200x1035.png 1200w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><\/figure>\n\n\n\n<p class=\"has-text-align-center\">(Skipping&#8230;)<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" src=\"https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image-5.jpg\" alt=\"\" class=\"wp-image-1213\" width=\"805\" height=\"1117\" srcset=\"https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image-5.jpg 1610w, https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image-5-216x300.jpg 216w, https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image-5-738x1024.jpg 738w, https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image-5-768x1066.jpg 768w, https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image-5-1107x1536.jpg 1107w, https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image-5-1476x2048.jpg 1476w, https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image-5-1200x1665.jpg 1200w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><figcaption>Putting in the work<\/figcaption><\/figure>\n\n\n\n<p>This resulted in getting the correct output!  The number of consonants is, in fact, 9!  Getting the correct result from tracing is quite interesting.  Let&#8217;s see if ChatGPT has learned anything.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" src=\"https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image-5.png\" alt=\"\" class=\"wp-image-1214\" width=\"812\" height=\"223\" srcset=\"https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image-5.png 1624w, https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image-5-300x82.png 300w, https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image-5-1024x281.png 1024w, https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image-5-768x211.png 768w, https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image-5-1536x422.png 1536w, https:\/\/stacyprowell.com\/blog\/wp-content\/uploads\/2024\/10\/image-5-1200x330.png 1200w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><figcaption>Learning is fun!<\/figcaption><\/figure>\n\n\n\n<p>This feels like more of an accomplshment than it probably is.  Just don&#8217;t look <em>too closely<\/em> at the sequence of letters ChatGPT found.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learning is fun!<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[13,14],"_links":{"self":[{"href":"https:\/\/stacyprowell.com\/blog\/wp-json\/wp\/v2\/posts\/1206"}],"collection":[{"href":"https:\/\/stacyprowell.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/stacyprowell.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/stacyprowell.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/stacyprowell.com\/blog\/wp-json\/wp\/v2\/comments?post=1206"}],"version-history":[{"count":7,"href":"https:\/\/stacyprowell.com\/blog\/wp-json\/wp\/v2\/posts\/1206\/revisions"}],"predecessor-version":[{"id":1223,"href":"https:\/\/stacyprowell.com\/blog\/wp-json\/wp\/v2\/posts\/1206\/revisions\/1223"}],"wp:attachment":[{"href":"https:\/\/stacyprowell.com\/blog\/wp-json\/wp\/v2\/media?parent=1206"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/stacyprowell.com\/blog\/wp-json\/wp\/v2\/categories?post=1206"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/stacyprowell.com\/blog\/wp-json\/wp\/v2\/tags?post=1206"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}