You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to train embedding with the supervised method.But I got this error.
The text was updated successfully, but these errors were encountered:
dengyuning
changed the title
ValueError: On entry to DLASCL parameter number 4 had an illegal value
function whitening_transformation has produced "nan" value
Apr 13, 2019
the svd operation within the whitening_transformation function produce a zero element and then raise a error "divide by zero encountered in true_divide" . Has anyone met the same problem?
u, s, vt = xp.linalg.svd(m, full_matrices=False) vt.T.dot(xp.diag(1/s)).dot(vt)
What is your vocabulary size? SVD should only produce a 0 value if the rank of the embedding matrix is lower than the dimensionality (i.e. you have less vocabulary entries than the number of dimensions, which should never happen in realistic settings).
I have got a Chinese word embedding which contains 1292607 words and a English word embedding which contains 400000 words. The dimension of them are both 300. I have got a dictionary which contains 20811 word pairs. Is that OK ? Is there anything else that I need to pay attention to ?
I try to train embedding with the supervised method.But I got this error.
The text was updated successfully, but these errors were encountered: