<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Model Architecture on LLM Notes</title>
    <link>https://xiyuanyang-code.github.io/llm/posts/model-arch/</link>
    <description>Recent content in Model Architecture on LLM Notes</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Tue, 22 Sep 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://xiyuanyang-code.github.io/llm/posts/model-arch/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Advanced LLMs 1: Attentions</title>
      <link>https://xiyuanyang-code.github.io/llm/posts/model-arch/attentions/</link>
      <pubDate>Tue, 22 Sep 2026 00:00:00 +0000</pubDate>
      <guid>https://xiyuanyang-code.github.io/llm/posts/model-arch/attentions/</guid>
      <description>从 MHA、MQA/GQA、MLA 到稀疏注意力（LongFormer / StreamingLLM / NSA / DSA / MSA）、线性注意力（Mamba / Gated DeltaNet）与 Flash Attention。</description>
    </item>
    <item>
      <title>Advanced LLMs 2: Normalizations, FFNs &amp; RoPE</title>
      <link>https://xiyuanyang-code.github.io/llm/posts/model-arch/normalizations-ffn-rope/</link>
      <pubDate>Tue, 22 Sep 2026 00:00:00 +0000</pubDate>
      <guid>https://xiyuanyang-code.github.io/llm/posts/model-arch/normalizations-ffn-rope/</guid>
      <description>Pre-Norm / Post-Norm 与 RMSNorm 的推导、激活函数与 SwiGLU FFN，以及 RoPE 的旋转矩阵与长度外推（PI / NTK-aware / YaRN）。</description>
    </item>
    <item>
      <title>Advanced LLMs 3: Decoding</title>
      <link>https://xiyuanyang-code.github.io/llm/posts/model-arch/decoding/</link>
      <pubDate>Tue, 22 Sep 2026 00:00:00 +0000</pubDate>
      <guid>https://xiyuanyang-code.github.io/llm/posts/model-arch/decoding/</guid>
      <description>Prefill 与 Decode 两个阶段的 FLOPs 与 Memory-Bound 分析，以及 Speculative Decoding、Multi-Token Prediction。</description>
    </item>
    <item>
      <title>Advanced LLMs 4: Optimizers</title>
      <link>https://xiyuanyang-code.github.io/llm/posts/model-arch/optimizers/</link>
      <pubDate>Tue, 22 Sep 2026 00:00:00 +0000</pubDate>
      <guid>https://xiyuanyang-code.github.io/llm/posts/model-arch/optimizers/</guid>
      <description>预训练优化器与训练稳定性。</description>
    </item>
    <item>
      <title>Advanced LLMs 5: Mixture of Experts</title>
      <link>https://xiyuanyang-code.github.io/llm/posts/model-arch/mixture-of-experts/</link>
      <pubDate>Tue, 22 Sep 2026 00:00:00 +0000</pubDate>
      <guid>https://xiyuanyang-code.github.io/llm/posts/model-arch/mixture-of-experts/</guid>
      <description>MoE 的路由、负载均衡与训练。</description>
    </item>
  </channel>
</rss>
