Skip to content

Commit 72fece7

Browse files
Add shuffle parameter to Corpus API docs (#10220)
* Add shuffle parameter to Corpus API docs * Update website/docs/api/corpus.md Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com> Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com>
1 parent 63e1e4e commit 72fece7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

website/docs/api/corpus.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ train/test skew.
7979
| `max_length` | Maximum document length. Longer documents will be split into sentences, if sentence boundaries are available. Defaults to `0` for no limit. ~~int~~ |
8080
| `limit` | Limit corpus to a subset of examples, e.g. for debugging. Defaults to `0` for no limit. ~~int~~ |
8181
| `augmenter` | Optional data augmentation callback. ~~Callable[[Language, Example], Iterable[Example]]~~ |
82+
| `shuffle` | Whether to shuffle the examples. Defaults to `False`. ~~bool~~ |
8283
8384
## Corpus.\_\_call\_\_ {#call tag="method"}
8485

0 commit comments

Comments
 (0)