Created
September 23, 2019 06:21
-
-
Save dhuynh95/1d53b1787edb3a48577bfc7f77ae2a52 to your computer and use it in GitHub Desktop.
Article 1 Snippet 4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
n_epoch = 250 | |
lr = 1e-2 | |
learn.fit_one_cycle(n_epoch,lr) | |
n_epoch = 250 | |
lr = 1e-2 / 2 | |
cbs = [kl_hook] | |
learn.fit_one_cycle(n_epoch,lr,callbacks=cbs) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment