graykode / nlp-tutorial

Natural Language Processing Tutorial for Deep Learning Researchers
https://www.reddit.com/r/MachineLearning/comments/amfinl/project_nlptutoral_repository_who_is_studying/
MIT License
14.07k stars 3.91k forks source link

If create the Linear() casually, it won't be trained during training. #29

Open yangdechuan opened 5 years ago

yangdechuan commented 5 years ago

https://github.com/graykode/nlp-tutorial/blob/3b3a80dc63e69935731bcf09c951eb371692af8f/5-1.Transformer/Transformer(Greedy_decoder)-Torch.py#L98

graykode commented 5 years ago

Thanks for sharp caught Could you contribute for that? Also it contains jupyter file corresponding to code