~/talk

Inside GPT – The Maths Behind the Magic

slides:none on file

Walkthrough of architecture and hands‑on results explains tokenization, sampling and RAG with concrete numbers: GPT2 locally (≈128M parameters) runs demos that generate song lyrics and stutter in noisy demos; tokenization gives English ~45 tokens, Swedish ~83, Telugu ~622; embeddings use 768‑dim vectors and cosine vs Euclidean similarity is compared; sequence prediction is one token at a time, costing example ~30 SEK per full‑context call; a packing thought experiment claims 95 bottles in a 30L backpack (90.7% hex packing) to show when models hallucinate precise calculations.

AI-written summary · about

  1. 0:00Intro
  2. 6:00Model API architecture
  3. 7:37GPT sequence prediction
  4. 8:49Variable length
  5. 11:13Sequence order
  6. 11:28Long-term dependencies
  7. 12:06Prompt engineering
  8. 13:11Retrieval Augmented Generation (RAG)
  9. 15:14Demo: ChatGPT2
  10. 20:25Processing text
  11. 24:22English is the new programming language
  12. 29:14Heteronyms
  13. 34:14Demo: Language tokenization
  14. 34:46Word/token vectorization/embedding
  15. 35:52Euclidean vs Cosine similarity
  16. 37:32Transformer architecture
  17. 40:23Attention example
  18. 41:03Outro
~/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.