Review of Chapter 1 of Building LLM from Scratch

힘센캥거루
2025년 10월 13일(수정됨)
1
17
Review of Chapter 1 of Building LLM from Scratch-1

The more lectures I listen to, the more I feel that learning by exploring on your own leaves a longer-lasting impression and leads to learning more than just listening to lectures.

That's why I immediately signed up when I heard that there was a 'Building LLM from Scratch' reading challenge on Inflearn.

Just like last time when I realized the importance of algorithms at Haenghae 99, I hope to learn a lot this time as well.

1. Summary

To summarize the essence of Chapter 1, the beginning of LLM starts with the transformer architecture.

In the transformer architecture, the language is encoded, and the target language is decoded to produce the translated language.

The encoder is the process of tokenizing and vectorizing the language, and decoding is the process of outputting the language.

By isolating the decoding part into a program, you can create services like GPT. GPT repeatedly executes the decoder until the sentence is complete.

To build such a language model, you need learning data.

By using open-source learning data, you can build a model and create various LLM services through fine-tuning.

2. Impressions

Reading the book, I was able to understand the structure of LLM accurately.

Techniques such as BERT, which emerged during vectorization, and One-Hot Encoding used for encoding, were all methods of word vectorization.

Just learning this one aspect made the whole challenge worthwhile.

I plan to thoroughly read Chapter 2 as well.

관련 글

Automating School Work – Using AI to Check Subject-Specific Remarks in Student Records
Automating School Work – Using AI to Check Subject-Specific Remarks in Student Records
If I had to pick the most meaningless, exhausting, and boring task at school, I would choose checking student records.In middle school, the student re...
Book Review and Challenge Review of Chapter 7 of *Building an LLM from Scratch*
Book Review and Challenge Review of Chapter 7 of *Building an LLM from Scratch*
Chapter 7 covers the process of fine-tuning a model to follow instructions.In other words, making it give the desired response to a given question.As...
Review of Chapter 6 of *Build an LLM from Scratch*
Review of Chapter 6 of *Build an LLM from Scratch*
Chapter 6 is about fine-tuning for classification.The example used is building a spam classifier.A spam classifier determines whether something is spa...
Review of Chapter 5 of *Building an LLM from Scratch*
Review of Chapter 5 of *Building an LLM from Scratch*
Today is December 14.The challenge period actually ended two weeks ago, but I couldn’t just give up on writing a review.Because these TILs I leave lik...
Impressions After Reading Chapter 4 of “LLM From Scratch”
Impressions After Reading Chapter 4 of “LLM From Scratch”
Today is November 26, so if I finish one chapter a day, I’ll complete the challenge.I’m not sure if I can do it with my first and second kids constant...
Review of Chapter 3 of Learning LLM from Scratch
Review of Chapter 3 of Learning LLM from Scratch
After spilling a bucket of water on my MacBook, I was in shock and wasted about 3-4 days. In retrospect, since my MacBook was already damaged, I should have thought of it as being sent for repair and done something. Anyway, although it's a bit late, I am determined to see it through and leave a review of Chapter 3. 1. Attention Mechanism Chapter 3...

댓글을 불러오는 중...