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

17 lines
597 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
2024-07-15 14:27:10 +08:00
# from .list_dataset import ListDataset
2024-02-27 14:33:33 +08:00
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