five

Comparative Sentiment Analysis of Financial Text: Traditional Models vs. LLM-Based Evaluation with Gemini

收藏
NIAID Data Ecosystem2026-05-02 收录
下载链接:
https://doi.org/10.7910/DVN/0I7N0A
下载链接
链接失效反馈
官方服务:
资源简介:
This notebook demonstrates a comparative approach to sentiment analysis of financial text, focusing on stock-related news. It applies three established methods—VADER, FinBERT, and RoBERTa—to evaluate how traditional rule-based and transformer-based models interpret the same input differently. VADER provides quick, lexicon-driven polarity scores; FinBERT, trained on financial corpora, captures domain-specific sentiment; and RoBERTa, fine-tuned on Twitter data, generalizes sentiment detection in social contexts. Beyond these models, the notebook introduces a large language model (LLM)–based evaluation using Gemini. Instead of producing a single polarity, Gemini is prompted to assess text across multiple rubrics, including sentiment strength, event severity, confirmation level, novelty, and reasoning quality. This rubric-based framework highlights the potential of LLMs not only to classify sentiment but also to explain and calibrate it in more interpretable ways. Together, these methods showcase the evolution of sentiment analysis in finance—from lexicon rules to specialized transformers, and now toward transparent, rubric-driven assessments with LLMs.
创建时间:
2025-08-31
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

面向社区/商业的数据集话题

二维码
科研交流群

面向高校/科研机构的开源数据集话题

数据驱动未来

携手共赢发展

商业合作