Instructions to use answerdotai/ModernBERT-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use answerdotai/ModernBERT-large with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="answerdotai/ModernBERT-large")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("answerdotai/ModernBERT-large") model = AutoModelForMaskedLM.from_pretrained("answerdotai/ModernBERT-large", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
Remove now unused unpad_no_grad ba750de
Tom Aarsen commited on
Remove now unused parameters cb6a582
Tom Aarsen commited on
Remove the classifier norm config arg 55af33d
Tom Aarsen commited on
Remove unpad_inputs for now b725c93
Tom Aarsen commited on
Upload ModernBERT-large model dca61cc
Tom Aarsen commited on