知识卡片
词表更新取决于保存状态与接口
加入词项确会扩展词表与嵌入参数,但并非一律从头重训。支持词表更新的完整Word2Vec可先更新词表再继续训练;只有词向量表的查询对象缺少必要训练状态。操作后还需重新评价旧词与新词的表示。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
- · 用词嵌入推理
原书出处 · 1 处
- · 查看原书依据
What about incremental or online training? Both LSA and Word2Vec algorithms allow adding new documents to your corpus and adjusting your existing word vectors to account for the co-occurrences in the new documents, but only the existing “bins” in your lexicon can be updated. Adding completely new words would change the total size of your vocabulary; therefore, your one-hot vectors would change. That requires starting
参考来源
- 位置:《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)
- 结论依据:摘录中关于词表更新取决于保存状态与接口的定义、比较或条件支撑卡片;原书表述不严谨的范围已在覆盖记录逐项限定,不把案例结果外推为普遍结论。
- 原始内容:What about incremental or online training? Both LSA and Word2Vec algorithms allow adding new documents to your corpus and adjusting your existing word vectors to account for the co-occurrences in the new documents, but only the existing “bins” in your lexicon can be updated. Adding completely new words would change the total size of your vocabulary; therefore, your one-hot vectors would change. That requires starting