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:
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.
| ISBN: | 9781394430970 |
| Publication date: | 2nd March 2027 |
| Author: | Luca Massaron |
| Publisher: | John Wiley & Sons, Inc. an imprint of Wiley |
| Format: | Paperback |
| Series: | Tech Today |
| Genres: |
Computer science |
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.
Fine-Tuning Large and Small Language Models features in the following genres: Computer science
Paperback. £42.75, down from the £47.50 cover price. Not Available.
Fine-Tuning Large and Small Language Models was written by Luca Massaron and published by John Wiley & Sons, Inc. an imprint of Wiley
Yes it is part of Tech Today series
£42.75, reduced from £47.50. Not Available.