Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
d762d428
Commit
d762d428
authored
Feb 26, 2020
by
Martin Malmsten
Browse files
Code now passes style enforcement
parent
9495d38b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
examples/ner/run_ner.py
examples/ner/run_ner.py
+1
-3
No files found.
examples/ner/run_ner.py
View file @
d762d428
...
...
@@ -474,9 +474,7 @@ def main():
parser
.
add_argument
(
"--strip_accents"
,
action
=
"store_const"
,
const
=
True
,
help
=
"Set this flag if model is trained without accents."
)
parser
.
add_argument
(
"--use_fast"
,
action
=
"store_const"
,
const
=
True
,
help
=
"Set this flag to use fast tokenization."
)
parser
.
add_argument
(
"--use_fast"
,
action
=
"store_const"
,
const
=
True
,
help
=
"Set this flag to use fast tokenization."
)
parser
.
add_argument
(
"--per_gpu_train_batch_size"
,
default
=
8
,
type
=
int
,
help
=
"Batch size per GPU/CPU for training."
)
parser
.
add_argument
(
"--per_gpu_eval_batch_size"
,
default
=
8
,
type
=
int
,
help
=
"Batch size per GPU/CPU for evaluation."
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment