Skip to Content
핸즈온 LLM
book

핸즈온 LLM

by 제이 알아마르, 마르턴 흐루턴도르스트, 박해선
June 2025
Beginner to intermediate
460 pages
11h 46m
Korean
Hanbit Media, Inc.
Content preview from 핸즈온 LLM
138
2부 사전 훈련된 언어 모델 사용하기
4
.
6
절은 생성 모델을 다룹니다. 생성 모델의 대부분은 분류에 사용할 수 있습니다. 오픈 소스
모델은 물론 클로즈드 소스 언어 모델도 다루겠습니다.
이 장은 대규모 데이터에서 이미 훈련되어 텍스트 분류에 활용할 수 있는 사전 훈련된 언어 모
델을 활용하는 데 초점을 맞춥니다. [그림
4
-
2
]에 나타나 있듯이 표현 언어 모델과 생성 언어
모델을 살펴보고 둘의 차이점을 알아보겠습니다.
입력
입력
출력
출력
(텍스트에 가장 잘
맞는 카테고리)
입력 텍스트를
포함한 분류용
프롬프트
표현 언어 모델
목표: 분류
클래스:
0
,
1
,
2
입력 텍스트의
클래스는
1
: 환불’입니다
생성 언어 모델
목표: 분류
그림
4-2
표현 모델과 생성 모델 모두 분류에 사용할 수 있지만 접근 방식이 다릅니다.
이 장에서 생성 모델과 표현 모델을 포함해 다양한 언어 모델을 소개합니다. 이런 모델을 로드
하고 사용하기 위한 패키지도 다루겠습니다.
TIP
이 책이
LLM
에 초점을 맞추고 있더라도 예제는 고전적이지만 강력한 기본 모델과 비교하는 것이 좋습니다.
예를 들어
TF
-
IDF
로 텍스트를 표현하고 이를 사용해 로지스틱 회귀 모델을 훈련할 수 있습니다.
1
4.1
영화 리뷰 데이터셋
허깅 페이스 허브에는 모델은 물론 데이터셋도 있기 때문에 텍스트 분류를 위한 데이터도 ...
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

LLMOps

LLMOps

Abi Aryan
딥러닝의 정석(2판)

딥러닝의 정석(2판)

니틴 부두마, 니킬 부두마, 조 파파
FastAPI

FastAPI

Bill Lubanovic

Publisher Resources

ISBN: 9791169213516