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

Method get_train_examples

classifier_utils.py:847–851  ·  view source on GitHub ↗

See base class.

(self, data_dir)

Source from the content-addressed store, hash-verified

845 self.language = "zh"
846
847 def get_train_examples(self, data_dir):
848 """See base class."""
849 return self._create_examples(
850 self._read_json(os.path.join(data_dir, "train.json")), "train")
851 # dev_0827.tsv
852
853 def get_dev_examples(self, data_dir):
854 """See base class."""

Callers

nothing calls this directly

Calls 2

_create_examplesMethod · 0.95
_read_jsonMethod · 0.80

Tested by

no test coverage detected