From 05a2afc2523226d80e110e3e5059f4ee98015958 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Carlos=20Falc=C3=A3o=20Petri?= Date: Fri, 22 Oct 2021 14:04:54 -0300 Subject: [PATCH] Add missing --validation_split_percentage data args (#14119) --- examples/research_projects/wav2vec2/run_pretrain.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/examples/research_projects/wav2vec2/run_pretrain.py b/examples/research_projects/wav2vec2/run_pretrain.py index f0ef04d181..b5a253317f 100755 --- a/examples/research_projects/wav2vec2/run_pretrain.py +++ b/examples/research_projects/wav2vec2/run_pretrain.py @@ -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."},