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

← All models

distilbert_distilbert-base-cased-distilled-squad

distilbert · View on Hugging Face ↗

Get this model

Download TorrentMagnet Link

Seeders: 1 · Leechers: 0

Observed 2026-09-02T13:56:39Z via announce.aitorrent.org:7070.

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 license: apache-2.0 datasets:

  • squad metrics:
  • squad model-index:
  • name: distilbert-base-cased-distilled-squad results:
    • task: type: question-answering name: Question Answering dataset: name: squad type: squad config: plain_text split: validation metrics:
      • type: exact_match value: 79.5998 name: Exact Match verified: true verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiZTViZDA2Y2E2NjUyMjNjYjkzNTUzODc5OTk2OTNkYjQxMDRmMDhlYjdmYWJjYWQ2N2RlNzY1YmI3OWY1NmRhOSIsInZlcnNpb24iOjF9.ZJHhboAMwsi3pqU-B-XKRCYP_tzpCRb8pEjGr2Oc-TteZeoWHI8CXcpDxugfC3f7d_oBcKWLzh3CClQxBW1iAQ
      • type: f1 value: 86.9965 name: F1 verified: true verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiZWZlMzY2MmE1NDNhOGNjNWRmODg0YjQ2Zjk5MjUzZDQ2MDYxOTBlMTNhNzQ4NTA2NjRmNDU3MGIzMTYwMmUyOSIsInZlcnNpb24iOjF9.z0ZDir87aT7UEmUeDm8Uw0oUdAqzlBz343gwnsQP3YLfGsaHe-jGlhco0Z7ISUd9NokyCiJCRc4NNxJQ83IuCw

DistilBERT base cased distilled SQuAD

Table of Contents

Model Details

Model Description: The DistilBERT model was proposed in the blog post Smaller, faster, cheaper, lighter: Introducing DistilBERT, adistilled version of BERT, and the paper DistilBERT, adistilled version of BERT: smaller, faster, cheaper and lighter. DistilBERT is a small, fast, cheap and light Transformer model trained by distilling BERT base. It has 40% less parameters than bert-base-uncased, runs 60% faster while preserving over 95% of BERT's performances as measured on the GLUE language understanding benchmark.

This model is a fine-tune checkpoint of DistilBERT-base-cased, fine-tuned using (a second step of) knowledge distillation on SQuAD v1.1.

  • Developed by: Hugging Face
  • Model Type: Transformer-based language model
  • Language(s): English
  • License: Apache 2.0
  • Related Models: DistilBERT-base-cased
  • Resources for more information:
    • See this repository for more about Distil* (a class of compressed models including this model)
    • See Sanh et al. (2019) for more information about knowledge distillation and the training procedure

How to Get Started with the Model

Use the code below to get started with the model.

>>> from transformers import pipeline
>>> question_answerer = pipeline("question-answering", model='distilbert-base-cased-distilled-squad')

>>> context = r"""
... Extractive Question Answering is the task of extracting an answer from a text given a question. An example     of a
... question answering dataset is the SQuAD dataset, which is entirely based on that task. If you would like to fine-tune
... a model on a SQuAD task, you may leverage the examples/pytorch/question-answering/run_squad.py script.
... """

>>> result = question_answerer(question="What is a good example of a question answering dataset?",     context=context)
>>> print(
... f"Answer: '{result['answer']}', score: {round(result['score'], 4)}, start: {result['start']}, end: {result['end']}"
...)

Answer: 'SQuAD dataset', score: 0.5152, start: 147, end: 160

Here is how to use this model in PyTorch:

from transformers import DistilBertTokenizer, DistilBertModel
import torch
tokenizer = DistilBertTokenizer.from_pretrained('distilbert-base-cased-distilled-squad')
model = DistilBertModel.from_pretrained('distilbert-base-cased-distilled-squad')

question, text = "Who was Jim Henson?", "Jim Henson was a nice puppet"

inputs = tokenizer(question, text, return_tensors="pt")
with torch.no_grad():
    outputs = model(**inputs)

print(outputs)

And in TensorFlow:

from transformers import DistilBertTokenizer, TFDistilBertForQuestionAnswering
import tensorflow as tf

tokenizer = DistilBertTokenizer.from_pretrained("distilbert-base-cased-distilled-squad")
model = TFDistilBertForQuestionAnswering.from_pretrained("distilbert-base-cased-distilled-squad")

question, text = "Who was Jim Henson?", "Jim Henson was a nice puppet"

inputs = tokenizer(question, text, return_tensors="tf")
outputs = model(**inputs)

answer_start_index = int(tf.math.argmax(outputs.start_logits, axis=-1)[0])
answer_end_index = int(tf.math.argmax(outputs.end_logits, axis=-1)[0])

predict_answer_tokens = inputs.input_ids[0, answer_start_index : answer_end_index + 1]
tokenizer.decode(predict_answer_tokens)

Uses

This model can be used for question answering.

Misuse and Out-of-scope Use

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

Risks, Limitations and Biases

CONTENT WARNING: Readers should be aware that language generated by this model can be disturbing or offensive to some and can propagate historical and current stereotypes.

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 can include disturbing and harmful stereotypes across protected classes; identity characteristics; and sensitive, social, and occupational groups. For example:

>>> from transformers import pipeline
>>> question_answerer = pipeline("question-answering", model='distilbert-base-cased-distilled-squad')

>>> context = r"""
... Alice is sitting on the bench. Bob is sitting next to her.
... """

>>> result = question_answerer(question="Who is the CEO?", context=context)
>>> print(
... f"Answer: '{result['answer']}', score: {round(result['score'], 4)}, start: {result['start']}, end: {result['end']}"
...)

Answer: 'Bob', score: 0.7527, start: 32, end: 35

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

Training

Training Data

The distilbert-base-cased model was trained using the same data as the distilbert-base-uncased model. The distilbert-base-uncased model model describes it's training data as:

DistilBERT pretrained on the same data as BERT, which is BookCorpus, a dataset consisting of 11,038 unpublished books and English Wikipedia (excluding lists, tables and headers).

To learn more about the SQuAD v1.1 dataset, see the SQuAD v1.1 data card.

Training Procedure

Preprocessing

See the distilbert-base-cased model card for further details.

Pretraining

See the distilbert-base-cased model card for further details.

Evaluation

As discussed in the model repository

This model reaches a F1 score of 87.1 on the [SQuAD v1.1] dev set (for comparison, BERT bert-base-cased version reaches a F1 score of 88.7).

Environmental Impact

Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019). We present the hardware type and hours used based on the associated paper. Note that these details are just for training DistilBERT, not including the fine-tuning with SQuAD.

  • Hardware Type: 8 16GB V100 GPUs
  • Hours used: 90 hours
  • Cloud Provider: Unknown
  • Compute Region: Unknown
  • Carbon Emitted: Unknown

Technical Specifications

See the associated paper for details on the modeling architecture, objective, compute infrastructure, and training details.

Citation Information

@inproceedings{sanh2019distilbert,
  title={DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter},
  author={Sanh, Victor and Debut, Lysandre and Chaumond, Julien and Wolf, Thomas},
  booktitle={NeurIPS EMC^2 Workshop},
  year={2019}
}

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.

Model Card Authors

This model card was written by the Hugging Face team.

Magnet link

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

magnet:?xt=urn:btih:00ca331f1728b26f4a9ecd352aa6bd5663a43b96&dn=distilbert_distilbert-base-cased-distilled-squad

Open magnet in torrent client · infohash 00ca331f1728b26f4a9ecd352aa6bd5663a43b96

Files & hashes

PathSizesha1sha256
README.md9.3 KB (9,515 B)d304730eb85a2e0aa1a856d3c653f370441d84152d56b8917b2b095f7215157a54bba89bdc2dad1dbcefd14e25aa0de7755dbea9
config.json473 B (473 B)41b2befbb5d0e14dead1bcc87b900d49098d70790b5cb15ec08645604ef7085acfaf9c4131158ac22207a76634574cf2771b1515
model.safetensors248.7 MB (260,782,156 B)2d56faa491693229d146b511ddad592f0f5065eef198de8ef6e40aeccd6eaa86e34dde73c3bb4bf0e54003cd182a18c29a1811db
openvino_model.bin248.7 MB (260,774,060 B)69ae86403b0520178248b5b007e3506f238a127afbe35d48b0d713cac84817ee8f7433c0ae31c3ec91275c33ab0811bb482ca993
openvino_model.xml500.9 KB (512,876 B)7c4e5a03f322988e4a28fefdcfbadbbb916a9260b1a46760d2370ebb4ac5fb13e9f89d02be9825e9090d9f0db2e791845da74866
pytorch_model.bin248.7 MB (260,793,700 B)6a4de3afe4d6ae231540ad6d5c97b6ede92626a34e10bdbc83fdbb975a430fc2148c85051e55bd288334deab18db58664ef0ea13
rust_model.ot248.7 MB (260,795,580 B)83c129d78d1a8000e90e4a10ebe9c040cda1de208a9f9b2f153ac9ff230aca4548fa3286be9d2f9ea4eb7e9169665b1a8e983f44
saved_model.tar.gz230.3 MB (241,487,391 B)9c2106fe3c20b04ce9d7cbbb6fed034424540839f7e26fe22fdeb23462ae6423fc04b7e4929212a49aa033c3a7b8f30c937c943f
tfjs.tar.gz229.9 MB (241,062,466 B)0babd5d348aa30cb3c79f31f2557a20138d80e7e2e966858819faa94996263752a344fad68f858299ccdf27ccabe3d868c588186
tokenizer.json425.6 KB (435,797 B)3506cd531024c4fad2649aec20f7aa2020bca693a17c4dbf7a87e1789a01d3e17ad6cb6dd716c883d0e82fcd11eb525ece122e3e
tokenizer_config.json49 B (49 B)2ba5de7675473164e07f3b3531748c9a6f113a2c0f6d13e6f4da6f9e24f22ada6bc3be571123d858d7c0c05a8a7cd55a9c23c2e8
vocab.txt208.4 KB (213,450 B)2ea941cc79a6f3d7985ca6991ef4f67dad62af04eeaa9875b23b04b4c54ef759d03db9d1ba1554838f8fb26c5d96fa551df93d02

Cite this release

Canonical URL
https://aiseedbank.org/models/distilbert_distilbert-base-cased-distilled-squad/
Slug
distilbert_distilbert-base-cased-distilled-squad
Infohash
00ca331f1728b26f4a9ecd352aa6bd5663a43b96
License
apache-2.0
Signing key fingerprint
85a3b32c3712427b

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

Provenance

Upstream repositorydistilbert/distilbert-base-cased-distilled-squad
Revision (pinned)564e9b582944a57a3e586bbb98fd6f0a4118db7f
Fetched at2026-09-02T04:33:25Z
License at fetchapache-2.0
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

✓ verified · rehash-vs-hf-metadata at 2026-09-02T04:33:42Z

apache-2.01.42 GB (1,526,867,513 bytes)transformerspytorchrustsafetensorsopenvinodistilbertquestion-answeringmodel-indexendpoints_compatible2 languages (tf, en)paper: 1910.01108paper: 1910.09700