sgnlp
Quickstart
Advanced Tutorial
API Reference
models
csgec
emotion_entailment
lsr
rst_pointer
rumour_detection_twitter
sentic_gcn
span_extraction
config
data_class
eval
evaluate_squad
modeling
postprocess
preprocess
tokenization
train
utils
ufd
utils
sgnlp
»
sgnlp
»
models
»
span_extraction
»
utils
»
InputFeatures
View page source
InputFeatures
¶
class
InputFeatures
(
unique_id
,
example_index
,
doc_span_index
,
tokens
,
token_to_orig_map
,
token_is_max_context
,
input_ids
,
input_mask
,
segment_ids
,
cls_index
,
p_mask
,
paragraph_len
,
start_position
=
None
,
end_position
=
None
,
is_impossible
=
None
)
[source]
¶
A single set of features of data.