nmrksic / counter-fitting

Counter-fitting Word Vectors to Linguistic Constraints
Apache License 2.0
145 stars 28 forks source link

the partial derivative of loss function #7

Open lshowway opened 5 years ago

lshowway commented 5 years ago

the partial derivative of AR,SA,VSP are computed as follows: if normalised_vectors: gradient = u * dot(u,v) - v

is that right?the only parameter is v',right? both v'i and v'j should be computed partial derivatives,right?