Giter Site home page Giter Site logo

jaaack-wang / notes-for-stanford-cs224n-nlp-with-deep-learning Goto Github PK

View Code? Open in Web Editor NEW
52.0 1.0 32.0 138.07 MB

Notes for Stanford CS224N: Natural Language Processing with Deep Learning.

Home Page: https://web.stanford.edu/class/archive/cs/cs224n/cs224n.1194/index.html#schedule

Jupyter Notebook 96.26% Shell 0.05% Python 3.69%

notes-for-stanford-cs224n-nlp-with-deep-learning's Issues

Minor formula notation issue for lecture 1 note

Dear Jack,
Thank you so much for this wonderful knowledge share. My encounters with you have made me better in this field!

There are very minor notation issues for lecture 1 note. Others are just perfect!

  1. formula (1), should be given the centor word $w_t$, and the likelihood should be $$Likelihood = L(\theta) = \prod_{t}^{T} \prod_{\substack{-m \leq j \leq m \\ j \neq 0}} P(w_{t+j}|{w_{t}; \theta})$$

The reason to change to $$j \neq0 $$, rather not $$j \neq m$$ is when $j$ is 0, it means the center word $w_t$ itself. Similar issue applies to other formula.

  1. For formula(3), the wording for prediction function should be : function of predicting context word $v_{o}$ , given the center word $v_{c}$ and the vocabulary $V$. Similarly, formula (5), it should be $$J(\mathbf{u_{o} \;|\; v_{c}}) $$
  2. For Partial derivative with regard to $v_c$ section, step 3
    $$\frac{\partial}{\partial \mathbf{v_c}}exp(\mathbf{u_{x}^{T} v_{c}}) = exp(\mathbf{u_{x}^{T} v_{c}}) \cdot \frac{\partial}{\partial \mathbf{v_c}}\mathbf{u_{x}^{T} v_{c}} = exp(\mathbf{u_{x}^{T} v_{c}}) \cdot \mathbf{u_{x}}\tag{Step 3}$$. I think $u_x$ here should indicate a vector $$\mathbf{u_{x}}$$.

Let me know if my understanding is correct or not. Again, thank you for generously sharing your time with community!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.