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

Method get_dev_examples

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

Source from the content-addressed store, hash-verified

130 return self._create_examples(os.path.join(data_dir, "train.jsonl"), "train")
131
132 def get_dev_examples(self, data_dir):
133 return self._create_examples(os.path.join(data_dir, "val.jsonl"), "dev")
134
135 def get_test_examples(self, data_dir):
136 return self._create_examples(os.path.join(data_dir, "test.jsonl"), "test")

Callers 1

load_examplesFunction · 0.45

Calls 1

_create_examplesMethod · 0.95

Tested by

no test coverage detected