Skip to Content
파이토치로 배우는 LLM & AI
book

파이토치로 배우는 LLM & AI

by 로런스 모로니, 박해선
March 2026
Intermediate
504 pages
11h 26m
Korean
Hanbit Media, Inc.
Content preview from 파이토치로 배우는 LLM & AI
368
2
부
모델 사용
NOTE
_
혼동을 피하기 위해 아키텍처, 모델, 개념을 나타낼 때는 트랜스포머(대문자
T
로 시작하는
Transformer
)라고 하고, 허깅 페이스 라이브러리를 의미할 때는 (소문자
t
로 시작하는)
transformers
로 사
용했습니다.
15.1
트랜스포머 이해하기
앞에서 언급한 원본 논문이 발표된 이후 트랜스포머 분야가 진화하고 성장했지만 기반 개념은
거의 동일하게 유지되었습니다. 이 절에서 이에 대해 살펴보겠습니다.
(허깅 페이스뿐만 아니라 )
LLM
을 다룰 때 인코더, 디코더, 인코더-디코더라는 용어를 듣게
됩니다. 이들에 대해 고수준에서 이해하고 있는 것이 좋습니다. 각 구조는 서로 다른 방법으로
텍스트를 다룹니다(처리, 분류, 생성 등). 구조마다 특정 시나리오에 강점을 가지고 있으므로
적절한 것을 선택하기 위해 잘 이해하는 것이 좋습니다.
15.1.1
인코더 구조
인코더 기반 구조(예를 들면
BERT
나
RoBERTa
)는 텍스트 처리에 엄격하기 때문에 일반적으
로 텍스트 이해에 뛰어납니다. 태생적으로 양방향으로 텍스트를 처리하며 전체 입력 시퀀스를
동시에 볼 수 있습니다. 이런 특성 덕분에 텍스트와 의미를 이해하고 해석하는 작업에 효과적
입니다. 분류, 개체명 인식
named
-
entity
recognition
또는 질문 ...
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

AI 에이전트 엔지니어링

AI 에이전트 엔지니어링

마이클 알바다
핸즈온 LLM

핸즈온 LLM

제이 알아마르, 마르턴 흐루턴도르스트
만들면서 배우는 생성 AI

만들면서 배우는 생성 AI

데이비드 포스터

Publisher Resources

ISBN: 9791175790223