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 T5 model embedding generation #67

Merged
merged 2 commits into from
Oct 27, 2023

Conversation

antas-marcin
Copy link
Contributor

@antas-marcin antas-marcin commented Oct 25, 2023

This PR adds support for SentenceTransformer library for embeddings generation.

This PR also fixes a bug which resulted in T5 models generating embeddings with different dimensions then actually this model was able to generate. This bug was fixed by introducing SentenceTransformer library for embeddings generation instead of the original implementation.

@antas-marcin antas-marcin force-pushed the fix-t5-model-embedding-generation branch 2 times, most recently from 5e7b912 to ddbb393 Compare October 26, 2023 11:38
@antas-marcin antas-marcin force-pushed the fix-t5-model-embedding-generation branch from ddbb393 to fb9d535 Compare October 26, 2023 17:36
@antas-marcin antas-marcin merged commit 0c60b58 into main Oct 27, 2023
21 checks passed
@antas-marcin antas-marcin deleted the fix-t5-model-embedding-generation branch October 27, 2023 09:32
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