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

Method get_train_examples

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

Source from the content-addressed store, hash-verified

1356class CLUEWSCProcessor(DataProcessor):
1357
1358 def get_train_examples(self, data_dir):
1359 return self._create_examples(os.path.join(data_dir, "train.json"), "train")
1360
1361 def get_dev_examples(self, data_dir, for_train=False):
1362 return self._create_examples(os.path.join(data_dir, "dev.json"), "dev")

Callers

nothing calls this directly

Calls 1

_create_examplesMethod · 0.95

Tested by

no test coverage detected