mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-31 02:02:21 +06:00
remove unused arguments in example scripts
This commit is contained in:
parent
7c91e51c26
commit
aa50fd196f
@ -396,10 +396,6 @@ def main():
|
||||
type=float,
|
||||
help="Proportion of training to perform linear learning rate warmup for. "
|
||||
"E.g., 0.1 = 10%% of training.")
|
||||
parser.add_argument("--save_checkpoints_steps",
|
||||
default=1000,
|
||||
type=int,
|
||||
help="How often to save the model checkpoint.")
|
||||
parser.add_argument("--no_cuda",
|
||||
default=False,
|
||||
action='store_true',
|
||||
|
@ -729,10 +729,6 @@ def main():
|
||||
parser.add_argument("--warmup_proportion", default=0.1, type=float,
|
||||
help="Proportion of training to perform linear learning rate warmup for. E.g., 0.1 = 10% "
|
||||
"of training.")
|
||||
parser.add_argument("--save_checkpoints_steps", default=1000, type=int,
|
||||
help="How often to save the model checkpoint.")
|
||||
parser.add_argument("--iterations_per_loop", default=1000, type=int,
|
||||
help="How many steps to make in each estimator call.")
|
||||
parser.add_argument("--n_best_size", default=20, type=int,
|
||||
help="The total number of n-best predictions to generate in the nbest_predictions.json "
|
||||
"output file.")
|
||||
|
Loading…
Reference in New Issue
Block a user