Views
No views yet
| Model | Vocabulary(K) | Backbone #Params(M) | SQuAD 2.0(F1/EM) | MNLI-m/mm(ACC) |
|---|---|---|---|---|
| RoBERTa-large | 50 | 304 | 89.4/86.5 | 90.2 |
| XLNet-large | 32 | - | 90.6/87.9 | 90.8 |
| DeBERTa-large | 50 | - | 90.7/88.0 | 91.3 |
| DeBERTa-v3-large | 128 | 304 | 91.5/89.0 | 91.8/91.9 |
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-large \
17 --task_name $TASK_NAME \
18 --do_train \
19 --do_eval \
20 --evaluation_strategy steps \
21 --max_seq_length 256 \
22 --warmup_steps 50 \
23 --per_device_train_batch_size ${batch_size} \
24 --learning_rate 6e-6 \
25 --num_train_epochs 2 \
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}