MCPcopy Create free account
hub / github.com/google-research/language / __init__

Method __init__

language/conpono/evals/race_utils.py:34–44  ·  view source on GitHub ↗
(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__()

Callers 1

__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected