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

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Di Oliveira, Vinícius, Bezerra, Yuri Façanha, Weigang, Li, Brom, Pedro Carvalho, Celestino, Victor Rafael R.
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866929451784208384
author Di Oliveira, Vinícius
Bezerra, Yuri Façanha
Weigang, Li
Brom, Pedro Carvalho
Celestino, Victor Rafael R.
author_facet Di Oliveira, Vinícius
Bezerra, Yuri Façanha
Weigang, Li
Brom, Pedro Carvalho
Celestino, Victor Rafael R.
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2408_03936
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle SLIM-RAFT: A Novel Fine-Tuning Approach to Improve Cross-Linguistic Performance for Mercosur Common Nomenclature
Di Oliveira, Vinícius
Bezerra, Yuri Façanha
Weigang, Li
Brom, Pedro Carvalho
Celestino, Victor Rafael R.
Computation and Language
Artificial Intelligence
Machine Learning
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.
title SLIM-RAFT: A Novel Fine-Tuning Approach to Improve Cross-Linguistic Performance for Mercosur Common Nomenclature
topic Computation and Language
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2408.03936