From a9fe1e819fa67e2b0863ab1199e3603921c2dbb0 Mon Sep 17 00:00:00 2001 From: chunduriv <74177924+chunduriv@users.noreply.github.com> Date: Sat, 11 Jun 2022 13:47:34 +0530 Subject: [PATCH] Rename 'lr` to `learning_rate` Rename 'lr` to `learning_rate` --- docs/tutorials/tfr_bert.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorials/tfr_bert.ipynb b/docs/tutorials/tfr_bert.ipynb index 804a368..d37a1a6 100644 --- a/docs/tutorials/tfr_bert.ipynb +++ b/docs/tutorials/tfr_bert.ipynb @@ -346,7 +346,7 @@ "vali_dataset = task.build_inputs(task_config.validation_data)\n", "train_iterator = iter(train_dataset)\n", "vali_iterator = iter(vali_dataset)\n", - "optimizer = tf.keras.optimizers.Adam(lr=1e-6)\n", + "optimizer = tf.keras.optimizers.Adam(learning_rate=1e-6)\n", "\n", "NUM_TRAIN_STEPS = 100\n", "EVAL_STEPS = 10\n",