Sentence Similarity
sentence-transformers
Safetensors
English
modernbert
feature-extraction
mteb
Eval Results (legacy)
text-embeddings-inference
Instructions to use nomic-ai/modernbert-embed-base-unsupervised with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use nomic-ai/modernbert-embed-base-unsupervised with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("nomic-ai/modernbert-embed-base-unsupervised") sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
fix: sp bert
Browse files
README.md
CHANGED
|
@@ -2899,7 +2899,7 @@ base_model:
|
|
| 2899 |
- answerdotai/ModernBERT-base
|
| 2900 |
---
|
| 2901 |
|
| 2902 |
-
#
|
| 2903 |
|
| 2904 |
`modernbert-embed-unsupervised` is the unsupervised checkpoint trained with the [contrastors](https://github.com/nomic-ai/contrastors) library
|
| 2905 |
for 1 epoch over the 235M weakly-supervised contrastive pairs curated in [Nomic Embed](https://arxiv.org/abs/2402.01613).
|
|
|
|
| 2899 |
- answerdotai/ModernBERT-base
|
| 2900 |
---
|
| 2901 |
|
| 2902 |
+
# ModernBERT-Embed-Unsupervised
|
| 2903 |
|
| 2904 |
`modernbert-embed-unsupervised` is the unsupervised checkpoint trained with the [contrastors](https://github.com/nomic-ai/contrastors) library
|
| 2905 |
for 1 epoch over the 235M weakly-supervised contrastive pairs curated in [Nomic Embed](https://arxiv.org/abs/2402.01613).
|