Instructions to use answerdotai/ModernBERT-Large-Instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use answerdotai/ModernBERT-Large-Instruct with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="answerdotai/ModernBERT-Large-Instruct")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("answerdotai/ModernBERT-Large-Instruct") model = AutoModelForMaskedLM.from_pretrained("answerdotai/ModernBERT-Large-Instruct", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download onnx/model_quantized.onnx from answerdotai/ModernBERT-Large-Instruct: direct link, hf CLI and curl.
- Browser
- Download file 398 MB
-
https://huggingface.co/answerdotai/ModernBERT-Large-Instruct/resolve/refs%2Fpr%2F1/onnx/model_quantized.onnx
- Command line
-
hf download hf://answerdotai/ModernBERT-Large-Instruct@refs/pr/1/onnx/model_quantized.onnx
-
curl -L -o model_quantized.onnx https://huggingface.co/answerdotai/ModernBERT-Large-Instruct/resolve/refs%2Fpr%2F1/onnx/model_quantized.onnx
398 MB
- Xet hash:
- 033dc3b46c15e517da4418a7edfb78835f690280c1a28e78c8415979277d80f1
- Size of remote file:
- 398 MB
- SHA256:
- 95e124652f91831c8dc1c16d072c5d9de2a84593e99b34c36b1067ff28120823
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.