Encoder-only、Decoder-only、Encoder-Decoder 各适合什么任务?

一句话速记:Encoder 擅长理解(分类/抽取),Decoder 擅长生成,Enc-Dec 擅长输入输出差异大的条件生成(翻译/摘要)。

架构

同章节的其他八股