50 ML Projects To Understand LLMs: Investigate transformer mechanisms through data analysis, visualization, and experimentation

★★★★★ 4.3 117 reviews

$40.77
Price when purchased online
Free shipping Free 30-day returns

Sold and shipped by www.mazdasultanagung.com
We aim to show you accurate product information. Manufacturers, suppliers and others provide what you see here.
$40.77
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 Jun 27
Free
Pickup
Check nearby
Delivery
Not available

Sold and shipped by www.mazdasultanagung.com
Free 30-day returns Details

Product details

Management number 231603706 Release Date 2026/06/18 List Price $16.31 Model Number 231603706
Category

Most books teach you how to build LLMs from scratch or deploy them via APIs. This book does uses guided machine learning projects to teach you how to understand, visualize, and investigate LLMs including GPT and BERT.Key FeaturesEach project is built around three learning goals: machine learning techniques, LLM mechanisms, and Python coding with data visualization.This is not a dense theoretical textbook; it's hands-on, practical, and project-oriented.You will learn how to measure, visualize, and manipulate the internal components of LLMs directly.Book DescriptionThrough 50 hands-on, guided projects solved in Python, you will investigate the internal mechanisms of large language models by treating their hidden states, attention patterns, and embeddings as data to analyze. Rather than accepting LLMs as black boxes, you will open them up, examine what's inside, and run experiments to understand why they behave the way they do. All projects are based on Python (using libraries such as NumPy, PyTorch, statsmodels, scikit-learn, Matplotlib, Pandas, and Seaborn) and come with full solutions and partial solution notebook files, so you can practice and improve your skills in data science, deep learning, data visualization, and scientific and statistical coding.What you will learnTokenization schemes and their statistical propertiesEmbedding spaces: cosine similarity, semantic axes, and analogy vectorsOutput logits, softmax distributions, perplexity, and language biasesLayer-by-layer transformer dynamics and dimensionalityAttention mechanisms: QKV weights, attention scores, head ablation, and activation patchingMLP subblocks: neuron tuning, mutual information, subspace analysis, and statistics-based causal manipulationsLogit lens, indirect object identification, and causal tracingWho this book is forThis book is for data scientists, ML engineers, and researchers who want to go beyond surface-level understanding of LLMs. Prior Python experience is required. Familiarity with machine learning or deep learning is helpful but not required — techniques are introduced as they arise throughout the projects.Table of ContentsIntroductionsTokenizationEmbeddingsOutput logitsTransformer outputsAttentionMLP Read more

ISBN10 1808082559
ISBN13 978-1808082559
Language English
Publisher Packt Publishing - ebooks Account
Dimensions 1.16 x 7.5 x 9.25 inches
Item Weight 1.95 pounds
Print length 496 pages
Publication date June 20, 2026

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.3 out of 5
★★★★★
117 ratings | 48 reviews
How item rating is calculated
View all reviews
5 stars
80% (94)
4 stars
6% (7)
3 stars
3% (4)
2 stars
1% (1)
1 star
10% (12)
Sort by

There are currently no written reviews for this product.