# Is there a sequence data loader in pytorch?

**URL:** <https://discuss.pytorch.org/t/is-there-a-sequence-data-loader-in-pytorch/60723>\
**Category:** Uncategorized\
**Created:** [November 12, 2019, 9:01am UTC](https://discuss.pytorch.org/t/is-there-a-sequence-data-loader-in-pytorch/60723 "2019-11-12T09:01:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tastyminerals](https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/tastyminerals/32/409_2.png) [@tastyminerals](https://discuss.pytorch.org/u/tastyminerals)\
**Post date:** [November 12, 2019, 9:01am UTC](https://discuss.pytorch.org/t/is-there-a-sequence-data-loader-in-pytorch/60723/1 "2019-11-12T09:01:06Z")

</div>

Back in the days `Torch` had a [nice collection](https://github.com/Element-Research/dataload) of data loaders. In sequence modeling for getting the `[25 x 32 x 100]` tensor for RNN training I used `SequenceLoader` which accepted `(sequence, batchsize, bidirectional)` parameters where `25` is a sequence length, `32` is the batch size and `100` is the embedding size. Quickly skimming through current `torch.utils.data` docs I found nothing for sequence, maybe I am not seeing it but how do you do sequence batching in pytorch now?
