News for hackers. Stuff that matters.
Re:Simply explained: How does GPT work? by Zetice on Thursday April 06, 2023 @12:47PM (#35471024)
Does anyone have a good recommendation for a book that would cover the underlying ideas behind LLMs? Google ends up giving me a lot of ads, and ChatGPT is vague about specifics as per usual.
Re:Simply explained: How does GPT work? by ww520 on Thursday April 06, 2023 @01:33PM (#35471660)
ML these days have moved forward fast that books are outdated after couple years. Look at articles, podcasts, youtube videos, and research papers for the latest changes. ChatGPT utilizes existing algorithms. Its insight is scaling the weight parameters up to billions, and human feedback & guidance help a lot in finetuning the model to be user friendly to general users.

To understand LLM from ground up, the following topics would help.

  - Machine Learning basics. e.g. weight parameters being trained.  
  - Neural Net basics.  
  - Nature Language Processing basics.
  - Word vectorization, word embedding. e.g. Word2Vec.
  - Recurrent Neural Net basics.
  - LSTM model.
  - Attention and Transformer model.
  - Generative model like GAN.
  - Generative Pre-trained Transformer.
I might miss a few topics. Actually ask ChatGPT to explain each topic. See how far it goes.
Re:Simply explained: How does GPT work? by giardini on Saturday April 08, 2023 @11:57PM (#35499951)
Or you could save some time by clicking on:

"What Is ChatGPT Doing … and Why Does It Work?"

https://writings.stephenwolfram.com/2023/02/what-is-chatgpt-...

graciously provided above in this discussion by danenania.

As seizethecheese asserts, also above, "The blog post is very good."

Re:Simply explained: How does GPT work? by olooney on Thursday April 06, 2023 @01:25PM (#35471559)
The 2nd edition of Deep Learning with Python[1] (by François Chollet of Keras fame) has a pretty good chapter on the transformer architecture[2]. In fact, the explanations in the book are clear and lucid across the board.

[1]: https://www.amazon.com/Deep-Learning-Python-Francois-Chollet...

[2]: https://en.wikipedia.org/wiki/Transformer_(machine_learning_...

Re:Simply explained: How does GPT work? by danenania on Thursday April 06, 2023 @01:05PM (#35471282)
Not a book, but here's a really good explanation in blog post form from Stephen Wolfram:

https://writings.stephenwolfram.com/2023/02/what-is-chatgpt-...

Re:Simply explained: How does GPT work? by Zetice on Thursday April 06, 2023 @01:14PM (#35471406)
I do not trust that man one iota.
Re:Simply explained: How does GPT work? by seizethecheese on Thursday April 06, 2023 @01:22PM (#35471521)
The blog post is very good.
Re:Simply explained: How does GPT work? by cjblack on Thursday April 06, 2023 @01:23PM (#35471530)
Why?
Re:Simply explained: How does GPT work? by Zetice on Thursday April 06, 2023 @01:44PM (#35471796)
He's got a habit of self aggrandizing, antagonism, and deception in an effort to promote himself and his brand, I worry that his explanations are designed to maximally benefit him, rather than to maximally explain the topic.

He's a brilliant man, I just don't trust him.

Re:Simply explained: How does GPT work? by bulkprotocol on Thursday April 06, 2023 @02:26PM (#35472374)
Is that the case with this specific article?
Re:Simply explained: How does GPT work? by Zetice on Thursday April 06, 2023 @03:08PM (#35472952)
That’s not how trust works.
Re:Simply explained: How does GPT work? by defgeneric on Thursday April 06, 2023 @03:27PM (#35473194)
I agree generally but read the post and it only mentions cellular automata briefly and promotes Wolfram Alpha once. Overall it's very good at moving from Markov chains to neural nets with decent examples and graphics.