MCPcopy Create free account
hub / github.com/THUDM/P-tuning / get_dev_examples

Method get_dev_examples

PT-Fewshot/data_utils/task_processors.py:304–305  ·  view source on GitHub ↗
(self, data_dir)

Source from the content-addressed store, hash-verified

302 return self._create_examples(os.path.join(data_dir, "train.jsonl"), "train")
303
304 def get_dev_examples(self, data_dir):
305 return self._create_examples(os.path.join(data_dir, "val.jsonl"), "dev")
306
307 def get_test_examples(self, data_dir):
308 return self._create_examples(os.path.join(data_dir, "test.jsonl"), "test")

Callers

nothing calls this directly

Calls 1

_create_examplesMethod · 0.95

Tested by

no test coverage detected