bamattsson / MrRNN

Implementation of Multiresolution Recurrent Neural Network
7 stars 1 forks source link

Hi bamattsson, #1

Open shr-2311 opened 7 years ago

shr-2311 commented 7 years ago

Hi Bamattsson, Thanks for the MrRNN code. It was very useful. I am currently training the model.

How to we test the model with sample dialogues and generate the response? It would be of great help if you could guide me with this.

Thanks in advance

nayansinghal commented 7 years ago

Hi,

We are trying to run your code but loss is neither increasing nor decreasing at all. We have tried a bunch of scenarios: 1) Remove the gradient clipping and using optimizer.minimize() by using learning rate = 100. Since we are not using gradient clipping and learning rate is too high, loss should shoot up but it's neither increasing and decreasing.

Would it be possible for you to point out the problem ?It would be of great help if you could guide me with this.

bamattsson commented 7 years ago

Hi,

Sorry for late response on this. @shr-2311 fun that you've tried it out and that it worked. I have only implemented the MrRNN in training mode and not in generating mode.

So you would have to implement that part. If you don't know how to start on that I would suggest you to look for some other generating decoder on GitHub (for a seq2seq model for example) and try to combine the two codes. Shouldn't be too difficult.

bamattsson commented 7 years ago

@nayansinghal okey, hmm it worked last time I run it. Did you follow the README when running it?

If you want to debug it I've implemented a test data set for that purpose which can be used instead for the full ubuntu data set. Start with that one is my suggestion :)

nayansinghal commented 6 years ago

It worked. The problem was we were using latest version of tensorflow and python and that's why loss was not decreasing.

bamattsson commented 6 years ago

@tysa13 fun that you found this piece of code :)

The code in this repository is only built for training mode, and not generative mode. However, if I wanted to extend it for generative mode I would've done the following steps:

Good luck!

kells94 commented 6 years ago

@bamattsson ,thanks for being awesome ;)

bamattsson commented 6 years ago

@kells94 Thank you! Great if you managed to use it 😄