<?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>AI 基础原理 on Ge Zhang · 技术笔记</title>
    <link>https://zhangge.dev/ai-fundamentals/</link>
    <description>Recent content in AI 基础原理 on Ge Zhang · 技术笔记</description>
    <image>
      <title>Ge Zhang · 技术笔记</title>
      <url>https://zhangge.dev/images/site-card.png</url>
      <link>https://zhangge.dev/images/site-card.png</link>
    </image>
    <generator>Hugo</generator>
    <language>zh-CN</language>
    <copyright>2026 Ge Zhang</copyright>
    <lastBuildDate>Fri, 24 Jul 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://zhangge.dev/ai-fundamentals/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>self-attention</title>
      <link>https://zhangge.dev/ai-fundamentals/self-attention/</link>
      <pubDate>Thu, 23 Jul 2026 00:00:00 +0000</pubDate>
      <guid>https://zhangge.dev/ai-fundamentals/self-attention/</guid>
      <description>从 Q、K、V 和缩放点积出发理解 Self-Attention，进一步分析因果掩码、增量解码、KV Cache，以及为什么没有 Q Cache。</description>
    </item>
    <item>
      <title>transformer结构</title>
      <link>https://zhangge.dev/ai-fundamentals/transformer-architecture/</link>
      <pubDate>Thu, 23 Jul 2026 00:00:00 +0000</pubDate>
      <guid>https://zhangge.dev/ai-fundamentals/transformer-architecture/</guid>
      <description>从原始 Transformer 的 Encoder–Decoder 结构出发，解释自注意力、交叉注意力以及现代 decoder-only 大模型的演变。</description>
    </item>
    <item>
      <title>FeedForward</title>
      <link>https://zhangge.dev/ai-fundamentals/feedforward/</link>
      <pubDate>Tue, 21 Jul 2026 00:00:00 +0000</pubDate>
      <guid>https://zhangge.dev/ai-fundamentals/feedforward/</guid>
      <description>从激活函数和前馈网络出发，理解 Transformer FFN 的升维、非线性变换、逐 token 计算，以及现代大模型中的 SwiGLU 门控结构。</description>
    </item>
    <item>
      <title>Add&amp;LayerNorm</title>
      <link>https://zhangge.dev/ai-fundamentals/add-layernorm/</link>
      <pubDate>Mon, 20 Jul 2026 00:00:00 +0000</pubDate>
      <guid>https://zhangge.dev/ai-fundamentals/add-layernorm/</guid>
      <description>分析 Transformer 中 Add &amp;amp; Norm 的两个核心组成：残差连接如何改善深层网络训练，LayerNorm 如何稳定隐藏状态的数值尺度。</description>
    </item>
    <item>
      <title>softmax的优化</title>
      <link>https://zhangge.dev/ai-fundamentals/softmax-optimization/</link>
      <pubDate>Mon, 20 Jul 2026 00:00:00 +0000</pubDate>
      <guid>https://zhangge.dev/ai-fundamentals/softmax-optimization/</guid>
      <description>从 Softmax 的概率含义出发，梳理减最大值、混合精度、log_softmax、全 Mask 行、算子融合与 Online Softmax 等优化方法。</description>
    </item>
    <item>
      <title>RoPE 旋转位置编码：从绝对位置到相对位置</title>
      <link>https://zhangge.dev/ai-fundamentals/rotary-position-embedding/</link>
      <pubDate>Fri, 17 Jul 2026 00:00:00 +0000</pubDate>
      <guid>https://zhangge.dev/ai-fundamentals/rotary-position-embedding/</guid>
      <description>从绝对位置编码与相对位置编码出发，按二维旋转、高维分组和旋转矩阵的设计过程推导 RoPE。</description>
    </item>
    <item>
      <title>Tokenizer 基础：从文本到 Token ID</title>
      <link>https://zhangge.dev/ai-fundamentals/tokenizer-algorithms/</link>
      <pubDate>Wed, 15 Jul 2026 00:00:00 +0000</pubDate>
      <guid>https://zhangge.dev/ai-fundamentals/tokenizer-algorithms/</guid>
      <description>系统梳理 Tokenizer 的处理流水线，以及词级、字符级、BPE、WordPiece、Unigram 和字节级 BPE 的原理、取舍与常见误区。</description>
    </item>
  </channel>
</rss>
