<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>LLM Training on Blowing in the wind</title>
    <link>https://zheng-bobo.github.io/tags/llm-training/</link>
    <description>Recent content in LLM Training on Blowing in the wind</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>zh-CN</language>
    <lastBuildDate>Sat, 26 Sep 2026 21:00:00 +0200</lastBuildDate>

  <atom:link href="https://zheng-bobo.github.io/tags/llm-training/index.xml" rel="self" type="application/rss+xml" />


    <item>
      <title>nanochat 源码解读：从参数配置到单步训练</title>
      <link>https://zheng-bobo.github.io/post/nanochat-gpt-pretraining-from-source/</link>
      <pubDate>Sat, 26 Sep 2026 21:00:00 +0200</pubDate>

      <guid>https://zheng-bobo.github.io/post/nanochat-gpt-pretraining-from-source/</guid>
      <description>&lt;p&gt;本文沿着 &lt;code&gt;scripts/base_train.py&lt;/code&gt; 的执行顺序阅读 nanochat：从命令行参数、随机种子和 DDP 环境开始，依次进入模型构建、权重初始化、Scaling Laws、优化器、DataLoader、梯度累积与单步训练。重点不是抽象介绍 GPT，而是理解源码中的每一段配置如何落到真实训练过程里。&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;前置知识&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;本文默认读者已经了解 token embedding、causal self-attention、MLP、残差连接和交叉熵。如果这些概念还不熟悉，建议先阅读我的简易实现文章：&lt;a href=&#34;https://zheng-bobo.github.io/post/transformer-architecture/&#34;&gt;Transformer Architecture：从 Token Embedding 到训练循环&lt;/a&gt;，再回来读 nanochat 的工程化实现。&lt;/p&gt;
&lt;/blockquote&gt;</description>
    </item>

  </channel>
</rss>