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
d6175a42
Commit
d6175a42
authored
Oct 12, 2020
by
sgugger
Browse files
Fix code quality
parent
1d5ea34f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
examples/language-modeling/run_language_modeling.py
examples/language-modeling/run_language_modeling.py
+4
-3
No files found.
examples/language-modeling/run_language_modeling.py
View file @
d6175a42
...
@@ -91,10 +91,11 @@ class DataTrainingArguments:
...
@@ -91,10 +91,11 @@ class DataTrainingArguments:
default
=
None
,
metadata
=
{
"help"
:
"The input training data file (a text file)."
}
default
=
None
,
metadata
=
{
"help"
:
"The input training data file (a text file)."
}
)
)
train_data_files
:
Optional
[
str
]
=
field
(
train_data_files
:
Optional
[
str
]
=
field
(
default
=
None
,
metadata
=
{
default
=
None
,
metadata
=
{
"help"
:
"The input training data files (multiple files in glob format). "
"help"
:
"The input training data files (multiple files in glob format). "
"Very often splitting large files to smaller files can prevent tokenizer going out of memory"
"Very often splitting large files to smaller files can prevent tokenizer going out of memory"
}
}
,
)
)
eval_data_file
:
Optional
[
str
]
=
field
(
eval_data_file
:
Optional
[
str
]
=
field
(
default
=
None
,
default
=
None
,
...
...
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