Unverified Commit a2da2b41 authored by Li Dong's avatar Li Dong Committed by GitHub
Browse files

[bug fix] args.do_lower_case is always True

The "default=True" makes args.do_lower_case always True.

```python
parser.add_argument("--do_lower_case",
                        default=True,
                        action='store_true')
```
parent 35becc6d
...@@ -818,7 +818,6 @@ def main(): ...@@ -818,7 +818,6 @@ def main():
default=1, default=1,
help="Number of updates steps to accumulate before performing a backward/update pass.") help="Number of updates steps to accumulate before performing a backward/update pass.")
parser.add_argument("--do_lower_case", parser.add_argument("--do_lower_case",
default=True,
action='store_true', action='store_true',
help="Whether to lower case the input text. True for uncased models, False for cased models.") help="Whether to lower case the input text. True for uncased models, False for cased models.")
parser.add_argument("--local_rank", parser.add_argument("--local_rank",
......
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