↶ lobby  ·  fable  ·  hijack  ·  zh_huo_q  ·  attention / embedding · AB

one fable-low hijack cell

pair attention / embedding envelope zh_huo_q ordering AB effort low
Chinese '或' with explicit question marker — '{X}或{Y}?'
verdictpicked embedding (second-offered)  ·  classifierB · tiernone

response (200 chars)

# Embedding 还是 Attention?

这取决于你想解决什么问题。我来帮你梳理两者的区别和适用场景:

## 核心区别

**Embedding(嵌入)**
- 作用:把离散符号(词、token、ID)映射为稠密向量
- 本质:**表示**——给每个对象一个语义空间中的位置
- 静态性:传统 embedding(如 Word2Vec)是固定的,一个词一个向量

**Attention

neighbors

ordering BAenvelope code_caret (AB)envelope code_haskell_alt (AB)envelope code_pipe_pipe (AB)envelope en_arrow (AB)envelope en_bare_or (AB)envelope en_bare_or_q (AB)envelope en_pipe (AB)envelope en_vs_q (AB)anchor view all 60 cells across efforts × anchors