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

Method __init__

language/conpono/evals/run_squad.py:162–176  ·  view source on GitHub ↗
(self,
               qas_id,
               question_text,
               doc_tokens,
               orig_answer_text=None,
               start_position=None,
               end_position=None,
               is_impossible=False)

Source from the content-addressed store, hash-verified

160 """
161
162 def __init__(self,
163 qas_id,
164 question_text,
165 doc_tokens,
166 orig_answer_text=None,
167 start_position=None,
168 end_position=None,
169 is_impossible=False):
170 self.qas_id = qas_id
171 self.question_text = question_text
172 self.doc_tokens = doc_tokens
173 self.orig_answer_text = orig_answer_text
174 self.start_position = start_position
175 self.end_position = end_position
176 self.is_impossible = is_impossible
177
178 def __str__(self):
179 return self.__repr__()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected