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

Provide "packaged" models #73

Closed
rgemulla opened this issue Feb 27, 2020 · 2 comments
Closed

Provide "packaged" models #73

rgemulla opened this issue Feb 27, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@rgemulla
Copy link
Member

When sharing models, we currently need to share both dataset and checkpoint. For prediciton, the dataset is solely used to obtain a mapping between entity and relation indexes and their ids or mentions, however.

A better approach may be to support "packaged models", where a package contains the checkpoint and just the relevant part of the dataset (which is much smaller than the entire dataset). With this, models can be deployed right away without having to have the dataset around.

@rgemulla rgemulla added the enhancement New feature or request label Feb 27, 2020
@rgemulla
Copy link
Member Author

rgemulla commented Mar 4, 2020

The packaged model should not contain the full checkpoint, I think. For example, the optimizer state can be removed, which may make packages significantly smaller than checkpoints.

@rgemulla
Copy link
Member Author

Implemented as #94

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant