InternLM/internlm/data/__init__.py

14 lines
404 B
Python

from .batch_sampler import get_dpsampler_dataloader
from .collaters import jsonl_ds_collate_fn, packed_collate_fn
from .dummy_dataset import RandomDataset
from .packed_dataset import PackedDataset, PackedDatasetWithoutCuSeqlen
__all__ = [
"jsonl_ds_collate_fn",
"packed_collate_fn",
"RandomDataset",
"PackedDataset",
"PackedDatasetWithoutCuSeqlen",
"get_dpsampler_dataloader",
]