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.32k stars 3.95k forks source link

A question about seq2seq-torch.py in the 74th line #18

Closed lwgkzl closed 5 years ago

lwgkzl commented 5 years ago

I think there is a small problem in the 74th line of the "seq2seq-torch.py",the dimension of input_batch and output_batch is not [batch_size, max_len, n_hidden] but [batch_size, max_len, n_class]. Or I don't fully understand your code:),please help me,thx~

graykode commented 5 years ago

I will modify and commit this problem. Thanks