MockReal Logo
Home
BlogPricing
For Employers →
  1. Home
  2. Questions
  3. 为什么要进行 LN(LayerNorm)?

为什么要进行 LN(LayerNorm)?

Technical大模型应用开发 ai agent大模型应用开发工程师AI代理开发工程师机器学习工程师

进行LayerNorm的主要原因是提高模型的稳定性和收敛速度。通过标准化每个样本的特征,使得每层的输入分布更一致,从而减少了内部协变量偏移。

此外,LayerNorm在处理小批量数据时表现更好,尤其是在序列模型中,能够有效提升模型的性能。

More Questions

  • Attention 机制和传统 Seq2Seq 模型有什么区别?
  • BERT 非线性的来源在哪里?
  • Encoder 编码器与 Decoder 掩码有什么区别?
  • Prefix LM 和 Causal LM 区别是什么?
  • SFT(有监督微调)的数据集格式是什么?
  • Transformer 中 multi-head attention 中每个 head 为什么要进行降维?
  • 为什么 BERT 选择 mask 掉 15% 这个比例的词,可以是其他比例吗?
  • 为何现在的大模型大部分是 Decoder-only 结构?
  • 讲讲对 Attention 的理解?
  • CoT 是啥?为啥效果好呢?有啥缺点?
MockReal Logo

Spoken interview practice for technical professionals

Product

  • Pricing
  • Questions
  • Positions
  • Resumes
  • For Employers →

Company

  • Careers
  • About Us
  • Contact
  • Blog

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy

© 2025 MockReal. Spoken interview practice. All rights reserved.