MCPcopy Create free account
hub / github.com/clinicalml/TabLLM / __init__

Method __init__

t-few/src/data/data_module.py:127–131  ·  view source on GitHub ↗
(self, config, tokenizer, dataset_reader)

Source from the content-addressed store, hash-verified

125
126class PretrainDataModule(LightningDataModule):
127 def __init__(self, config, tokenizer, dataset_reader):
128 super().__init__()
129 self.config = config
130 self.tokenizer = tokenizer
131 self.dataset_reader = dataset_reader
132
133 def setup(self, stage):
134 self.train_datasets = self.dataset_reader.read_orig_dataset("train")

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected