TextBox:一个统一的、模块化的、可扩展的文本生成框架
TextBox: A Unified, Modularized, and Extensible Framework for Text Generation
摘要:
在本文中,我们发布了一个开源库,称为TextBox,提供一个统一的,模块化的,可扩展的文本生成框架。TextBox旨在支持广泛的文本生成任务和模型。在我们的库中,我们在9个基准数据集上实现了21个文本生成模型,涵盖了VAE,GAN和预训练的语言模型。同时,我们的库保持足够的模块性和可扩展性,适当分解的模型架构,推理和学习过程到高度可重用的模块,这使得用户可以很容易地将新的模型到我们的框架。上述功能使TextBox特别适合研究人员和从业人员快速复制基线模型和开发新模型。TextBox基于PyTorch实现,并在Apache License 2.0下发布,网址为https://github.com/RUCAIBox/TextBox。
英文摘要:
In this paper, we release an open-source library, called TextBox, to provide a unified, modularized, and extensible text generation framework. TextBox aims to support a broad set of text generation tasks and models. In our library, we implement 21 text generation models on 9 benchmark datasets, covering the categories of VAE, GAN, and pretrained language models. Meanwhile, our library maintains sufficient modularity and extensibility by properly decomposing the model architecture, inference, and learning process into highly reusable modules, which allows users to easily incorporate new models into our framework. The above features make TextBox specially suitable for researchers and practitioners to quickly reproduce baseline models and develop new models. TextBox is implemented based on PyTorch, and released under Apache License 2.0 at https://github.com/RUCAIBox/TextBox.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。