News for hackers. Stuff that matters.
Re:Andrej Karpathy: Software in the era of AI [video] by ramon156 on Thursday June 19, 2025 @06:13AM (#44317136)
The real question is how long it'll take until they're not brittle
Re:Andrej Karpathy: Software in the era of AI [video] by kubb on Thursday June 19, 2025 @06:17AM (#44317160)
Or will they ever be reliable. Your question is already making an assumption.
Re:Andrej Karpathy: Software in the era of AI [video] by diggan on Thursday June 19, 2025 @06:43AM (#44317316)
They're reliable already if you change the way you approach them. These probabilistic token generators probably never will be "reliable" if you expect them to 100% always output exactly what you had in mind, without iterating in user-space (the prompts).
Re:Andrej Karpathy: Software in the era of AI [video] by kubb on Thursday June 19, 2025 @07:18AM (#44317546)
I also think they might never become reliable.
Re:Andrej Karpathy: Software in the era of AI [video] by flir on Thursday June 19, 2025 @07:25AM (#44317599)
There is a bar below which they are reliable.

"Write a Python script that adds three numbers together".

Is that bar going up? I think it probably is, although not as fast/far as some believe. I also think that "unreliable" can still be "useful".

Re:Andrej Karpathy: Software in the era of AI [video] by diggan on Thursday June 19, 2025 @07:24AM (#44317591)
But what does that mean? If you tell the LLM "Say just 'hi' without any extra words or explanations", do you not get "hi" back from it?
Re:Andrej Karpathy: Software in the era of AI [video] by TeMPOraL on Thursday June 19, 2025 @07:28AM (#44317612)
That's literally the wrong way to use LLMs though.

LLMs think in tokens, the less they emit the dumber they are, so asking them to be concise, or to give the answer before explanation, is extremely counterproductive.

Re:Andrej Karpathy: Software in the era of AI [video] by diggan on Thursday June 19, 2025 @07:32AM (#44317636)
I was trying to make a point regarding "reliability", not a point about how to prompt or how to use them for work.
Re:Andrej Karpathy: Software in the era of AI [video] by TeMPOraL on Thursday June 19, 2025 @07:48AM (#44317746)
This is relevant. Your example may be simple enough, but for anything more complex, letting the model have its space to think/compute is critical to reliability - if you starve it for compute, you'll get more errors/hallucinations.
Re:Andrej Karpathy: Software in the era of AI [video] by diggan on Thursday June 19, 2025 @08:04AM (#44317850)
Yeah I mean I agree with you, but I'm still not sure how it's relevant. I'd also urge people to have unit tests they treat as production code, and proper system prompts, and X and Y, but it's really beyond the original point of "LLMs aren't reliable" which is the context in this sub-tree.
Re:Andrej Karpathy: Software in the era of AI [video] by kubb on Thursday June 19, 2025 @08:49AM (#44318187)
Sometimes I get "Hi!", sometimes "Hey!".
Re:Andrej Karpathy: Software in the era of AI [video] by diggan on Thursday June 19, 2025 @08:57AM (#44318270)
Which model? Just tried a bunch of ChatGPT, OpenAI's API, Claude, Anthropic's API and DeepSeek's API with both chat and reasonee, every single one replied with a single "hi".
Re:Andrej Karpathy: Software in the era of AI [video] by throwdbaaway on Thursday June 19, 2025 @09:47AM (#44318659)
o3-mini-2025-01-31 with high reasoning effort replied with "Hi" after 448 reasoning tokens.

gpt-4.5-preview-2025-02-27 replied with "Hi!"

Re:Andrej Karpathy: Software in the era of AI [video] by diggan on Thursday June 19, 2025 @11:20AM (#44319506)
> o3-mini-2025-01-31 with high reasoning effort replied with "Hi" after 448 reasoning tokens.

I got "hi", as expected. What is the full system prompt + user message you're using?

https://i.imgur.com/Y923KXB.png

> gpt-4.5-preview-2025-02-27

Same "hi": https://i.imgur.com/VxiIrIy.png

Re:Andrej Karpathy: Software in the era of AI [video] by throwdbaaway on Thursday June 19, 2025 @11:38PM (#44324512)
Ah right, my bad. Somehow I thought the prompt was only:

    Say just 'hi'
while the "without any extra words or explanations" part was for the readers of your comment. Perhaps kubb also made a similar mistake.

I used empty system prompt.

Re:Andrej Karpathy: Software in the era of AI [video] by vFunct on Thursday June 19, 2025 @07:01AM (#44317424)
Its perfectly reliable for the things you know it to be, such as operations within its context window size.

Don't ask LLMs to "Write me Microsoft Excel".

Instead, ask it to "Write a directory tree view for the Open File dialog box in Excel".

Break your projects down into the smallest chunks you can for the LLMs. The more specific you are, the more reliable it's going to be.

The rest of this year is going to be companies figuring out how to break down large tasks into smaller tasks for LLM consumption.

Re:Andrej Karpathy: Software in the era of AI [video] by dist-epoch on Thursday June 19, 2025 @07:46AM (#44317731)
I remember when people were saying here on HN that AIs will never be able to generate picture of hands with just 5 fingers because they just "don't have common sense"
Re:Andrej Karpathy: Software in the era of AI [video] by yahoozoo on Thursday June 19, 2025 @07:08AM (#44317483)
“Treat it like a junior developer” … 5 years later … “Treat it like a junior developer”
Re:Andrej Karpathy: Software in the era of AI [video] by TeMPOraL on Thursday June 19, 2025 @07:31AM (#44317623)
Usable LLMs are 3 years old at this point. ChatGPT, not Github Copilot, is the marker.
Re:Andrej Karpathy: Software in the era of AI [video] by LtWorf on Thursday June 19, 2025 @12:49PM (#44320349)
Usable for fun yes.
Re:Andrej Karpathy: Software in the era of AI [video] by agile-gift0262 on Thursday June 19, 2025 @07:23AM (#44317582)
while True:

  print("This model that just came out changes everything. It's flawless. It doesn't have any of the issues the model from 6 months ago had. We are 1 year away from AGI and becoming jobless")
  sleep(timedelta(days=180).total_seconds)
Re:Andrej Karpathy: Software in the era of AI [video] by guappa on Thursday June 19, 2025 @06:26AM (#44317197)
∞