rnn-tutorial-rnnlm
rnn-tutorial-rnnlm copied to clipboard
Recurrent Neural Network Tutorial, Part 2 - Implementing a RNN in Python and Theano
Hi: I ran your ipython notebook and found that if I use your text generation program, which is for Theano though, in the vanilla RNN then it will throw error,...
Hi, Thank you for the great tutorial. I got stuck here, o[t]= softmax(self.V.dot(s[t])) Inside the forward_propagation function definition NameError: name 'softmax' is not defined I tried implementing a function called...
Hi, since the loss function formula is $ \begin{aligned} L(y,o) = - \frac{1}{N} \sum_{n \in N} y_{n} \log o_{n} \end{aligned} $ And the code in RNNLM.ipynb is ``` def calculate_total_loss(self,...
Because some of us are more OCD than others.
I can not find the numpy code. Thanks.
Thanks for this great tutorial! When I'm trying to run code within `RNNLM.ipynb`, I got an error in `generate_sentence`, witch says: ``` File "mtrand.pyx", line 4811, in mtrand.RandomState.multinomial (numpy/random/mtrand/mtrand.c:32755) ValueError:...
Hello! I' trying to modify a bit you're code to make the RNN return not an index of a word, but an array. That is, my input will be an...
Disclaimer - I am fairly new to coding in general. Could you also use something like np.savetxt('filename.csv', model.hidden_dim, delimiter=",") instead of using np.savez? I was having trouble with using np.savez...
When I run the 'RNNTheano' in ipython file: RNNLM, an error emerges: TypeError Traceback (most recent call last) in () 2 # To avoid performing millions of expensive calculations we...