word to vector学习笔记

本文解析了word2vec中CBOW和Skip-Gram模型的基本结构和参数更新,包括单词和多词上下文版本,重点介绍了霍夫曼编码和层次softmax、负采样等优化方法。通过《word2vecParameterLearningExplained》等权威参考,深入浅出地讲解了模型训练的数学原理。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Outline:

  1. The General structure and assumption of two model: CBOW and Skip-Gram.
  2. The simplest version of updating parameters—‘One-word context’ version.
    a. 符号表示及优化目标
    b. 隐藏层到输出层的参数更新
    c. 输入层到隐藏层的参数更新
    d. 感性理解
  3. Update parameters version2——‘Multi-word context’ version.
  4. Two ways to improve updating parameters
    a. Huffman code & Hierarchical Softmax
    b. Negative sampling

手写笔记(待补充)

Main Reference:

  1. 《word2vec Parameter Learning Explained》
  2. 《word2vec中的数学》
  3. 《word2vec Explained: Deriving Mikolov et al.’s
    Negative-Sampling Word-Embedding Method》

Other Reference:

  • The three original paper of Tomas Mikolov:
  1. 《Efficient Estimation of Word Representations in Vector Space》
  2. 《Distributed-representations-of-words-and-phrases-and-their-compositionality-Paper》
  3. 《Distributed Representations of Sentences and Documents》

c. https://blog.youkuaiyun.com/u010555997/article/details/76598666
d. https://www.jianshu.com/p/4517181ca9c3
e. https://blog.youkuaiyun.com/lanyu_01/article/details/80097350

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值