microsoft_mdeberta-v3-base
microsoft · View on Hugging Face ↗
Model card
The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.
language:
- multilingual
- en
- ar
- bg
- de
- el
- es
- fr
- hi
- ru
- sw
- th
- tr
- ur
- vi
- zh
tags:
- deberta
- deberta-v3
- mdeberta
- fill-mask thumbnail: https://huggingface.co/front/thumbnails/microsoft.png license: mit
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}
}
Magnet link
Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:
magnet:?xt=urn:btih:70edf62a31e15b41f0706d180f21dde67d703f9f&dn=microsoft_mdeberta-v3-baseOpen magnet in torrent client · infohash 70edf62a31e15b41f0706d180f21dde67d703f9f
Files & hashes
| Path | Size | sha1 | sha256 |
|---|---|---|---|
| README.md | 3.6 KB (3,667 B) | 779d99e0b02b1f278e35c2ad228417192dec4eba | 90d5e535e04fc9ac4f39336ed33c1adc7d0136b8ce3bbe211c18a0d47b72342f |
| config.json | 579 B (579 B) | 27b905d788d20826414d27ce9fa9765623e38ea7 | bcffcd343dc5efa5ef2d5a58d2b405eed108f01cc45b48d0a907b333ec41801f |
| generator_config.json | 575 B (575 B) | eaf7c50b75f856f7623e8b19f706501c0f6e035a | 07847ec0ce8f311d803521afba4c9a66c221a081ce1c57a364fa4eda8deed592 |
| pytorch_model.bin | 1.24 GB (1,332,809,049 B) | 2d4fb21726f2c7e7a5515828de1fa5ccbbde9795 | 6f89419baf0f1aaad5cab7d53901e36a8c1af8f6b4ab58b15db9af32df656ead |
| pytorch_model.generator.bin | 905.3 MB (949,298,651 B) | 8e09103c90f0b475ee1599b93ccea218731f7dba | 6ed99a7559e70706a5d8cd4fec61563e8d2681316ef02408ead469b6f0107006 |
| spm.model | 4.1 MB (4,305,025 B) | b6ce70fade02f08a6e4c57a31fa12da5eff13998 | 13c8d666d62a7bc4ac8f040aab68e942c861f93303156cc28f5c7e885d86d6e3 |
| tokenizer_config.json | 52 B (52 B) | acfd94e399c5659e4bed75f91b4ee24b111fc7a6 | 3f3978e0c036f2c2588cac34a6047cbb0af0b0dc1814254e291028529805496d |
Cite this release
- Canonical URL
- https://aiseedbank.org/models/microsoft_mdeberta-v3-base/
- Slug
- microsoft_mdeberta-v3-base
- Infohash
- 70edf62a31e15b41f0706d180f21dde67d703f9f
- License
- mit
- Signing key fingerprint
- 85a3b32c3712427b
Every file carries a locally computed sha256 — verify a download against the signed sums: microsoft_mdeberta-v3-base.SHA256SUMS (+ minisign signature).
Provenance
| Upstream repository | microsoft/mdeberta-v3-base |
|---|---|
| Revision (pinned) | a0484667b22365f84929a935b5e50a51f71f159d |
| Fetched at | 2026-09-04T02:44:51Z |
| License at fetch | mit |
| Snapshot tool | huggingface · seedbank 0.1.0 |
Trackers
- udp://announce.aitorrent.org:6969/announce
- http://announce.aitorrent.org:7070/announce
- udp://announce2.aitorrent.org:6970/announce
- http://announce2.aitorrent.org:7071/announce
- udp://tracker.opentrackr.org:1337/announce
- udp://open.demonii.com:1337/announce
- udp://open.stealth.si:80/announce
- udp://exodus.desync.com:6969/announce
- udp://tracker.torrent.eu.org:451/announce
✓ verified · rehash-vs-hf-metadata at 2026-09-04T02:45:15Z
mit2.13 GB (2,286,417,598 bytes)transformerspytorchdeberta-v2debertadeberta-v3mdebertafill-maskmultilingualendpoints_compatible16 languages (tf, en, ar …)paper: 2006.03654paper: 2111.09543