Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 611 Bytes

README.zh.md

File metadata and controls

12 lines (8 loc) · 611 Bytes

第 4 章:从头开始实现 GPT 模型以生成文本

 

主要章节代码

 

奖励材料

  • 02_performance-analysis 包含可选代码,用于分析主要章节中实现的 GPT 模型的性能
  • ch05/07_gpt_to_llama 包含将 GPT 架构实现转换为 Llama 3.2 的分步指南,并从 Meta AI 加载预训练权重(完成第 4 章后查看替代架构可能会很有趣,但您也可以将其保存到阅读第 5 章之后)