Clean deprecated max_samples arguments (#89)

This commit is contained in:
Kirill
2024-01-05 02:06:47 +04:00
committed by GitHub
parent e316174e1c
commit 98fe28fb14
3 changed files with 4 additions and 30 deletions
-18
View File
@@ -197,24 +197,6 @@ class DataArguments:
default_factory=lambda: ["train", "test"],
metadata={"help": ("List of train test splits to use in the dataset")},
)
max_train_samples: Optional[int] = field(
default=None,
metadata={
"help": (
"For debugging purposes or quicker training, truncate the number of training examples to this "
"value if set."
)
},
)
max_eval_samples: Optional[int] = field(
default=None,
metadata={
"help": (
"For debugging purposes or quicker training, truncate the number of evaluation examples to this "
"value if set."
)
},
)
preprocessing_num_workers: Optional[int] = field(
default=None,
metadata={"help": "The number of processes to use for the preprocessing."},