From 33cd221a912280eb5a5102e1639cce710b07a37f Mon Sep 17 00:00:00 2001 From: Shayan Rais Date: Thu, 7 May 2026 12:47:48 +0500 Subject: [PATCH] restructure llm-advanced.svg for projector legibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Same pattern as 13f7ca9 (llm-basic.svg). Title and subtitle removed from the SVG (now promoted to the slide-level heading and caption on slide 12). Iteration counter relocated from y=83 (top) to y=480 (bottom, just above the feedback caption), font size 13 → 20. Entire diagram shifted upward by 80px to reclaim the space freed by the removed title and subtitle (panels, LLM box, all token rows, arrows, animated circles, output panel, feedback path control point). ViewBox extended 540 → 570 at the bottom to accommodate the relocated iteration counter. Background rect height bumped to 570 to match. Feedback path arc shifted: M 990 410 Q 620 480 250 410 → M 990 330 Q 620 400 250 330. Feedback caption stays at y=510 — the upshift creates enough clearance. All 7 blocks on iteration elements preserved verbatim. Co-Authored-By: Claude --- presentation/assets/llm/llm-advanced.svg | 193 +++++++++++------------ 1 file changed, 93 insertions(+), 100 deletions(-) diff --git a/presentation/assets/llm/llm-advanced.svg b/presentation/assets/llm/llm-advanced.svg index 4e6728c..918df4f 100644 --- a/presentation/assets/llm/llm-advanced.svg +++ b/presentation/assets/llm/llm-advanced.svg @@ -1,5 +1,5 @@ - - + - - How an LLM tokenizes input and generates text autoregressively - - - BPE chops words into subword tokens — same color = same word, gray = punctuation - - - ITERATION 1 / 7 - ITERATION 2 / 7 - ITERATION 3 / 7 - ITERATION 4 / 7 - ITERATION 5 / 7 - ITERATION 6 / 7 - ITERATION 7 / 7 + ITERATION 1 / 7 + ITERATION 2 / 7 + ITERATION 3 / 7 + ITERATION 4 / 7 + ITERATION 5 / 7 + ITERATION 6 / 7 + ITERATION 7 / 7 - INPUT (CONTEXT) - - Original prompt → 32 BPE tokens (105 chars) - Does - Chat - GPT - , - Claude - , - Anth - ropic - , - Ll - ama - , - Mist - ral - , - Gem - ini - , - and - Per - plex - ity - all - use - Byte - - - Pair - Encoding - ( - BPE - ) - ? + Does + Chat + GPT + , + Claude + , + Anth + ropic + , + Ll + ama + , + Mist + ral + , + Gem + ini + , + and + Per + plex + ity + all + use + Byte + - + Pair + Encoding + ( + BPE + ) + ? - Generated tokens (autoregressive) - Yes - , - they - all - use - BPE - . + Yes + , + they + all + use + BPE + . - - + - - + LLM - (black box) - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + - - + - PREDICTED NEXT TOKEN - - argmax P(next token | input) - Yes - , - they - all - use - BPE - . - Yes + , + they + all + use + BPE + . + single token, drawn from the same vocab as the input -