MockReal Logo
Home
BlogPricing
For Employers →
  1. Home
  2. Questions
  3. 讲讲对 Attention 的理解?

讲讲对 Attention 的理解?

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

Attention is a mechanism that allows models to focus on specific parts of the input sequence, enhancing contextual understanding. It enables better handling of long-range dependencies by weighting the importance of different tokens.

For instance, in NLP tasks, it helps the model prioritize relevant words, improving accuracy in tasks like translation or summarization.

More Questions

  • Attention 机制和传统 Seq2Seq 模型有什么区别?
  • BERT 非线性的来源在哪里?
  • Encoder 编码器与 Decoder 掩码有什么区别?
  • Prefix LM 和 Causal LM 区别是什么?
  • SFT(有监督微调)的数据集格式是什么?
  • Transformer 中 multi-head attention 中每个 head 为什么要进行降维?
  • 为什么 BERT 选择 mask 掉 15% 这个比例的词,可以是其他比例吗?
  • 为什么要进行 LN(LayerNorm)?
  • 为何现在的大模型大部分是 Decoder-only 结构?
  • 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.