LiLiuM:eBay的电商领域大语言模型
LiLiuM: eBay's Large Language Models for e-commerce
AI总结:
eBay推出自研LiLiuM系列电商大语言模型,基于3万亿多语言token训练,在非英文NLU、机器翻译及电商任务上优于LLaMA-2,还通过定制词表等实现最高34%的生成速度提升。
摘要:
我们推出LiLiuM系列大语言模型(LLM):包含1B、7B和13B参数规模的模型,均为100%内部自研,以适配eBay在电商领域的特定需求。这使得eBay能够完全掌控模型的所有方面,包括许可协议、数据、词表和架构。我们预计这些模型将用作微调与指令微调的基础,消除对外部模型的依赖。\nLiLiuM大语言模型基于3万亿token的多语言文本训练而成,文本涵盖通用领域与电商领域。在英文自然语言理解(NLU)基准测试中,其表现与主流的LLaMA-2模型相当。同时,在非英文自然语言理解任务、机器翻译以及电商特定下游任务上,我们的表现优于LLaMA-2。\n作为数据混合策略的一部分,我们使用了最新发布的RedPajama-V2数据集进行训练,并分享了我们在数据过滤与去重方面的见解。我们还详细讨论了如何将结构化数据序列化,以用于自回归语言建模。我们分析了在预训练中加入代码与并行机器翻译数据的效果。此外,我们开发了自定义的分词器与模型词表,针对电商场景做了定制。通过这种方式,在eBay特定下游任务的文本生成中,我们相比LLaMA-2实现了最高34%的速度提升。\n最后,在大语言模型预训练相关方面,我们证明了检查点平均法能够进一步超越单个最优模型检查点的表现。
英文摘要:
We introduce the LiLiuM series of large language models (LLMs): 1B, 7B, and 13B parameter models developed 100% in-house to fit eBay's specific needs in the e-commerce domain. This gives eBay full control over all aspects of the models including license, data, vocabulary, and architecture. We expect these models to be used as a foundation for fine-tuning and instruction-tuning, eliminating dependencies to external models. The LiLiuM LLMs have been trained on 3 trillion tokens of multilingual text from general and e-commerce domain. They perform similar to the popular LLaMA-2 models on English natural language understanding (NLU) benchmarks. At the same time, we outperform LLaMA-2 on non-English NLU tasks, machine translation and on e-commerce specific downstream tasks. As part of our data mixture, we utilize the newly released RedPajama-V2 dataset for training and share our insights regarding data filtering and deduplication. We also discuss in detail how to serialize structured data for use in autoregressive language modeling. We provide insights on the effects of including code and parallel machine translation data in pre-training. Furthermore, we develop our own tokenizer and model vocabulary, customized towards e-commerce. This way, we can achieve up to 34% speed-up in text generation on eBay-specific downstream tasks compared to LLaMA-2. Finally, in relation to LLM pretraining, we show that checkpoint averaging can further improve over the best individual model checkpoint.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。