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
e799e0f1
Unverified
Commit
e799e0f1
authored
Jul 05, 2021
by
Akmal
Committed by
GitHub
Jul 05, 2021
Browse files
[Flax] Fix wav2vec2 pretrain arguments (#12498)
parent
0e1718af
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
examples/research_projects/jax-projects/wav2vec2/run_wav2vec2_pretrain_flax.py
...jects/jax-projects/wav2vec2/run_wav2vec2_pretrain_flax.py
+6
-0
No files found.
examples/research_projects/jax-projects/wav2vec2/run_wav2vec2_pretrain_flax.py
View file @
e799e0f1
...
@@ -101,6 +101,12 @@ class DataTrainingArguments:
...
@@ -101,6 +101,12 @@ class DataTrainingArguments:
overwrite_cache
:
bool
=
field
(
overwrite_cache
:
bool
=
field
(
default
=
False
,
metadata
=
{
"help"
:
"Overwrite the cached preprocessed datasets or not."
}
default
=
False
,
metadata
=
{
"help"
:
"Overwrite the cached preprocessed datasets or not."
}
)
)
validation_split_percentage
:
Optional
[
int
]
=
field
(
default
=
5
,
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
(
preprocessing_num_workers
:
Optional
[
int
]
=
field
(
default
=
None
,
default
=
None
,
metadata
=
{
"help"
:
"The number of processes to use for the preprocessing."
},
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