Update README.md
Browse files
README.md
CHANGED
|
@@ -3,6 +3,8 @@ 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
|
|
|
|
| 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 |
+
Currently, you need to install `transformers` from source to use ModernBERT: `pip install git+https://github.com/huggingface/transformers.git`. You might also want to install flash attention: `pip install flash-attn`.
|
| 7 |
+
|
| 8 |
Usage:
|
| 9 |
```python
|
| 10 |
from sentence_transformers import SentenceTransformer
|