MCPcopy Create free account
hub / github.com/brightmart/multi-label_classification / convert_single_example

Function convert_single_example

run_classifier.py:375–474  ·  view source on GitHub ↗

Converts a single `InputExample` into a single `InputFeatures`.

(ex_index, example, label_list, max_seq_length,
                           tokenizer)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 4

convert_tokens_to_idsMethod · 0.80
InputFeaturesClass · 0.70
_truncate_seq_pairFunction · 0.70
tokenizeMethod · 0.45

Tested by

no test coverage detected