Instructions to use CollectionStudio/ModernBERT-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CollectionStudio/ModernBERT-large with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="CollectionStudio/ModernBERT-large")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("CollectionStudio/ModernBERT-large") model = AutoModelForMaskedLM.from_pretrained("CollectionStudio/ModernBERT-large", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download model.safetensors from CollectionStudio/ModernBERT-large: direct link, hf CLI and curl.
- Browser
- Download file 1.58 GB
-
https://huggingface.co/CollectionStudio/ModernBERT-large/resolve/main/model.safetensors
- Command line
-
hf download hf://CollectionStudio/ModernBERT-large/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/CollectionStudio/ModernBERT-large/resolve/main/model.safetensors
1.58 GB
- Xet hash:
- d97802fae3a050667c09dc434ed8ab7ba3d6c3621c96e095c16d9c5a72ee1450
- Size of remote file:
- 1.58 GB
- SHA256:
- 44510fec5d3a81a1877f225637b869495f18e55f6f23a09abb9be0acc030295f
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.