From 9ce37af99b39fcc0dcb245fbcb63d9d0510f6834 Mon Sep 17 00:00:00 2001 From: thomwolf Date: Tue, 18 Jun 2019 11:47:54 +0200 Subject: [PATCH] oups --- examples/run_squad.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/run_squad.py b/examples/run_squad.py index c3ae8c23b8..d4bfc02556 100644 --- a/examples/run_squad.py +++ b/examples/run_squad.py @@ -895,7 +895,7 @@ def main(): tokenizer = BertTokenizer.from_pretrained(args.bert_model, do_lower_case=args.do_lower_case) # Prepare model - model = BertForQuestionAnswering.from_pretrained(args.bert_model), + model = BertForQuestionAnswering.from_pretrained(args.bert_model) # cache_dir=os.path.join(str(PYTORCH_PRETRAINED_BERT_CACHE), 'distributed_{}'.format(args.local_rank))) if args.fp16: