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

Method prepare_data

t-few/src/data/data_module.py:15–19  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

13 self.dataset_reader = dataset_reader
14
15 def prepare_data(self):
16 # download, split, etc...
17 # only called on 1 GPU/TPU in distributed
18 if self.config.few_shot:
19 _ = self.dataset_reader.read_few_shot_dataset()
20
21 def setup(self, stage):
22 # make assignments here (val/train/test split)

Callers

nothing calls this directly

Calls 1

read_few_shot_datasetMethod · 0.80

Tested by

no test coverage detected