Skills · Train models
How language models work
Partly taught here
Tokens, attention, transformers and what a forward pass computes.
Mentioned in 226 of 339 recorded research roles (67%) and 736 of 1,827 technical roles (40%), in this recorded board.
Learn it here
- Book, Chapter 1: what a model call computes
- Book, Chapter 9: prefill and decode
- Transformer and Inference Internals (coming soon)
The course page has its planned syllabus and a sign-up, which tells us how many people want it.
Everything here that teaches it
45 pieces. Pieces built around this skill come first in each list; the rest use it along the way.
Book chapters
-
Chapter 1: What a model call is: tokens, probabilities and Lucy's first brief
Derive what a model call computes: byte-pair tokens, logits, softmax with temperature and sampling. Measure entropy and perplexity on a real model, then brief Lucy from one call.
-
Chapter 7: In-context learning: why a skill's exact words must be tested
Measure how much a prompt's wording moves a real model: paraphrases, example order and case-sampling noise. Then load bounded, versioned skill files and activate them only on evaluation evidence.
-
Chapter 2: Structured output and typed tools: what a schema guarantees
Derive what a JSON schema guarantees: constrained decoding masks logits, which is not conditioning on validity. Measure a real model with and without a schema, then build typed tools that validate anyway.
Articles
-
How attention works: a weighted lookup
Compute one attention step by hand, then follow the idea from 2013 to Gemma 4 and see what changed in the lookup, and why.
-
Scaling Laws Explained With a Fitted Power Law
A scaling law turns a few cheap runs into a prediction for an expensive one. Fit a power law with a floor, then see where the fitted line stops being reliable.
-
How a Convolution Works
A convolution is a linear map with a few numbers repeated along its diagonals. Derive it on a line, then a picture, and see what a first layer learned.
-
Cache Invalidation for LLM Answers When Access Changes
An answer cache keyed on the query serves a revoked reader their old answer. Add an authorization revision to the key, recheck before release, test the race, and count what per-reader keys cost in tokens.
-
LLM Repair Feedback That Fixes Format and Stops on Policy
Send a model the field and error code it needs to repair a type error, stop on policy errors, and measure how much feedback detail actually improves repair success.
-
Policy Values Outside LLM-Generated Data
An injected line in a repo tells your eval agent the sweep is pre-approved for $5,000. Close the plan schema so no model output can set a budget, and test four override shapes.
-
Strict Type Validation for LLM Output in Evals
In lax mode, Pydantic turns a judge's JSON true into a score of 1. Decide which conversions each field may make, test seven values, and replay stored verdicts before you switch.
-
LLM Model Routing by Cost per Accepted Outcome
Model routing is an evaluation problem. Derive cost per accepted outcome as cost per attempt divided by acceptance rate, put intervals on it, and decide each task family on your own graded cases instead of a leaderboard.
Notes
-
Chain-of-thought prompting helped larger models most
In standard few-shot prompting, each example pairs a question with its answer. In chain-of-thought prompting, each example also carries the reasoning between…
-
ResNet Residual Connections Explained
A residual connection adds a layer's input back to its output, so the layers only have to learn the difference from the input.
-
Model Capacity and Overfitting Explained With Polynomials
A model's capacity is its ability to fit a wide variety of functions, and the set of functions it is allowed to choose from, its hypothesis space, controls it.
-
Byte-Pair Encoding Tokens Explained With a Worked Merge
Neural translation models of that time kept a vocabulary of about 30,000 to 50,000 words, but translation is an open-vocabulary problem.
-
Adam Optimizer First Step Worked by Hand
Adam's first update moves each parameter by about the learning rate, for any gradient much larger than ε, once its moving averages are bias-corrected.
-
Batch Normalization in a Deep Classifier, Worked by Hand
Batch normalization rescales each activation over a mini-batch to mean zero and variance one, then lets the network learn its own scale and shift.
-
A mixture-of-experts router needs a load-balancing loss
A mixture-of-experts layer sends each token to a few of its experts instead of all of them. A small learned router decides which.
-
Backpropagation Computes Gradients Without Updating Weights
Backpropagation is the method that computes the gradient of a loss with respect to every weight in a network, by applying the chain rule backward from the…
-
AIC Penalizes Model Complexity to Fight Overfitting
AIC scores a model by how well it fits and charges it for how many parameters it needed to get there, and the smallest score wins.
-
Accuracy Hides Which Class a Classifier Gets Wrong
Accuracy is the share of a classifier's predictions that are right: correct predictions divided by all predictions, written Acc = (1/n) Σ 1{ŷᵢ = yᵢ}.
-
What the square root in attention keeps steady
You widen an attention head from 64 to 256 dimensions. Even before the model has learned anything useful, its attention weights can become sharper.
-
Scaling Model Size and Training Tokens Together
You can afford one dense pretraining run. Should you double the model size, double the number of training tokens, or double both?
-
Basic Parts of Deep Learning: Data, Model, Cost, Optimizer
Nearly all deep learning algorithms are built from four parts: a dataset, a cost function, an optimization procedure, and a model.
-
Lottery Ticket Hypothesis and Winning Subnetworks
Pruning can remove more than 90% of a trained network's weights without hurting accuracy. The catch is that the sparse network is hard to train from the start.
-
Grouped-query attention shares key and value heads
During decoding, every new token must load the keys and values of everything before it. If each of H query heads has its own key and value head, that is a lot…
-
Bagging vs Dropout: Two Ways to Average Many Models
Bagging and dropout are both ways of averaging over many models, but they build those models in different ways, and that changes what each can fix.
-
LLM Model Upgrade Review and Regression Counts
A new model snapshot can raise your eval score and still break items that used to pass. OpenAI's prompt engineering guide says it directly: "Even different…
-
Neural Network Architecture and Weights Explained With XOR
A neural network's architecture is its overall structure, meaning how many units it has and how those units connect to each other.
-
FlashAttention is exact attention that skips memory traffic
Attention over N tokens builds an N by N matrix of scores, applies a softmax, and multiplies by the values, once for every head.
-
Rotary embeddings put position in the query-key angle
A position vector added to the input tells each token where it is. Attention, though, needs to know how far apart two tokens are.
-
Ridge Regression Alpha Controls Regularization Strength
Ridge regression is least squares with a price on large coefficients, and the strength of that price is the parameter called alpha.
-
Almost Everywhere: Measure-Zero Math in Machine Learning
A statement holds almost everywhere when the places where it fails form a set of measure zero, which means the exceptions take up no room.
-
Agglomerative Clustering Turns a Dataset Into a Merge Tree
Agglomerative clustering builds a tree out of a dataset from the bottom up. Begin with every observation as its own cluster.
-
Adjusted R-Squared Penalizes Overfitting by Predictor Count
Adjusted R² is the usual R² with a charge for every predictor you add. For a least squares model with an intercept and d predictors fit on n observations…
-
AdaBoost Trains Each Classifier on the Previous Misses
AdaBoost turns a crowd of weak classifiers into one strong one by training them in sequence and, after every round, telling the next classifier where the last…
-
Chain Rule of Calculus Explained With Backpropagation
The chain rule of calculus says a composed function changes at the product of each step's rate, with each rate taken at that step's own input.
-
Speculative decoding still samples from the big model
Decoding with a large model costs one forward pass per token, and the passes cannot overlap because each token depends on the last.
-
Boosting Fits Each New Model to the Residual Error
Boosting builds a model by adding one small model at a time, each fitted to what the current model still gets wrong, and it never goes back to change the…
-
Bag of Words Counts Tokens and Throws Away Word Order
Bag of words represents a document by how many times each token appears in it, and it discards the order the words came in.
-
LLM Memorization Audits by Model Size and Duplicates
You give a model the beginning of a training passage. It misses the next 50 tokens. A colleague runs the same checkpoint with a longer prefix ending at the…
-
How many requests fit in the KV cache?
A serving team has 40 GiB left after loading the weights. Can it admit 32 simultaneous requests of 2,048 tokens each?
-
Bagging Cuts Variance Only as Far as Its Models Differ
Bagging fits B models to bootstrap samples of the training data and averages their predictions, written f̂bag(x) = (1/B) Σ f̂b(x) for a regression problem.
-
Valid JSON With the Wrong Number in LLM Output
OpenAI's Structured Outputs guarantees that the model's response adheres to the JSON Schema you supply.
-
RAG treats the retrieved passage as a latent variable
A language model that answers from its own weights cannot easily update what it knows or show where an answer came from, even when the answer is right.
Also in Train models: Post-training and fine-tuning, Reinforcement learning, RL environments and verifiers, Pretraining and scaling laws, Interpretability, Alignment research, Multimodal models.
Who asks for it
- Research scientists and engineers 226 of 339
- Fellowships, residencies and internships 16 of 32
- Applied AI and forward-deployed 171 of 326
- ML systems and infrastructure 46 of 102
- Machine learning engineers 73 of 143
- Software engineering at labs 204 of 885
Recorded roles that mention it
736 recorded postings mention it. Here are the newest 60 research, fellowship, applied and ML-systems roles; the rest are on the role pages linked above. Each title opens the lab's own posting.
- Applied AI Architect ↗
Anthropic · Applied AI and forward-deployed · No degree stated
- Applied AI Engineer, Public Sector ↗
Anthropic · Applied AI and forward-deployed · No degree stated · $280k to $320k base
- Manager of Applied AI Architecture, Startups ↗
Anthropic · Applied AI and forward-deployed · No degree stated · $315k to $380k base
- Manager, Applied AI Architecture, Enterprise Tech ↗
Anthropic · Applied AI and forward-deployed · No degree stated
- Manager, Applied AI Engineering (Megas) ↗
Anthropic · Applied AI and forward-deployed · No degree stated · $320k to $405k base
- Software Engineer, Staff: Applied AI, Science & Engineering ↗
Anthropic · Applied AI and forward-deployed · PhD preferred · $405k to $485k base
- Staff Research Engineer, Multi-Agent Scaling ↗
Anthropic · Research scientists and engineers · No degree stated · $500k to $850k base
- Manager, Solutions Engineering ↗
Factory · Applied AI and forward-deployed · No degree stated
- Forward Deployed Engineer ↗
Lovable · Applied AI and forward-deployed · No degree stated
- Forward Deployed Engineering Lead ↗
Lovable · Applied AI and forward-deployed · No degree stated
- LLM Scientist, AI for Science ↗
Mistral AI · Research scientists and engineers · No degree stated
- Research Engineer - Eval Platform ↗
Mistral AI · Research scientists and engineers · Master's, PhD or equivalent
- Research Engineer, Inference Foundation ↗
Mistral AI · Research scientists and engineers · No degree stated
- Forward Deployed Engineer - London ↗
OpenAI · Applied AI and forward-deployed · No degree stated
- Forward Deployed Engineer - Munich ↗
OpenAI · Applied AI and forward-deployed · No degree stated
- Forward Deployed Engineer - Paris ↗
OpenAI · Applied AI and forward-deployed · No degree stated
- Forward Deployed Engineer - Zurich ↗
OpenAI · Applied AI and forward-deployed · No degree stated
- Member of Technical Staff, ML Platform ↗
Runway · ML systems and infrastructure · No degree stated · $240k to $290k base
- Senior Applied AI Engineer ↗
CodeRabbit · Applied AI and forward-deployed · No degree stated · $200k to $300k base
- Applied AI Engineer ↗
Cognition · Applied AI and forward-deployed · No degree stated · $180k to $225k base
- Applied AI Engineer - ANZ ↗
Cognition · Applied AI and forward-deployed · No degree stated · $180k to $225k base
- Applied AI Engineer - APAC ↗
Cognition · Applied AI and forward-deployed · No degree stated · $180k to $225k base
- Research Engineer, Mid-Training ↗
Cognition · Research scientists and engineers · PhD required
- Forward Deployed Product Engineer ↗
Cosine · Applied AI and forward-deployed · No degree stated
- Forward Deployed Strategist ↗
Cursor (Anysphere) · Applied AI and forward-deployed · No degree stated
- Forward Deployed Strategist ↗
Cursor (Anysphere) · Applied AI and forward-deployed · No degree stated
- Forward Deployed Strategist ↗
Cursor (Anysphere) · Applied AI and forward-deployed · No degree stated
- Research Engineer ↗
Factory · Research scientists and engineers · Bachelor's degree
- Research Engineer ↗
Greptile · Research scientists and engineers · PhD preferred · $180k to $280k base
- Staff Forward Deployed Engineer – AI-Native Software Development ↗
JetBrains (Junie, Mellum) · Applied AI and forward-deployed · No degree stated
- Staff Research Engineer (LLM Pre-Training) ↗
JetBrains (Junie, Mellum) · Research scientists and engineers · No degree stated
- AI Research Engineer, Post-Training ↗
Lovable · Research scientists and engineers · No degree stated
- Research Engineering Lead ↗
Lovable · Research scientists and engineers · No degree stated
- Research Scientist Intern, Robotics - Meta Superintelligence Labs (PhD) ↗
Meta (Superintelligence Labs and FAIR) · Fellowships, residencies and internships · PhD required
- Forward Deployed Engineer ↗
OpenHands (formerly All Hands AI) · Applied AI and forward-deployed · No degree stated · $175k to $240k base
- Machine Learning Scientist ↗
Relace · Research scientists and engineers · Master's, PhD or equivalent
- Forward Deployed Engineer ↗
Replit · Applied AI and forward-deployed · No degree stated · $180k to $300k base
- Senior Applied AI Engineer ↗
StackBlitz (Bolt) · Applied AI and forward-deployed · No degree stated
- Staff Applied AI Engineer ↗
StackBlitz (Bolt) · Applied AI and forward-deployed · No degree stated
- Member of Technical Staff- Research Engineer (Harness Engineering and Agentic Orchestration) ↗
Tessl · Research scientists and engineers · PhD preferred
- Software Engineer, Inference ↗
Thinking Machines Lab · ML systems and infrastructure · No degree stated · $300k to $400k base
- Forward-Deployed Engineer ↗
Vercel (v0) · Applied AI and forward-deployed · No degree stated
- Partner Solutions Engineer ↗
Vercel (v0) · Applied AI and forward-deployed · No degree stated · $176k to $225k base
- Solutions Architect ↗
Vercel (v0) · Applied AI and forward-deployed · No degree stated · $190k to $340k base
- Research Scientist, Asta ↗
Allen Institute for AI (Ai2) · Research scientists and engineers · PhD required · $167k to $261k base
- Research Scientist, Robotics ↗
Allen Institute for AI (Ai2) · Research scientists and engineers · PhD required · $167k to $261k base
- Senior Research Engineer, Olmo + Molmo ↗
Allen Institute for AI (Ai2) · Research scientists and engineers · PhD or equivalent experience · $174k to $261k base
- Senior Research Scientist, Open Ecosystem ↗
Allen Institute for AI (Ai2) · Research scientists and engineers · PhD required · $170k to $270k base
- [Expression of Interest] Research Engineer / Scientist, Alignment - London ↗
Anthropic · Research scientists and engineers · No degree stated
- [Expression of Interest] Research Manager, Interpretability ↗
Anthropic · Research scientists and engineers · No degree stated · $350k to $500k base
- Anthropic Fellows Program, AI Safety & Security ↗
Anthropic · Fellowships, residencies and internships · No degree stated
- Anthropic Fellows Program, ML Systems & Reinforcement Learning ↗
Anthropic · Fellowships, residencies and internships · No degree stated
- Anthropic Fellows Program, The Anthropic Institute (Economics & Policy) ↗
Anthropic · Fellowships, residencies and internships · No degree stated
- Applied AI Architect ↗
Anthropic · Applied AI and forward-deployed · No degree stated
- Applied AI Architect ↗
Anthropic · Applied AI and forward-deployed · No degree stated
- Applied AI Architect ↗
Anthropic · Applied AI and forward-deployed · No degree stated
- Applied AI Architect ↗
Anthropic · Applied AI and forward-deployed · No degree stated
- Applied AI Architect ↗
Anthropic · Applied AI and forward-deployed · No degree stated
- Applied AI Architect, Commercial ↗
Anthropic · Applied AI and forward-deployed · No degree stated · $240k to $315k base
- Applied AI Architect, Cyber ↗
Anthropic · Applied AI and forward-deployed · No degree stated · $240k to $315k base