Instructions to use unsloth/ModernBERT-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use unsloth/ModernBERT-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="unsloth/ModernBERT-base")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("unsloth/ModernBERT-base") model = AutoModelForMaskedLM.from_pretrained("unsloth/ModernBERT-base") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 9bad9d7ea494c128b5b2a310b7801bc5b3db9fecdac492e4ea2cb290ef1b402d
- Size of remote file:
- 599 MB
- SHA256:
- 9a3b4d34f2367ab3024859dfd744bc898792ec54c577408f78d1f5e44d2cf412
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.