Instructions to use mohammadmahdinouri/modernbert-baseline-checkpoints with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mohammadmahdinouri/modernbert-baseline-checkpoints with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="mohammadmahdinouri/modernbert-baseline-checkpoints")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("mohammadmahdinouri/modernbert-baseline-checkpoints") model = AutoModelForMaskedLM.from_pretrained("mohammadmahdinouri/modernbert-baseline-checkpoints", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload ModernBertForMaskedLM
Browse files- pytorch_model.bin +1 -1
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 497622327
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2e68b8129842220a582531b89edf1131382c9b71f0b78192ab18e4d1785930f6
|
| 3 |
size 497622327
|