↓ 2 callersFunctionpreprocess_and_writeReads the dataset, extracts context, question, answer, tokenizes them, and calculates answer span in terms of token indices. Note: due to toke
code/preprocessing/squad_preprocess.py:151
↓ 2 callersMethodsave_model(self, model, optimizer, loss, global_step, epoch, model_dir)
code/process_training.py:72
↓ 1 callersFunctiongenerate_answers(config, model, processor, qn_uuid_data, context_token_data, qn_token_data)
code/data_util/official_eval_helper.py:225