microsoft_deberta-v3-small
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: en tags:
- deberta
- deberta-v3
- 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.
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}
}
Magnet link
Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:
magnet:?xt=urn:btih:835ed59f6984af8e27e8306cea7812fb7594ed45&dn=microsoft_deberta-v3-smallOpen magnet in torrent client · infohash 835ed59f6984af8e27e8306cea7812fb7594ed45
Files & hashes
| Path | Size | sha1 | sha256 |
|---|---|---|---|
| README.md | 3.5 KB (3,585 B) | 3681ca9941391658e169811eba1ac3a5ee6c6779 | 9aa2d47666370a87d20422ed68a1ee80d79d66b4447b6f9925d97d11f4605d24 |
| config.json | 578 B (578 B) | 2d87b358d3c6430b530c793f80aaf091c6dac170 | b0bb1caf90a50aa67d1085130508dfbf8646ac5a11928305e280b07a36e100ae |
| pytorch_model.bin | 272.8 MB (286,059,269 B) | ce71093bb0f17e837c6b0428a2fc45102c589af8 | d4b0ebcc7799a2c2dde1a39199cb0ed709f2c6b63a48b8c05133b77955f271a9 |
| spm.model | 2.4 MB (2,464,616 B) | 1993e578cb006883fd01014f831c6261e8136823 | c679fbf93643d19aab7ee10c0b99e460bdbc02fedf34b92b05af343b4af586fd |
| tokenizer_config.json | 52 B (52 B) | acfd94e399c5659e4bed75f91b4ee24b111fc7a6 | 3f3978e0c036f2c2588cac34a6047cbb0af0b0dc1814254e291028529805496d |
Cite this release
- Canonical URL
- https://aiseedbank.org/models/microsoft_deberta-v3-small/
- Slug
- microsoft_deberta-v3-small
- Infohash
- 835ed59f6984af8e27e8306cea7812fb7594ed45
- License
- mit
- Signing key fingerprint
- 85a3b32c3712427b
Every file carries a locally computed sha256 — verify a download against the signed sums: microsoft_deberta-v3-small.SHA256SUMS (+ minisign signature).
Provenance
| Upstream repository | microsoft/deberta-v3-small |
|---|---|
| Revision (pinned) | a36c739020e01763fe789b4b85e2df55d6180012 |
| Fetched at | 2026-09-04T02:42:34Z |
| 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:42:40Z
mit275.2 MB (288,528,100 bytes)transformerspytorchdeberta-v2debertadeberta-v3fill-maskendpoints_compatible2 languages (tf, en)paper: 2006.03654paper: 2111.09543