arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.03936cs.CLcs.AIcs.LG
收藏

SLIM-RAFT:一种提升南方共同市场共同 nomenclature 跨语言性能的新型微调方法

SLIM-RAFT: A Novel Fine-Tuning Approach to Improve Cross-Linguistic Performance for Mercosur Common Nomenclature

University of Brasilia(巴西利亚大学);Secretary of Economy(经济秘书处);Instituto Federal de Brasilia(巴西利亚联邦学院);LAMFO

Vinícius Di Oliveira, Yuri Façanha Bezerra, Li Weigang, Pedro Carvalho Brom, Victor Rafael R. Celestino

AI总结:

本文提出 SLIM-RAFT,一种保留 CoT 并使用聚焦文档的简化 RAFT 微调方法,基于 TeenyTineLLaMA 提升 NCM 跨语言处理性能,且效果超过 TeenyTineLLaMA 与 ChatGPT-4。

摘要:

随着大型语言模型(LLM)的出现,自然语言处理(NLP)取得了显著进展。然而,英语以外的语言仍需大幅改进,尤其是在特定领域,例如南方共同市场共同 nomenclature(NCM,巴西版协调制度 HS)的应用。为弥补这一差距,本研究使用基础葡萄牙语 LLM TeenyTineLLaMA 作为 LLM 来源,实现 NCM 应用处理。此外,研究提出一种简化的检索增强微调(RAFT)技术,称为 SLIM-RAFT,用于面向特定任务的 LLM 微调。该方法保留用于提示开发的思维链(CoT)方法,但以更简洁、精简的方式使用简短且聚焦的文档进行训练。所提出的模型为微调较小 LLM 展示了一种高效且具有成本效益的替代方案,并在同一任务中显著优于 TeenyTineLLaMA 和 ChatGPT-4。尽管研究聚焦于 NCM 应用,但该方法可轻松适配全球范围内的 HS 应用。

英文摘要:

Natural language processing (NLP) has seen significant advancements with the advent of large language models (LLMs). However, substantial improvements are still needed for languages other than English, especially for specific domains like the applications of Mercosur Common Nomenclature (NCM), a Brazilian Harmonized System (HS). To address this gap, this study uses TeenyTineLLaMA, a foundational Portuguese LLM, as an LLM source to implement the NCM application processing. Additionally, a simplified Retrieval-Augmented Fine-Tuning (RAFT) technique, termed SLIM-RAFT, is proposed for task-specific fine-tuning of LLMs. This approach retains the chain-of-thought (CoT) methodology for prompt development in a more concise and streamlined manner, utilizing brief and focused documents for training. The proposed model demonstrates an efficient and cost-effective alternative for fine-tuning smaller LLMs, significantly outperforming TeenyTineLLaMA and ChatGPT-4 in the same task. Although the research focuses on NCM applications, the methodology can be easily adapted for HS applications worldwide.

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

↑