AI SeedbankHelp preserve open and free AI for humanity's future

← All models

distilbert_distilroberta-base

distilbert · View on Hugging Face ↗

Get this model

Download TorrentMagnet Link

Seeders: · Leechers:

Model card

The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.


language: en tags:

  • exbert

license: apache-2.0 datasets:

  • openwebtext

Model Card for DistilRoBERTa base

Table of Contents

  1. Model Details
  2. Uses
  3. Bias, Risks, and Limitations
  4. Training Details
  5. Evaluation
  6. Environmental Impact
  7. Citation
  8. How To Get Started With the Model

Model Details

Model Description

This model is a distilled version of the RoBERTa-base model. It follows the same training procedure as DistilBERT. The code for the distillation process can be found here. This model is case-sensitive: it makes a difference between english and English.

The model has 6 layers, 768 dimension and 12 heads, totalizing 82M parameters (compared to 125M parameters for RoBERTa-base). On average DistilRoBERTa is twice as fast as Roberta-base.

We encourage users of this model card to check out the RoBERTa-base model card to learn more about usage, limitations and potential biases.

  • Developed by: Victor Sanh, Lysandre Debut, Julien Chaumond, Thomas Wolf (Hugging Face)
  • Model type: Transformer-based language model
  • Language(s) (NLP): English
  • License: Apache 2.0
  • Related Models: RoBERTa-base model card
  • Resources for more information:
    • GitHub Repository
    • Associated Paper

Uses

Direct Use and Downstream Use

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 model like GPT2.

Out of Scope Use

The model should not be used to intentionally create hostile or alienating environments for people. The model was not trained to be factual or true representations of people or events, and therefore using the models to generate such content is out-of-scope for the abilities of this model.

Bias, Risks, and Limitations

Significant research has explored bias and fairness issues with language models (see, e.g., Sheng et al. (2021) and Bender et al. (2021)). Predictions generated by the model may include disturbing and harmful stereotypes across protected classes; identity characteristics; and sensitive, social, and occupational groups. For example:

>>> from transformers import pipeline
>>> unmasker = pipeline('fill-mask', model='distilroberta-base')
>>> unmasker("The man worked as a <mask>.")
[{'score': 0.1237526461482048,
  'sequence': 'The man worked as a waiter.',
  'token': 38233,
  'token_str': ' waiter'},
 {'score': 0.08968018740415573,
  'sequence': 'The man worked as a waitress.',
  'token': 35698,
  'token_str': ' waitress'},
 {'score': 0.08387645334005356,
  'sequence': 'The man worked as a bartender.',
  'token': 33080,
  'token_str': ' bartender'},
 {'score': 0.061059024184942245,
  'sequence': 'The man worked as a mechanic.',
  'token': 25682,
  'token_str': ' mechanic'},
 {'score': 0.03804653510451317,
  'sequence': 'The man worked as a courier.',
  'token': 37171,
  'token_str': ' courier'}]
  
>>> unmasker("The woman worked as a <mask>.")
[{'score': 0.23149248957633972,
  'sequence': 'The woman worked as a waitress.',
  'token': 35698,
  'token_str': ' waitress'},
 {'score': 0.07563332468271255,
  'sequence': 'The woman worked as a waiter.',
  'token': 38233,
  'token_str': ' waiter'},
 {'score': 0.06983394920825958,
  'sequence': 'The woman worked as a bartender.',
  'token': 33080,
  'token_str': ' bartender'},
 {'score': 0.05411609262228012,
  'sequence': 'The woman worked as a nurse.',
  'token': 9008,
  'token_str': ' nurse'},
 {'score': 0.04995106905698776,
  'sequence': 'The woman worked as a maid.',
  'token': 29754,
  'token_str': ' maid'}]

Recommendations

Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model.

Training Details

DistilRoBERTa was pre-trained on OpenWebTextCorpus, a reproduction of OpenAI's WebText dataset (it is ~4 times less training data than the teacher RoBERTa). See the roberta-base model card for further details on training.

Evaluation

When fine-tuned on downstream tasks, this model achieves the following results (see GitHub Repo):

Glue test results:

Task MNLI QQP QNLI SST-2 CoLA STS-B MRPC RTE
84.0 89.4 90.8 92.5 59.3 88.3 86.6 67.9

Environmental Impact

Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).

  • Hardware Type: More information needed
  • Hours used: More information needed
  • Cloud Provider: More information needed
  • Compute Region: More information needed
  • Carbon Emitted: More information needed

Citation

@article{Sanh2019DistilBERTAD,
  title={DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter},
  author={Victor Sanh and Lysandre Debut and Julien Chaumond and Thomas Wolf},
  journal={ArXiv},
  year={2019},
  volume={abs/1910.01108}
}

APA

  • Sanh, V., Debut, L., Chaumond, J., & Wolf, T. (2019). DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter. arXiv preprint arXiv:1910.01108.

How to Get Started With the Model

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

>>> from transformers import pipeline
>>> unmasker = pipeline('fill-mask', model='distilroberta-base')
>>> unmasker("Hello I'm a <mask> model.")
[{'score': 0.04673689603805542,
  'sequence': "Hello I'm a business model.",
  'token': 265,
  'token_str': ' business'},
 {'score': 0.03846118599176407,
  'sequence': "Hello I'm a freelance model.",
  'token': 18150,
  'token_str': ' freelance'},
 {'score': 0.03308931365609169,
  'sequence': "Hello I'm a fashion model.",
  'token': 2734,
  'token_str': ' fashion'},
 {'score': 0.03018997237086296,
  'sequence': "Hello I'm a role model.",
  'token': 774,
  'token_str': ' role'},
 {'score': 0.02111748233437538,
  'sequence': "Hello I'm a Playboy model.",
  'token': 24526,
  'token_str': ' Playboy'}]

Magnet link

Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:

magnet:?xt=urn:btih:492879ba8ccc2e79d76754dd555ed0abd8a5822a&dn=distilbert_distilroberta-base

Open magnet in torrent client · infohash 492879ba8ccc2e79d76754dd555ed0abd8a5822a

Files & hashes

PathSizesha1sha256
README.md7.3 KB (7,498 B)f61beaf6802fe8b83e89f298c44f8fa70c80fcdfa4a8b2530f6a4db8c76049c25a2104b90782395085aea17ea86b31348de8ca94
config.json480 B (480 B)54a642f6233f36fbad8fe9bec08a3de265a88874c89c71e1352d0d95f0cc3da0b4d1d22b64c2be0bbdaa36cd9be451d6c781b4fa
dict.txt589.2 KB (603,290 B)9b4d2de40fa2cbeb2c6128cfd031b9872ef4d0542c31c5b236661067fe8626775eb995ef5fe808ac87d2ad4a6ddbef68550f5cc6
merges.txt445.6 KB (456,318 B)226b0752cac7789c48f0cb3ec53eda48b7be36cc1ce1664773c50f3e0cc8842619a93edc4624525b728b188a9e0be33b7726adc5
model.safetensors315.7 MB (331,055,963 B)110c42bf58923a20be0bee0d57e322ee97a313f42b11ca9cf3d2cbb44cc1a93ad96aedc2894231ae6e33e2d2268c3d7b1ff97663
pytorch_model.bin315.7 MB (331,070,498 B)da3547ab9a82231dcfd6eac19280a74d4e2e39abec1ed6ff4c9753d2fc41ddf4a63cc099697b6cfc308f3df668659e8d16f84c57
rust_model.ot463.0 MB (485,484,382 B)34915a4f746ff5972677ebf4e639a3231e64e809a5bc30eee4d382107392c9a9bfebd277b731bf053ff8de97dea3d2c7d801ba8c
tokenizer.json1.3 MB (1,355,863 B)ad0bcbeb288f0d1373d88e0762e66357f55b8311847bbeab6174d66a88898f729d52fa8d355fafe1bea101cf960dd404581df70e
tokenizer_config.json25 B (25 B)34ddbd64a4cd3f2d9d8a9120d3662d0bf91baead994f46754c5bf4014f1aa92d34b1374319c3a6b3f702105cd5b742beaecd18ce
vocab.json877.8 KB (898,823 B)5606f48548d99a9829d10a96cd364b816b02cd219e7f63c2d15d666b52e21d250d2e513b87c9b713cfa6987a82ed89e5e6e50655

Cite this release

Canonical URL
https://aiseedbank.org/models/distilbert_distilroberta-base/
Slug
distilbert_distilroberta-base
Infohash
492879ba8ccc2e79d76754dd555ed0abd8a5822a
License
apache-2.0
Signing key fingerprint
85a3b32c3712427b

Every file carries a locally computed sha256 — verify a download against the signed sums: distilbert_distilroberta-base.SHA256SUMS (+ minisign signature).

Provenance

Upstream repositorydistilbert/distilroberta-base
Revision (pinned)fb53ab8802853c8e4fbdbcd0529f21fc6f459b2b
Fetched at2026-09-03T22:23:05Z
License at fetchapache-2.0
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

✓ verified · rehash-vs-hf-metadata at 2026-09-03T22:23:18Z

apache-2.01.07 GB (1,150,933,140 bytes)transformerspytorchjaxrustsafetensorsrobertafill-maskexbertendpoints_compatible2 languages (tf, en)paper: 1910.01108paper: 1910.09700