Closed tomaarsen closed 2 weeks ago
Latest commit: de6f6216681fc62209ad7a69f724444eef8562eb
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
[!CAUTION]
Review failed
The pull request is closed.
The changes in this pull request involve the addition of several new embedding models to the EMBEDDING_MODELS
record within the helpers/providers/huggingface.ts
file. The newly added models include various configurations from different sources, each with specified dimensions. While the core function askHuggingfaceQuestions
remains unchanged, it now offers a wider selection of models for users to choose from.
File Path | Change Summary |
---|---|
helpers/providers/huggingface.ts | Added new embedding models: "BAAI/bge-base-en-v1.5" (768), "BAAI/bge-large-en-v1.5" (1024), "sentence-transformers/all-MiniLM-L6-v2" (384), "sentence-transformers/all-mpnet-base-v2" (768), "intfloat/multilingual-e5-large" (1024), "mixedbread-ai/mxbai-embed-large-v1" (1024), and "nomic-ai/nomic-embed-text-v1.5" (768). |
EMBEDDING_MODELS
record in the same context.In the garden of models, new blooms arise,
With dimensions and names, a delightful surprise.
From BAAI to Nomic, they join the fray,
Expanding our choices, hip-hip-hooray!
So hop along, friends, let’s give them a try,
With each new selection, we’ll reach for the sky! 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Thanks @tomaarsen
Hello!
Pull Request overview
Details
I took these models from https://huggingface.co/models?library=sentence-transformers - they're some of the more popular models out there.
cc @marcusschiesser
Summary by CodeRabbit