MockReal Logo
Home
BlogPricing
For Employers →
  1. Home
  2. Questions
  3. 为什么 Transformer 在处理超长文本的时候,性能会急剧下降?

为什么 Transformer 在处理超长文本的时候,性能会急剧下降?

Technical大模型应用开发 ai agentAI Agent开发工程师大模型应用开发工程师机器学习工程师

Transformer在处理超长文本时性能下降,主要是因为自注意力机制的计算复杂度为O(n²)。随着文本长度增加,内存和计算需求急剧增加,导致效率低下。

此外,长文本可能导致信息稀疏,模型难以捕捉上下文关系,影响生成质量。

More Questions

  • 一个完整的 RAG 流水线包含哪些关键步骤?请从数据准备到最终生成,详细描述整个过程。
  • 你如何证明一次 Prompt、模型或检索配置调整带来了改善?
  • 在构建一个复杂的 Agent 时,你认为最主要的挑战是什么?
  • 如何把 Agent 命中率提升到 95%?
  • Attention 机制和传统 Seq2Seq 模型有什么区别?
  • BERT 非线性的来源在哪里?
  • CoT 是啥?为啥效果好呢?有啥缺点?
  • Encoder 编码器与 Decoder 掩码有什么区别?
  • Function Call 是怎么训练的?
  • mcp 是什么?和Function Call 有什么区别?有没有实践过?
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.