"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "ac2707e8eeba75a36f17da3888473ce34f2b6785"
Unverified Commit e799e0f1 authored by Akmal's avatar Akmal Committed by GitHub
Browse files

[Flax] Fix wav2vec2 pretrain arguments (#12498)

parent 0e1718af
...@@ -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."},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment