模型:
重要提示:这些预训练的蕴含模型旨在与 Ask2Transformers 库一起使用,但也完全兼容 Transformers 的ZeroShotTextClassificationPipeline。
文本蕴含(或自然语言推理)已经被证明是零样本文本分类问题的一个很好选择 (Yin et al., 2019 ; Wang et al., 2021 ; Sainz and Rigau, 2021) 。最近的研究也运用相同的思路解决了信息抽取问题 (Lyu et al., 2021 ; Sainz et al., 2021 ; Sainz et al., 2022a ; Sainz et al., 2022b) 。 A2T蕴含模型首先使用NLI数据集(例如MNLI (Williams et al., 2018) ,SNLI (Bowman et al., 2015) 或/和ANLI (Nie et al., 2020) )进行训练,然后对先前转换为文本蕴含格式的特定任务进行微调。
有关详细信息,请参阅 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",
}