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

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

by 수하스 파이, 박조은
October 2025
Intermediate
424 pages
10h 19m
Korean
Hanbit Media, Inc.
Content preview from 실무로 통하는 LLM 애플리케이션 설계
284
2
LLM 활용하기
동적 조기 종료는 동적 추론
dynamic
inference
이라는 기법 분류에 속합니다. 여기서 추론 계산은 입
력의 특성에 따라 동적으로 결정됩니다. 중요한 예로는
4
장에서 소개한 전문가 혼합 (
MoE
)
델이 있습니다.
MoE
모델에서는 라우팅 함수가 추론을 실행할 전문가 모듈의 작은 하위 집합
을 선택해 필요한 연산량을 줄입니다.
다음으로는 지식 증류라는 방법으로 대규모 모델에서 파생된 소규모 모델을 만들어 성능 저하
는 최소화하면서 추론 속도는 개선하는 방안을 살펴보겠습니다.
9.3.3
지식 증류
5
장에서는
DistilBERT
9
와 같은 증류된 버전의 모델을 간략히 소개했습니다. 이러한 모델은
증류된 원본 대형 모델의 능력을 근사하는 더 작은 모델로, 더 빠른 추론을 가능하게 합니다.
수년에 걸쳐 지식 증류를 위한 여러 기법이 개발되었습니다. 이 분야의 연구 발전에 대한 조사
는 쉬 연구진의 조사 논문
10
을 참조하세요.
지식 증류 과정은 증류 데이터 준비와 훈련이라는 두 단계로 나눌 수 있습니다. 기본 모델은 교
사 모델
teacher
model
이라 하고 증류된 모델은 학생 모델
student
model
이라 합니다.
[그림
9
-
2
]는 모델 증류 과정을 보여줍니다.
정렬
증류
데이터
레이블
교사 모델
학생 모델
그림
9-2
지식 증류
이제 지식 증류의 ...
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