Skip to content

Commit

Permalink
Update question_answering_model.py
Browse files Browse the repository at this point in the history
  • Loading branch information
flozi00 authored Jun 20, 2020
1 parent 92338b5 commit 6091476
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def __init__(self, model_type, model_name, args=None, use_cuda=True, cuda_device
self.results = {}

self.tokenizer = tokenizer_class.from_pretrained(
model_name, do_lower_case=self.args["do_lower_case"], truncation = True, **kwargs
model_name, do_lower_case=self.args["do_lower_case"], **kwargs
)

self.args["model_name"] = model_name
Expand Down

0 comments on commit 6091476

Please sign in to comment.