봤습니다. 이러한 탐구를 통해 사전 훈련 데이터가 최종 모델에 얼마나 강력한 영향을 미치는
지 잘 이해하셨기를 바랍니다. 이번 장에서는 언어 모델의 또 다른 핵심 구성 요소인 어휘에 관
해 논의하겠습니다.
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.
O’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
I 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
I’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
I'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.