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

Method get_train_examples

baselines/models/classifier_utils.py:782–785  ·  view source on GitHub ↗

See base class.

(self, data_dir)

Source from the content-addressed store, hash-verified

780 """Processor for the internal data set. sentence pair classification"""
781
782 def get_train_examples(self, data_dir):
783 """See base class."""
784 return self._create_examples(
785 self._read_json(os.path.join(data_dir, "train.json")), "train")
786
787 def get_dev_examples(self, data_dir):
788 """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