Instructions to use mohammadmahdinouri/distil-modernbert-checkpoints with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mohammadmahdinouri/distil-modernbert-checkpoints with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="mohammadmahdinouri/distil-modernbert-checkpoints")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("mohammadmahdinouri/distil-modernbert-checkpoints") model = AutoModelForMaskedLM.from_pretrained("mohammadmahdinouri/distil-modernbert-checkpoints", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#9 opened about 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#8 opened about 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#7 opened about 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#6 opened about 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#5 opened about 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#4 opened about 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#3 opened about 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#2 opened about 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#1 opened about 1 year ago
by
SFconvertbot