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

Method get_train_examples

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

Source from the content-addressed store, hash-verified

1160class Sst2Processor(DataProcessor):
1161
1162 def get_train_examples(self, data_dir):
1163 return self._create_examples(os.path.join(data_dir, "train.tsv"), "train")
1164
1165 def get_dev_examples(self, data_dir, for_train=False):
1166 return self._create_examples(os.path.join(data_dir, "dev.tsv"), "dev")

Callers

nothing calls this directly

Calls 1

_create_examplesMethod · 0.95

Tested by

no test coverage detected