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
05a2afc2
Unverified
Commit
05a2afc2
authored
Oct 22, 2021
by
Antonio Carlos Falcão Petri
Committed by
GitHub
Oct 22, 2021
Browse files
Add missing --validation_split_percentage data args (#14119)
parent
c7ccb2e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
examples/research_projects/wav2vec2/run_pretrain.py
examples/research_projects/wav2vec2/run_pretrain.py
+6
-0
No files found.
examples/research_projects/wav2vec2/run_pretrain.py
View file @
05a2afc2
...
...
@@ -120,6 +120,12 @@ class DataTrainingArguments:
overwrite_cache
:
bool
=
field
(
default
=
False
,
metadata
=
{
"help"
:
"Overwrite the cached preprocessed datasets or not."
}
)
validation_split_percentage
:
Optional
[
int
]
=
field
(
default
=
1
,
metadata
=
{
"help"
:
"The percentage of the train set used as validation set in case there's no validation split"
},
)
preprocessing_num_workers
:
Optional
[
int
]
=
field
(
default
=
None
,
metadata
=
{
"help"
:
"The number of processes to use for the preprocessing."
},
...
...
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