Error: the example ids in gold annotations and example ids in the prediction are not equal.
Hi, For model evaluation, I ran the code as given in the description: python language/language/question_answering/bert_joint/run_nq.py --logtostderr --bert_config_file=bert-joint-baseline/bert_config.json --vocab_file=bert-joint-baseline/vocab-nq.txt --predict_file=tiny-dev/nq-dev-sample.no-annot.json1.gz --init_checkpoint=bert-joint-baseline/bert_joint.ckpt --do_predict --output_dir=bert_model_output
Which ran successfully and gave me the prediction files in bert_model_output.
I then ran python natural_questions/natural-questions/nq_eval.py --logtostderr --gold_path=tiny-dev/nq-dev-sample.jsonl.gz --predictions_path=bert_model_output/predictions.json
But that gave me the error : ERROR: the example ids in gold annotations and example ids in the prediction are not equal
Could you please tell me what am I doing wrong? Thanks a lot! Urvashi
Ran the code on another machine and it ran successfully. Your codes are super useful!