知识卡片
词向量均值是一种丢词序基线
把句中词向量取平均,可得固定宽度句子表示,简单且便于比较,但丢失词序及许多组合关系。分词、未知词和权重会影响结果,not happy不保证接近unhappy;它也不是Doc2Vec全部训练机制的定义。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
- · 用词嵌入推理
原书出处 · 1 处
- · 查看原书依据
You can apply what you learned about word embeddings from previous sections to create sentence embeddings. You will just average all the embeddings for each word in a sentence to create a single 300D embedding for each sentence.
参考来源
- 位置:《Natural Language Processing in Action, Second Edition》第06章《用词嵌入推理》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Natural Language Processing in Action, Second Edition/_epub-src/OEBPS/Text/chapter-6.html)
- 结论依据:摘录中关于词向量均值是一种丢词序基线的定义、比较或条件支撑卡片;原书表述不严谨的范围已在覆盖记录逐项限定,不把案例结果外推为普遍结论。
- 原始内容:You can apply what you learned about word embeddings from previous sections to create sentence embeddings. You will just average all the embeddings for each word in a sentence to create a single 300D embedding for each sentence.