nn4nlp-code
nn4nlp-code copied to clipboard
Code Samples from Neural Networks for NLP
I would like to know if there are any plans for completing the Pytorch code, and would you accept merge requests from non-class members?
Shouldn't a softmax be added to the model output?
Most files share similar data reading code, like https://github.com/neubig/nn4nlp-code/blob/a9e8be5b101cc1de50f27d918187d6271fc26c8d/01-intro/cbow.py#L18-L22 In most of the examples, the variable `nwords` is used as the effective vocabulary size, for instance, when we allocate parameters...
I've got a few questions about the code "16-reinforce" , so I will just list them out. And hope you can help. line 106 throws an error '_dynet.Expression' object has...
I've got a few questions about the code "16-reinforce" , so I will just list them out. And hope you can help. 1) line 106 throws an error '_dynet.Expression' object...
I've got a few questions about the code, so I will just list them out. And hope some of you can help. 1. In line 166, what is "XENT"? this...
Both language model examples in 06-rnn are lacking generation capability and usage examples. I think those should be added, and the output format changed to be closer to that of...