-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adjust opus trainer settings * Fix optimizer delay * Use default learning rate * Enable back translations * Report learning rate for teacher * Remove old link * Match validation and save frequency * Roll back learning rate * Disable snakemake dry run * Add a note about optimizer delay * Add a link to opus trainer paper
- Loading branch information
Showing
7 changed files
with
53 additions
and
60 deletions.
There are no files selected for viewing
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
# https://discourse.translatelocally.com/t/marian-configuration-to-use/24 | ||
disp-freq: 1000 | ||
# default learning rate for transformer-big is 0.0002 https://github.com/marian-nmt/marian-dev/blob/master/src/common/aliases.cpp | ||
learn-rate: 0.0003 # Turn this down if you get a diverged model, maybe 0.0001 | ||
optimizer-delay: 1 # Roughly GPU devices * optimizer-delay = 8, but keep as an integer | ||
optimizer-delay: 2 # Roughly GPU devices * optimizer-delay = 8, but keep as an integer | ||
lr-report: True | ||
save-freq: 5000 | ||
valid-freq: 3000 | ||
valid-freq: 5000 | ||
valid-max-length: 300 | ||
valid-mini-batch: 8 | ||
early-stopping: 20 | ||
early-stopping: 20 |
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