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

GH-2763: remove legacy TransformerXLEmbeddings class #2768

Merged
merged 1 commit into from
May 15, 2022

Conversation

alanakbik
Copy link
Collaborator

Closes #2763

The recent transformers update (4.19.0, see huggingface/transformers#17049) removed the sacremoses dependency which was required by a legacy embedding class in Flair (marked as deprecated since Flair 0.4.5). This PR fixes the issue by removing the legacy class.

(All other legacy embeddings in Flair should be removed as well before the next bigger release to avoid such problems in the future.)

@alanakbik alanakbik merged commit 68e641c into master May 15, 2022
@alanakbik alanakbik deleted the GH-2763-sacremoses branch May 15, 2022 11:09
@alanakbik alanakbik mentioned this pull request May 17, 2022
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.

New huggingface/transformers update (4.19.0) breaks imports
1 participant