Closed yyHaker closed 4 years ago
I have just solved this problem. You have to set an additional flag: --do_lower_case. I wonder why the run_squad.py behaves differently than run_glue.py, etc. Is there is a code improve on the way?
You shouldn't have to set --do_lower_case
as it should be lowercased by default for that model.
You shouldn't have to set
--do_lower_case
as it should be lowercased by default for that model.
I thought it is and it should be, but it isn't
Closing this b/c #4245 was merged
(we still need to investigate why the lowercasing is not properly populated by the model's config)
π Migration
Information
Model I am using (Bert, XLNet ...):
Language I am using the model on (English...):
The problem arises when using:
The tasks I am working on is:
Details
But I did not reproduce the result reported, the repository say get result bellow:
my result is below:
Environment info
transformers
version:pytorch-transformers
orpytorch-pretrained-bert
version (or branch): current version of transformers.Checklist