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

Batch Data Loading and Processing #7

Closed
manasRK opened this issue Jun 6, 2017 · 1 comment
Closed

Batch Data Loading and Processing #7

manasRK opened this issue Jun 6, 2017 · 1 comment

Comments

@manasRK
Copy link

manasRK commented Jun 6, 2017

Any plan to convert some of the code base (like the LSTM/NER) to allow for minibatch processing?
Currently, all of them take one instance at a time. Any pointers in that regard would be useful as well.

@rguthrie3
Copy link
Owner

Typically, minibatching adds a substantial amount of confusion in the implementation, since one has to keep track of what each axis of your tensors means. Since this is a tutorial, I intentionally did not use minibatching because I wanted to avoid making it substantially more confusing without much return on educational value. So I don't plan to do anything about minibatching in this tutorial. I don't have any specific tips for implementing minibatching. It is just about staying organized and clean with how you arrange your tensors.

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