alt.freeweights.vision / xlm-roberta-large
From: FacebookAI <huggingface.co/FacebookAI>Newsgroups: alt.freeweights.visionSubject:

xlm-roberta-large

Date: 2026-11-15Commit: c23d21bSigned: 2DC28CC7B26A283B ✓

Fill mask model with 561M parameters. Onnx and safetensors weights, 11.2 GB in all. Published by FacebookAI under MIT.

561M params11.2GBxlm-roberta-largeonnx safetensorspermissive
FactsParams561MSize11.2 GBFormatsonnx, safetensorsTaskfill maskLicenseMITFrom sourcepermissive
$ fw get FacebookAI/xlm-roberta-large
# manifest sha256 bfa593f25d63… · 11.2 GB · 17 files
$ fw verify ./xlm-roberta-large FacebookAI/xlm-roberta-large
From sourceHosted (signed)FacebookAI/xlm-roberta-largeLast check: 2026-11-15 02:25 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Overview

Size
11.2 GB
Weights
2.24 GB (safetensors)
Parameters
561M
Formats
onnx, safetensors
Task
fill mask
License
MIT (permissive)
Files
17, each with a sha256
Publisher
FacebookAI
Added
2026-11-15
Section
alt.freeweights.vision
Lineage

Original release from the publisher.

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 02:25 UTCpassed

Model card

From the publisher at commit c23d21b. Shown as plain text with links; images open at the publisher.

XLM-RoBERTa (large-sized model)#

XLM-RoBERTa model pre-trained on 2.5TB of filtered CommonCrawl data containing 100 languages. It was introduced in the paper Unsupervised Cross-lingual Representation Learning at Scale by Conneau et al. and first released in this repository.

Disclaimer: The team releasing XLM-RoBERTa did not write a model card for this model so this model card has been written by the Hugging Face team.

Model description#

XLM-RoBERTa is a multilingual version of RoBERTa. It is pre-trained on 2.5TB of filtered CommonCrawl data containing 100 languages.

RoBERTa is a transformers model pretrained on a large corpus in a self-supervised fashion. This means it was pretrained on the raw texts only, with no humans labelling them in any way (which is why it can use lots of publicly available data) with an automatic process to generate inputs and labels from those texts.

More precisely, it was pretrained with the Masked language modeling (MLM) objective. Taking a sentence, the model randomly masks 15% of the words in the input then run the entire masked sentence through the model and has to predict the masked words. This is different from traditional recurrent neural networks (RNNs) that usually see the words one after the other, or from autoregressive models like GPT which internally mask the future tokens. It allows the model to learn a bidirectional representation of the sentence.

This way, the model learns an inner representation of 100 languages that can then be used to extract features useful for downstream tasks: if you have a dataset of labeled sentences for instance, you can train a standard classifier using the features produced by the XLM-RoBERTa model as inputs.

Intended uses & limitations#

You can use the raw model for masked language modeling, but it's mostly intended to be fine-tuned on a downstream task. See the model hub to look for fine-tuned versions on a task that interests you.

Note that this model is primarily aimed at being fine-tuned on tasks that use the whole sentence (potentially masked) to make decisions, such as sequence classification, token classification or question answering. For tasks such as text generation, you should look at models like GPT2.

Usage#

You can use this model directly with a pipeline for masked language modeling:

>>> from transformers import pipeline
>>> unmasker = pipeline('fill-mask', model='xlm-roberta-large')
>>> unmasker("Hello I'm a <mask> model.")

[{'score': 0.10563907772302628,
  'sequence': "Hello I'm a fashion model.",
  'token': 54543,
  'token_str': 'fashion'},
 {'score': 0.08015287667512894,
  'sequence': "Hello I'm a new model.",
  'token': 3525,
  'token_str': 'new'},
 {'score': 0.033413201570510864,
  'sequence': "Hello I'm a model model.",
  'token': 3299,
  'token_str': 'model'},
 {'score': 0.030217764899134636,
  'sequence': "Hello I'm a French model.",
  'token': 92265,
  'token_str': 'French'},
 {'score': 0.026436051353812218,
  'sequence': "Hello I'm a sexy model.",
  'token': 17473,
  'token_str': 'sexy'}]

Here is how to use this model to get the features of a given text in PyTorch:

from transformers import AutoTokenizer, AutoModelForMaskedLM

tokenizer = AutoTokenizer.from_pretrained('xlm-roberta-large')
model = AutoModelForMaskedLM.from_pretrained("xlm-roberta-large")

# prepare input
text = "Replace me by any text you'd like."
encoded_input = tokenizer(text, return_tensors='pt')

# forward pass
output = model(**encoded_input)
BibTeX entry and citation info#
@article{DBLP:journals/corr/abs-1911-02116,
  author    = {Alexis Conneau and
               Kartikay Khandelwal and
               Naman Goyal and
               Vishrav Chaudhary and
               Guillaume Wenzek and
               Francisco Guzm{\'{a}}n and
               Edouard Grave and
               Myle Ott and
               Luke Zettlemoyer and
               Veselin Stoyanov},
  title     = {Unsupervised Cross-lingual Representation Learning at Scale},
  journal   = {CoRR},
  volume    = {abs/1911.02116},
  year      = {2019},
  url       = {http://arxiv.org/abs/1911.02116},
  eprinttype = {arXiv},
  eprint    = {1911.02116},
  timestamp = {Mon, 11 Nov 2019 18:38:09 +0100},
  biburl    = {https://dblp.org/rec/journals/corr/abs-1911-02116.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}

https://huggingface.co/exbert/?model=xlm-roberta-base

Files

17 files · 11.2 GBWeights 2.24 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 17 files with their sha256
FileSizesha256
.gitattributes623 B7c58b34bbad6173ebeeb5b1381e9dbe690ca623ff94bafd1182bce7768279510
README.md5.24 KB91cd3a7fe31e0695240283d76aad420bbbca29fe5fcc45f7c260362c2949beb9
config.json616 Bec7c3a99c58a38ebb702a2297f1c4586944e841b5eb29d201ff87e0f9c9abe0e
flax_model.msgpack2.24 GB96d19a73ca044be7c23518d2d23154eb0a1e6fb301d3b086e2d80bdfff1391ce
model.safetensors2.24 GB2dfa19f172412917cab174da04b46e2134811b723666965fd0aabd97caa6e23b
onnx/config.json681 B2206f649a1abcf075608fa3fac10c08acb26b600dc6f655bfc7d43f62cdaa3f4
onnx/model.onnx546 KBbb5a52503a3ef35247f5b5ae6c473aaae60505dd3ffaef56d7b69e2f84683c05
onnx/model.onnx_data2.24 GB1798dab29db9d3fe4193ffa091512730369bd1c1c2041de430e09394d4f57df1
onnx/sentencepiece.bpe.model5.07 MBcfc8146abe2a0488e9e2a0c56de7952f7c11ab059eca145a0a727afce0db2865
onnx/special_tokens_map.json280 B06e405a36dfe4b9604f484f6a1e619af1a7f7d09e34a8555eb0b77b66318067f
onnx/tokenizer.json17.1 MB62c24cdc13d4c9952d63718d6c9fa4c287974249e16b7ade6d5a85e7bbb75626
onnx/tokenizer_config.json418 Befb5c0d09722e5fe59a462cd2a9976ee216d55b037597d997cd3fe833216da15
pytorch_model.bin2.24 GB01e55aa45dbb9164fee19aef60007a1c91d175051c01be1fb15056cfa60f3e53
sentencepiece.bpe.model5.07 MBcfc8146abe2a0488e9e2a0c56de7952f7c11ab059eca145a0a727afce0db2865
tf_model.h52.24 GBa465c8d459fe83e10db5655221e2e7e7b6df3de2216c524399358d17ac7315ea
tokenizer.json9.10 MBa898ea75433890f6610f4e470b8ebeb0c21dce5c8dd61f892eb09eb5919d2e2c
tokenizer_config.json25 B994f46754c5bf4014f1aa92d34b1374319c3a6b3f702105cd5b742beaecd18ce
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
c23d21b062 pinned now2026-11-15 02:25 UTC17 files · 11.2 GB

Use it

$ fw get FacebookAI/xlm-roberta-large
# manifest sha256 bfa593f25d63… · 11.2 GB · 17 files
$ fw verify ./xlm-roberta-large FacebookAI/xlm-roberta-large
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/FacebookAI/xlm-roberta-large.json --dir ./xlm-roberta-large $ python3 fw.py verify ./xlm-roberta-large ./FacebookAI__xlm-roberta-large.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download FacebookAI/xlm-roberta-large --revision c23d21b0620b635a76227c604d44e43a9f0ee389 --local-dir ./xlm-roberta-large

License

Name
MIT License
Id
MIT
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
91cd3a7fe31e0695240283d76aad420bbbca29fe5fcc45f7c260362c2949beb9
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: FacebookAI <huggingface.co/FacebookAI>Newsgroups: alt.freeweights.visionSubject: xlm-roberta-largeDate: 2026-11-15Commit: c23d21bSigned: 2DC28CC7B26A283B ✓
Upstream
FacebookAI/xlm-roberta-large
Pinned commit
c23d21b0620b635a76227c604d44e43a9f0ee389
Manifest
xlm-roberta-large.json · .minisig
Manifest sha256
bfa593f25d63da17b72a9b7868f8e9d585faf6391ffc0c09bd8f66b0f12ad59f
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:25 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/FacebookAI/xlm-roberta-large.json $ curl -O https://freeweights.allternit.com/manifests/FacebookAI/xlm-roberta-large.json.minisig $ minisign -Vm xlm-roberta-large.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

3 models in the catalog name this one as their parent.

Fine-tunes
3
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download FacebookAI/xlm-roberta-large
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. xlm-roberta-large.json. Provenance. Takedown history: none.
From: dima806 <huggingface.co/dima806>Subject: ai_vs_real_image_detection
From: legekka <huggingface.co/legekka>Subject: AI-Anime-Image-Detector-ViT
From: onnx-community <huggingface.co/onnx-community>Subject: AI-Anime-Image-Detector-ViT-ONNX
From: AICodexLab <huggingface.co/AICodexLab>Subject: answerdotai-ModernBERT-base-ai-detector
From: onnx-community <huggingface.co/onnx-community>Subject: answerdotai-ModernBERT-base-ai-detector-ONNX
From: onnx-community <huggingface.co/onnx-community>Subject: bart-large-cnn-ONNX