arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2304.13994cs.CL
收藏

SweCTRL-Mini:一个数据透明的基于Transformer的瑞典语可控文本生成大语言模型

SweCTRL-Mini: a data-transparent Transformer-based large language model for controllable text generation in Swedish

KTH Royal Institute of Technology(瑞典皇家理工学院)

Dmytro Kalpakchi, Johan Boye

AI总结:

本文介绍SweCTRL-Mini,一个基于CTRL架构的瑞典语大语言模型,支持在消费级GPU上运行,通过特殊标记控制生成文本体裁,并提供了数据透明性及与GPT-3对比的评估。

摘要:

我们提出了SweCTRL-Mini,一个大型瑞典语语言模型,可在单个消费级GPU上进行推理和微调。该模型基于Keskar、McCann、Varshney、Xiong和Socher(2019)提出的CTRL架构,这意味着SweCTRL-Mini的用户可以通过在生成提示中插入特殊标记来控制生成文本的体裁。SweCTRL-Mini在mC4语料库的瑞典语部分的一个子集以及一组瑞典语小说上进行了训练。在本文中,我们提供了(1)所使用的训练数据和文本预处理步骤的详细说明,其详细程度足以检查特定短语/来源是否是训练数据的一部分,以及(2)对模型在判别任务(使用自动评估方法)和生成任务(使用人工评审)上的评估。我们还将该模型的生成能力与GPT-3进行了比较。SweCTRL-Mini完全开放,可供下载。

英文摘要:

We present SweCTRL-Mini, a large Swedish language model that can be used for inference and fine-tuning on a single consumer-grade GPU. The model is based on the CTRL architecture by Keskar, McCann, Varshney, Xiong, and Socher (2019), which means that users of the SweCTRL-Mini model can control the genre of the generated text by inserting special tokens in the generation prompts. SweCTRL-Mini is trained on a subset of the Swedish part of the mC4 corpus and a set of Swedish novels. In this article, we provide (1) a detailed account of the utilized training data and text pre-processing steps, to the extent that it is possible to check whether a specific phrase/source was a part of the training data, and (2) an evaluation of the model on both discriminative tasks, using automatic evaluation methods, and generative tasks, using human referees. We also compare the generative capabilities of the model with those of GPT-3. SweCTRL-Mini is fully open and available for download.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑