Views
No views yet
| 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 |
1#!/bin/bash
2
3cd transformers/examples/pytorch/text-classification/
4
5pip install datasets
6export TASK_NAME=mnli
7
8output_dir="ds_results"
9
10num_gpus=8
11
12batch_size=8
13
14python -m torch.distributed.launch --nproc_per_node=${num_gpus} \
15 run_glue.py \
16 --model_name_or_path microsoft/deberta-v3-small \
17 --task_name $TASK_NAME \
18 --do_train \
19 --do_eval \
20 --evaluation_strategy steps \
21 --max_seq_length 256 \
22 --warmup_steps 1500 \
23 --per_device_train_batch_size ${batch_size} \
24 --learning_rate 4.5e-5 \
25 --num_train_epochs 3 \
26 --output_dir $output_dir \
27 --overwrite_output_dir \
28 --logging_steps 1000 \
29 --logging_dir $output_dir
301@misc{he2021debertav3,
2 title={DeBERTaV3: Improving DeBERTa using ELECTRA-Style Pre-Training with Gradient-Disentangled Embedding Sharing},
3 author={Pengcheng He and Jianfeng Gao and Weizhu Chen},
4 year={2021},
5 eprint={2111.09543},
6 archivePrefix={arXiv},
7 primaryClass={cs.CL}
8}1@inproceedings{
2he2021deberta,
3title={DEBERTA: DECODING-ENHANCED BERT WITH DISENTANGLED ATTENTION},
4author={Pengcheng He and Xiaodong Liu and Jianfeng Gao and Weizhu Chen},
5booktitle={International Conference on Learning Representations},
6year={2021},
7url={https://openreview.net/forum?id=XPZIaotutsD}
8}