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

Add modernbert-embed-large #146

Merged
merged 3 commits into from
Feb 18, 2025

Conversation

laulauland
Copy link
Contributor

This adds ModernBERT-embed-large to the roster of available models.

ModernBERT is an encoder-only base model that was released at the end of last year. The model itself cannot be used for embeddings but a finetuned -embed-* version can be.

@Anush008
Copy link
Owner

Hey @laulauland. Thanks for contributing. Could you please also add the model to the README.md?

@laulauland
Copy link
Contributor Author

added!

@Anush008
Copy link
Owner

Thanks. LGTM.
Please add the vectors embeddings values from the new model to the tests for https://github.com/Anush008/fastembed-rs/actions/runs/13280368686/job/37094756099 to pass. You can ignore the failure from nomic-ai/nomic-embed-text-v1.5.

@laulauland
Copy link
Contributor Author

added the sample embeddings values and a separate test for modern bert

Copy link
Owner

@Anush008 Anush008 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @laulauland. I believe the CI failure is unrelated to the change.

Also apologies for the delay. I have been OOO.

@Anush008 Anush008 merged commit 8184799 into Anush008:main Feb 18, 2025
1 check failed
github-actions bot pushed a commit that referenced this pull request Feb 18, 2025
# [4.5.0](v4.4.0...v4.5.0) (2025-02-18)

### Features

* Add modernbert-embed-large ([#146](#146)) ([8184799](8184799))

## [4.5.0](v4.4.0...v4.5.0) (2025-02-18)

### 🍕 Features

* Add modernbert-embed-large ([#146](#146)) ([8184799](8184799))

### 🧑‍💻 Code Refactoring

* organize the import and export of SparseModel ([#141](#141)) ([2f982f1](2f982f1))

### 🧹 Chores

* Bump hf-hub to 0.4.1 ([#142](#142)) ([b5911b4](b5911b4))
Copy link

🎉 This PR is included in version 4.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants