mirror of
https://github.com/facebookresearch/fairseq.git
synced 2024-09-11 17:25:31 +03:00
41 lines
703 B
ReStructuredText
41 lines
703 B
ReStructuredText
.. role:: hidden
|
|
:class: hidden-section
|
|
|
|
.. module:: fairseq.data
|
|
|
|
Data Loading and Utilities
|
|
==========================
|
|
|
|
.. _datasets:
|
|
|
|
Datasets
|
|
--------
|
|
|
|
**Datasets** define the data format and provide helpers for creating
|
|
mini-batches.
|
|
|
|
.. autoclass:: fairseq.data.FairseqDataset
|
|
:members:
|
|
.. autoclass:: fairseq.data.LanguagePairDataset
|
|
:members:
|
|
.. autoclass:: fairseq.data.MonolingualDataset
|
|
:members:
|
|
|
|
|
|
Dictionary
|
|
----------
|
|
|
|
.. autoclass:: fairseq.data.Dictionary
|
|
:members:
|
|
|
|
|
|
Iterators
|
|
---------
|
|
|
|
.. autoclass:: fairseq.data.CountingIterator
|
|
:members:
|
|
.. autoclass:: fairseq.data.EpochBatchIterator
|
|
:members:
|
|
.. autoclass:: fairseq.data.ShardedIterator
|
|
:members:
|