🤖 fill-mask

xlm-roberta-base

FacebookAI/xlm-roberta-base

Get AI Model →
17.5M
Downloads
❤️
817
Likes
🏷️
108
Tags
📦
transformers
Library
Model Details
Full Model IDFacebookAI/xlm-roberta-base
Pipeline / Taskfill-mask
Librarytransformers
Downloads (all-time)17.5M
Likes817
Last Modified2/19/2024
Author / OrgFacebookAI
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="FacebookAI/xlm-roberta-base")

# Run inference
result = pipe("Your input here")
print(result)
🏷️ Tags
transformerspytorchtfjaxonnxsafetensorsxlm-robertafill-maskexbertmultilingualafamarasazbebgbnbrbscacscydadeeleneoeset
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
Downloads17.5M
❤️ Community Likes817
🛠️ 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?