~/talk

Inside GPT – Large Language Models Demystified

Talkat NDC Oslo 2024 · 2024-06-10..06-14· [large-language-models, machine-learning]
slides:none on file

Demonstrates that a language model is literally a next‑token predictor and shows a runnable demo: a GPT-2 on PyTorch chat bot delivered from a laptop using Hugging Face Transformers and Jupyter/VS Code, which works but produces plausible‑sounding errors (example: asserts lions in Oslo). Reveals concrete internals: ~50,257 token vocabulary, 768‑dim embeddings, 12 layers × 12 heads = 144 attention heads, token example probabilities like “floor” at 7.64%, Swedish prompts cost ~83 tokens while Finnish ~103, and temperature/top‑P and beam search alter creativity and safety.

AI-written summary · about

  1. 0:00Welcome
  2. 3:57Next token prediction
  3. 7:28Prompt engineering and RAG
  4. 11:23GPT-2 to modern models
  5. 17:39Tokenization role
  6. 23:39English as programming language
  7. 29:22Embeddings and vectorization
  8. 34:40RNNs to Transformers
  9. 38:13Debugging GPT-2
  10. 45:37Next token demo
  11. 47:18Controlling randomness
  12. 53:03Top P sampling
  13. 56:34Beam search
  14. 59:24Key takeaways and closing remarks
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.