CPM-9G-8B/FM_9G/fm9g/dataset/__init__.py

17 lines
597 B
Python

from .distributed_dataset import build_dataset
from .distributed_dataset import DistributedDataset
from .distributed_dataset import SimpleDataset
from .indexed_dataset import IndexedDataset
from .indexed_dataset import IndexedDatasetBuilder
from .indexed_dataset import PrefetchDecodeDataset
# from .list_dataset import ListDataset
from .utils import compact_dataset
from .utils import CudaPrefetcher
from .utils import mask_dataset
from .utils import merge_dataset
from .utils import random_range
from .utils import Range
from .utils import shuffle_dataset
from .utils import ThreadedPrefetcher