🤖 fill-mask

ModernBERT-base

answerdotai/ModernBERT-base

Get AI Model →
2.2M
Downloads
�����
1.0K
Likes
�����
13
Tags
📦
transformers
Library
Model Details
Full Model IDanswerdotai/ModernBERT-base
Pipeline / Taskfill-mask
Librarytransformers
Downloads (all-time)2.2M
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

69.6M����� 2.7K
Get AI Model →
all-mpnet-base-v2

sentence-transformers/all-mpnet-base-v2

35.3M����� 1.3K
Get AI Model →
xlm-roberta-base

FacebookAI/xlm-roberta-base

22.6M����� 835
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
Downloads2.2M
����� 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?