"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "50f5266b2cbe1c0821d4e32e0c3eb0723dedaa28"
Commit b03872aa authored by thomwolf's avatar thomwolf
Browse files

fix merge

parent 518ba748
......@@ -388,7 +388,7 @@ def evaluate(args, model, tokenizer, prefix=""):
predictions = compute_predictions_logits(examples, features, all_results, args.n_best_size,
args.max_answer_length, args.do_lower_case, output_prediction_file,
output_nbest_file, output_null_log_odds_file, args.verbose_logging,
args.version_2_with_negative, args.null_score_diff_threshold)
args.version_2_with_negative, args.null_score_diff_threshold, tokenizer)
# Compute the F1 and exact scores.
results = squad_evaluate(examples, predictions)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment