模型:
注意:这些预训练的entailment模型旨在与 Ask2Transformers 库一起使用,但也完全兼容于 Transformers 中的ZeroShotTextClassificationPipeline。
文本蕴涵(或自然语言推理)已经证明是零样本文本分类问题的一个不错选择[1] [2] [3]。最近的研究使用相同的思路解决了信息提取问题[4] [5] [6] [7]。A2T蕴涵模型首先使用NLI数据集进行训练,例如MNLI[8]、SNLI[9]和/或ANLI[10],然后进行特定任务的微调,这些任务先前已转换为文本蕴涵格式。
有关更多信息,请参阅 Ask2Transformers 库或以下已发表的论文:
模型名称描述了训练使用的配置,如下所示:
一些模型,如HiTZ/A2T_RoBERTa_SMFA_ACE-arg,已经进行了训练,标注了方括号(‘[[’和‘]]’)之间的某些信息,如事件触发词跨度。确保您按照相同的预处理方法以获得最佳结果。
如果您使用了该模型,请考虑引用以下出版物:
@inproceedings{sainz-etal-2021-label,
title = "Label Verbalization and Entailment for Effective Zero and Few-Shot Relation Extraction",
author = "Sainz, Oscar and
Lopez de Lacalle, Oier and
Labaka, Gorka and
Barrena, Ander and
Agirre, Eneko",
booktitle = "Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing",
month = nov,
year = "2021",
address = "Online and Punta Cana, Dominican Republic",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2021.emnlp-main.92",
doi = "10.18653/v1/2021.emnlp-main.92",
pages = "1199--1212",
}