Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
---
|
| 4 |
+
A ModernBERT model ([answerdotai/ModernBERT-base](https://huggingface.co/answerdotai/ModernBERT-base)) fine-tuned on NLI and tabular classification datasets using [sentence-transformers](https://sbert.net/).
|
| 5 |
+
|
| 6 |
+
Usage:
|
| 7 |
+
```python
|
| 8 |
+
from sentence_transformers import SentenceTransformer
|
| 9 |
+
|
| 10 |
+
model = SentenceTransformer("clembi/ModernBERT-base-embed")
|
| 11 |
+
|
| 12 |
+
sentences = [
|
| 13 |
+
"bi-directional embedding methods are cool",
|
| 14 |
+
"I like playing Mario Kart",
|
| 15 |
+
"They all got into the Mupalupux and drove south.",
|
| 16 |
+
]
|
| 17 |
+
|
| 18 |
+
embeddings = model.encode(sentences)
|
| 19 |
+
```
|