🤖 fill-mask

distilbert-base-uncased

distilbert/distilbert-base-uncased

Get AI Model →
9.3M
Downloads
❤️
864
Likes
🏷️
17
Tags
📦
transformers
Library
Model Details
Full Model IDdistilbert/distilbert-base-uncased
Pipeline / Taskfill-mask
Librarytransformers
Downloads (all-time)9.3M
Likes864
Last Modified5/6/2024
Author / Orgdistilbert
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="distilbert/distilbert-base-uncased")

# Run inference
result = pipe("Your input here")
print(result)
🏷️ Tags
transformerspytorchtfjaxrustsafetensorsdistilbertfill-maskexbertendataset:bookcorpusdataset:wikipediaarxiv:1910.01108license:apache-2.0endpoints_compatibledeploy: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
Downloads9.3M
❤️ Community Likes864
🛠️ 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?