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

TF3-RO-50M: 从合成道德微型小说中从头开始训练紧凑型罗曼尼亚语言模型

TF3-RO-50M: Training Compact Romanian Language Models from Scratch on Synthetic Moral Microfiction

Babes-Bolyai University(巴纳特-博耶伊大学);KlusAI Labs(KlusAI实验室)

Mihai Dan Nadas, Laura Diosan, Andreea Tomescu, Andrei Piscoran

AI总结:

TF3-RO-50M通过从头开始训练,生成罗曼尼亚语紧凑型语言模型及大规模合成叙事语料库。

摘要:

最近在合成数据生成方面的进展表明,当底层语料在结构上受控且语言上一致时,紧凑型语言模型可以有效地进行训练。然而,对于形态丰富且计算资源不足的语言,如罗曼尼亚语,仍然没有公开记录的端到端流程,能够将分词器设计、预处理、预训练、压缩、评估和大规模合成数据生成统一在一个可重复的框架中。基于TF1,一个三百万个故事的英语寓言数据集,以及TF2,通过高质量的罗曼尼亚语翻译扩展TF1,我们介绍了TF3-RO,一个以罗曼尼亚语为中心的语言建模流程,涵盖分词器训练、从头开始的模型开发以及罗曼尼亚语原生数据集的生成。TF3-RO通过语言学指导的语料库构建罗曼尼亚特定的BPE和Unigram分词器,以缓解罗曼尼亚语形态引起的分词膨胀。使用长序列打包训练,我们从头开始预训练了一个具有5165万参数的LLaMA风格Transformer模型。随后,通过量化、结构化剪枝和基于logit的知识蒸馏进行优化,得到一个具有2645万参数的紧凑学生模型,具有绑定嵌入和强部署特性。使用这个蒸馏模型,TF3-RO通过受控的组合提示框架生成三百万个罗曼尼亚语原生合成寓言。在所有阶段,该流程集成了一个综合的评估套件,结合内在指标、罗曼尼亚语同意探测器、实体连贯性、基于规则的语法检查和LLM基于的评估。TF3-RO提供了一个可重复且语言学基础的框架,用于训练紧凑型罗曼尼亚语言模型并生成大规模合成叙述语料库。

英文摘要:

Recent advances in synthetic data generation have shown that compact language models can be trained effectively when the underlying corpus is structurally controlled and linguistically coherent. However, for morphologically rich and computationally under-resourced languages such as Romanian, there is still no openly documented, end-to-end pipeline that unifies tokenizer design, preprocessing, pretraining, compression, evaluation, and large-scale synthetic data generation in a reproducible framework. Building on TF1, a three-million-story English fable dataset, and TF2, which extends TF1 through high-quality Romanian translations, we introduce TF3-RO, a Romanian-centric language modeling pipeline spanning tokenizer training, from-scratch model development, and Romanian-native dataset generation. TF3-RO constructs Romanian-specific BPE and Unigram tokenizers from a linguistically informed corpus to mitigate token inflation induced by Romanian morphology. Using long-sequence packed training, we pretrain a 51.65M-parameter LLaMA-style Transformer entirely from scratch. The model is subsequently optimized through quantization, structured pruning, and logit-based knowledge distillation, yielding a compact 26.45M-parameter student model with tied embeddings and strong deployment characteristics. Using this distilled model, TF3-RO generates three million Romanian-native synthetic fables via a controlled combinatorial prompting framework. Across all stages, the pipeline integrates a comprehensive evaluation suite combining intrinsic metrics, Romanian agreement probes, entity coherence, rule-based grammar checking, and LLM-based assessment. TF3-RO provides a reproducible and linguistically grounded framework for training compact Romanian language models and producing large-scale synthetic narrative corpora.

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

↑