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

lstm mxnet charRNN #215

Open
aarthireddy opened this issue Mar 13, 2017 · 1 comment
Open

lstm mxnet charRNN #215

aarthireddy opened this issue Mar 13, 2017 · 1 comment

Comments

@aarthireddy
Copy link

Hello,

I am using Mxnet R package and walking through the following tutorial:
http://mxnet.io/tutorials/r/charRnnModel.html

I see that the lstm that was trained is used to generate text. However, is there a way to use the lstm model to evaluate test text?

When using language models, we can use perplexity to evaluate test data. Lower the perplexity, closer the language model to test data. Higher the perplexity, the farther away the language model is to test data.

Is there an equivalent score that can be generated using LSTM?

Thanks,
Aarthi

@pluskid
Copy link
Member

pluskid commented Mar 16, 2017

I'm not very sure if the R API already ported the Module interface. With a Module, you can run the score function to evaluate on a dataset.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants