modelzoo.transformers.data_processing.qa.qa_utils#
Functions
Loads a data file into a list of `InputBatch`s. |
|
Read a SQuAD json file into a list of SquadExample. |
Classes
InputFeatures(unique_id, example_index, doc_span_index, tokens, token_to_orig_map, token_is_max_context, input_ids, input_mask, segment_ids, start_position, end_position, is_impossible) |
|
A single training/test example for simple sequence classification. |