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

Method get_dev_examples

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

Source from the content-addressed store, hash-verified

222 return self._create_examples(os.path.join(data_dir, "train.jsonl"), "train")
223
224 def get_dev_examples(self, data_dir):
225 return self._create_examples(os.path.join(data_dir, "val.jsonl"), "dev")
226
227 def get_test_examples(self, data_dir):
228 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