🤖 fill-mask

ModernBERT-base

answerdotai/ModernBERT-base

Get AI Model →
3.9M
Downloads
❤️
1.0K
Likes
🏷️
13
Tags
📦
transformers
Library
Model Details
Full Model IDanswerdotai/ModernBERT-base
Pipeline / Taskfill-mask
Librarytransformers
Downloads (all-time)3.9M
Likes1.0K
Last Modified1/15/2025
Author / Organswerdotai
PrivateNo — public
⚡ Quick Usage (Python)

Using the 🤗 Transformers library. Install with pip install transformers

from transformers import pipeline

# Load the model
pipe = pipeline("fill-mask", model="answerdotai/ModernBERT-base")

# Run inference
result = pipe("Your input here")
print(result)
🏷️ Tags
transformerspytorchonnxsafetensorsmodernbertfill-maskmasked-lmlong-contextenarxiv:2412.13663license:apache-2.0deploy:azureregion:us
More fill-mask Models
See all →
bert-base-uncased

google-bert/bert-base-uncased

60.4M❤️ 2.6K
Get AI Model →
all-mpnet-base-v2

sentence-transformers/all-mpnet-base-v2

33.4M❤️ 1.3K
Get AI Model →
roberta-large

FacebookAI/roberta-large

21.0M❤️ 276
Get AI Model →
🚀 Use This Model

Access model files, inference API, and full documentation on Hugging Face.

Open on Hugging Face →Browse Model Files ↗← Browse All Models
🤖 Task: fill-mask

This model is designed for the fill-mask task. Explore more models for this use case.

All fill-mask Models →
📊 Popularity
Downloads3.9M
❤️ Community Likes1.0K
🛠️ Requirements
  • Install: pip install transformers
  • Python 3.8+ recommended for Transformers.
  • GPU (CUDA) speeds up inference significantly.
  • Use model.half() for fp16 on limited VRAM.
👋 Need help with code?