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

Do not store duplicate, shared parameters #792

Merged
merged 1 commit into from
Feb 27, 2020
Merged

Do not store duplicate, shared parameters #792

merged 1 commit into from
Feb 27, 2020

Conversation

fhieber
Copy link
Contributor

@fhieber fhieber commented Feb 26, 2020

Use deduplicate=True when saving model parameters. Avoids storing embedding parameters multiple times in the <model>/params.* files, when they are shared through --weight-tying-type.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@fhieber fhieber merged commit b08eb14 into sockeye_2 Feb 27, 2020
@fhieber fhieber deleted the dedup branch February 27, 2020 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants