News for hackers. Stuff that matters.
Re:GPT in 500 Lines of SQL by Alifatisk on Saturday February 24, 2024 @05:54AM (#39490658)
I love this, something that starts off as some kind of sorcery a year ago is now being explained so well and almost in a childish way.
Re:GPT in 500 Lines of SQL by Hendrikto on Saturday February 24, 2024 @07:44AM (#39491099)
Despite this impressive achievement, the author does not appear to have the most solid theoretical background.

Some explanations (e.g. regarding UTF encoding) are not entirely correct and use uncommon terminology (e.g. alphabet instead of vocabulary).

Re:GPT in 500 Lines of SQL by worewood on Saturday February 24, 2024 @10:29AM (#39492192)
Also, about the non-determinism issue, there was a post some time ago and that comes from the way the GPU does the calculations, something something floating point something.

So of course the algorithm is deterministic, but the real-life implementation isn't.

Re:GPT in 500 Lines of SQL by gugagore on Saturday February 24, 2024 @12:04PM (#39493099)
Floating point addition, for example, is not associative, so the order of taking a sum affects the result. If the summation were sequential and single threaded, it would be deterministic. But it happens in parallel, so timing variations affect the result.

But there is probabilistic sampling that happens (see "temperature").

Re:GPT in 500 Lines of SQL by marginalia_nu on Saturday February 24, 2024 @12:41PM (#39493444)
> Floating point addition, for example, is not associative, so the order of taking a sum affects the result. If the summation were sequential and single threaded, it would be deterministic. But it happens in parallel, so timing variations affect the result.

In this sense, I don't think it's fair to say floating point math is non-deterministic, as much as parallel computation is non-deterministic. FP behaves in unexpected ways, but the same order of operations always yields the same unexpected results (except on Pentium 1).

Re:GPT in 500 Lines of SQL by dzink on Saturday February 24, 2024 @10:49AM (#39492416)
Electricity, Cars, and Gas were once upon a time a luxury as well - reserved to those who could afford them or had unique access / credentials / skills. The people who were able to simplify and spread the advanced tech to the common person became Billionaires.
Re:GPT in 500 Lines of SQL by darkmx0z on Saturday February 24, 2024 @10:53AM (#39492451)
when talking about a set of characters, alphabet is a commonly used term https://cs.stackexchange.com/search?q=string++alphabet+size
Re:GPT in 500 Lines of SQL by ecnahc515 on Saturday February 24, 2024 @12:15PM (#39493208)
Sure, but if your doing work in machine learning that’s generally not the terminology used, hinting that this isn’t the area the author specializes in (which isn’t a bad thing, but take their explanations with a grain of salt).
Re:GPT in 500 Lines of SQL by maelito on Saturday February 24, 2024 @06:58AM (#39490895)
> and almost in a childish way.

No. You've got to have a solid background in computer science to even start to understand fully this article.

Even the title itself is not accessible to 99% of humans.

Re:GPT in 500 Lines of SQL by bookofjoe on Saturday February 24, 2024 @08:16AM (#39491267)
Count me in as one of the 99%
Re:GPT in 500 Lines of SQL by coldtea on Saturday February 24, 2024 @06:06PM (#39495961)
Parent obviously means childish as in "simple and easy manner" not as "something 10 year olds will understand".
Re:GPT in 500 Lines of SQL by pedrosorio on Saturday February 24, 2024 @01:46PM (#39494062)
This sorcery didn't start a year ago. The model being described in the article is GPT-2 which was released in early 2019.