mirror of
https://github.com/wassname/alignment-handbook.git
synced 2026-07-11 14:38:52 +08:00
Clean deprecated max_samples arguments (#89)
This commit is contained in:
@@ -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."},
|
||||
|
||||
Reference in New Issue
Block a user