microsoft / mdeberta-v3-base

huggingface.co
Total runs: 4.4M
24-hour runs: 119.5K
7-day runs: 200.2K
30-day runs: -695.3K
Model's Last Updated: April 06 2023
fill-mask

Introduction of mdeberta-v3-base

Model Details of mdeberta-v3-base

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.

mDeBERTa is multilingual version of DeBERTa which use the same structure as DeBERTa and was trained with CC100 multilingual data. The mDeBERTa V3 base model comes with 12 layers and a hidden size of 768. It has 86M backbone parameters with a vocabulary containing 250K tokens which introduces 190M parameters in the Embedding layer. This model was trained using the 2.5T CC100 data as XLM-R.

Fine-tuning on NLU tasks

We present the dev results on XNLI with zero-shot cross-lingual transfer setting, i.e. training with English data only, test on other languages.

Model avg en fr es de el bg ru tr ar vi th zh hi sw ur
XLM-R-base 76.2 85.8 79.7 80.7 78.7 77.5 79.6 78.1 74.2 73.8 76.5 74.6 76.7 72.4 66.5 68.3
mDeBERTa-base 79.8 +/-0.2 88.2 82.6 84.4 82.7 82.3 82.4 80.8 79.5 78.5 78.1 76.4 79.5 75.9 73.9 72.4
Fine-tuning with HF transformers
#!/bin/bash

cd transformers/examples/pytorch/text-classification/

pip install datasets

output_dir="ds_results"

num_gpus=8

batch_size=4

python -m torch.distributed.launch --nproc_per_node=${num_gpus} \
  run_xnli.py \
  --model_name_or_path microsoft/mdeberta-v3-base \
  --task_name $TASK_NAME \
  --do_train \
  --do_eval \
  --train_language en \
  --language en \
  --evaluation_strategy steps \
  --max_seq_length 256 \
  --warmup_steps 3000 \
  --per_device_train_batch_size ${batch_size} \
  --learning_rate 2e-5 \
  --num_train_epochs 6 \
  --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 mdeberta-v3-base on huggingface.co

4.4M
Total runs
119.5K
24-hour runs
200.2K
3-day runs
200.2K
7-day runs
-695.3K
30-day runs

More Information About mdeberta-v3-base huggingface.co Model

More mdeberta-v3-base license Visit here:

https://choosealicense.com/licenses/mit

mdeberta-v3-base huggingface.co

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

mdeberta-v3-base huggingface.co Url

https://huggingface.co/microsoft/mdeberta-v3-base

microsoft mdeberta-v3-base online free

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

microsoft mdeberta-v3-base online free url in huggingface.co:

https://huggingface.co/microsoft/mdeberta-v3-base

mdeberta-v3-base install

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

mdeberta-v3-base install url in huggingface.co:

https://huggingface.co/microsoft/mdeberta-v3-base

Url of mdeberta-v3-base

mdeberta-v3-base huggingface.co Url

Provider of mdeberta-v3-base 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: 316.8K
Run Growth: -146.1K
Growth Rate: -46.13%
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: 142.9K
Run Growth: 112.8K
Growth Rate: 78.89%
Updated:May 12 2026
huggingface.co

Total runs: 118.6K
Run Growth: 23.7K
Growth Rate: 19.97%
Updated:February 03 2023
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: 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: 57.5K
Run Growth: 0
Growth Rate: 0.00%
Updated:December 23 2021
huggingface.co

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

Total runs: 31.2K
Run Growth: 8.2K
Growth Rate: 26.19%
Updated:April 24 2023