[Flax] Fix wav2vec2 pretrain arguments (#12498)
This commit is contained in:
@@ -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."},
|
||||||
|
|||||||
Reference in New Issue
Block a user