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

Method get_test_examples

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

Source from the content-addressed store, hash-verified

304 return self._create_examples(os.path.join(data_dir, "val.jsonl"), "dev")
305
306 def get_test_examples(self, data_dir):
307 if self.few_superglue:
308 return self._create_examples(os.path.join(data_dir, "val.jsonl"), "test")
309 else:
310 return self._create_examples(os.path.join(data_dir, "test.jsonl"), "test")
311
312 def get_unlabeled_examples(self, data_dir):
313 return self._create_examples(os.path.join(data_dir, "unlabeled.jsonl"), "unlabeled")

Callers

nothing calls this directly

Calls 1

_create_examplesMethod · 0.95

Tested by

no test coverage detected