Instructions to use answerdotai/ModernBERT-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use answerdotai/ModernBERT-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="answerdotai/ModernBERT-base")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("answerdotai/ModernBERT-base") model = AutoModelForMaskedLM.from_pretrained("answerdotai/ModernBERT-base") - Notebooks
- Google Colab
- Kaggle
Tom Aarsen commited on
Commit ·
af72838
1
Parent(s): 1a13461
Remove the classifier norm
Browse files- config.json +0 -1
config.json
CHANGED
|
@@ -9,7 +9,6 @@
|
|
| 9 |
"classifier_activation": "gelu",
|
| 10 |
"classifier_bias": false,
|
| 11 |
"classifier_dropout": 0.0,
|
| 12 |
-
"classifier_norm": true,
|
| 13 |
"classifier_pooling": "mean",
|
| 14 |
"cls_token_id": 50281,
|
| 15 |
"decoder_bias": true,
|
|
|
|
| 9 |
"classifier_activation": "gelu",
|
| 10 |
"classifier_bias": false,
|
| 11 |
"classifier_dropout": 0.0,
|
|
|
|
| 12 |
"classifier_pooling": "mean",
|
| 13 |
"cls_token_id": 50281,
|
| 14 |
"decoder_bias": true,
|