papluca / text-classification updated 2 years ago

xlm-roberta-base-language-detection

This model is a fine-tuned version of xlm-roberta-base on the Language Identification dataset.

Params
280 M
Context
512
Downloads 30d
687 K
Likes
375
Commercial use: allowed mit Not gated SAFETENSORS 21 languages View on Hugging Face ↗

Download history

daily snapshots · 10 days
692 K643 K
Jul 28Jul 31Aug 3Aug 6

Can you run it?

Estimated VRAM at 8K context unless noted. Pick your hardware to see the verdict per quantization.

FileQuantSizeEst. VRAMVerdict on RTX 4090 · 24 GB
model.safetensors f32 1.1 GB 1.8 GB ✅ Runs comfortably
Estimate: file size × 1.1 + KV cache at 8K + 0.5 GB overhead. Not a benchmark — how we calculate this.

Specifications

Architecture
XLMRobertaForSequenceClassification
Parameters
280 M
Tensor type
F32
Context length
512
Vocabulary
250,002
Layers / heads
12 / 12
Licence
mit
First seen on the Hub
2022-03-02
Training datasets
papluca/language-identification
Added to our catalog
2026-07-28