Aller au contenu
ModelVérifiéExterne
Télécharger

Distilbert Base Uncased Finetuned Squad D5716d28

This model replicates the "DistilBERT (D)" model from Table 2 of the DistilBERT paper. In this approach, a DistilBERT student is fine-tuned on SQuAD v1.1, but with a BERT model (also fine-tuned on SQuAD v1.1) acting...

TypeOtherVersionRevision 3413be5Éditeur@gugukakaCClasse

Source du modèle

Type
Other
Taille du fichier
253 MB
Version
vRevision 3413be5
Mis à jour
22 oct. 2026
Éditeur
@gugukaka
Téléchargements
0
Source
Hugging Face

Description de la source

DistilBERT with a second step of distillation

Model description

This model replicates the "DistilBERT (D)" model from Table 2 of the DistilBERT paper. In this approach, a DistilBERT student is fine-tuned on SQuAD v1.1, but with a BERT model (also fine-tuned on SQuAD v1.1) acting as a teacher for a second step of task-specific distillation.

In this version, the following pre-trained models were used:

  • Student: distilbert-base-uncased
  • Teacher: lewtun/bert-base-uncased-finetuned-squad-v1

Training data

This model was trained on the SQuAD v1.1 dataset which can be obtained from the datasets library as follows:

from datasets import load_dataset
squad = load_dataset('squad')

Training procedure

Eval results

Exact MatchF1
DistilBERT paper79.186.9
Ours78.486.5

The scores were calculated using the squad metric from datasets.

BibTeX entry and citation info

@misc{sanh2020distilbert,
      title={DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter}, 
      author={Victor Sanh and Lysandre Debut and Julien Chaumond and Thomas Wolf},
      year={2020},
      eprint={1910.01108},
      archivePrefix={arXiv},
      primaryClass={cs.CL}
}

Sources

1 source
Hugging FacePrincipalVersion 3413be5405c944c82dc2408390fd3f2b46e84318
huggingface.co/gugukaka/distilbert-base-uncased-finetuned-squad-d5716d28/tree/3413be5405c944c82dc2408390fd3f2b46e84318

Vérifié 22 oct.

Artefacts du modèle

1 artefact

pytorch_model.bin

bin · 253 MB · SHA-256 24283a1b9a84…b121 · Hugging Face

Télécharger

Extraits de sources

3 extraits

--- language: - en thumbnail: https://github.com/karanchahal/distiller/blob/master/distiller.jpg tags: - question-answering license: apache-2.0 datasets: - squad metrics: - squad --- # DistilBERT with a second step of distillation ## Model description This model replicates the "DistilBERT (D)" model from Table 2 of the [DistilBERT paper](https://arxiv.org/pdf/1910.01108.pdf). In this approach, a DistilBERT student is fine-tuned on SQuAD v1.1, but with a BERT model (also fine-tuned on SQuAD v1.1) acting as a teacher for a second step of task-specific distillation. In this version, the following pre-trained models were used: * Student: `distilbert-base-uncased` * Teacher: `lewtun/bert-base-uncased-finetuned-squad-v1` ## Training data This model was trained on the SQuAD v1.1 dataset which can be obtained from the `datasets` library as follows: ```python from datasets import load_dataset squad = load_dataset('squad') ``` ## Training procedure ## Eval results | | Exact Match | F1 | |------------------|-------------|------| | DistilBERT paper | 79.1 | 86.9 | | Ours | 78.4 | 86.5 | The scores were calculated using the `squad` metric from `datasets`. ### BibTeX entry and citation info ```bibtex @misc{sanh2020distilbert, title={DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter}, author={Victor Sanh and Lysandre Debut and Julien Chaumond and Thomas Wolf}, year={2020}, eprint={1910.01108}, archivePrefix={arXiv}, primaryClass={cs.CL} } ```

Source context: 0 downloads · 0 likes · Pipeline question-answering · Repo gugukaka/distilbert-base-uncased-finetuned-squad-d5716d28

Source context: 0 downloads · 0 likes · Pipeline question-answering · Repo gugukaka/distilbert-base-uncased-finetuned-squad-d5716d28