A Hands-On Guide to Fine-Tuning Large Language Models with PyTorch and Hugging Face

★★★★★ 4.1 67 reviews

US$12.00
Price when purchased online
Free shipping Free 30-day returns

Sold and shipped by crematie-compleet.nl
We aim to show you accurate product information. Manufacturers, suppliers and others provide what you see here.
US$12.00
Price when purchased online
Free shipping Free 30-day returns

How do you want your item?
You get 30 days free! Choose a plan at checkout.
Shipping
Arrives Jul 2
Free
Pickup
Check nearby
Delivery
Not available

Sold and shipped by crematie-compleet.nl
Free 30-day returns Details

Product details

Management number 231714390 Release Date 2026/06/18 List Price US$12.00 Model Number 231714390
Category

Revised Edition (October/2025)Are you ready to fine-tune your own LLMs?This book is a practical guide to fine-tuning Large Language Models (LLMs), combining high-level concepts with step-by-step instructions to train these powerful models for your specific use cases.Who Is This Book For?This is an intermediate-level resource—positioned between building a large language model from scratch and deploying an LLM in production—designed for practitioners with some prior experience in deep learning.If terms like Transformers, attention mechanisms, Adam optimizer, tokens, embeddings, or GPUs sound familiar, you’re in the right place. Familiarity with Hugging Face and PyTorch is assumed. If you're new to these concepts, consider starting with a beginner-friendly introduction to deep learning with PyTorch before diving in.What You’ll Learn:Load quantized models using BitsAndBytes.Configure Low-Rank Adapters (LoRA) using Hugging Face's PEFT.Format datasets effectively using chat templates and formatting functions.Fine-tune LLMs on consumer-grade GPUs using techniques such as gradient checkpointing and accumulation.Deploy LLMs locally in the GGUF format using Llama.cpp and Ollama.Troubleshoot common error messages and exceptions to keep your fine-tuning process on track.This book doesn’t just skim the surface; it zooms in on the critical adjustments and configurations—those all-important "knobs"—that make or break the fine-tuning process.By the end, you’ll have the skills and confidence to fine-tune LLMs for your own real-world applications. Whether you’re looking to enhance existing models or tailor them to niche tasks, this book is your essential companion.Table of ContentsFrequently Asked Questions (FAQ)Chapter 0: TL;DRChapter 1: Pay Attention to LLMsChapter 2: Loading a Quantized Base ModelChapter 3: Low-Rank Adaptation (LoRA)Chapter 4: Formatting Your DatasetChapter 5: Fine-Tuning with SFTTrainerChapter 6: Deploying It LocallyChapter -1: TroubleshootingAppendix A: Setting Up Your GPU PodAppendix B: Data Types' Internal Representation Read more

ASIN B0DV4H7YW2
ISBN13 979-8301961816
Language English
Publisher Independently published
Dimensions 8.5 x 0.69 x 11 inches
Item Weight 1.94 pounds
Print length 306 pages
Publication date January 25, 2025

Correction of product information

If you notice any omissions or errors in the product information on this page, please use the correction request form below.

Correction Request Form

Customer ratings & reviews

4.1 out of 5
★★★★★
67 ratings | 27 reviews
How item rating is calculated
View all reviews
5 stars
77% (52)
4 stars
7% (5)
3 stars
4% (3)
2 stars
2% (1)
1 star
10% (7)
Sort by

There are currently no written reviews for this product.