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

Fix loading of old models #3228

Merged
merged 2 commits into from
Apr 29, 2023
Merged

Fix loading of old models #3228

merged 2 commits into from
Apr 29, 2023

Conversation

helpmefindaname
Copy link
Collaborator

closes #3216

moves the "add default values for older embeddings" logic to the setstate method and ensures, that the old WordEmbeddings will store the torch weights correctly on resave.

@alanakbik
Copy link
Collaborator

@helpmefindaname thanks for fixing this!

@alanakbik alanakbik merged commit 0436ac9 into master Apr 29, 2023
@alanakbik alanakbik deleted the fix_loading_of_old_models branch April 29, 2023 19:08
@marcglobality
Copy link

amazing! thanks. When will this be released?

@alanakbik
Copy link
Collaborator

Hi @marcglobality since we're rebuilding lots of things in master branch at the moment, a release is likely still a while off.

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.

[Bug]: Cannot save SequenceTagger ner-english-fast
3 participants