Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to train reversed model for RL model #10

Open
bobbercheng opened this issue Mar 7, 2018 · 1 comment
Open

How to train reversed model for RL model #10

bobbercheng opened this issue Mar 7, 2018 · 1 comment
Labels

Comments

@bobbercheng
Copy link

You mentioned "
When training with policy gradient (pg)

you may need a reversed model

the reversed model is also trained by cornell movie-dialogs dataset, but with source and target reversed.
"
Except downloading pre-trained reversed model, could you please tell how to rain it?

Thank you a lot.

@pochih
Copy link
Owner

pochih commented Mar 9, 2018

For instance, if a sample in training set is ('How is the weather?', 'It's sunny.').
To train a reversed model, you need to reverse the data into ('It's sunny.', 'How is the weather?').
That means you need to predict the former sentence using the later sentence.

@pochih pochih added the question label Mar 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants