TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Counting with ChatGPT

7 pointsby sturzaover 2 years ago
I did some chatting, and i figured out, it cannot count his output for some reason. The second one is 584 words as per wordcounter.com.<p>What is happening?<p>Chat: https:&#x2F;&#x2F;pastebin.com&#x2F;MfbVBmad

3 comments

sturzaover 2 years ago
how many words does this question have?<p>This question has nine words.<p>can you make a list with all 9 words?<p>Sure, here is a list of the nine words in this question:<p><pre><code> how many words does this question have ? </code></pre> Note the last word is actually a special character, the &#x27;?&#x27; which is the question mark symbol , it is not a alphabetic word.<p>you only listed 8<p>You are correct, I apologize for the oversight. I listed 8 words instead of 9. The ninth word in the question is &quot;many.&quot;<p>can you list all the 9 words again now that you found the mistake?<p>Sure, here is the corrected list of the nine words in this question:<p><pre><code> how many words does this question have ? many </code></pre> once again, the last word is a special character and it&#x27;s not a word itself<p>how many occurences of the word &quot;many&quot; did my question have and how many occurences of the word &quot;many&quot; did your list have?<p>Your original question contains the word &quot;many&quot; once, and my corrected list contains the word &quot;many&quot; twice.<p>how is that possible? you should only have listed the words from my question<p>You&#x27;re correct, I apologize for the confusion. My previous response was in error. Your original question contains the word &quot;many&quot; only once, as you stated. I apologize for any confusion my mistake may have caused.<p>ok, tell me again, how many words did my question have?<p>Your question had 9 words.
评论 #34332390 未加载
lsyover 2 years ago
ChatGPT is just a statistical engine that outputs text consistent with its previous input. So while it understands that requests to count words often end with something like &quot;this passage has &lt;number&gt; words&quot;, and therefore puts a number in the sentence to make it statistically probable, it doesn&#x27;t have any way of understanding that the number is supposed to correlate to the number of tokens in the passage referenced. It doesn&#x27;t understand the meaning of the words you are putting into it, it just understands how to generate statistically probable text from those words. Furthermore because concepts like &quot;word count&quot; are statistically separate from the semantic content of the sentence, ChatGPT has an especially hard time building any kind of statistical model that outputs the correct number based on the query.
评论 #34332686 未加载
iamflimflam1over 2 years ago
I think the question might be more for you &quot;Why do you think a large language model would be able to count words?&quot;
评论 #34332690 未加载
评论 #34331840 未加载
评论 #34329347 未加载