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 want to realize the code that simple Skip-gram model fit training data. So I try to it, unlike CBOW training code, I encountered the error.
At first, I used this trainer.py, simple_skip_gram.py and I run the below training code like train.py(this train.py can be run by SImple CBOW model)
After running this fixed code, I succeed in Skip-gram training code. but contrast with SimpleCBOW, the loss value is higher and can't decrease it. I wanna check that my code is right.. Under this circumstance, the reason why my simple Skip-gram model has high loss is just very small corpus..?
If my fixed code is unright, how to revise original code? Please reply to me. I am learning much from your book. Thanks!
The text was updated successfully, but these errors were encountered:
I want to realize the code that simple Skip-gram model fit training data. So I try to it, unlike CBOW training code, I encountered the error.
At first, I used this
trainer.py
,simple_skip_gram.py
and I run the below training code liketrain.py
(thistrain.py
can be run by SImple CBOW model)but this code occur this error
So, I find this error because of
Matmul
class oflayer.py
and I fix it from origin Matmul class oflayer.py
like below.After running this fixed code, I succeed in Skip-gram training code. but contrast with SimpleCBOW, the loss value is higher and can't decrease it. I wanna check that my code is right.. Under this circumstance, the reason why my simple Skip-gram model has high loss is just very small corpus..?
If my fixed code is unright, how to revise original code? Please reply to me. I am learning much from your book. Thanks!
The text was updated successfully, but these errors were encountered: