Книга 50 ML Projects To Understand LLMs Mike X Cohen

50 ML Projects To Understand LLMs

Investigate transformer mechanisms through data analysis, visualization, and experimentation

Автор: Mike X Cohen
Език: Английски език
Корици: С меки корици
Издател: Packt Publishing
Наличност: Външен склад
Изпращаме след 14-21 дни
47.27 92.46 лв
Most books teach you how to build LLMs from scratch or deploy them via APIs. This book does uses gui...

Информация за книгата

Автор
Език
Английски език
Корици
Книга - С меки корици
Издадена
2026
страници
520
EAN
9781808082559
ISBN
1808082559
Enbook ID
52453504
Издател
Теглоt
885
Размери
191 x 235 x 27

Пълно описание

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 Features:

- Each 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 Description:

Through 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 Learn:

- Tokenization schemes and their statistical properties

- Embedding spaces: cosine similarity, semantic axes, and analogy vectors

- Output logits, softmax distributions, perplexity, and language biases

- Layer-by-layer transformer dynamics and dimensionality

- Attention mechanisms: QKV weights, attention scores, head ablation, and activation patching

- MLP subblocks: neuron tuning, mutual information, subspace analysis, and statistics-based causal manipulations

- Logit lens, indirect object identification, and causal tracing

Who this book is for:

This 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 Contents

- Introductions

- Tokenization

- Embeddings

- Output logits

- Transformer outputs

- Attention

- MLP

Може също да ви хареса

72.44 141.69 лв
48.43 94.72 лв
41.80 81.75 лв
47.27 92.46 лв
56.47 110.44 лв
51.90 101.50 лв
5.87 11.49 лв
17.48 34.19 лв
279.64 546.94 лв
205.08 401.11 лв

Generative AI and LLMs

Seifedine Kadry
163.69 320.14 лв

Tiny Humans, Big Emotions

Lauren Elizabeth Stauble
14.62 28.59 лв
6.83 13.35 лв

Reality Game

John Rowan
56.92 111.33 лв

Raspberry Pi

James Arthur
11.75 22.98 лв

Letters to a Young Poet

Rainer Maria Rilke
3.51 6.87 лв
20.49 40.08 лв
27.98 54.72 лв

Deep Learning

Michael Fullan
31.90 62.39 лв
20.95 40.97 лв

Клиенти, които купиха тази книга, купиха също

Art of Readable Code

Dustin Boswell
44.81 87.64 лв
8.49 16.60 лв
19.24 37.63 лв
11.90 23.28 лв

G_D's Pee At State's End!

Godspeed You! Black Emperor
14.87 29.08 лв

Dieta w endometriozie

Szpunar-Radkowska Hanna
21.70 42.44 лв