Financial News Analytics Using Fine-Tuned Llama 2 GPT Model

The paper considers the possibility to fine-tune Llama 2 GPT large language model (LLM) for the multitask analysis of financial news. For fine-tuning, the PEFT/LoRA based approach was used. In the study, the model was fine-tuned for the following tasks: analysing a text from financial market perspectives, highlighting main points of a text, summarizing a text and extracting named entities with appropriate sentiments. The obtained results show that the fine-tuned Llama 2 model can perform a multitask financial news analysis with a specified structure of response, part of response can be a structured text and another part of data can have JSON format for further processing. Extracted sentiments for named entities can be considered as predictive features in supervised machine learning models with quantitative target variables.

Paper

References (15)

09Stackllama: A hands-on guide to train llama with rlhf, 20232023
10Intellectual Systems of Decision-making and Problems of Computational Intelligence2022 · Lecture Notes in Computational Intelligence and Decision Making: 2021 International Scientific Conference
11TRL: Transformer Reinforcement Learning2020 · github
12HuggingFaceLlama 2

Scroll for more · 3 remaining

Similar papers

© 2026 NYSGPT2525 LLC