Skip to Content
핸즈온 LLM
book

핸즈온 LLM

by 제이 알아마르, 마르턴 흐루턴도르스트, 박해선
June 2025
Beginner to intermediate
460 pages
11h 46m
Korean
Hanbit Media, Inc.
Content preview from 핸즈온 LLM
197
5
텍스트 클러스터링과 토픽 모델링
5.4
요약
생성
LLM
과 표현
LLM
을 비지도 학습 분야에 어떻게 사용할 수 있는지 살펴보았습니다. 분류
와 같은 지도 학습 방법이 최근 몇 년간 널리 사용되었지만 텍스트 클러스터링 같은 비지도 학
습 방법은 엄청난 잠재력을 가지고 있습니다. 레이블이 없어도 콘텐츠 의미를 기반으로 텍스트
를 그룹화할 수 있기 때문입니다.
입력 텍스트를 수치 표현으로 바꾸는 임베딩으로 시작해서 텍스트 문서를 클러스터링하는 일
반적인 파이프라인을 다루었습니다. 그다음 클러스터링 결과를 개선하기 위해 차원 축소를 임
베딩에 적용하여 고차원 데이터를 단순화했습니다. 마지막으로 차원 축소된 임베딩에 클러스
터링 알고리즘을 적용해 입력 텍스트를 클러스터로 모았습니다. 클러스터를 직접 조사하면 그
안에 포함된 문서와 클러스터를 이해하는 데 도움이 됩니다.
직접 조사 방식에서 벗어나
BERTopic
이 클러스터를 자동으로 표현함으로써 클러스터링 파이
프라인을 확장하는 방법을 알아보았습니다. 이런 방법을 일컬어 종종 토픽 모델링이라 합니다.
대량의 문서에서 토픽을 나타내는 키워드를 찾아내는 방법입니다.
BERTopic
c
-
TF
-
IDF
를 사용한
BoW
방식으로 토픽 표현을 생성합니다.
c
-
TF
-
IDF
는 클러스터 관련성과 그 외
모든 클러스터에 대한 빈도를 기반으로 단어에 가중치를 부여합니다.
BERTopic
의 주요 장점은 모듈화된 구조입니다.
BERTopic
에서는 파이프라인에 어떤 모
델이든 선택할 수 있습니다. 이를 통해 동일한 ...
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