← 返回刚才阅读的位置

知识卡片

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

填充不是天然无影响的词

理解等级:中级

padding_idx可使指定嵌入行不因普通梯度更新,常用零向量;卷积偏置及跨填充窗口仍可能产生响应。需在池化等环节考虑有效位置,不能把PAD当有可学习填充情感的普通词,或认定零向量绝不干扰。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • · 查看原书依据

      You can choose any symbol you like to represent the padding token. Many people use the token <PAD> because it doesn’t exist in any natural language dictionary, and most English-speaking NLP engineers will be able to guess what <PAD> means. Your NLP pipeline will see that these tokens are repeated a lot at the end of many strings, which will help it create the appropriate

    参考来源

    - 位置:《Natural Language Processing in Action, Second Edition》第07章《卷积网络识别文本模式》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Natural Language Processing in Action, Second Edition/_epub-src/OEBPS/Text/chapter-7.html) - 结论依据:摘录中关于填充不是天然无影响的词的定义、比较或条件支撑卡片;原书表述不严谨的范围已在覆盖记录逐项限定,不把案例结果外推为普遍结论。 - 原始内容:You can choose any symbol you like to represent the padding token. Many people use the token <PAD> because it doesn’t exist in any natural language dictionary, and most English-speaking NLP engineers will be able to guess what <PAD> means. Your NLP pipeline will see that these tokens are repeated a lot at the end of many strings, which will help it create the appropriate