modelzoo.transformers.pytorch.bert.fine_tuning.qa.run_prediction#

Functions

get_final_text

Project the tokenized prediction back to the original text.

main

parse_args

write_predictions

Write final predictions to the json file and log-odds of null if needed.

Classes

RawResult

RawResult(unique_id, start_logits, end_logits)