Quick Answer
FacebookAI/roberta-large from FacebookAI is the top pick for local use as of November 2026 based on its smaller F32 weight footprint: 1.4 GB versus 2.2 GB for FacebookAI/xlm-roberta-large from FacebookAI [1][3]. The ranking is roberta-large (FacebookAI), and xlm-roberta-large (FacebookAI) [1][3].
Key Takeaways
- Verdict: Run FacebookAI’s RoBERTa large (
FacebookAI/roberta-large) for its smaller weight footprint: F32 weights occupy 1.4 GB [1], versus 2.2 GB for FacebookAI’s XLM-RoBERTa large (FacebookAI/xlm-roberta-large) [3]. - Runner-up:
FacebookAI/xlm-roberta-largehas a paper addressing cross-lingual representation learning [4]; the paper’s topic alone does not establish that it handles multilingual workloads better. - RoBERTa hardware planning: Estimated 4-bit weight memory is 177.5 MB (355M parameters × 0.5 bytes), excluding runtime overhead [1].
- XLM-RoBERTa hardware planning: Estimated 4-bit weight memory is 280.5 MB (561M parameters × 0.5 bytes), excluding runtime overhead [3].
- Licence: Both models use the MIT licence, so licensing does not distinguish the local deployment choices [1][3].
How do roberta-large and xlm-roberta-large compare?
| Model | Organization | Parameters | VRAM at 4-bit (estimated) | Context | License | Benchmark (date) |
|---|---|---|---|---|---|---|
| FacebookAI/roberta-large [1] | FacebookAI [1] | 355M [1] | 177.5 MB (estimated weights only: 355M parameters × 0.5 bytes) [1] | 514 tokens [1] | MIT [1] | — |
| FacebookAI/xlm-roberta-large [3] | FacebookAI [3] | 561M [3] | 280.5 MB (estimated weights only: 561M parameters × 0.5 bytes) [3] | 514 tokens [3] | MIT [3] | — |
Which model should you run locally?
1. roberta-large
roberta-large from FacebookAI is available on Hugging Face as FacebookAI/roberta-large, first published there on March 2, 2022 [1]. Its associated paper, “RoBERTa: A Robustly Optimized BERT Pretraining Approach,” was published on July 26, 2019 [2]. Keep those dates separate when assessing its age: the paper’s publication and the repository’s first appearance on Hugging Face describe different events.
For a local setup selected on weight footprint, FacebookAI/roberta-large is the better pick [1][3]. The model has 355 million parameters [1] and 1.4 GB of F32 weights [1]. FacebookAI’s FacebookAI/xlm-roberta-large has 561 million parameters [3] and 2.2 GB of F32 weights [3]. Choosing FacebookAI/roberta-large therefore gives you the smaller published weight footprint [1][3]. Use the weight size when comparing storage budgets, keeping the precision attached to the figure.
Record the repository identifier exactly:
FacebookAI/roberta-large
Context length does not provide a reason to choose the larger model: both list 514 tokens [1][3]. Both also carry the MIT licence [1][3]. Choosing FacebookAI/roberta-large preserves the listed context length and licence while reducing the weight footprint [1][3]. Neither specification establishes a difference in output quality. Keep the context limit separate from the storage budget when deciding whether the model meets your requirements.
At 4-bit precision, FacebookAI/roberta-large’s weight memory is estimated at 177.5 MB (355 million parameters × 0.5 bytes per parameter) [1]. The corresponding figure for FacebookAI/xlm-roberta-large is estimated at 280.5 MB (561 million parameters × 0.5 bytes per parameter) [3]. Both calculations describe weights alone. Neither figure supplies a measured total runtime memory requirement or establishes whether a particular local configuration will fit.
Separate the installation decision from the runtime decision. The published weight sizes support a comparison of weight files; the quantized figures are arithmetic estimates. A practical gotcha is treating either figure as a complete hardware requirement. Installation flags and expected first-run output are unspecified here, so no particular flag or printed success message can be prescribed. Keep those operational details unresolved rather than turning a weight calculation into a working installation claim.
Release timing also leaves the choice unchanged: both repositories were first published on Hugging Face on March 2, 2022 [1][3]. Neither has a repository-release advantage. Likewise, the cross-lingual subject of the FacebookAI/xlm-roberta-large paper [4] does not establish comparative performance against FacebookAI/roberta-large. A paper’s topic cannot decide which model performs better on your workload.
Choose FacebookAI/roberta-large when the deciding requirement is the smaller local weight footprint [1][3]. Its 1.4 GB of F32 weights [1], shared 514-token context [1][3] and MIT licence [1] support that recommendation. The verdict concerns resource planning. No leaderboard result is available for either repository in this comparison, and the listed specifications establish no benchmark-quality or inference-speed advantage.
2. xlm-roberta-large
xlm-roberta-large from FacebookAI is the model associated with “Unsupervised Cross-lingual Representation Learning at Scale,” published on 2019-11-05 [4]. Its Hugging Face repository, FacebookAI/xlm-roberta-large, was first published on 2022-03-02 [3]. Those dates describe separate milestones: the paper’s publication and the repository’s first appearance on Hugging Face [3][4].
The model has 561 million parameters, a context length of 514 tokens, and F32 weights listed at 2.2 GB [3]. Its licence is MIT [3]. Those specifications establish the weight footprint, context limit and licensing terms relevant to a local deployment. The listed weight size should not be presented as a measurement of total memory consumption during inference.
For comparison, roberta-large from FacebookAI has 355 million parameters, a context length of 514 tokens, F32 weights listed at 1.4 GB, and an MIT licence [1]. The listed specifications therefore give xlm-roberta-large no advantage in weight footprint, context length or licence [1][3]. Choosing it means accepting the larger listed weight footprint without gaining a longer listed context window [1][3].
At 4-bit precision, its weight storage would be estimated at 280.5 MB (561 million parameters × 0.5 bytes per parameter), calculated from the cited parameter count [3]. That estimate describes parameter storage under the stated assumption; it is not a measured memory requirement or evidence that a particular quantized release exists. Use the estimate for preliminary sizing, not as a guaranteed device-memory budget.
Cross-lingual representation learning is the subject of the model’s paper [4]. That makes the paper relevant when evaluating a cross-lingual pipeline, but its title does not establish an accuracy advantage over roberta-large. A multilingual workload alone therefore does not justify declaring xlm-roberta-large the winner. Selecting it for that workload requires task-specific evidence beyond the specifications and publication dates stated here.
For a local choice governed by listed F32 weight size, roberta-large wins with 1.4 GB against 2.2 GB [1][3]. Both repositories share the same first-publication date, context length and licence [1][3]. Keep xlm-roberta-large as a candidate for a separately validated task requirement; the figures above do not establish a deployment advantage that offsets its additional weight storage.
What hardware do you need for either model?
FacebookAI’s FacebookAI/roberta-large has 355 million parameters.[1] Estimated weight memory at 4-bit precision is 177.5 MB (355 million parameters × 0.5 bytes per parameter).[1] At 8-bit precision, estimated weight memory is 355 MB (355 million parameters × 1 byte per parameter).[1] Treat those figures as estimates for the weights alone, rather than complete GPU memory requirements.
FacebookAI’s FacebookAI/xlm-roberta-large has 561 million parameters.[3] Estimated weight memory at 4-bit precision is 280.5 MB (561 million parameters × 0.5 bytes per parameter).[3] At 8-bit precision, estimated weight memory is 561 MB (561 million parameters × 1 byte per parameter).[3] Both calculations describe hypothetical quantized weights; neither establishes a complete memory budget for a particular local workload.
For disk space, budget 1.4 GB for the F32 weights of FacebookAI/roberta-large[1] or 2.2 GB for the F32 weights of FacebookAI/xlm-roberta-large.[3] Those file sizes do not establish quantized download sizes or total installation sizes. For smaller GPUs, favor FacebookAI/roberta-large on weight footprint: its 355 million parameters[1] require less estimated weight memory at either precision than the 561 million parameters of FacebookAI/xlm-roberta-large.[3] Actual fit still requires a complete workload memory budget.
Frequently Asked Questions
Which is better for local use: FacebookAI/roberta-large or FacebookAI/xlm-roberta-large?
Choose FacebookAI/roberta-large when the smaller weight footprint is your deciding factor: its F32 weights occupy 1.4 GB [1], versus 2.2 GB for FacebookAI/xlm-roberta-large [3]. Both have a context length of 514 tokens [1][3] and an MIT licence [1][3]. No comparative benchmark score establishes an accuracy winner. The cross-lingual paper title associated with xlm-roberta-large (FacebookAI) [4] does not establish superiority for your workload.
How much VRAM do FacebookAI/roberta-large and FacebookAI/xlm-roberta-large need?
The published F32 weight sizes are 1.4 GB for roberta-large (FacebookAI) [1] and 2.2 GB for xlm-roberta-large (FacebookAI) [3]. Treat those as weight footprints, not complete VRAM requirements. Neither figure establishes total memory use during your workload. roberta-large (FacebookAI) is the smaller option by published weight size [1][3], but a GPU purchase should depend on a verified runtime memory measurement for your intended configuration.
Can I use FacebookAI/roberta-large and FacebookAI/xlm-roberta-large commercially?
Both roberta-large (FacebookAI) [1] and xlm-roberta-large (FacebookAI) [3] carry the MIT licence, which permits commercial use subject to its terms. Licence choice therefore does not distinguish them. For a local deployment, compare the published F32 weight footprints instead: 1.4 GB for roberta-large (FacebookAI) [1] and 2.2 GB for xlm-roberta-large (FacebookAI) [3]. Those figures support choosing the smaller model when storage footprint matters; they do not establish a quality advantage.
Can FacebookAI/roberta-large or FacebookAI/xlm-roberta-large run on a CPU?
CPU compatibility and practical CPU performance are not established by the published weight sizes. roberta-large (FacebookAI) has F32 weights of 1.4 GB [1], while xlm-roberta-large (FacebookAI) has F32 weights of 2.2 GB [3]. Neither figure is a complete system RAM requirement or a latency measurement. Confirm CPU support in your intended runtime, then measure memory use and task latency before choosing either model for a CPU deployment.
Which costs less to run locally: FacebookAI/roberta-large or FacebookAI/xlm-roberta-large?
A monetary running-cost comparison cannot be established without hardware, electricity and runtime measurements. roberta-large (FacebookAI) has a smaller published F32 weight footprint at 1.4 GB [1], compared with 2.2 GB for xlm-roberta-large (FacebookAI) [3]. That supports a storage-based preference, but does not establish lower electricity use or faster execution. Both use the MIT licence [1][3]; neither licence label supplies a total deployment cost.
Can I switch between FacebookAI/roberta-large and FacebookAI/xlm-roberta-large later?
Plan a switch as a change that needs validation. Both models have a published context length of 514 tokens [1][3] and an MIT licence [1][3], but those shared specifications do not establish interchangeability. Moving from roberta-large (FacebookAI) to xlm-roberta-large (FacebookAI) changes the published F32 weight footprint from 1.4 GB [1] to 2.2 GB [3]. Verify runtime compatibility, memory use and task results before replacing either model in your application.
Sources
- FacebookAI/roberta-large model card (Hugging Face) — 2026-11-11 · roberta-large on Q4KM
- RoBERTa: A Robustly Optimized BERT Pretraining Approach — 2019-07-26
- FacebookAI/xlm-roberta-large model card (Hugging Face) — 2026-11-11 · xlm-roberta-large on Q4KM
- Unsupervised Cross-lingual Representation Learning at Scale — 2019-11-05