{"product_id":"fine-tuning-large-and-small-language-luca-massaron-9781394430970","title":"Fine-Tuning Large and Small Language Models","description":"\u003cp\u003e\u003cb\u003eFine-tune open-source language models with LoRA, QLoRA, and Hugging Face tools\u003c\/b\u003e \u003c\/p\u003e\u003cp\u003e\u003ci\u003eFine-Tuning Large and Small Language Models\u003c\/i\u003e 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. \u003c\/p\u003e\u003cp\u003eThe 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. \u003c\/p\u003e\u003cp\u003eReaders will also find: \u003c\/p\u003e\u003cul\u003e \u003cli\u003ePractical case studies covering the end-to-end process from dataset preparation through model evaluation and production deployment\u003c\/li\u003e \u003cli\u003eGuidance on selecting base models from the Gemma, Qwen, Phi, and Llama families for specific use cases\u003c\/li\u003e \u003cli\u003eTechniques for generating synthetic training data where real domain-specific data is scarce or unavailable\u003c\/li\u003e \u003cli\u003eConfiguration walkthroughs for Hugging Face PEFT, TRL, and bitsandbytes to run training on consumer hardware\u003c\/li\u003e \u003cli\u003eFinal chapters extending fine-tuned SLMs toward autonomous agents and domain-specific production applications\u003c\/li\u003e \u003c\/ul\u003e \u003cp\u003e\u003ci\u003eFine-Tuning Large and Small Language Models\u003c\/i\u003e 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.\u003cbr\u003e\u003cbr\u003e\u003cb\u003eAuthor:\u003c\/b\u003e Luca Massaron\u003cbr\u003e\u003cb\u003eISBN-10:\u003c\/b\u003e 1394430973\u003cbr\u003e\u003cb\u003eISBN-13:\u003c\/b\u003e 9781394430970\u003cbr\u003e\u003cb\u003ePublisher:\u003c\/b\u003e Wiley\u003cbr\u003e\u003cb\u003eLanguage:\u003c\/b\u003e English\u003cbr\u003e\u003cb\u003ePublished:\u003c\/b\u003e 01\/05\/2027\u003cbr\u003e\u003cb\u003ePages:\u003c\/b\u003e 368\u003cbr\u003e\u003cb\u003eFormat:\u003c\/b\u003e Paperback\u003c\/p\u003e","brand":"Luca Massaron","offers":[{"title":"Paperback","offer_id":48997969035519,"sku":"9781394430970","price":60.0,"currency_code":"USD","in_stock":false}],"url":"https:\/\/www.whiterainbookhouse.com\/products\/fine-tuning-large-and-small-language-luca-massaron-9781394430970","provider":"WR Book House","version":"1.0","type":"link"}