We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b72aa7e commit ceded4bCopy full SHA for ceded4b
model_zoo/ernie-gen/train.py
@@ -134,7 +134,7 @@
134
default=-1,
135
type=int,
136
help=
137
- "If > 0: set total number of training steps to perform. Override num_train_epochs."
+ "If > 0: set total number of training steps to perform. Override num_epochs."
138
)
139
140
args = parser.parse_args()
@@ -270,7 +270,7 @@ def train():
270
train_model = paddle.DataParallel(train_model)
271
272
num_training_steps = args.max_steps if args.max_steps > 0 else len(
273
- train_data_loader) * args.num_train_epochs
+ train_data_loader) * args.num_epochs
274
275
lr_scheduler = LinearDecayWithWarmup(args.learning_rate, num_training_steps,
276
args.warmup_proportion)
0 commit comments