Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
06510ccb
Commit
06510ccb
authored
Aug 23, 2019
by
thomwolf
Browse files
typo
parent
3bcbebd4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/run_lm_finetuning.py
examples/run_lm_finetuning.py
+1
-1
No files found.
examples/run_lm_finetuning.py
View file @
06510ccb
...
@@ -324,7 +324,7 @@ def main():
...
@@ -324,7 +324,7 @@ def main():
parser
.
add_argument
(
"--block_size"
,
default
=-
1
,
type
=
int
,
parser
.
add_argument
(
"--block_size"
,
default
=-
1
,
type
=
int
,
help
=
"Optional input sequence length after tokenization."
help
=
"Optional input sequence length after tokenization."
"The training dataset will be truncated in block of this size for training."
"The training dataset will be truncated in block of this size for training."
"Default to the model max input length fo single sentence
s
inputs (take into account special tokens)."
)
"Default to the model max input length fo
r
single sentence inputs (take into account special tokens)."
)
parser
.
add_argument
(
"--do_train"
,
action
=
'store_true'
,
parser
.
add_argument
(
"--do_train"
,
action
=
'store_true'
,
help
=
"Whether to run training."
)
help
=
"Whether to run training."
)
parser
.
add_argument
(
"--do_eval"
,
action
=
'store_true'
,
parser
.
add_argument
(
"--do_eval"
,
action
=
'store_true'
,
...
...
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