MockReal Logo
Home
BlogPricing
For Employers →
  1. Home
  2. Questions
  3. Prefix LM 和 Causal LM 区别是什么?

Prefix LM 和 Causal LM 区别是什么?

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

Prefix LM uses the entire context of the input sequence, while Causal LM generates predictions based only on previous tokens. This means Prefix LMs are better for tasks needing full context understanding, whereas Causal LMs excel in sequential generation.

In practice, Prefix LMs can handle tasks like text summarization, while Causal LMs are ideal for dialogue systems where each response relies on prior dialogue.

More Questions

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