Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

best-deep alias broken #968

Merged
merged 2 commits into from
Nov 2, 2022
Merged

best-deep alias broken #968

merged 2 commits into from
Nov 2, 2022

Conversation

XapaJIaMnu
Copy link
Contributor

Description

The best-deep alias in marian is currently broken, because it doesn't set the model type and the default is amum which is incompatible with multiple layers. This commit just adds the type to the best-deep alias entry.
List of changes:

  • Add type: s2s to the --best-deep alias entry.

Added dependencies: none

How to test

Try to train a --best-deep model with a bare minimum config.

Checklist

  • I have tested the code manually
  • I have run regression tests
  • I have read and followed CONTRIBUTING.md
  • I have updated CHANGELOG.md

The best-deep alias in marian is currently broken, because it doesn't set the model type and the default is `amum` which is incompatible with multiple layers. This commit just adds the type to the best-deep alias entry.
@XapaJIaMnu XapaJIaMnu requested a review from snukky October 5, 2022 16:44
Copy link
Member

@snukky snukky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you. It seems that --type s2s was required for --best-deep since forever, so that's a nice usability improvement. I think none of the regression tests should be affected, I found only one that tests best-deep but it already sets --type s2s: https://github.com/marian-nmt/marian-regression-tests/blob/7d612ca5e4b27a76f92584dad76d240e34f216d0/tests/interface/config/test_alias_best_deep.sh

@snukky snukky merged commit 07a2ac8 into master Nov 2, 2022
@snukky snukky deleted the fix_s2s branch November 2, 2022 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants