Skip to Content
실무로 통하는 LLM 애플리케이션 설계
book

실무로 통하는 LLM 애플리케이션 설계

by 수하스 파이, 박조은
October 2025
Intermediate
424 pages
10h 19m
Korean
Hanbit Media, Inc.
Content preview from 실무로 통하는 LLM 애플리케이션 설계
107
3
어휘와 토큰화
어휘와 토큰화
3
CHAPTER
2
장에서는 오늘날 언어 모델을 훈련시키는 데 사용되는 데이터셋과 그 생성 과정을 깊이 살펴
봤습니다. 이러한 탐구를 통해 사전 훈련 데이터가 최종 모델에 얼마나 강력한 영향을 미치는
지 잘 이해하셨기를 바랍니다. 이번 장에서는 언어 모델의 또 다른 핵심 구성 요소인 어휘에 관
해 논의하겠습니다.
3.1
어휘
새로운 언어를 배우기 시작할 때 가장 먼저 하는 일은 무엇인가요? 바로 그 언어의 어휘를 습
득하고 언어 능력이 향상됨에 따라 어휘력을 확장해 나가는 것입니다. 여기서 어휘를 다음과
같이 정의해 보겠습니다.
특정 개인이 이해하는 언어 내 모든 단어
평균적인 영어 원어민은
20
,
000
~
35
,
000
개 정도의 단어 어휘
1
를 압니다. 이와 마찬가지로, 모
든 언어 모델에도 자체 어휘가 있으며 대부분의 모델 어휘 크기는
5
,
000
개에서
500
,
000
개 토
큰 사이에 분포합니다.
1
https
://
oreil
.
ly
/
bkc2C
108
1
LLM의 구성 요소
예를 들어
GPT
-
NeoX
-
20B
모델의 어휘를 살펴보겠습니다.
tokenizer
.
json
파일 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

What Successful Project Managers Do

What Successful Project Managers Do

W. Scott Cameron, Jeffrey S. Russell, Edward J. Hoffman, Alexander Laufer
How to Overcome a Power Deficit

How to Overcome a Power Deficit

Cyril Bouquet, Jean-Louis Barsoux
Relational Power Is the New Currency of Hybrid Work

Relational Power Is the New Currency of Hybrid Work

Lebene Soga, Yemisi Bolade-Ogunfodun, Nazrul Islam, Joseph Amankwah-Amoah

Publisher Resources

ISBN: 9791169214384