Target New ArrivalsBack to SchoolCollegeClothing, Shoes & AccessoriesHome & DecorKitchen & DiningOutdoor Living & GardenGroceryHousehold EssentialsBabyBeautyPersonal CareSports & OutdoorsHealthWellnessSchool & Office SuppliesToys & GamesElectronics & TechVideo GamesMovies, Music & BooksParty SuppliesGift IdeasGift CardsPetsUlta Beauty at TargetShop by CommunityTarget OpticalDealsClearanceNew ArrivalsBack to SchoolCollegeTop DealsTarget Circle DealsWeekly AdShop Order PickupShop Same Day DeliveryRegistryRedCardTarget CircleFind Stores
Rearchitecting Llms - by  Pere Martra (Paperback) - 1 of 1

Rearchitecting Llms - by Pere Martra (Paperback)

$59.99

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

  • Get a free eBook (PDF or ePub) from Manning as well as access to the online liveBook format (and its AI assistant that will answer your questions in any language) when you purchase the print book.
  • About the Author: Pere Martra is an Applied AI Engineer, the creator of the Optipfair model efficiency library, an international AI speaker, and maintainer of widely-used LLM courses and popular open-source tools.
  • 380 Pages
  • Computers, Artificial Intelligence

Description



Book Synopsis



Get a free eBook (PDF or ePub) from Manning as well as access to the online liveBook format (and its AI assistant that will answer your questions in any language) when you purchase the print book.

By default, general purpose LLMs are not optimized for specific domains and business goals. Using techniques like specialized fine-tuning, pruning unnecessary neural components, and knowledge distillation, you can rearchitect your models to cost less, run faster, and deliver more accurate results.

This book turns research from the latest AI papers into production-ready practices for domain-specific model optimization. As you work through this practical book, you'll perform hands-on surgery on popular open-source models like Llama-3, Gemma, and Qwen to create cost-effective local small language models (SLMs). Along the way, you'll learn how to combine behavioral analysis with structural modifications, identifying and removing parts that don't contribute to your model's goals, and even use "fair pruning" to reduce model bias at the neuron level.

What's inside

- Universal techniques for customizing model architecture
- End-to-end pipelines for model rearchitecting
- Improve bias and explainability with model "cleanup"
- Replacing external LLMs with local SLMs

About the reader

For practicing AI, ML, and data engineers who know Python.

About the author

Pere Martra is an Applied AI Engineer, the creator of the Optipfair model efficiency library, an international AI speaker, and maintainer of widely-used LLM courses and popular open-source tools. He is the author of Large Language Models Projects.



About the Author



Pere Martra is an Applied AI Engineer, the creator of the Optipfair model efficiency library, an international AI speaker, and maintainer of widely-used LLM courses and popular open-source tools. He is the author of Large Language Models Projects.
Dimensions (Overall): 9.25 Inches (H) x 7.38 Inches (W)
Weight: 1.0 Pounds
Suggested Age: 22 Years and Up
Number of Pages: 380
Genre: Computers
Sub-Genre: Artificial Intelligence
Publisher: Manning Publications
Theme: Natural Language Processing
Format: Paperback
Author: Pere Martra
Language: English
Street Date: December 29, 2026
TCIN: 1010436141
UPC: 9781633434332
Item Number (DPCI): 247-08-6915
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 7.38 inches width x 9.25 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

Frequently bought together

Skip to next section

Get top deals, latest trends, and more.