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")# 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
Adding `safetensors` variant of this model
#5
by SFconvertbot - opened
- model.safetensors +3 -0
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6c8ffc931633765392655f3844f9a2e29cd7f352e4c4c2802ed877744c2aaad5
|
| 3 |
+
size 497599248
|