Abstract:
Financial sentiment analysis (FSA) is crucial for evaluating market sentiment and making well-informed financial decisions. The advent of large language models (LLMs) suc...Show MoreMetadata
Abstract:
Financial sentiment analysis (FSA) is crucial for evaluating market sentiment and making well-informed financial decisions. The advent of large language models (LLMs) such as BERT and its financial variant, FinBERT, has notably enhanced sentiment analysis capabilities. This paper investigates the application of LLMs and FinBERT for FSA, comparing their performance on news articles, financial reports and company announcements. The study emphasizes the advantages of prompt engineering with zero-shot and few-shot strategy to improve sentiment classification accuracy. Experimental results indicate that GPT -40, with few-shot examples of financial texts, can be as competent as a well fine-tuned FinBERT in this specialized field.
Published in: 2024 IEEE 6th International Conference on Power, Intelligent Computing and Systems (ICPICS)
Date of Conference: 26-28 July 2024
Date Added to IEEE Xplore: 24 December 2024
ISBN Information: