注意力机制(Attention) Attention Mechanism

Transformer 的核心计算:衡量每个词该「关注」句中哪些其他词,从而处理指代与长距离依赖。上下文越长,这部分开销增长越快。

相关术语