<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Foundation Model Engineering — Recently edited chapters</title>
    <link>https://sungeuns.github.io/foundation-model-engineering/</link>
    <description>Follow the 20 most recently edited chapters. Dates come from committed manuscript edits, not first publication or a claim that every detail was reverified.</description>
    <language>en</language>
    <atom:link href="https://sungeuns.github.io/foundation-model-engineering/feed.xml" rel="self" type="application/rss+xml" />
    <atom:link href="https://pubsubhubbub.appspot.com/" rel="hub" />
    <item>
      <title>2.1 Markov Chains to RNNs</title>
      <link>https://sungeuns.github.io/foundation-model-engineering/chapter-2/markov-chains-to-rnns/</link>
      <guid isPermaLink="false">https://sungeuns.github.io/foundation-model-engineering/chapter-2/markov-chains-to-rnns/#revision-57b93e26dd5f647cb538b392f6d4f1470a8eaba5</guid>
      <description>Manuscript edited: 2026-11-25 05:56:49 UTC. A trigram sees the same last two words in two recordings. Follow a one-unit PyTorch RNN to see how its hidden state can still distinguish the first words.</description>
      <pubDate>Wed, 25 Nov 2026 05:56:49 GMT</pubDate>
    </item>
    <item>
      <title>2.4 CNNs for NLP</title>
      <link>https://sungeuns.github.io/foundation-model-engineering/chapter-2/cnns-for-nlp/</link>
      <guid isPermaLink="false">https://sungeuns.github.io/foundation-model-engineering/chapter-2/cnns-for-nlp/#revision-57b93e26dd5f647cb538b392f6d4f1470a8eaba5</guid>
      <description>Manuscript edited: 2026-11-25 05:56:49 UTC. Slide a TextCNN filter over seven tokens. Swap two words, find windows tied for the maximum and use PyTorch to see why pooling must skip padding.</description>
      <pubDate>Wed, 25 Nov 2026 05:56:49 GMT</pubDate>
    </item>
    <item>
      <title>14.4 RAG Orchestration</title>
      <link>https://sungeuns.github.io/foundation-model-engineering/chapter-14/rag-orchestration/</link>
      <guid isPermaLink="false">https://sungeuns.github.io/foundation-model-engineering/chapter-14/rag-orchestration/#revision-57b93e26dd5f647cb538b392f6d4f1470a8eaba5</guid>
      <description>Manuscript edited: 2026-11-25 05:56:49 UTC. Route two nearly identical renewal questions to different sources, fit the evidence into 1,088 tokens, and decide when a RAG assistant should stop searching.</description>
      <pubDate>Wed, 25 Nov 2026 05:56:49 GMT</pubDate>
    </item>
    <item>
      <title>7.1 Data Parallelism (DP/DDP)</title>
      <link>https://sungeuns.github.io/foundation-model-engineering/chapter-7/data-parallelism/</link>
      <guid isPermaLink="false">https://sungeuns.github.io/foundation-model-engineering/chapter-7/data-parallelism/#revision-806b6b09cbbc585c2026c6e7d67fd6f79e4ede80</guid>
      <description>Manuscript edited: 2026-11-25 05:35:16 UTC. Compare PyTorch DataParallel and DistributedDataParallel (DDP). Run two CPU processes to see how masking every target on one rank affects a training step.</description>
      <pubDate>Wed, 25 Nov 2026 05:35:16 GMT</pubDate>
    </item>
    <item>
      <title>12.3 Continuous Batching: Request Scheduling and Chunked Prefill</title>
      <link>https://sungeuns.github.io/foundation-model-engineering/chapter-12/continuous-batching/</link>
      <guid isPermaLink="false">https://sungeuns.github.io/foundation-model-engineering/chapter-12/continuous-batching/#revision-9cbcf2f4d876f60a0992b11aad1a92031a92615b</guid>
      <description>Manuscript edited: 2026-11-25 05:22:19 UTC. Trace six requests through static and continuous batching, run a Python scheduler, and compare chunked-prefill token budgets, first-token latency, and inter-token delay.</description>
      <pubDate>Wed, 25 Nov 2026 05:22:19 GMT</pubDate>
    </item>
    <item>
      <title>17.6 Commercial and Open-weight Model Benchmarks</title>
      <link>https://sungeuns.github.io/foundation-model-engineering/chapter-17/commercial-model-benchmarks/</link>
      <guid isPermaLink="false">https://sungeuns.github.io/foundation-model-engineering/chapter-17/commercial-model-benchmarks/#revision-e07c4f9e9014015418c5ed0cbb3cad9094290952</guid>
      <description>Manuscript edited: 2026-11-25 05:13:20 UTC. Compare GLM-5.4 access and Ling-3.2-air weights across 45 profiles. Explore November 25 benchmark scores, costs and task times, including GPT-6.2 Astra.</description>
      <pubDate>Wed, 25 Nov 2026 05:13:20 GMT</pubDate>
    </item>
    <item>
      <title>11.1 Vision-Language Models: CLIP, Projectors, and Cross-Attention</title>
      <link>https://sungeuns.github.io/foundation-model-engineering/chapter-11/vision-language-bridges/</link>
      <guid isPermaLink="false">https://sungeuns.github.io/foundation-model-engineering/chapter-11/vision-language-bridges/#revision-acff27f1b8f3be3da2675ff30cec3e71032bfda9</guid>
      <description>Manuscript edited: 2026-11-25 04:57:15 UTC. How does a vision-language model read an image? Compare CLIP, projectors and cross-attention, then see what SmolVLM reads when a receipt’s total is erased.</description>
      <pubDate>Wed, 25 Nov 2026 04:57:15 GMT</pubDate>
    </item>
    <item>
      <title>3.3 Position Encoding Strategy</title>
      <link>https://sungeuns.github.io/foundation-model-engineering/chapter-3/position-encoding-strategy/</link>
      <guid isPermaLink="false">https://sungeuns.github.io/foundation-model-engineering/chapter-3/position-encoding-strategy/#revision-7cc956e0ebf2ef1e7f3dc719041e6bafa2d57454</guid>
      <description>Manuscript edited: 2026-11-25 04:37:18 UTC. Pick a position and a pair of dimensions on a sinusoidal grid, reproduce the values in PyTorch and see how a relative offset enters a RoPE dot product.</description>
      <pubDate>Wed, 25 Nov 2026 04:37:18 GMT</pubDate>
    </item>
    <item>
      <title>3.1 Self-Attention Mathematics</title>
      <link>https://sungeuns.github.io/foundation-model-engineering/chapter-3/self-attention-mathematics/</link>
      <guid isPermaLink="false">https://sungeuns.github.io/foundation-model-engineering/chapter-3/self-attention-mathematics/#revision-bbdcde9a486d05fc51f0a589cc9429657a9d2b04</guid>
      <description>Manuscript edited: 2026-11-25 03:56:32 UTC. Trace four tokens through Q, K, V, softmax and a causal mask. Download the PyTorch example to reproduce the browser output and check it against SDPA.</description>
      <pubDate>Wed, 25 Nov 2026 03:56:32 GMT</pubDate>
    </item>
    <item>
      <title>6.3 Large-scale Training Stability</title>
      <link>https://sungeuns.github.io/foundation-model-engineering/chapter-6/large-scale-training-stability/</link>
      <guid isPermaLink="false">https://sungeuns.github.io/foundation-model-engineering/chapter-6/large-scale-training-stability/#revision-bbdcde9a486d05fc51f0a589cc9429657a9d2b04</guid>
      <description>Manuscript edited: 2026-11-25 03:56:32 UTC. Diagnose large-scale training instability with mask-correct loss, gradient and activation monitoring, loss-spike triage, and recovery criteria.</description>
      <pubDate>Wed, 25 Nov 2026 03:56:32 GMT</pubDate>
    </item>
    <item>
      <title>4.5 Various LLM Architectures &amp; Latest Trends</title>
      <link>https://sungeuns.github.io/foundation-model-engineering/chapter-4/various-llm-architectures/</link>
      <guid isPermaLink="false">https://sungeuns.github.io/foundation-model-engineering/chapter-4/various-llm-architectures/#revision-9c2cdca7b6eb33707aed43535afa0d132eff74db</guid>
      <description>Manuscript edited: 2026-11-25 03:34:22 UTC. Why can a model run more layers than it stores? Explore the reused 28-layer block in GLM-5.4, sparsity, and a worked example of multi-head latent attention (MLA).</description>
      <pubDate>Wed, 25 Nov 2026 03:34:22 GMT</pubDate>
    </item>
    <item>
      <title>20.3 Linear Attention</title>
      <link>https://sungeuns.github.io/foundation-model-engineering/chapter-20/linear-attention/</link>
      <guid isPermaLink="false">https://sungeuns.github.io/foundation-model-engineering/chapter-20/linear-attention/#revision-9c2cdca7b6eb33707aed43535afa0d132eff74db</guid>
      <description>Manuscript edited: 2026-11-25 03:34:22 UTC. Understand linear attention, its memory advantages and representation limits, with an educational PyTorch example and a complexity visualizer.</description>
      <pubDate>Wed, 25 Nov 2026 03:34:22 GMT</pubDate>
    </item>
    <item>
      <title>5.3 Expert Parallelism</title>
      <link>https://sungeuns.github.io/foundation-model-engineering/chapter-5/expert-parallelism/</link>
      <guid isPermaLink="false">https://sungeuns.github.io/foundation-model-engineering/chapter-5/expert-parallelism/#revision-29964380086f559a4bd244eaf17323cee1fe5c5e</guid>
      <description>Manuscript edited: 2026-11-25 02:52:42 UTC. Trace six tokens through an MoE layer on two CPU processes. Inspect all-to-all traffic, expert assignments and how results return to their original order.</description>
      <pubDate>Wed, 25 Nov 2026 02:52:42 GMT</pubDate>
    </item>
    <item>
      <title>19.1 Mechanistic Interpretability</title>
      <link>https://sungeuns.github.io/foundation-model-engineering/chapter-19/mechanistic-interpretability/</link>
      <guid isPermaLink="false">https://sungeuns.github.io/foundation-model-engineering/chapter-19/mechanistic-interpretability/#revision-29964380086f559a4bd244eaf17323cee1fe5c5e</guid>
      <description>Manuscript edited: 2026-11-25 02:52:42 UTC. Which earlier token does an induction head read? Trace a four-token example, then zero one SmolLM2 attention head and measure how its predictions change.</description>
      <pubDate>Wed, 25 Nov 2026 02:52:42 GMT</pubDate>
    </item>
    <item>
      <title>9.5 Synthetic Instructions &amp; Self-Instruct</title>
      <link>https://sungeuns.github.io/foundation-model-engineering/chapter-9/synthetic-instructions-and-self-instruct/</link>
      <guid isPermaLink="false">https://sungeuns.github.io/foundation-model-engineering/chapter-9/synthetic-instructions-and-self-instruct/#revision-b940fca9bb3096d4fc8437adf7b9af1e9226c5b7</guid>
      <description>Manuscript edited: 2026-11-25 02:37:21 UTC. Build synthetic instruction datasets with generation templates, verification, human audits, lineage tracking, and safeguards against recursive degradation.</description>
      <pubDate>Wed, 25 Nov 2026 02:37:21 GMT</pubDate>
    </item>
    <item>
      <title>11.2 Audio &amp; Speech Integration</title>
      <link>https://sungeuns.github.io/foundation-model-engineering/chapter-11/audio-and-speech-integration/</link>
      <guid isPermaLink="false">https://sungeuns.github.io/foundation-model-engineering/chapter-11/audio-and-speech-integration/#revision-b940fca9bb3096d4fc8437adf7b9af1e9226c5b7</guid>
      <description>Manuscript edited: 2026-11-25 02:37:21 UTC. Hear the same samples at two rates, inspect a Whisper transcription error, and follow audio codes in AudioLM and VALL-E and speaker labels in Scribe v3 Live.</description>
      <pubDate>Wed, 25 Nov 2026 02:37:21 GMT</pubDate>
    </item>
    <item>
      <title>12.1 KV Cache: How It Works and Memory Use</title>
      <link>https://sungeuns.github.io/foundation-model-engineering/chapter-12/kv-cache-management/</link>
      <guid isPermaLink="false">https://sungeuns.github.io/foundation-model-engineering/chapter-12/kv-cache-management/#revision-7a698ef20599864890178ba5560d9a5e9e378d56</guid>
      <description>Manuscript edited: 2026-11-25 01:52:54 UTC. A KV cache stores earlier tokens’ attention keys and values for reuse. Compare outputs in PyTorch and see why a 24 GiB cache fits nine requests at 2.5 GiB each.</description>
      <pubDate>Wed, 25 Nov 2026 01:52:54 GMT</pubDate>
    </item>
    <item>
      <title>12.7 Length Bucketing and Peak KV Memory</title>
      <link>https://sungeuns.github.io/foundation-model-engineering/chapter-12/length-bucketing-lab/</link>
      <guid isPermaLink="false">https://sungeuns.github.io/foundation-model-engineering/chapter-12/length-bucketing-lab/#revision-067824c3dee3897795e5a4c53ca2b700e5026474</guid>
      <description>Manuscript edited: 2026-11-25 01:18:11 UTC. Pair six prompts by arrival order, then by length. Compare padding across three batches and see why the largest prefill KV cache stays the same size.</description>
      <pubDate>Wed, 25 Nov 2026 01:18:11 GMT</pubDate>
    </item>
    <item>
      <title>13.4 Knowledge Distillation</title>
      <link>https://sungeuns.github.io/foundation-model-engineering/chapter-13/knowledge-distillation/</link>
      <guid isPermaLink="false">https://sungeuns.github.io/foundation-model-engineering/chapter-13/knowledge-distillation/#revision-067824c3dee3897795e5a4c53ca2b700e5026474</guid>
      <description>Manuscript edited: 2026-11-25 01:18:11 UTC. Compare text, logit and feature distillation. Swap two hidden coordinates and their readout columns to see how hidden MSE can be 4 while output KL is zero.</description>
      <pubDate>Wed, 25 Nov 2026 01:18:11 GMT</pubDate>
    </item>
    <item>
      <title>14.1 From Lexical to Semantic Search</title>
      <link>https://sungeuns.github.io/foundation-model-engineering/chapter-14/lexical-to-semantic-search/</link>
      <guid isPermaLink="false">https://sungeuns.github.io/foundation-model-engineering/chapter-14/lexical-to-semantic-search/#revision-067824c3dee3897795e5a4c53ca2b700e5026474</guid>
      <description>Manuscript edited: 2026-11-25 01:18:11 UTC. Try BM25 and cosine similarity on four titles, then run multilingual E5 on Korean support queries. See why a single letter in a product code can change the answer.</description>
      <pubDate>Wed, 25 Nov 2026 01:18:11 GMT</pubDate>
    </item>
  </channel>
</rss>
