microsoft / deberta-v3-small

huggingface.co
Total runs: 914.2K
24-hour runs: 0
7-day runs: 49.2K
30-day runs: 162.4K
Model's Last Updated: September 26 2022
fill-mask

Introduction of deberta-v3-small

Model Details of deberta-v3-small

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 small model comes with 6 layers and a hidden size of 768. It has 44M backbone parameters with a vocabulary containing 128K tokens which introduces 98M 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-base 50 86 83.7/80.5 87.6/-
XLNet-base 32 92 -/80.2 86.8/-
ELECTRA-base 30 86 -/80.5 88.8/
DeBERTa-base 50 100 86.2/83.1 88.8/88.5
DeBERTa-v3-large 128 304 91.5/89.0 91.8/91.9
DeBERTa-v3-base 128 86 88.4/85.4 90.6/90.7
DeBERTa-v3-small 128 44 82.8/80.4 88.3/87.7
DeBERTa-v3-small+SiFT 128 22 -/- 88.8/88.5
Fine-tuning with HF transformers
#!/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-small \
  --task_name $TASK_NAME \
  --do_train \
  --do_eval \
  --evaluation_strategy steps \
  --max_seq_length 256 \
  --warmup_steps 1500 \
  --per_device_train_batch_size ${batch_size} \
  --learning_rate 4.5e-5 \
  --num_train_epochs 3 \
  --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:

@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}
}
@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}
}

Runs of microsoft deberta-v3-small on huggingface.co

914.2K
Total runs
0
24-hour runs
24.0K
3-day runs
49.2K
7-day runs
162.4K
30-day runs

More Information About deberta-v3-small huggingface.co Model

More deberta-v3-small license Visit here:

https://choosealicense.com/licenses/mit

deberta-v3-small huggingface.co

deberta-v3-small huggingface.co is an AI model on huggingface.co that provides deberta-v3-small's model effect (), which can be used instantly with this microsoft deberta-v3-small model. huggingface.co supports a free trial of the deberta-v3-small model, and also provides paid use of the deberta-v3-small. Support call deberta-v3-small model through api, including Node.js, Python, http.

deberta-v3-small huggingface.co Url

https://huggingface.co/microsoft/deberta-v3-small

microsoft deberta-v3-small online free

deberta-v3-small huggingface.co is an online trial and call api platform, which integrates deberta-v3-small's modeling effects, including api services, and provides a free online trial of deberta-v3-small, you can try deberta-v3-small online for free by clicking the link below.

microsoft deberta-v3-small online free url in huggingface.co:

https://huggingface.co/microsoft/deberta-v3-small

deberta-v3-small install

deberta-v3-small is an open source model from GitHub that offers a free installation service, and any user can find deberta-v3-small on GitHub to install. At the same time, huggingface.co provides the effect of deberta-v3-small install, users can directly use deberta-v3-small installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

deberta-v3-small install url in huggingface.co:

https://huggingface.co/microsoft/deberta-v3-small

Url of deberta-v3-small

deberta-v3-small huggingface.co Url

Provider of deberta-v3-small huggingface.co

microsoft
ORGANIZATIONS

Other API from microsoft

huggingface.co

Total runs: 681.1K
Run Growth: 208.0K
Growth Rate: 30.53%
Updated:February 03 2022
huggingface.co

Total runs: 595.8K
Run Growth: -131.1K
Growth Rate: -22.00%
Updated:November 25 2025
huggingface.co

Total runs: 535.6K
Run Growth: 307.0K
Growth Rate: 57.32%
Updated:April 08 2024
huggingface.co

Total runs: 511.8K
Run Growth: -531.5K
Growth Rate: -103.84%
Updated:December 08 2025
huggingface.co

Total runs: 486.2K
Run Growth: -17.3K
Growth Rate: -3.57%
Updated:September 26 2022
huggingface.co

Total runs: 289.1K
Run Growth: -22.3K
Growth Rate: -7.70%
Updated:February 14 2024
huggingface.co

Total runs: 117.8K
Run Growth: -147.4K
Growth Rate: -125.12%
Updated:November 08 2023
huggingface.co

Total runs: 117.6K
Run Growth: -1.2K
Growth Rate: -1.03%
Updated:February 29 2024
huggingface.co

Total runs: 100.0K
Run Growth: -425
Growth Rate: -0.42%
Updated:August 28 2025
huggingface.co

Total runs: 97.1K
Run Growth: -10.3K
Growth Rate: -10.50%
Updated:February 03 2023
huggingface.co

Total runs: 69.7K
Run Growth: -13.1K
Growth Rate: -18.74%
Updated:November 25 2025
huggingface.co

Total runs: 68.7K
Run Growth: -18.2K
Growth Rate: -26.47%
Updated:December 03 2025
huggingface.co

Total runs: 52.0K
Run Growth: 26.0K
Growth Rate: 50.00%
Updated:December 23 2021
huggingface.co

Total runs: 33.0K
Run Growth: -86.7K
Growth Rate: -263.10%
Updated:May 12 2026
huggingface.co

Total runs: 32.5K
Run Growth: 28.2K
Growth Rate: 86.85%
Updated:April 23 2026
huggingface.co

Total runs: 29.6K
Run Growth: 16.8K
Growth Rate: 59.95%
Updated:April 24 2023