MCPcopy Create free account
hub / github.com/CLUEbenchmark/CLUE / get_train_examples

Method get_train_examples

baselines/models/classifier_utils.py:408–411  ·  view source on GitHub ↗

See base class.

(self, data_dir)

Source from the content-addressed store, hash-verified

406 """Processor for the CSL data set."""
407
408 def get_train_examples(self, data_dir):
409 """See base class."""
410 return self._create_examples(
411 self._read_json(os.path.join(data_dir, "train.json")), "train")
412
413 def get_dev_examples(self, data_dir):
414 """See base class."""

Callers

nothing calls this directly

Calls 3

_create_examplesMethod · 0.95
joinMethod · 0.80
_read_jsonMethod · 0.45

Tested by

no test coverage detected