Abstract
In the rapidly evolving financial sector, timely and accurate news classification is essential. This paper introduces an approach to enhance financial news topic classification using the Llama2-7b model, fine-tuned with the QLora algorithm. Our dataset, comprising 16,990 training samples and 4,117 test samples, is focused on financial news, categorized into 20 distinct themes. This work aims to leverage the advanced capabilities of Llama2-7b, combined with QLora's fine-tuning efficiency, to improve classification accuracy and efficiency in processing news. In our experiments, we compared the performance of Llama2-7b against several other models, including Roberta-Base, Roberta-Large, Deberta-Base, and Deberta-Large. The Llama2-7b model outperformed these models, achieving an accuracy of 0.8936, which is notably higher than Roberta-Large's 0.8810, Deberta-Large's 0.8832, and other benchmarks. These results underscore the effectiveness of Llama2-7b when fine-tuned with QLora, marking a significant advancement in the domain of financial news classification.

This publication has 11 references indexed in Scilit: