Skip to content
This repository was archived by the owner on Jul 7, 2023. It is now read-only.

Commit 5e8bc75

Browse files
Lukasz KaiserRyan Sepassi
authored andcommitted
Shake-shake config for TPU.
PiperOrigin-RevId: 185026739
1 parent c03fd19 commit 5e8bc75

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tensor2tensor/models/shake_shake.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,3 +191,11 @@ def shakeshake_big():
191191
hparams.layer_prepostprocess_dropout = 0.0
192192
hparams.hidden_size = 96
193193
return hparams
194+
195+
196+
@registry.register_hparams
197+
def shakeshake_tpu():
198+
hparams = shakeshake_big()
199+
hparams.learning_rate_cosine_cycle_steps = 180000
200+
hparams.learning_rate = 0.6
201+
return hparams

0 commit comments

Comments
 (0)