cerebras.modelzoo.data.nlp.gpt.DummyDataProcessor.DummyDataset#

class cerebras.modelzoo.data.nlp.gpt.DummyDataProcessor.DummyDataset[source]#

Bases: torch.utils.data.Dataset

A Dummy map-style torch.utils.data.Dataset.

Methods

__init__()[source]#
__call__(*args: Any, **kwargs: Any) Any#

Call self as a function.

static __new__(cls, *args: Any, **kwargs: Any) Any#