MCPcopy Create free account
hub / github.com/Ugness/ELF-pytorch / __init__

Method __init__

pytorch_lightning/lightning_module.py:353–358  ·  view source on GitHub ↗
(self, config: Config, tokenizer)

Source from the content-addressed store, hash-verified

351# -----------------------------------------------------------------------------
352class ELFDataModule(L.LightningDataModule):
353 def __init__(self, config: Config, tokenizer):
354 super().__init__()
355 self.cfg = config
356 self.tokenizer = tokenizer
357 self._train_dataset = None
358 self._eval_dataset = None
359
360 def setup(self, stage=None):
361 if self._train_dataset is None:

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected