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

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

by 수하스 파이, 박조은
October 2025
Intermediate
424 pages
10h 19m
Korean
Hanbit Media, Inc.
Content preview from 실무로 통하는 LLM 애플리케이션 설계
149
4
아키텍처와 학습 목표
토큰이 같은 전문가를 선택하게 된다면, 여러 전문가를 통한 병렬 처리의 이점을 활용할 수 없
어 계산을 완료하는 데 추가 시간이 소요됩니다.
전문가 선택 방식에서는 각 전문가가 자신이 가장 잘 처리할 수 있는 토큰들을 선택합니다. 각
전문가가 동일한 수의 토큰을 선택하도록 지정할 수 있어 부하 균형 문제를 해결할 수 있습니
다. 그러나 이 방식은 효율적인 토큰-전문가 매칭을 어렵게 할 수 있습니다. 각 전문가는 배치
내에서 제한된 수의 토큰만 선택할 수 있기 때문입니다.
모델 업사이클링
이 책을 작성하는 현재, 공개적으로 이용 가능한
MoE
모델은 허깅 페이스에서 찾아 볼 수 있습
니다. 그렇다면 기존의 일반 트랜스포머 기반 모델을
MoE
모델로 변환할 수 있을까요? 코마쓰
자키
Komatsuzaki
연구진
17
은 이미 사전 훈련된 모델에
MoE
컴포넌트를 추가할 수 있는 업사이클링
방법을 개발했습니다. 이 방법은 기존 피드포워드 층을 전문가 수만큼
N
개 복제하고, 각 복제된
층에 기존 모델의 파라미터를 초깃값으로 설정해
MoE
모델의 구조를 구성합니다.
4.7
학습 목표
언어 모델의 아키텍처를 살펴봤으니, 이제 사전 훈련 과정에서 모델이 학습하는 작업을 알아보
겠습니다.
앞서 이 장에서 언급했듯이, 언어 모델은 자기 지도 방식으로
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