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

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

by 수하스 파이, 박조은
October 2025
Intermediate
424 pages
10h 19m
Korean
Hanbit Media, Inc.
Content preview from 실무로 통하는 LLM 애플리케이션 설계
117
3
어휘와 토큰화
토큰화 없는 모델
1
장에서 논의했듯이, 통합 효과는 인간의 입력을 받아들이고, 필요한 모든 처리를 수행하며, 단일
모델 내에서 인간이 소비할 수 있는 출력을 생성하는 엔드 투 엔드
end
-
to
-
end
아키텍처로 이어집니
다. 하지만 마지막 남은 부분은 토큰화 단계입니다. 앞서 본 코드에서 알 수 있듯이, 토큰화는 모델
에 입력할 데이터를 준비하는 전처리 단계로 사용됩니다. 모델이 받는 입력은 원시 텍스트가 아니
라 토큰 인덱스의 시퀀스입니다. 하지만 토큰화 단계를 제거해 모델을 진정으로 엔드 투 엔드로 만
들면 어떨까요? 원시 텍스트를 모델에 직접 입력하고 결과를 출력하게 할 수 있을까요?
CANINE
,
ByT5
,
Charformer
와 같은 모델이 토큰화 없는 언어 모델링 분야에 대해 시도를 했습니다.
CANINE
8
은 유니코드 코드 포인트를 입력으로 받습니다. 그러나 가능한 코드 포인트는
1
,
114
,
112
로, 어휘와 결과적인 임베딩 층
layer
크기가 현실적으로 불가능합니다. 이를 해결하고자
CANINE
은 해
시된 임베딩을 사용해 효과적인 어휘 공간을 훨씬 작게 만듭니다.
ByT5
9
는 바이트 단위로 입력을 받아들이므로 어휘에는 (몇 가지 특수 토큰을 포함하여 )
259
개의
토큰만 있어 임베딩 층 크기를 크게 줄입니다.
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