Views
No views yet
| 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 |
1#!/bin/bash
2
3cd transformers/examples/pytorch/text-classification/
4
5pip install datasets
6
7output_dir="ds_results"
8
9num_gpus=8
10
11batch_size=4
12
13python -m torch.distributed.launch --nproc_per_node=${num_gpus} \
14 run_xnli.py \
15 --model_name_or_path microsoft/mdeberta-v3-base \
16 --task_name $TASK_NAME \
17 --do_train \
18 --do_eval \
19 --train_language en \
20 --language en \
21 --evaluation_strategy steps \
22 --max_seq_length 256 \
23 --warmup_steps 3000 \
24 --per_device_train_batch_size ${batch_size} \
25 --learning_rate 2e-5 \
26 --num_train_epochs 6 \
27 --output_dir $output_dir \
28 --overwrite_output_dir \
29 --logging_steps 1000 \
30 --logging_dir $output_dir
311@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}