From 13f7ca9e481cf4e9b73c84da4886bc273a5da03e Mon Sep 17 00:00:00 2001 From: Shayan Rais Date: Thu, 7 May 2026 12:34:51 +0500 Subject: [PATCH] restructure llm-basic.svg for projector legibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Title and subtitle removed from the SVG (now promoted to the slide-level heading and caption). Iteration counter relocated from the top of the SVG (y=85) to the bottom (y=480), just above the feedback caption, with font size increased from 13 to 20 for projector readability. The whole diagram (panels, LLM box, arrows, animated circles, feedback path) shifted upward by 80px to reclaim the space freed by the removed title and subtitle — the diagram now fills more of its viewBox rather than leaving empty space at the top. ViewBox extended 500 → 530 at the bottom to accommodate the relocated iteration counter and pushed-down feedback caption (y=488 → y=510). Background rect height bumped to 530 to match (otherwise the new bottom strip would render transparent). All 7 blocks on iteration elements preserved verbatim — only the parent y and font-size attributes changed. Co-Authored-By: Claude --- presentation/assets/llm/llm-basic.svg | 143 ++++++++++++-------------- 1 file changed, 68 insertions(+), 75 deletions(-) diff --git a/presentation/assets/llm/llm-basic.svg b/presentation/assets/llm/llm-basic.svg index 1e77767..31a058d 100644 --- a/presentation/assets/llm/llm-basic.svg +++ b/presentation/assets/llm/llm-basic.svg @@ -1,5 +1,5 @@ - - + - - How an LLM generates text (autoregressive) - - - Each predicted token is appended to the input, then fed back into the LLM - - - 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 - What - is - the - capital - of - Japan - ? + What + is + the + capital + of + Japan + ? - Generated tokens (autoregressive) - The - capital - of - Japan - is - Tokyo - . + The + capital + of + Japan + is + Tokyo + . - - + - - + LLM - (black box) - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + - - + - PREDICTED NEXT TOKEN - - argmax P(next token | input) - The - capital - of - Japan - is - Tokyo - . + The + capital + of + Japan + is + Tokyo + . - - predicted token appended to input → next iteration