模型:
开发者 Text-To-Text Transfer Transformer (T5) write :
T5 提出将所有自然语言处理任务统一为文本-文本格式,其中输入和输出始终为文本字符串,与只能输出类别标签或输入段落的 BERT 风格模型不同。我们的文本-文本框架允许我们在任何自然语言处理任务上使用相同的模型、损失函数和超参数。
T5-Base 是具有 2.2 亿参数的检查点。
开发者在 blog post 中写道:
我们的文本-文本框架允许我们在任何自然语言处理任务上使用相同的模型、损失函数和超参数,包括机器翻译、文档摘要、问答和分类任务(如情感分析)。我们甚至可以将 T5 应用于回归任务,通过训练它预测数字的字符串表示而不是数字本身。
需要更多信息
该模型不应用于有意为人们创造敌对或疏离环境的情况。
对语言模型的偏见和公平性问题进行了大量研究(参见 Sheng et al. (2021) 和 Bender et al. (2021) )。模型生成的预测可能包含对受保护类别、身份特征和敏感、社会和职业群体的令人不安和有害的刻板印象。
用户(直接和下游)应意识到模型的风险、偏见和限制。更多信息需要进一步的建议。
该模型在 Colossal Clean Crawled Corpus (C4) 上进行了预训练,该数据集是在与 T5 相同的背景下开发和发布的。
该模型在无监督(1.)和有监督(2.)任务的多任务混合中进行了预训练。
更多信息请参见 t5-base model card 。
需要更多信息
需要更多信息
开发者在 research paper 上对模型进行了评估,共有 24 个任务,请参阅该文献以获取完整细节。
需要更多信息
需要更多信息
有关 T5-Base 的完整结果,请查看 research paper ,第 14 表。
需要更多信息
可以使用 Lacoste et al. (2019) 中提供的公式估算碳排放量。
需要更多信息
需要更多信息
需要更多信息
需要更多信息
BibTeX:
@inproceedings{kim-etal-2021-model-cross,
title = "A Model of Cross-Lingual Knowledge-Grounded Response Generation for Open-Domain Dialogue Systems",
author = "Kim, San and
Jang, Jin Yea and
Jung, Minyoung and
Shin, Saim",
booktitle = "Findings of the Association for Computational Linguistics: EMNLP 2021",
month = nov,
year = "2021",
address = "Punta Cana, Dominican Republic",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2021.findings-emnlp.33",
doi = "10.18653/v1/2021.findings-emnlp.33",
pages = "352--365",
abstract = "Research on open-domain dialogue systems that allow free topics is challenging in the field of natural language processing (NLP). The performance of the dialogue system has been improved recently by the method utilizing dialogue-related knowledge; however, non-English dialogue systems suffer from reproducing the performance of English dialogue systems because securing knowledge in the same language with the dialogue system is relatively difficult. Through experiments with a Korean dialogue system, this paper proves that the performance of a non-English dialogue system can be improved by utilizing English knowledge, highlighting the system uses cross-lingual knowledge. For the experiments, we 1) constructed a Korean version of the Wizard of Wikipedia dataset, 2) built Korean-English T5 (KE-T5), a language model pre-trained with Korean and English corpus, and 3) developed a knowledge-grounded Korean dialogue model based on KE-T5. We observed the performance improvement in the open-domain Korean dialogue model even only English knowledge was given. The experimental results showed that the knowledge inherent in cross-lingual language models can be helpful for generating responses in open dialogue systems.",
}
@article{2020t5,
author = {Colin Raffel and Noam Shazeer and Adam Roberts and Katherine Lee and Sharan Narang and Michael Matena and Yanqi Zhou and Wei Li and Peter J. Liu},
title = {Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer},
journal = {Journal of Machine Learning Research},
year = {2020},
volume = {21},
number = {140},
pages = {1-67},
url = {http://jmlr.org/papers/v21/20-074.html}
}
APA:
需要更多信息
需要更多信息
与韩国电子技术研究院人工智能研究中心、Ezi Ozoani 和 Hugging Face 团队合作
需要更多信息
使用下面的代码来开始使用模型。
点击展开from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("KETI-AIR/ke-t5-base")
model = AutoModelForSeq2SeqLM.from_pretrained("KETI-AIR/ke-t5-base")
有关更多示例,请参阅 Hugging Face T5 文档和模型开发者创建的 Colab Notebook 。