Codesota · Models · DeBERTa-v3-largeMicrosoft6 results · 5 benchmarks
Model card

DeBERTa-v3-large.

Microsoftopen-source304M paramsDeBERTa-v3-large1 current SOTA

DeBERTaV3. ICLR 2023. GLUE average 91.37.

§ 01 · Card

Model card,
inline.

Rendered server-side from the upstream README on Hugging Face — same content as the source repo, with editorial typography. The full card, sample weights, and revision history live on HF.


Source
microsoft/deberta-v3-large
License
mit
Language
en

DeBERTaV3: Improving DeBERTa using ELECTRA-Style Pre-Training with Gradient-Disentangled Embedding Sharing

DeBERTa 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.

In DeBERTa V3, 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.

Please check the official repository for more implementation details and updates.

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.

Fine-tuning on NLU tasks

We present the dev results on SQuAD 2.0 and MNLI tasks.

| Model |Vocabulary(K)|Backbone #Params(M)| SQuAD 2.0(F1/EM) | MNLI-m/mm(ACC)| |-------------------|----------|-------------------|-----------|----------| | RoBERTa-large |50 |304 | 89.4/86.5 | 90.2 | | XLNet-large |32 |- | 90.6/87.9 | 90.8 | | DeBERTa-large |50 |- | 90.7/88.0 | 91.3 | | DeBERTa-v3-large|128|304 | 91.5/89.0| 91.8/91.9|

Fine-tuning with HF transformers
bash
#!/bin/bash cd transformers/examples/pytorch/text-classification/ pip install datasets export TASK_NAME=mnli output_dir="ds_results" num_gpus=8 batch_size=8 python -m torch.distributed.launch --nproc_per_node=${num_gpus} \ run_glue.py \ --model_name_or_path microsoft/deberta-v3-large \ --task_name $TASK_NAME \ --do_train \ --do_eval \ --evaluation_strategy steps \ --max_seq_length 256 \ --warmup_steps 50 \ --per_device_train_batch_size ${batch_size} \ --learning_rate 6e-6 \ --num_train_epochs 2 \ --output_dir $output_dir \ --overwrite_output_dir \ --logging_steps 1000 \ --logging_dir $output_dir

Citation

If you find DeBERTa useful for your work, please cite the following papers:

latex
@misc{he2021debertav3, title={DeBERTaV3: Improving DeBERTa using ELECTRA-Style Pre-Training with Gradient-Disentangled Embedding Sharing}, author={Pengcheng He and Jianfeng Gao and Weizhu Chen}, year={2021}, eprint={2111.09543}, archivePrefix={arXiv}, primaryClass={cs.CL} }
latex
@inproceedings{ he2021deberta, title={DEBERTA: DECODING-ENHANCED BERT WITH DISENTANGLED ATTENTION}, author={Pengcheng He and Xiaodong Liu and Jianfeng Gao and Weizhu Chen}, booktitle={International Conference on Learning Representations}, year={2021}, url={https://openreview.net/forum?id=XPZIaotutsD} }
Card content reproduced from huggingface.co/microsoft/deberta-v3-large under the upstream license. Rendering trims fenced HTML, raw widgets and tables for safety; tap the link for the untouched original.
§ 02 · Benchmarks

Every benchmark DeBERTa-v3-large has a recorded score for.

#BenchmarkArea · TaskMetricValueRankDateSource
01GLUENatural Language Processing · Fill-Maskavg-score91.4%#1/32023-01-01source ↗
02SQuAD v2.0Natural Language Processing · Question Answeringem88.4%#1/22021-11-18source ↗
03SuperGLUENatural Language Processing · Text classificationaverage-score91.4%#1/72021-11-18source ↗
04CoNLL-2003Natural Language Processing · Named Entity Recognitionf193.4%#2/72021-11-18source ↗
05SNLINatural Language Processing · Natural Language Inferenceaccuracy92.2%#2/82021-11-18source ↗
06SQuAD v2.0Natural Language Processing · Question Answeringf191.4%#2/262021-11-18source ↗
Rank column shows this model’s position vs all other models scored on the same benchmark + metric (competitors after the slash). #1 in red means current SOTA. Sorted by rank, then newest result.
§ 03 · Strengths by area

Where DeBERTa-v3-large actually performs.

Natural Language Processing
4
benchmarks
avg rank #1.6 · 1 SOTA
Natural Language Processing
1
benchmark
avg rank #1.0
§ 04 · Papers

2 papers with results for DeBERTa-v3-large.

  1. 2023-01-01· Natural Language Processing· 1 result

    DeBERTaV3: Improving DeBERTa using ELECTRA-Style Pre-Training with Gradient-Disentangled Embedding Sharing

  2. 2021-11-18· Natural Language Processing· 5 results

    DeBERTaV3: Improving DeBERTa using ELECTRA-Style Pre-Training with Gradient-Disentangled Embedding Sharing

§ 05 · Related models

Other Microsoft models scored on Codesota.

RAD-DINO
2 results · 1 SOTA
NaturalSpeech 3
~500M params · 1 result · 1 SOTA
Swin Transformer V2 Large
197M params · 1 result · 1 SOTA
WavLM Large (SV)
316M params · 1 result · 1 SOTA
ResNet-152
60M params · 3 results
ResNet-50
25M params · 3 results
Florence-2-Large
2 results
KOSMOS-2.5
2 results
§ 06 · Sources & freshness

Where these numbers come from.

arxiv
6
results
6 of 6 rows marked verified. · first result 2021-11-18, latest 2023-01-01.