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

XLM:一种用于非自回归语言模型的Python包

XLM: A Python package for non-autoregressive language models

University of Massachusetts Amherst(马萨诸塞大学阿默斯特分校)

Dhruvesh Patel, Durga Prasad Maram, Sai Sreenivas Chintha, Benjamin Rozonoyer, Andrew McCallum

AI总结:

XLM是一个Python包,旨在加速非自回归语言模型的实现,并提供预训练模型供研究社区使用。

摘要:

近年来,非自回归文本生成在通用语言建模的背景下重新引起了研究兴趣。与已建立的自回归语言建模范式不同,后者拥有大量标准的训练和推理库,而非自回归语言模型的实现大多为定制化,使得不同方法的系统比较变得困难。此外,每个非自回归语言模型通常需要自己的数据整理、损失函数和预测逻辑,这使得重用常用组件变得困难。在本文中,我们提出了XLM Python包,旨在使实现小型非自回归语言模型更加高效,并辅以一套小型预训练模型(通过配套的xlm-models包)供研究社区使用。代码可在https://github.com/dhruvdcoder/xlm-core获取。

英文摘要:

In recent years, there has been a resurgence of interest in non-autoregressive text generation in the context of general language modeling. Unlike the well-established autoregressive language modeling paradigm, which has a plethora of standard training and inference libraries, implementations of non-autoregressive language modeling have largely been bespoke making it difficult to perform systematic comparisons of different methods. Moreover, each non-autoregressive language model typically requires it own data collation, loss, and prediction logic, making it challenging to reuse common components. In this work, we present the XLM python package, which is designed to make implementing small non-autoregressive language models faster with a secondary goal of providing a suite of small pre-trained models (through a companion xlm-models package) that can be used by the research community. The code is available at https://github.com/dhruvdcoder/xlm-core.

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

↑