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

Splits above 64 not allowed #86

Open
RiemanZeta opened this issue Jul 1, 2018 · 1 comment
Open

Splits above 64 not allowed #86

RiemanZeta opened this issue Jul 1, 2018 · 1 comment

Comments

@RiemanZeta
Copy link

I was trying to train an lstm where the max sequence length is greater than 64. It printed a message that said splits above a length of 64 are not supported yet. Any idea when this will be fixed?

@hughperkins
Copy link
Owner

Not in the near future. The gradients will vanish for long sequences anyway. A fairly standard practice is to run an LSTM on chunks of eg 50 tokens at a time, and then carry forward the cell and hidden state to the next chunk.

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