TensoriumInterview preparation
← Home

Core concepts · 62 topics

A guided path through the ideas behind modern LLMs.

Read the stages in order: how text becomes a prediction, what happens inside the Transformer block, how a model learns, then serving, scale, and post-training. Every topic names what to know first, then gives the intuition, the math with concrete numbers, the common misconception, and a self-check. Already comfortable with the basics? Switch to By area and jump straight to a topic.

New to machine learning? Start here instead.

These topics work best as a refresher; they assume ideas like probability and loss. Begin with three short beginner lessons (tokens, embeddings, next-token prediction), then the visual walkthrough for attention and the Transformer.

Finish line: You can explain how text becomes a prediction and what training does to improve that prediction.

Topic 62 of 62 · Wider ML toolkit

Gaussian process regression

Hard

What is a Gaussian process, how do you get predictions and uncertainty from it, and why does it not scale?

Why this mattersGaussian processes provide exact, closed-form uncertainty estimates on small datasets and remain the workhorse behind Bayesian hyperparameter optimization.

1 · Start with the intuition

A Gaussian process puts a prior directly over functions. The kernel says how similar function values at two inputs should be. After seeing data, predictions near observed points are pulled toward them with low uncertainty; far away, the prediction falls back to the prior mean with the prior’s full uncertainty.

2 · How the mechanism works

Mechanism step 1 of 3 · no question to answer

Choose a kernel

For example RBF: k(x, x′) = σ_f² exp(−(x − x′)² / 2ℓ²).

Next, we will look at: Condition on data. Move on when this operation makes sense.

Visualizing the behavior

Posterior after one observation (RBF, ℓ = 1, σ_n² = 0.1)

Derived
-2-1012-3-2-10123input xf(x)observation y = 1
  • mean + 2σ
  • posterior mean
  • mean − 2σ
The band is narrow at the observation (limited by noise) and widens to the prior’s ±2 within a couple of length-scales. Shrinking ℓ would make the mean fall back to 0 faster.