BAAI/bge-small-en-v1.5: Mean Pooling + Normalize #418
niltonheck
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I recently had to use the
BAAI/bge-small-en-v1.5
model for text embeddings and noticed that the Fastembed API for this model provides embeddings that are already normalized, without returning the attention mask, or allowing other pooling methods. As a result, I had to rely on internal functions to achieve the desired outcome.Is there a specific reason why the API returns embeddings already normalized and doesn’t provide an option for mean pooling for example?
Am I overlooking something?
Here’s how I managed to:
Beta Was this translation helpful? Give feedback.
All reactions