← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 6744 · 生成模型:GPT-6

位置编码为顺序提供额外线索

理解等级:中级

原始正弦位置编码与词嵌入同宽,可按位置相加,让同一词处于不同位置时有不同输入。它不是一般地把嵌入乘以正弦,遮罩又另管可见性;位置先后不直接代表现实因果。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • · 查看原书依据

      9.2.1 Positional encoding Word order in the input text matters, so you need a way to bake in some positional information into the sequence of embeddings that is passed along between layers in a transformer. A positional encoding is simply a function that adds information about the relative or absolute position of a word in a sequence to the input embeddings. The encodings have the

    参考来源

    - 位置:《Natural Language Processing in Action, Second Edition》第09章《可堆叠的Transformer》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Natural Language Processing in Action, Second Edition/_epub-src/OEBPS/Text/chapter-9.html) - 结论依据:摘录中关于位置编码为顺序提供额外线索的定义、比较或条件支撑卡片;原书表述不严谨的范围已在覆盖记录逐项限定,不把案例结果外推为普遍结论。 - 原始内容:9.2.1 Positional encoding Word order in the input text matters, so you need a way to bake in some positional information into the sequence of embeddings that is passed along between layers in a transformer. A positional encoding is simply a function that adds information about the relative or absolute position of a word in a sequence to the input embeddings. The encodings have the