From a547ce14d1bdfb6ea55c5e38a44823d07289dde0 Mon Sep 17 00:00:00 2001 From: Julien Chaumond Date: Fri, 11 Dec 2020 22:24:18 +0100 Subject: [PATCH] Migrate model card from transformers-repo Read announcement at https://discuss.huggingface.co/t/announcement-all-model-cards-will-be-migrated-to-hf-co-model-repos/2755 Original file history: https://github.com/huggingface/transformers/commits/master/model_cards/distilroberta-base-README.md --- README.md | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..18bbbb8 --- /dev/null +++ b/README.md @@ -0,0 +1,50 @@ +--- +language: en +tags: +- exbert + +license: apache-2.0 +datasets: +- openwebtext +--- + +# DistilRoBERTa base model + +This model is a distilled version of the [RoBERTa-base model](https://huggingface.co/roberta-base). It follows the same training procedure as [DistilBERT](https://huggingface.co/distilbert-base-uncased). +The code for the distillation process can be found [here](https://github.com/huggingface/transformers/tree/master/examples/distillation). +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 to check [RoBERTa-base model](https://huggingface.co/roberta-base) to know more about usage, limitations and potential biases. + +## Training data + +DistilRoBERTa was pre-trained on [OpenWebTextCorpus](https://skylion007.github.io/OpenWebTextCorpus/), a reproduction of OpenAI's WebText dataset (it is ~4 times less training data than the teacher RoBERTa). + +## Evaluation results + +When fine-tuned on downstream tasks, this model achieves the following results: + +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 | + +### BibTeX entry and citation info + +```bibtex +@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} +} +``` + + + +