MCPcopy Create free account
hub / github.com/brightmart/albert_zh / get_dev_examples

Method get_dev_examples

classifier_utils.py:145–148  ·  view source on GitHub ↗

See base class.

(self, data_dir)

Source from the content-addressed store, hash-verified

143 self._read_json(os.path.join(data_dir, "train.json")), "train")
144
145 def get_dev_examples(self, data_dir):
146 """See base class."""
147 return self._create_examples(
148 self._read_json(os.path.join(data_dir, "dev.json")), "dev")
149
150 def get_test_examples(self, data_dir):
151 """See base class."""

Callers

nothing calls this directly

Calls 2

_create_examplesMethod · 0.95
_read_jsonMethod · 0.80

Tested by

no test coverage detected