Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tensorflow/models
/ AnswerSpan
Class
AnswerSpan
official/projects/triviaqa/preprocess.py:97–100 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
95
96
@dataclasses.dataclass
97
class
AnswerSpan(object):
98
begin: int
# inclusive
99
end: int
# inclusive
100
text: Text
101
102
103
def
make_paragraph(
Callers
3
find_answer_spans
Function · 0.85
realign_answer_span
Function · 0.85
_handle_exceptional_examples
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected