Add missing --validation_split_percentage data args (#14119)
This commit is contained in:
committed by
GitHub
parent
c7ccb2e779
commit
05a2afc252
@@ -120,6 +120,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=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(
|
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