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

Class InputFeatures

language/boolq/run_bert_boolq.py:154–161  ·  view source on GitHub ↗

A single set of features of data.

Source from the content-addressed store, hash-verified

152
153
154class InputFeatures(object):
155 """A single set of features of data."""
156
157 def __init__(self, input_ids, input_mask, segment_ids, label_id):
158 self.input_ids = input_ids
159 self.input_mask = input_mask
160 self.segment_ids = segment_ids
161 self.label_id = label_id
162
163
164def _create_examples(filename, set_type):

Callers 1

convert_single_exampleFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…