Skip to Content
LLMOps ―本番環境における大規模言語モデル運用ガイド
book

LLMOps ―本番環境における大規模言語モデル運用ガイド

by Abi Aryan, 嶋田 健志, 新井 翔太
May 2026
Intermediate
288 pages
3h 58m
Japanese
O'Reilly Japan, Inc.
Content preview from LLMOps ―本番環境における大規模言語モデル運用ガイド

5章LLMベースアプリケーション向けモデルドメイン適応

前章ではモデルの構築と運用のためのさまざまなアーキテクチャについて説明しました。この章では、モデルをどのようにドメイン適応させるかを扱います。現場では「ドメイン適応」を「ファインチューニング」と呼ぶことがよくありますが、ファインチューニングはモデルを自分たちのドメインでしっかり機能させるための手段の1つに過ぎません。

この章では、プロンプトエンジニアリング、ファインチューニング、そして検索拡張生成(RAG:Retrieval-Augmented Generation)といった複数のモデル適応手法を順番に見ていきます。

また、モデルを圧縮しなければならないようなリソース制約の大きい環境でLLMを動かすための最適化方法についても取り上げます。最後に、ベストプラクティスとスケーリング則を通じて、LLMを効果的に動かすにはどれくらいのデータが必要なのかを判断する方法をご紹介します。

5.1 LLMをゼロからトレーニングする

LLMをゼロからトレーニングする大変さはアプリケーションによって異なり、簡単に済むこともあれば大量のリソースを要する場合もあります。ほとんどのアプリケーションでは既存のオープンソースLLMやプロプライエタリLLMを使うほうが賢明です。一方で、LLMの仕組みを学ぶ最良の方法は、自分でゼロからトレーニングしてみることです。

LLMをゼロからトレーニングするのは、データの準備、モデルアーキテクチャの選定、トレーニングとその設定、監視を含む包括的なパイプラインを必要とする非常に複雑でリソース集約的な作業です。ここでは、ゼロからLLMをトレーニングするための体系的な進め方を順番に確認していきます。

5.1.1 ステップ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

生成AI時代のソフトウェア開発 ―ツールを賢く選択、評価、活用し、より速く効率的な開発を進めるために

生成AI時代のソフトウェア開発 ―ツールを賢く選択、評価、活用し、より速く効率的な開発を進めるために

Sergio Pereira, 嶋田 健志, 新井 翔太

Publisher Resources

ISBN: 9784814401604Publisher Website