MCPcopy Create free account
hub / github.com/THUDM/GLM / get_train_examples

Method get_train_examples

tasks/superglue/dataset.py:919–920  ·  view source on GitHub ↗
(self, data_dir)

Source from the content-addressed store, hash-verified

917
918class CLUEProcessor(DataProcessor):
919 def get_train_examples(self, data_dir):
920 return self._create_examples(os.path.join(data_dir, "train.json"), "train")
921
922 def get_dev_examples(self, data_dir, for_train=False):
923 return self._create_examples(os.path.join(data_dir, "dev.json"), "dev")

Callers

nothing calls this directly

Calls 1

_create_examplesMethod · 0.45

Tested by

no test coverage detected