Target New ArrivalsChristmasGift IdeasHoliday Kids CatalogHome & DecorKitchen & DiningToys & GamesElectronics & TechVideo GamesGift CardsClothing, Shoes & AccessoriesGroceryBabyBeautyTarget Beauty StudioPersonal CareHousehold EssentialsHealthWellnessBooks, Music & MoviesSports & OutdoorsLuggage & Travel GearPetsSchool & Office SuppliesParty SuppliesAutomotiveTarget OpticalClearanceNew ArrivalsChristmasGift IdeasTop DealsTarget Circle DealsWeekly AdShop Order PickupShop Same Day DeliveryRegistryRedCardTarget CircleFind Stores
Fine-Tuning Large and Small Language Models - (Tech Today) by  Luca Massaron (Paperback) - 1 of 1

Fine-Tuning Large and Small Language Models - (Tech Today) by Luca Massaron (Paperback)

$60.00

Pre-order

Free & easy returns
Free & easy returns
Return this item by mail or in store within 90 days for a full refund.
Eligible for registries and wish lists

About this item

Highlights

  • 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.
  • About the Author: LUCA MASSARON is a data scientist with a 20-plus-year career in data and modeling.
  • 400 Pages
  • Computers, Artificial Intelligence
  • Series Name: Tech Today

Description



Book Synopsis



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.



From the Back Cover



Smaller, specialized AI models are overtaking their larger counterparts--here's how to build them

On Hugging Face, the central repository for open-source AI, small language models (SLMs) are now downloaded more often than larger ones. A shift is underway: organizations are moving away from general-purpose APIs toward domain-specific models fine-tuned on their own data. But fine-tuning a language model demands more than swapping in a new dataset. It requires decisions at every stage--from choosing whether fine-tuning is even the right approach to deploying the finished model on consumer hardware.

Luca Massaron, a data scientist with a long experience in data modeling and NLP, walks readers through the complete pipeline. The book covers when to fine-tune versus when to use retrieval-augmented generation or advanced prompting, then moves into hands-on work with base model selection from families including Gemma, Qwen, Phi, and Llama, dataset preparation, synthetic data generation, and fine-tuning with LoRA and QLoRA--using tools like Hugging Face's PEFT, TRL, and bitsandbytes.

Whether you are a developer building specialized AI agents, a technical leader evaluating build-versus-buy decisions, or a ML engineer ready to move beyond off-the-shelf APIs, this book delivers the end-to-end knowledge to transform a general-purpose model into a production-ready, domain-specific tool. The final chapters extend that foundation toward autonomous agents and what's next for small language models.



About the Author



LUCA MASSARON is a data scientist with a 20-plus-year career in data and modeling. He has spent the last decade working in finance and insurance data science projects, including gradient boosting and deep learning models for tabular data, as well as natural language processing solutions leveraging transformer architectures and large language models. He is also a Kaggle Grandmaster, a Google Developer Expert in AI and machine learning, and the author of over 15 technical books on data science and machine learning.

Suggested Age: 22 Years and Up
Number of Pages: 400
Genre: Computers
Sub-Genre: Artificial Intelligence
Series Title: Tech Today
Publisher: Wiley
Theme: Generative AI
Format: Paperback
Author: Luca Massaron
Language: English
Street Date: January 12, 2027
TCIN: 1012980222
UPC: 9781394430970
Item Number (DPCI): 247-59-0838
Origin: Made in the USA or Imported
If the item details aren’t accurate or complete, we want to know about it.

Shipping details

Estimated ship dimensions: 1 inches length x 1 inches width x 1 inches height
Estimated ship weight: 1 pounds
We regret that this item cannot be shipped to PO Boxes.
This item cannot be shipped to the following locations: American Samoa (see also separate entry under AS), Guam (see also separate entry under GU), Northern Mariana Islands, Puerto Rico (see also separate entry under PR), United States Minor Outlying Islands, Virgin Islands, U.S., APO/FPO, Alaska, Hawaii

Return details

This item can be returned to any Target store or Target.com.
This item must be returned within 90 days of the date it was purchased in store, delivered to the guest, delivered by a Shipt shopper, or picked up by the guest.
See the return policy for complete information.

Additional product information and recommendations

Discover more options

Skip to next section

Best-selling Computers & Technology Books

Skip to next section

Get top deals, latest trends, and more.