~/talk

RAG vs AI model tuning vs long context window and when to use each

Talkat DevFest Montreal 2024 · on Saturday, 2024-11-09· [large-language-models, machine-learning]
slides:none on file

Compares three tactics with concrete measurements and costs so you can pick one: Gemini 1.5 Pro 2M-token window works well for huge unstructured text and demos but first queries hit ~45s and cached queries ~11s; RAG 2.6s end-to-end (intent 1.1s, DB 115ms) is fastest for structured lookups and interactive apps and avoids loading millions of tokens; fine-tune for static domains yields predictable subsecond latency at higher engineering and TPU/H100 cost and is worth it when data is stable and latency must be guaranteed.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:12Foundational AI models explained
  3. 9:57Improving model responses
  4. 13:13Fine-tuning models
  5. 22:49Long context windows
  6. 33:30Retrieval augmented generation
  7. 43:14When to use each technique
  8. 45:04Summary and closing
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.