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
5fe36970
Unverified
Commit
5fe36970
authored
Aug 07, 2023
by
Phuc Van Phan
Committed by
GitHub
Aug 07, 2023
Browse files
Adding more information in help parser on train_file and validation_file (#25324)
chorse: adding new doc on train and val
parent
baf1daa5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
examples/pytorch/language-modeling/run_clm_no_trainer.py
examples/pytorch/language-modeling/run_clm_no_trainer.py
+2
-2
No files found.
examples/pytorch/language-modeling/run_clm_no_trainer.py
View file @
5fe36970
...
@@ -82,10 +82,10 @@ def parse_args():
...
@@ -82,10 +82,10 @@ def parse_args():
help
=
"The configuration name of the dataset to use (via the datasets library)."
,
help
=
"The configuration name of the dataset to use (via the datasets library)."
,
)
)
parser
.
add_argument
(
parser
.
add_argument
(
"--train_file"
,
type
=
str
,
default
=
None
,
help
=
"A csv or a json file containing the training data."
"--train_file"
,
type
=
str
,
default
=
None
,
help
=
"A csv
, txt
or a json file containing the training data."
)
)
parser
.
add_argument
(
parser
.
add_argument
(
"--validation_file"
,
type
=
str
,
default
=
None
,
help
=
"A csv or a json file containing the validation data."
"--validation_file"
,
type
=
str
,
default
=
None
,
help
=
"A csv
, txt
or a json file containing the validation data."
)
)
parser
.
add_argument
(
parser
.
add_argument
(
"--validation_split_percentage"
,
"--validation_split_percentage"
,
...
...
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