Method
__init__
(self,
example_id,
context_sentence,
start_ending,
endings,
label=None)
Source from the content-addressed store, hash-verified
| 32 | """A single training/test example for the RACE dataset.""" |
| 33 | |
| 34 | def __init__(self, |
| 35 | example_id, |
| 36 | context_sentence, |
| 37 | start_ending, |
| 38 | endings, |
| 39 | label=None): |
| 40 | self.example_id = example_id |
| 41 | self.context_sentence = context_sentence |
| 42 | self.start_ending = start_ending |
| 43 | self.endings = endings |
| 44 | self.label = label |
| 45 | |
| 46 | def __str__(self): |
| 47 | return self.__repr__() |
Tested by
no test coverage detected