NeuroGenesys.
Back to AcademyAcademy • Frontier • Cutting-edge research & development

Transformers & Language Models

What a language model is, how attention and the transformer block work, and what scaling laws do — and don't — tell us about training at frontier scale.

4 lessons • 30 min read

Points of light above a salt flat, densely linked by fine luminous threads
  1. 01

    Next-token prediction: what a language model is

    A language model is a probability distribution over sequences of text. In practice it is built from one narrow skill: given everything so far, predict the next token. This lesson explains why that single objective is enough to train a chat assistant, a code generator and a reasoning model, and what it costs at inference time.

    8 min read
  2. 02

    Attention from first principles

    Attention is how a transformer lets each token look up information from other tokens: a soft, differentiable lookup table built fresh for every input. This lesson derives the mechanism, explains its quadratic cost and its memory footprint at inference, and surveys how 2025–2026 models changed it to reach million-token contexts.

    8 min read
  3. 03

    Inside the transformer block

    A large language model is mostly one block repeated dozens of times. This lesson opens the block up: what each part does, where the parameters and FLOPs actually go, and which parts 2025–2026 architectures have replaced.

    7 min read
  4. 04

    Scaling laws and compute-optimal training

    Given a fixed compute budget, how large should a model be and how many tokens should it see? Scaling laws answer this with fitted power laws. They have steered billion-dollar training runs since 2020, and the right answer has shifted twice since then: first when Chinchilla corrected the allocation, and again when inference cost and test-time compute entered the budget.

    7 min read
Watch alongside

Reference videos

All reference videos

Leadership

A word from the founder — on why the brain is the blueprint, and why the next decade of intelligence will be built here.

"The brain is the universe's only proof that general intelligence is possible. We treat it as the blueprint."

From cortical interfaces to photonic silicon, every program at NeuroGenesys exists to answer one question: how does intelligence arise — and how do we build it safely.

Will Schulz

Will Schulz

Founder, NeuroGenesys • AW3 Technology