Skip to Content
実践 LLMアプリケーション開発 ―プロトタイプを脱却し、実用的な実装に迫るための包括的な手引き
book

実践 LLMアプリケーション開発 ―プロトタイプを脱却し、実用的な実装に迫るための包括的な手引き

by Suhas Pai, 金本 勝吉, オライリー・ジャパン編集部
September 2025
Beginner to intermediate
400 pages
6h 4m
Japanese
O'Reilly Japan, Inc.
Content preview from 実践 LLMアプリケーション開発 ―プロトタイプを脱却し、実用的な実装に迫るための包括的な手引き

7章高度なファインチューニング手法

 前章では、一般的なLLMをファインチューニング(Fine-Tuning、微調整)するための方法について紹介しました。しかし、現実の世界では、LLMの重みを更新したい理由は実にさまざまであり、それに応じて更新方法にも多様なアプローチがあります。この章では、そうした場面に対応するための高度なファインチューニング手法について解説し、それぞれの手法がどのような場面に適しているかについても取り上げていきます。

 なぜ、LLMの重みを更新したいのでしょうか? 前章でも簡単に触れましたが、ここではもう少し詳しく見ていきます。

ドメイン適応(Domain Adaptation)

あなたが使用するデータが特定のドメインに特化している場合、LLMは事前学習時に見ていない可能性があります。このようなケースでは、ドメイン固有のデータを使ってLLMを訓練して、適応させる必要があります。

タスク適応(Task Adaptation)

LLMが特定の下流タスクでどれだけうまく動作するかに関心がある場合、タスク固有のデータで訓練を行うことで精度を高めることができます。なお、このアプローチは教師あり・教師なしのどちらでも実施可能です。

知識の更新(Knowledge Updating)

モデルの知識を常に最新の状態に保ちたい場合、新しいデータでモデルを訓練することができます。

制御性/追従性(Controllability / Steerability)

LLMが自然言語で書かれた指示により忠実に従うようにしたい、あるいは特定のリクエストを拒否するようにしたいといったニーズがあります。こうしたモデルの振る舞いを調整するための訓練方法は、アライメント(Alignment ...

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エージェント開発 ―マルチエージェントシステムの設計と実装

Michael Albada, 鈴木 駿, 高山 洪銘, 山下 正浩
実践 パケット解析 第3版 ―Wiresharkを使ったトラブルシューティング

実践 パケット解析 第3版 ―Wiresharkを使ったトラブルシューティング

Chris Sanders, 髙橋 基信, 宮本 久仁男, 岡 真由美
直感 生成AI ―ハンズオンで動かして学ぶ拡散モデル入門

直感 生成AI ―ハンズオンで動かして学ぶ拡散モデル入門

Omar Sanseviero, Pedro Cuenca, Apolinário Passos, Jonathan Whitaker, 江川 崇

Publisher Resources

ISBN: 9784814401314Publisher Website