CPM-9G-8B/9G-Train/cpm/dataset/__init__.py

16 lines
594 B
Python
Raw Normal View History

2024-02-27 14:33:33 +08:00
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