~/talk

How Generative AI Works: LLMs and RAG Under the Hood

TalkinFrenchat Devoxx France 2024 · 2024-04-17..04-19· [large-language-models, ai-assisted-development]
links:none on file
slides:none on file

Describes how large language models use Transformer decoder stacks (about a dozen repeated layers) with tokenization, positional encodings and masked self-attention to predict next tokens, giving concrete scale numbers (e.g., GPT‑3 ≈175B parameters, ~250B training tokens, very high GPU costs and GPT‑4 costing tens–hundreds of millions). Explains Retrieval‑Augmented Generation (RAG) using semantic embeddings and nearest‑neighbor retrieval (instead of BM25), prompt augmentation and ranking plus RLHF/fine‑tuning to reduce hallucinations, and outlines image generation via CLIP plus diffusion models (Stable Diffusion / DALL·E) that denoise from noise guided by text.

AI-written summary · about

  1. 0:00Introduction to generative AI
  2. 1:03Language model history
  3. 8:56Transformer architecture
  4. 13:30Tokenization and embeddings
  5. 27:17LLM limitations
  6. 30:50RAG: how it works
  7. 36:03RAG use cases and trends
  8. 38:32AI image generation
  9. 44:54Conclusion & Q&A
~/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.