News for hackers. Stuff that matters.
Re:Transformers Can Do Arithmetic with the Right Embeddings by shepherdjerred on Tuesday May 28, 2024 @12:18PM (#40502370)
Your calculator is deterministic. Humans and AI are not.
Re:Transformers Can Do Arithmetic with the Right Embeddings by jayd16 on Tuesday May 28, 2024 @03:43PM (#40504779)
LLMs are deterministic. We just sample the results, no? Also, no reason AI needs not be deterministic.
Re:Transformers Can Do Arithmetic with the Right Embeddings by TeMPOraL on Tuesday May 28, 2024 @05:32PM (#40505852)
> LLMs are deterministic.

In theory, yes. In practice, parallelism combined with floating point math make current implementations fundamentally non-deterministic.

Re:Transformers Can Do Arithmetic with the Right Embeddings by Tycho on Tuesday May 28, 2024 @06:48PM (#40506415)
Can you elaborate more on the parallelism aspect?
Re:Transformers Can Do Arithmetic with the Right Embeddings by mensetmanusman on Tuesday May 28, 2024 @09:44PM (#40507456)
Not fundamentally, but extremely costly to keep track of everything. Still deterministic though.
Re:Transformers Can Do Arithmetic with the Right Embeddings by joquarky on Wednesday May 29, 2024 @03:55PM (#40516240)
Temperature cannot ever reach 0 (this causes a division error), so they are not deterministic.
Re:Transformers Can Do Arithmetic with the Right Embeddings by nprateem on Tuesday May 28, 2024 @02:55PM (#40504170)
Exactly
Re:Transformers Can Do Arithmetic with the Right Embeddings by vidarh on Tuesday May 28, 2024 @03:24PM (#40504537)
The point is don't ask an LLM to do tasks that a calculator can do. Ask if to use the calculator, just like most humans would.
Re:Transformers Can Do Arithmetic with the Right Embeddings by chowells on Tuesday May 28, 2024 @04:23PM (#40505199)
The point is that you shouldn't need to ask. If it's actually a general-purpose system it will do it automatically.
Re:Transformers Can Do Arithmetic with the Right Embeddings by vidarh on Tuesday May 28, 2024 @08:12PM (#40506900)
An LLM in isolation is not a general purpose system, but with ChatGPT at least, most of the time you don't need to ask. In fact, it's increasingly difficult to force it to do "manual" maths, as it's strongly predisposed to do things like write and evaluate Python code instead of doing it "manually".

E.g. I verified just now and asked it to multiply two huge numbers, and it immediately spat out Python code, then evaluated it and gave me the result, rather than try to add the numbers itself.

Re:Transformers Can Do Arithmetic with the Right Embeddings by int_19h on Tuesday May 28, 2024 @09:27PM (#40507323)
It still needs to be trained on what calculators are, on how to use them, and on when it is appropriate to do so. Again, same as humans.
Re:Transformers Can Do Arithmetic with the Right Embeddings by nprateem on Tuesday May 28, 2024 @04:11PM (#40505041)
I know. That was my point.