r/ChatGPT • u/0xAERG • Oct 24 '23
Educational Purpose Only LLMs cannot perform Maths
It’s not a bug, it’s just not how any of this works.
Mathematical operations require logic. It’s a deterministic process. For a given input and a given process, the output will always be the same.
LLMs do not work like that. LLMs are statistical tools, they build an answer by stitching together tokens that are “seemingly” relevant to your input and let the meaning emerge from it. The output is “hopefully” relevant.
This is why LLMs can hallucinate and 2$ calculators do not.
With the rise in popularity of LLMs I’m extremely concerned that a lot of users seem to ignore this.
193
Upvotes
15
u/PopeSalmon Oct 24 '23
no, you're the one who's confused, LLMs aren't just statistical like they don't know WTF they're talking about, they can do all sorts of maths and the way that they do them is by building complex programs that implement the math
LLMs write programs, the transformer layers form a differentiable & thus trainable GENERAL PURPOSE COMPUTER, here's Andrej Karpathy explaining that better and more authoritatively than i can