Downloads · 30 days
72
18% of all-time downloads
takehika/mdeberta-v3-wanli-ja-nli
mdeberta-v3-wanli-ja-nli is a zero-shot classification model from takehika. Use it when you need labels you did not train the model on. It is set up for transformers. The card lists the license as cc-by-4.0.
Fine-tuned microsoft/mdeberta-v3-base on a Japanese wanli-ja-nli dataset for natural language inference.
Downloads · 30 days
72
18% of all-time downloads
All-time downloads
410
Public
Parameters
279M
1.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors1.1 GB · 98%
From the Hugging Face model README
Fine-tuned microsoft/mdeberta-v3-base on a Japanese wanli-ja-nli dataset for natural language inference.
microsoft/mdeberta-v3-basefrom transformers import pipeline
model_id = "takehika/mdeberta-v3-wanli-ja-nli"
classifier = pipeline("zero-shot-classification", model=model_id)
text = "市議会は二酸化炭素排出量を削減し、都市公園を保護するための新しい環境イニシアチブを実施しています。"
labels = ["天気", "環境", "娯楽", "経済", "政治"]
output = classifier(text, labels, multi_label=False)
print(output)
takehika/wanli-ja-nli, ja_only)microsoft/mdeberta-v3-basef1takehika/wanli-ja-nli) - CC BY 4.0
This model modifies the base model by fine-tuning on the above dataset.
@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}
}