IDEA-CCNL / Erlangshen-Roberta-330M-NLI

huggingface.co
Total runs: 6.6K
24-hour runs: 0
7-day runs: -1.4K
30-day runs: 2.7K
Model's Last Updated: May 26 2023
text-classification

Introduction of Erlangshen-Roberta-330M-NLI

Model Details of Erlangshen-Roberta-330M-NLI

Erlangshen-Roberta-330M-NLI

简介 Brief Introduction

中文的RoBERTa-wwm-ext-large在数个推理任务微调后的版本

This is the fine-tuned version of the Chinese RoBERTa-wwm-ext-large model on several NLI datasets.

模型分类 Model Taxonomy
需求 Demand 任务 Task 系列 Series 模型 Model 参数 Parameter 额外 Extra
通用 General 自然语言理解 NLU 二郎神 Erlangshen Roberta 330M 中文-自然语言推断 Chinese-NLI
模型信息 Model Information

基于 chinese-roberta-wwm-ext-large ,我们在收集的4个中文领域的NLI(自然语言推理)数据集,总计1014787个样本上微调了一个NLI版本。

Based on chinese-roberta-wwm-ext-large , we fine-tuned an NLI version on 4 Chinese Natural Language Inference (NLI) datasets, with totaling 1,014,787 samples.

下游效果 Performance
模型 Model cmnli ocnli snli
Erlangshen-Roberta-110M-NLI 80.83 78.56 88.01
Erlangshen-Roberta-330M-NLI 82.25 79.82 88
Erlangshen-MegatronBert-1.3B-NLI 84.52 84.17 88.67
使用 Usage
from transformers import BertForSequenceClassification
from transformers import BertTokenizer
import torch

tokenizer=BertTokenizer.from_pretrained('IDEA-CCNL/Erlangshen-Roberta-330M-NLI')
model=BertForSequenceClassification.from_pretrained('IDEA-CCNL/Erlangshen-Roberta-330M-NLI')

texta='今天的饭不好吃'
textb='今天心情不好'

output=model(torch.tensor([tokenizer.encode(texta,textb)]))
print(torch.nn.functional.softmax(output.logits,dim=-1))
引用 Citation

如果您在您的工作中使用了我们的模型,可以引用我们的 论文 :

If you are using the resource for your work, please cite the our paper :

@article{fengshenbang,
  author    = {Jiaxing Zhang and Ruyi Gan and Junjie Wang and Yuxiang Zhang and Lin Zhang and Ping Yang and Xinyu Gao and Ziwei Wu and Xiaoqun Dong and Junqing He and Jianheng Zhuo and Qi Yang and Yongfeng Huang and Xiayu Li and Yanghan Wu and Junyu Lu and Xinyu Zhu and Weifeng Chen and Ting Han and Kunhao Pan and Rui Wang and Hao Wang and Xiaojun Wu and Zhongshen Zeng and Chongpei Chen},
  title     = {Fengshenbang 1.0: Being the Foundation of Chinese Cognitive Intelligence},
  journal   = {CoRR},
  volume    = {abs/2209.02970},
  year      = {2022}
}

也可以引用我们的 网站 :

You can also cite our website :

@misc{Fengshenbang-LM,
  title={Fengshenbang-LM},
  author={IDEA-CCNL},
  year={2021},
  howpublished={\url{https://github.com/IDEA-CCNL/Fengshenbang-LM}},
}

Runs of IDEA-CCNL Erlangshen-Roberta-330M-NLI on huggingface.co

6.6K
Total runs
0
24-hour runs
124
3-day runs
-1.4K
7-day runs
2.7K
30-day runs

More Information About Erlangshen-Roberta-330M-NLI huggingface.co Model

More Erlangshen-Roberta-330M-NLI license Visit here:

https://choosealicense.com/licenses/apache-2.0

Erlangshen-Roberta-330M-NLI huggingface.co

Erlangshen-Roberta-330M-NLI huggingface.co is an AI model on huggingface.co that provides Erlangshen-Roberta-330M-NLI's model effect (), which can be used instantly with this IDEA-CCNL Erlangshen-Roberta-330M-NLI model. huggingface.co supports a free trial of the Erlangshen-Roberta-330M-NLI model, and also provides paid use of the Erlangshen-Roberta-330M-NLI. Support call Erlangshen-Roberta-330M-NLI model through api, including Node.js, Python, http.

Erlangshen-Roberta-330M-NLI huggingface.co Url

https://huggingface.co/IDEA-CCNL/Erlangshen-Roberta-330M-NLI

IDEA-CCNL Erlangshen-Roberta-330M-NLI online free

Erlangshen-Roberta-330M-NLI huggingface.co is an online trial and call api platform, which integrates Erlangshen-Roberta-330M-NLI's modeling effects, including api services, and provides a free online trial of Erlangshen-Roberta-330M-NLI, you can try Erlangshen-Roberta-330M-NLI online for free by clicking the link below.

IDEA-CCNL Erlangshen-Roberta-330M-NLI online free url in huggingface.co:

https://huggingface.co/IDEA-CCNL/Erlangshen-Roberta-330M-NLI

Erlangshen-Roberta-330M-NLI install

Erlangshen-Roberta-330M-NLI is an open source model from GitHub that offers a free installation service, and any user can find Erlangshen-Roberta-330M-NLI on GitHub to install. At the same time, huggingface.co provides the effect of Erlangshen-Roberta-330M-NLI install, users can directly use Erlangshen-Roberta-330M-NLI installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

Erlangshen-Roberta-330M-NLI install url in huggingface.co:

https://huggingface.co/IDEA-CCNL/Erlangshen-Roberta-330M-NLI

Url of Erlangshen-Roberta-330M-NLI

Erlangshen-Roberta-330M-NLI huggingface.co Url

Provider of Erlangshen-Roberta-330M-NLI huggingface.co

IDEA-CCNL
ORGANIZATIONS

Other API from IDEA-CCNL