MCPcopy Create free account
hub / github.com/THUDM/GLM / get_train_examples

Method get_train_examples

tasks/superglue/dataset.py:243–245  ·  view source on GitHub ↗

Get a collection of `InputExample`s for the train set.

(self, data_dir)

Source from the content-addressed store, hash-verified

241
242 @abstractmethod
243 def get_train_examples(self, data_dir) -> List[InputExample]:
244 """Get a collection of `InputExample`s for the train set."""
245 pass
246
247 @abstractmethod
248 def get_dev_examples(self, data_dir, for_train=False) -> List[InputExample]:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected