@svpino: How to become GOD-LEVEL with Large Language Models. Here are 50 hands-on projects with solutions that will teach you ho…
Summary
A tweet promoting a book containing 50 hands-on projects covering LLM topics like tokenization, embeddings, and attention, using Python and PyTorch.
View Cached Full Text
Cached at: 07/14/26, 02:26 PM
How to become GOD-LEVEL with Large Language Models.
Here are 50 hands-on projects with solutions that will teach you how Large Language Models work.
You don’t need to solve all 50, but if you do, you’ll be at the top 0.01% of the field.
It’s all Python + Pytorch + SciKit-Learn + Pandas + Numpy + Matplotlib + Seaborn.
Here are the 50 problems from the book (link below):
Tokenization
- Three tokenization schemes
- Book lengths in characters, words, and tokens
- Pandas frequency tables of token lengths
- Token lengths in characters and bytes
- Is tokenization compression?
- Tokenization and compression in different languages
- Translating between tokenizers
Embeddings
- Distribution of cosine similarities
- Sequential cosine similarity
- Sequential number cosine similarity
- Network graphs of cosine similarities
- RSA to compare GPT-2 & BERT embeddings
- Word similarity via distance and cosine
- Linear semantic axes
- Analogy vectors
Output logits
- Softmax probability distributions
- Probabilistic token selection
- Token prediction accuracy
- LLM loss function
- Perplexity over sequences, texts, and models
- Predict token position with linear and logistic regressions
- Evaluating models with HellaSwag
- Measuring language biases
Transformer outputs
- Cosine similarities within and across layers
- Category selectivity via cosine similarity
- Current layer = previous layer + adjustments
- Impact of layer-specific noise and scaling
- Effective dimensionality of hidden layers
- Hidden state dimensionality reduction
- Sentiment analysis with decision trees
- Logit lens
- Patching hidden states in indirect object identification
Attention
- QKV weights characteristics
- QKV activation characteristics
- Raw and softmax attention scores
- Characteristics of attention adjustment magnitudes
- Token prediction and attention KL divergences
- Laminar profile of RSA and category selectivity
- Token frequency, attention adjustments, QK^T
- Downstream impacts of head silencing
- Patching heads in IOI
MLP
- MLP weights and activations characteristics
- Characterizing the MLP progression
- Grammar tuning in MLP projections
- Minkowski distance, mutual information, and token positions
- Statistics-based lesioning in MLP neurons
- Supervised probing with XGBoost
- “Can” vs. “can’t” classification via logistic regression
- Successive median-replacement of MLP activations
- Recommender systems with MLP projections
Book link below.
Similar Articles
@Xx15573208: I've read many articles about Transformers and understand the theory, but when I actually sit down to write code, I have no idea where to start. LLMs-from-scratch is specifically designed to solve this problem: it accompanies the book "Build a Large Language Model" and guides you through implementing GPT from scratch using PyTorch…
LLMs-from-scratch is a GitHub repository that accompanies the book "Build a Large Language Model," providing complete code to implement GPT from scratch with PyTorch, covering the full pipeline including pretraining, fine-tuning, and RLHF. It has gained 93K+ stars and is ideal for developers who want to deeply understand the principles behind large language models.
@Jolyne_AI: An open-source hands-on book: "Hands-On Large Language Models". The book has 12 chapters, progressing from language model fundamentals to prompt engineering, semantic search, model fine-tuning, and multimodal applications, covering the key paths to deploying large models in practice. GitHub: h…
An open-source hands-on book "Hands-On Large Language Models", with 12 chapters covering language model fundamentals, prompt engineering, semantic search, model fine-tuning, and multimodal applications. It provides runnable code examples, ideal for practical learning.
@Mechramc: I wrote 934 pages on how to build every layer of a large language model from scratch. Many of these concepts were new t…
Ramchand Kumaresan published a 934-page book teaching how to build every layer of an LLM from scratch, with 35 hands-on projects and a code companion.
@_rohit_tiwari_: This 115-page book unlocks the secrets of LLM fine tuning. https://drive.google.com/file/d/1cS5sWZw9XUDRI4uRh02-28Xq4-P…
A comprehensive 115-page guide to fine-tuning large language models, covering theory and practice.
@tut_ml: Best LLM Courses- https://mltut.com/best-large-language-models-courses/…
A blog post listing the 10 best large language models (LLMs) courses and training resources, including courses from Coursera, DataCamp, Udacity, and universities like Vanderbilt.