CS336.wiki
CS336 中文实验手册/参考资料
反馈与讨论
ASSIGNMENT 01 / 附录

参考文献与翻译说明

2026 春季 · v26.0.3原文 p. 46–47对照 PDF ↗

参考文献#

保留原指导书的编号、作者与英文题名,方便检索;括号内为中文题名译文。

  1. R. Eldan and Y. Li. TinyStories: How Small Can Language Models Be and Still Speak Coherent English? 2023.(TinyStories:语言模型能小到什么程度,仍然说出连贯英语?)
  2. A. Gokaslan, V. Cohen, E. Pavlick, and S. Tellex. OpenWebText corpus. 2019.(OpenWebText 语料库。)
  3. R. Sennrich, B. Haddow, and A. Birch. Neural Machine Translation of Rare Words with Subword Units. ACL, 2016.(使用子词单元进行罕见词的神经机器翻译。)
  4. C. Wang, K. Cho, and J. Gu. Neural Machine Translation with Byte-Level Subwords. 2019.(使用字节级子词进行神经机器翻译。)
  5. P. Gage. A new algorithm for data compression. C Users Journal, 12(2):23–38, February 1994.(一种新的数据压缩算法。)
  6. A. Radford, J. Wu, R. Child, D. Luan, D. Amodei, and I. Sutskever. Language Models are Unsupervised Multitask Learners. 2019.(语言模型是无监督多任务学习器。)
  7. A. Radford, K. Narasimhan, T. Salimans, and I. Sutskever. Improving Language Understanding by Generative Pre-Training. 2018.(通过生成式预训练改进语言理解。)
  8. A. Vaswani et al. Attention is All you Need. NeurIPS, 2017.(注意力就是你所需要的一切。)
  9. T. Q. Nguyen and J. Salazar. Transformers without Tears: Improving the Normalization of Self-Attention. IWSWLT, 2019.(无泪的 Transformer:改进自注意力的归一化。)
  10. R. Xiong et al. On Layer Normalization in the Transformer Architecture. ICML, 2020.(论 Transformer 架构中的层归一化。)
  11. J. L. Ba, J. R. Kiros, and G. E. Hinton. Layer Normalization. 2016.(层归一化。)
  12. H. Touvron et al. LLaMA: Open and Efficient Foundation Language Models. 2023.(LLaMA:开放且高效的基础语言模型。)
  13. B. Zhang and R. Sennrich. Root Mean Square Layer Normalization. NeurIPS, 2019.(均方根层归一化。)
  14. A. Grattafiori et al. The Llama 3 Herd of Models. arXiv:2407.21783.(Llama 3 模型家族。)
  15. A. Yang et al. Qwen2.5 Technical Report. arXiv:2412.15115, 2024.(Qwen2.5 技术报告。)
  16. A. Chowdhery et al. PaLM: Scaling Language Modeling with Pathways. 2022.(PaLM:利用 Pathways 扩展语言建模。)
  17. D. Hendrycks and K. Gimpel. Bridging Nonlinearities and Stochastic Regularizers with Gaussian Error Linear Units. 2016.(通过高斯误差线性单元连接非线性与随机正则化。)
  18. S. Elfwing, E. Uchibe, and K. Doya. Sigmoid-Weighted Linear Units for Neural Network Function Approximation in Reinforcement Learning. arXiv:1702.03118.(用于强化学习神经网络函数逼近的 sigmoid 加权线性单元。)
  19. Y. N. Dauphin, A. Fan, M. Auli, and D. Grangier. Language Modeling with Gated Convolutional Networks. arXiv:1612.08083.(使用门控卷积网络进行语言建模。)
  20. N. Shazeer. GLU Variants Improve Transformer. 2020.(GLU 变体改进 Transformer。)
  21. J. Su, Y. Lu, S. Pan, B. Wen, and Y. Liu. RoFormer: Enhanced Transformer with Rotary Position Embedding. 2021.(RoFormer:使用旋转位置嵌入增强 Transformer。)
  22. D. P. Kingma and J. Ba. Adam: A Method for Stochastic Optimization. ICLR, 2015.(Adam:一种随机优化方法。)
  23. I. Loshchilov and F. Hutter. Decoupled Weight Decay Regularization. ICLR, 2019.(解耦权重衰减正则化。)
  24. T. B. Brown et al. Language Models are Few-Shot Learners. NeurIPS, 2020.(语言模型是小样本学习器。)
  25. J. Kaplan et al. Scaling Laws for Neural Language Models. 2020.(神经语言模型的缩放定律。)
  26. J. Hoffmann et al. Training Compute-Optimal Large Language Models. 2022.(训练计算最优的大语言模型。)
  27. A. Holtzman, J. Buys, L. Du, M. Forbes, and Y. Choi. The Curious Case of Neural Text Degeneration. ICLR, 2020.(神经文本退化的奇妙案例。)
  28. Y.-H. H. Tsai, S. Bai, M. Yamada, L.-P. Morency, and R. Salakhutdinov. Transformer Dissection: An Unified Understanding for Transformer’s Attention via the Lens of Kernel. EMNLP-IJCNLP, Hong Kong, China, November 2019, pp. 4344–4353. doi:10.18653/v1/D19-1443.(剖析 Transformer:从核方法视角统一理解注意力。)
  29. A. Kazemnejad, I. Padhi, K. Natesan, P. Das, and S. Reddy. The Impact of Positional Encoding on Length Generalization in Transformers. NeurIPS, 2023. OpenReview.(位置编码对 Transformer 长度泛化的影响。)

来源与翻译说明#

本电子书依据工作区中的 CS336 Assignment 1 (basics): Building a Transformer LM,Spring 2026,v26.0.3 翻译和重新排版,源文档共 47 页。中文内容由 AI 辅助翻译,尚未经课程工作人员审校。若译文与原文不一致,以本网站附带的英文 PDF 为准。

本网站为非官方中文阅读版本,与 Stanford University 或课程工作人员没有隶属关系。不提供作业实现或题目答案。正文中对旧版 PyTorch、硬件速度等的描述,是原指导书所记录的结果。

原始材料:CS336 Staff;Copyright 2025 Stanford University。按原仓库 MIT 许可证保留版权和许可声明,参见完整许可证。

参考阅读界面:UC Berkeley CS186 Projects。本网站仅参考其文档导航方式,内容以所附 CS336 PDF 为准。

下载原版 PDF · 课程网站 · 作业仓库

一起把这一章读得更好

发现翻译、公式或排版错误?欢迎反馈。概念疑问和学习心得,也可以在本章讨论中交流。

直接选中正文,点击旁边的「反馈这处错误」,即可在页内填写并提交,无需登录。
English original 展开本章英文原文 PDF 文本提取

下列文本提取自本地原版 PDF。图表和公式的准确布局请对照 PDF。

Bibliography
[1]    R. Eldan and Y. Li, “TinyStories: How Small Can Language Models Be and Still Speak Coherent
       English?.” 2023.
[2]    A. Gokaslan, V. Cohen, E. Pavlick, and S. Tellex, “OpenWebText corpus.” 2019.
[3]    R. Sennrich, B. Haddow, and A. Birch, “Neural Machine Translation of Rare Words with Subword
       Units,” in Proc. of ACL, 2016.
[4]    C. Wang, K. Cho, and J. Gu, “Neural Machine Translation with Byte-Level Subwords.” 2019.
[5]    P. Gage, “A new algorithm for data compression,” C Users Journal, vol. 12, no. 2, pp. 23–38, Feb.
       1994.
[6]    A. Radford, J. Wu, R. Child, D. Luan, D. Amodei, and I. Sutskever, “Language Models are
       Unsupervised Multitask Learners.” 2019.
[7]    A. Radford, K. Narasimhan, T. Salimans, and I. Sutskever, “Improving Language Understanding by
       Generative Pre-Training.” 2018.
[8]    A. Vaswani et al., “Attention is All you Need,” in Proc. of NeurIPS, 2017.
[9]    T. Q. Nguyen and J. Salazar, “Transformers without Tears: Improving the Normalization of Self-
       Attention,” in Proc. of IWSWLT, 2019.
[10] R. Xiong et al., “On Layer Normalization in the Transformer Architecture,” in Proc. of ICML,
     2020.
[11] J. L. Ba, J. R. Kiros, and G. E. Hinton, “Layer Normalization.” 2016.
[12] H. Touvron et al., “LLaMA: Open and Efficient Foundation Language Models.” 2023.
[13] B. Zhang and R. Sennrich, “Root Mean Square Layer Normalization,” in Proc. of NeurIPS, 2019.
[14] A. Grattafiori et al., “The Llama 3 Herd of Models.” [Online]. Available:
     https://arxiv.org/abs/2407.21783
[15] A. Yang et al., “Qwen2.5 Technical Report,” arXiv preprint arXiv:2412.15115, 2024.
[16] A. Chowdhery et al., “PaLM: Scaling Language Modeling with Pathways.” 2022.
[17] D. Hendrycks and K. Gimpel, “Bridging Nonlinearities and Stochastic Regularizers with Gaussian
     Error Linear Units.” 2016.
[18] S. Elfwing, E. Uchibe, and K. Doya, “Sigmoid-Weighted Linear Units for Neural Network Function
     Approximation in Reinforcement Learning.” [Online]. Available: https://arxiv.org/abs/1702.03118
[19] Y. N. Dauphin, A. Fan, M. Auli, and D. Grangier, “Language Modeling with Gated Convolutional
     Networks.” [Online]. Available: https://arxiv.org/abs/1612.08083
[20] N. Shazeer, “GLU Variants Improve Transformer.” 2020.

[21] J. Su, Y. Lu, S. Pan, B. Wen, and Y. Liu, “RoFormer: Enhanced Transformer with Rotary Position
     Embedding.” 2021.
[22] D. P. Kingma and J. Ba, “Adam: A Method for Stochastic Optimization,” in Proc. of ICLR, 2015.
[23] I. Loshchilov and F. Hutter, “Decoupled Weight Decay Regularization,” in Proc. of ICLR, 2019.
[24] T. B. Brown et al., “Language Models are Few-Shot Learners,” in Proc. of NeurIPS, 2020.
[25] J. Kaplan et al., “Scaling Laws for Neural Language Models.” 2020.
[26] J. Hoffmann et al., “Training Compute-Optimal Large Language Models.” 2022.
[27] A. Holtzman, J. Buys, L. Du, M. Forbes, and Y. Choi, “The Curious Case of Neural Text
     Degeneration,” in Proc. of ICLR, 2020.
[28] Y.-H. H. Tsai, S. Bai, M. Yamada, L.-P. Morency, and R. Salakhutdinov, “Transformer Dissection:
     An Unified Understanding for Transformer`s Attention via the Lens of Kernel,” in Proceedings of the
     2019 Conference on Empirical Methods in Natural Language Processing and the 9th International
     Joint Conference on Natural Language Processing (EMNLP-IJCNLP), K. Inui, J. Jiang, V. Ng, and
     X. Wan, Eds., Hong Kong, China: Association for Computational Linguistics, Nov. 2019, pp. 4344–
     4353. doi: 10.18653/v1/D19-1443.
[29] A. Kazemnejad, I. Padhi, K. Natesan, P. Das, and S. Reddy, “The Impact of Positional Encoding on
     Length Generalization in Transformers,” in Thirty-seventh Conference on Neural Information
     Processing Systems, 2023. [Online]. Available: https://openreview.net/forum?id=Drrl2gcjzl

关于这一章的疑问、理解与心得,都可以在这里交流。阅读无需登录;发表评论或回复时使用 GitHub 账号。

正在加载本章讨论…

欢迎交流概念与阅读疑问,请勿发布作业完整实现或题目答案。

输入中文、英文术语或题号,例如 RoPE、检查点、train_bpe。