Pengcheng He commited on
Commit
ba88b9f
1 Parent(s): 9bd89e4

Improve README

Browse files
Files changed (2) hide show
  1. README.md +17 -12
  2. pytorch_model.bin +1 -1
README.md CHANGED
@@ -7,27 +7,32 @@ thumbnail: https://huggingface.co/front/thumbnails/microsoft.png
7
  license: mit
8
  ---
9
 
10
- ## DeBERTa: Decoding-enhanced BERT with Disentangled Attention
11
 
12
  [DeBERTa](https://arxiv.org/abs/2006.03654) improves the BERT and RoBERTa models using disentangled attention and enhanced mask decoder. With those two improvements, DeBERTa out perform RoBERTa on a majority of NLU tasks with 80GB training data.
13
 
14
- Please check the [official repository](https://github.com/microsoft/DeBERTa) for more details and updates.
15
 
16
- In [DeBERTa V3](https://arxiv.org/abs/2111.09543), we replaced the MLM objective with the RTD(Replaced Token Detection) objective introduced by ELECTRA for pre-training, as well as some innovations to be introduced in our upcoming paper. Compared to DeBERTa-V2, our V3 version significantly improves the model performance in downstream tasks. You can find a simple introduction about the model from the appendix A11 in our original [paper](https://arxiv.org/abs/2006.03654), but we will provide more details in a separate write-up.
17
 
18
- The DeBERTa V3 large model comes with 24 layers and a hidden size of 1024 . Its total parameter number is 418M since we use a vocabulary containing 128K tokens which introduce 131M parameters in the Embedding layer. This model was trained using the 160GB data as DeBERTa V2.
19
 
20
 
21
  #### Fine-tuning on NLU tasks
22
 
23
- We present the dev results on SQuAD 1.1/2.0 and MNLI tasks.
 
 
 
 
 
 
 
 
 
 
 
24
 
25
- | Model | SQuAD 1.1 | SQuAD 2.0 | MNLI-m |
26
- |-------------------|-----------|-----------|--------|
27
- | RoBERTa-large | 94.6/88.9 | 89.4/86.5 | 90.2 |
28
- | XLNet-large | 95.1/89.7 | 90.6/87.9 | 90.8 |
29
- | DeBERTa-large | -/- | 90.7/88.0 | 91.3 |
30
- | **DeBERTa-v3-large** | -/- | 91.5/89.0 | **92.0** |
31
 
32
  #### Fine-tuning with HF transformers
33
 
@@ -66,7 +71,7 @@ python -m torch.distributed.launch --nproc_per_node=${num_gpus} \
66
 
67
  ### Citation
68
 
69
- If you find DeBERTa useful for your work, please cite the following paper:
70
 
71
  ``` latex
72
  @misc{he2021debertav3,
 
7
  license: mit
8
  ---
9
 
10
+ ## DeBERTaV3: Improving DeBERTa using ELECTRA-Style Pre-Training with Gradient-Disentangled Embedding Sharing
11
 
12
  [DeBERTa](https://arxiv.org/abs/2006.03654) improves the BERT and RoBERTa models using disentangled attention and enhanced mask decoder. With those two improvements, DeBERTa out perform RoBERTa on a majority of NLU tasks with 80GB training data.
13
 
14
+ In [DeBERTa V3](https://arxiv.org/abs/2111.09543), we further improved the efficiency of DeBERTa using ELECTRA-Style pre-training with Gradient Disentangled Embedding Sharing. Compared to DeBERTa, our V3 version significantly improves the model performance on downstream tasks. You can find more technique details about the new model from our [paper](https://arxiv.org/abs/2111.09543).
15
 
16
+ Please check the [official repository](https://github.com/microsoft/DeBERTa) for more implementation details and updates.
17
 
18
+ The DeBERTa V3 large model comes with 24 layers and a hidden size of 1024. It has 304M backbone parameters with a vocabulary containing 128K tokens which introduces 131M parameters in the Embedding layer. This model was trained using the 160GB data as DeBERTa V2.
19
 
20
 
21
  #### Fine-tuning on NLU tasks
22
 
23
+ We present the dev results on SQuAD 2.0 and MNLI tasks.
24
+
25
+ | Model |Vocabulary(K)|Backbone #Params(M)| SQuAD 2.0(F1/EM) | MNLI-m/mm(ACC)|
26
+ |-------------------|----------|-------------------|-----------|----------|
27
+ | RoBERTa-base |50 |86 | 83.7/80.5 | 87.6/- |
28
+ | XLNet-base |32 |92 | -/80.2 | 86.8/- |
29
+ | ELECTRA-base |30 |86 | -/80.5 | 88.8/ |
30
+ | DeBERTa-base |50 |100 | 86.2/83.1| 88.8/88.5|
31
+ | RoBERTa-large |50 |304 | 89.4/86.5 | 90.2 |
32
+ | XLNet-large |32 |- | 90.6/87.9 | 90.8 |
33
+ | DeBERTa-large |50 |- | 90.7/88.0 | 91.3 |
34
+ | **DeBERTa-v3-large**|128|304 | **91.5/89.0**| **91.8/91.9**|
35
 
 
 
 
 
 
 
36
 
37
  #### Fine-tuning with HF transformers
38
 
 
71
 
72
  ### Citation
73
 
74
+ If you find DeBERTa useful for your work, please cite the following papers:
75
 
76
  ``` latex
77
  @misc{he2021debertav3,
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:12d1429d44a5d8a8d04d4fe8b09ff04ef8b1ec2e25ed4fd216cd5a61155da517
3
  size 873673253
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd5b5d93e2db101aaf281df0ea1216c07ad73620ff59c5b42dccac4bf2eef5b5
3
  size 873673253