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

Method get_dev_examples

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

Source from the content-addressed store, hash-verified

182 return self._create_examples(os.path.join(data_dir, "train.jsonl"), "train")
183
184 def get_dev_examples(self, data_dir):
185 return self._create_examples(os.path.join(data_dir, "val.jsonl"), "dev")
186
187 def get_test_examples(self, data_dir):
188 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