Fine-Tuning Large and Small Language Models (Tech Today)

個数:
  • 予約

Fine-Tuning Large and Small Language Models (Tech Today)

  • 現在予約受付中です。出版後の入荷・発送となります。
    (重要:表示されている発売日は予定となり、発売が延期、中止、生産限定品で商品確保ができないなどの理由により、ご注文をお取消しさせていただく場合がございます。予めご了承ください。)

    ●3Dセキュア導入とクレジットカードによるお支払いについて
  • 【入荷遅延について】
    世界情勢の影響により、海外からお取り寄せとなる洋書・洋古書の入荷が、表示している標準的な納期よりも遅延する場合がございます。
    おそれいりますが、あらかじめご了承くださいますようお願い申し上げます。
  • ◆画像の表紙や帯等は実物とは異なる場合があります。
  • ◆ウェブストアでの洋書販売価格は、弊社店舗等での販売価格とは異なります。
    また、洋書販売価格は、ご注文確定時点での日本円価格となります。
    ご注文確定後に、同じ洋書の販売価格が変動しても、それは反映されません。
  • 製本 Paperback:紙装版/ペーパーバック版/ページ数 400 p.
  • 言語 ENG
  • 商品コード 9781394430970

Full Description

Fine-tune open-source language models with LoRA, QLoRA, and Hugging Face tools

Fine-Tuning Large and Small Language Models walks practitioners through the complete pipeline for customizing open-source SLMs for domain-specific tasks. Written by Luca Massaron, a data scientist with 20+ years in data modelling and nearly a decade building NLP solutions with Transformer architectures, the book covers dataset preparation, synthetic data generation, base model selection from families including Gemma, Qwen, Phi, and Llama, and deployment on consumer-grade hardware.

The book frames fine-tuning against alternatives like retrieval-augmented generation and advanced prompting, helping readers determine when fine-tuning is the right approach. Hands-on coverage of parameter-efficient methods, specifically LoRA and QLoRA, shows how to configure Hugging Face PEFT, TRL, and bitsandbytes for training. Evaluation chapters address detecting whether fine-tuning improved target performance without degrading the model's broader capabilities.

Readers will also find:

Practical case studies covering the end-to-end process from dataset preparation through model evaluation and production deployment
Guidance on selecting base models from the Gemma, Qwen, Phi, and Llama families for specific use cases
Techniques for generating synthetic training data where real domain-specific data is scarce or unavailable
Configuration walkthroughs for Hugging Face PEFT, TRL, and bitsandbytes to run training on consumer hardware
Final chapters extending fine-tuned SLMs toward autonomous agents and domain-specific production applications

Fine-Tuning Large and Small Language Models serves technical practitioners with programming and machine learning experience who want to move beyond off-the-shelf APIs. Data scientists, ML engineers, and AI developers building customized, cost-effective language models will gain the working knowledge to transform general-purpose SLMs into specialized, production-ready tools.

Contents

Contents

Acknowledgments

About the Author

About the Technical Editor

Introduction

CHAPTER 1: Introducing LLMs and SLMs

CHAPTER 2: Motivations and Options for Fine-Tuning

CHAPTER 3: Tools of the Trade for Fine-Tuning

CHAPTER 4: Data Preparation and Synthetic Data Generation

CHAPTER 5: From Full-Tuning to Parameter Efficient Fine-Tuning

CHAPTER 6: LoRA, QLoRA, and Quantization in Practice

CHAPTER 7: Refining Models with Human Preference and Verifiable Rewards

CHAPTER 8: Model Evaluation

CHAPTER 9: Deploying and Optimizing for Inference

CHAPTER 10: Fine-Tuning for Agents and a Look Ahead

Index

最近チェックした商品