Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

added shuffle disable option in BucketBatchSampler #5212

Merged
merged 2 commits into from
May 19, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update allennlp/data/samplers/bucket_batch_sampler.py
Co-authored-by: Pete <petew@allenai.org>
  • Loading branch information
ArjunSubramonian and epwalsh authored May 19, 2021
commit 1cb7fd274629f3dc11ae23b528baaef810242b00
2 changes: 1 addition & 1 deletion allennlp/data/samplers/bucket_batch_sampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class BucketBatchSampler(BatchSampler):
its size would be less than batch_size`.

shuffle : `bool`, (default = `True`)
If `False`, the sampler won't shuffle the batches. padding_noise will be ignored and set
If `False`, the sampler won't shuffle the batches. `padding_noise` will be ignored and set
to `0.0`.

"""
Expand Down