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
462
2
부
모델 사용
이전에 언급한 것처럼
OPENAI
_
API
_
KEY
환경 변수만 설정하면
GPT
를 사용한
RAG
를 구현할
수 있습니다. 모델을 사용할 때 오픈
AI
의 가격 정책을 확인하는 것을 잊지 마세요!
18.4
마치며
이 장에서
RAG
에 대한 기초를 배웠습니다. 언어에 대한 일반적인 이해 능력을 로컬 데이터와
결합하여
LLM
의 성능을 향상시키는 강력한 기술을 배웠습니다. 책에서 벡터 데이터베이스를
생성하고, 프롬프트에 관련된 정보를 데이터베이스에서 검색하여
RAG
가 어떻게 작동하는지
알아보았습니다.
소설의 등장인물에 대해 질의하기 위한 방법을 살펴봤습니다.
Llama
와
GPT
같은 모델은 소
설에서 훈련되지 않았지만 텍스트를 인공적으로 이해하고 훌륭한 정보와 분석을 제공할 수 있
습니다.
벡터 저장소를 위해
ChromaDB
같은 도구와 유사도 검색을 위해 오픈
AI
에서 제공하는 텍스
트 벡터 임베딩 같은 사전 훈련된 임베딩을 살펴봤습니다. 또한
RAG
를 사용해 향상할 수 있는
여러 가지 모델을 살펴보았습니다.
Ollama
와 함께
Llama
,
Gemma
같은 작은 로컬 모델과
오픈
AI
API
를 통한
GPT
같은 대규모 호스팅된 모델을 다루어 보았습니다. 텍스트 분할, 인코
딩, 저장, 유사도 기반 검색, 프롬프트와 함께 모델에 전달하여
RAG
수행하기 등 처음부터 끝
까지 전 과정을 다루었습니다.
다음 장에서
AI
에서 흥미로운 또 다른 측면인 생성 이미지 모델에 대해 알아보겠습니다. 텍스
트 프롬프트로 이미지를 생성하는 여러 모델을
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

PyTorch의 코더를 위한 AI 및 ML

PyTorch의 코더를 위한 AI 및 ML

Laurence Moroney
헤드 퍼스트 자바(3판)

헤드 퍼스트 자바(3판)

케이시 시에라, 버트 베이츠

Publisher Resources

ISBN: 9791175790223