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.

Ask HN: ChatGPT – How many people live in Newcastle, Englad?

6 pointsby p0dalmost 2 years ago
Why does ChatGPT give my students different answers to this prompt when asked at the same time? Answers ranged from 165 - 300,000.

5 comments

NtochkaNzvanovaalmost 2 years ago
It&#x27;s important that students and teachers become educated, even just slightly, about what ChatGPT is really doing and how it works.<p>Fundamentally, ChatGPT operates by predicting the most likely word to follow previous words. By doing so, it generates text that largely makes sense. By itself, it does not try to give correct answers to factual questions. It simply generates likely text based on its training distribution. And it incorporates randomness to generate variability, according to the distribution, so that it doesn&#x27;t just regurgitate the same answer verbatim every time.
theRealMealmost 2 years ago
As others have noted, there is a “temperature” parameter that defines how much randomness gets injected in its process. With a temperature of 0 it’s results would be repetitive and lack any type of creativity. With a temperature set to max it would hallucinate a ton and have wild answers.<p>I just tested it in the playground using gpt4 and when I used the default temperature of 1, it’s answers carried from like 303k to 305k where each answer was slightly different. Then I tested it several times with temperature of 0 and it gave the same exact result every time 303820. So the algorithm thinks that 303820 is the most correct answer, but the injected randomness makes it pick slightly less optimal answers. I don’t know if the other answers are completely out of thin air or if it’s training data just had a bunch of different sources that varied slightly.
评论 #37072635 未加载
eva_cananimalmost 2 years ago
The question is very slightly ambiguous. In England there is the city of Newcastle-upon-Tyne on the east side of the country and there is the town of Newcastle-under-Lyme on the west side of the country.<p>Most people presume Newcastle to mean the city, unless they happen to live close to or in the small one.<p>Another guess: People have lived in the Newcastle-upon-tyne area for at least 1900 years. There are probably lots of web pages about historical events that mention the population of Newcastle at some point in history.<p>I don&#x27;t know if ChatGPT allows for the difference between a mention of the current population and mention of the population after William the Conqueror wreaked the place about 950 years ago.
评论 #37071473 未加载
评论 #37087909 未加载
speedgoosealmost 2 years ago
Because it’s a large language model with some randomness.<p>Have you tried using the wolfram alpha plugin enabled in ChatGPT? It should give the good answer every time.
subroutinealmost 2 years ago
Do any of the students have &quot;custom instructions&quot; set? Was this the first query to a brand new chat session?
评论 #37072648 未加载