MCPcopy Create free account
hub / github.com/tensorflow/models / Features

Class Features

official/projects/triviaqa/preprocess.py:78–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76
77@dataclasses.dataclass
78class Features(object):
79 id: Text
80 stride_index: int
81 question_id: Text
82 question: Text
83 context: bytes
84 token_ids: List[int]
85 token_offsets: List[int]
86 global_token_ids: List[int]
87 segment_ids: List[int]
88
89
90@dataclasses.dataclass

Callers 1

_make_featuresMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected