boyu-ai / Hands-on-NLP

https://hnlp.boyuai.com
Apache License 2.0
31 stars 6 forks source link

P.96 RNNDecoder 代码疑似出错 #4

Open Pauldev2014 opened 2 weeks ago

Pauldev2014 commented 2 weeks ago

P.96 RNNDecoder 的 forward_step() 中, self.out(output),应该是 self.linear(output),好像没有 self.out,只有 self.linear 一个线性层。

Atomu2014 commented 2 weeks ago

是的,我们会在后续版本修复这个错误