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

TencentPretrain:一个支持不同模态预训练模型的可扩展且灵活的工具包

TencentPretrain: A Scalable and Flexible Toolkit for Pre-training Models of Different Modalities

Shenzhen University(深圳大学);Tencent AI Lab(腾讯人工智能实验室);Renmin University of China(中国人民大学)
Zhe Zhao, Yudong Li, Cheng Hou, Jing Zhao, Rong Tian, Weijie Liu, Yiren Chen, Ningyuan Sun, Haoyan Liu, Weiquan Mao, Han Guo, Weigang Guo, Taiqiang Wu, Tao Zhu,… 展开作者

Zhe Zhao, Yudong Li, Cheng Hou, Jing Zhao, Rong Tian, Weijie Liu, Yiren Chen, Ningyuan Sun, Haoyan Liu, Weiquan Mao, Han Guo, Weigang Guo, Taiqiang Wu, Tao Zhu, Wenhang Shi, Chen Chen, Shan Huang, Sihong Chen, Liqun Liu, Feifei Li, Xiaoshuai Chen, Xingwu Sun, Zhanhui Kang, Xiaoyong Du, Linlin Shen, Kimmo Yan

AI总结:

本文提出多模态预训练工具包 TencentPretrain,通过五类模块化组件统一构建文本、视觉、音频及跨模态模型,并在多个基准上验证其可达到原始实现的性能。

摘要:

近来,预训练在文本领域的成功已被充分扩展到视觉、音频和跨模态场景。所提出的不同模态预训练模型在模型结构上呈现出日益同质化的趋势,这为在统一框架内实现不同的预训练模型带来了机会。本文提出 TencentPretrain,这是一个支持不同模态预训练模型的工具包。TencentPretrain 的核心特性是模块化设计。该工具包将预训练模型统一划分为 5 个组件:embedding(嵌入)、encoder(编码器)、target embedding(目标嵌入)、decoder(解码器)和 target(目标)。由于每个组件都提供了几乎所有常用模块,用户可以从不同组件中选择所需模块,以构建完整的预训练模型。模块化设计使用户能够高效复现现有预训练模型,或构建全新的模型。我们在文本、视觉和音频基准测试上对该工具包进行了测试,结果表明其性能能够与原始实现相匹配。

英文摘要:

Recently, the success of pre-training in text domain has been fully extended to vision, audio, and cross-modal scenarios. The proposed pre-training models of different modalities are showing a rising trend of homogeneity in their model structures, which brings the opportunity to implement different pre-training models within a uniform framework. In this paper, we present TencentPretrain, a toolkit supporting pre-training models of different modalities. The core feature of TencentPretrain is the modular design. The toolkit uniformly divides pre-training models into 5 components: embedding, encoder, target embedding, decoder, and target. As almost all of common modules are provided in each component, users can choose the desired modules from different components to build a complete pre-training model. The modular design enables users to efficiently reproduce existing pre-training models or build brand-new one. We test the toolkit on text, vision, and audio benchmarks and show that it can match the performance of the original implementations.

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

↑