Fylom
Back to Tech & AI
How large language models actually work

Tech & AI

How large language models actually work

11 min

Beyond the cliché that they just predict the next word: explore what transformers and attention really do, how training turns text into capability, and where the surprising behavior comes from.

Listen on the app, request early access:

Show notes

Transformers process entire sentences simultaneously rather than word-by-word to maintain long-range context.

Self-attention resolves pronoun ambiguity by mathematically linking words like it to their specific subjects.

Positional encoding uses sine and cosine waves to help models distinguish word order in a sentence.

Reinforcement learning from human feedback transforms raw text predictors into helpful conversational assistants.

The softmax layer converts internal numerical scores into a probability distribution across thousands of unique tokens.

Temperature settings allow users to toggle between strictly factual responses and more creative, random outputs.

In this episode

  1. 1Intro1 min
  2. 2The Transformer Revolution2 min
  3. 3The Mechanics of Self-Attention3 min
  4. 4From Training to Capability3 min
  5. 5The Inference Engine3 min
  6. 6Outro1 min

Sources

Fylom generates episodes like this on any topic you're curious about.

Fylom episodes are researched and written by AI. Automated checks help catch inaccuracies, but episodes aren't reviewed by a human and AI can still get things wrong. Treat them as a starting point, not a source of record — more in our accuracy disclaimer.

How large language models actually work — Fylom