Skip to content

Commit 0b87b8b

Browse files
Merge pull request #7978 from artitw:artitw-distribution-strategy
PiperOrigin-RevId: 287584771
2 parents 3dee3b8 + bca18d0 commit 0b87b8b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

official/nlp/bert/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ python run_classifier.py \
239239
--learning_rate=2e-5 \
240240
--num_train_epochs=3 \
241241
--model_dir=${MODEL_DIR} \
242-
--distribution_strategy=mirror
242+
--distribution_strategy=mirrored
243243
```
244244

245245
To use TPU, you only need to switch distribution strategy type to `tpu` with TPU
@@ -295,7 +295,7 @@ python run_squad.py \
295295
--learning_rate=8e-5 \
296296
--num_train_epochs=2 \
297297
--model_dir=${MODEL_DIR} \
298-
--distribution_strategy=mirror
298+
--distribution_strategy=mirrored
299299
```
300300

301301
To use TPU, you need switch distribution strategy type to `tpu` with TPU

0 commit comments

Comments
 (0)