NOSIBLE/financial-sentiment
Viewer • Updated • 100k • 103 • 2
Full fine-tuned ProsusAI/finbert for financial sentiment
classification (positive / neutral / negative), trained on
NOSIBLE Financial Sentiment (100K examples).
| Base model | ProsusAI/finbert (110M) |
| Fine-tuning | Full (all weights updated) |
| Dataset | NOSIBLE/financial-sentiment — 100K examples |
| Epochs | 1 |
| Batch size | 16 |
| Learning rate | 2e-5 |
| Warmup ratio | 0.1 |
| Max length | 512 |
from transformers import pipeline
classifier = pipeline(
"text-classification",
model="poseidon1113/finbert-full-sft-financial-sentiment_v3"
)
classifier("Operating profit rose to EUR 13.1 mn from EUR 21.1 mn.")
# → [{'label': 'positive', 'score': 0.98}]
classifier("The company reported a loss for the third consecutive quarter.")
# → [{'label': 'negative', 'score': 0.95}]
Evaluated on pauri32/fiqa-2018 (train + validation + test combined) after removing URLs and non-ASCII characters.
| Class | Correct | Total | Accuracy |
|---|---|---|---|
| Positive | 372 | 706 | 52.7% |
| Neutral | 91 | 115 | 79.1% |
| Negative | 254 | 373 | 68.1% |
| Overall | 717 | 1194 | 60.1% |
| Model | Type | Overall Accuracy on FiQA |
|---|---|---|
| GPT-2 base | Causal LM | ~15% |
| GPT-2 LoRA v1 (PhraseBank) | Causal LM + LoRA | ~15% |
| GPT-2 LoRA v2 (+ NOSIBLE) | Causal LM + LoRA | ~42% |
| FinBERT base | Sequence classifier | 50.9% |
| FinBERT + NOSIBLE (this model) | Sequence classifier | 60.1% |
FinBERT's encoder-only BERT architecture reads the full sentence bidirectionally, making it inherently better at classification tasks. GPT-2 is a generative model adapted for classification via prompting — fundamentally less suited for this task. For production sentiment classification, encoder models like FinBERT are the right choice. GPT-2 LoRA is better suited for tasks requiring text generation.
@article{araci2019finbert,
title={FinBERT: Financial Sentiment Analysis with Pre-trained Language Models},
author={Araci, Dogu},
journal={arXiv preprint arXiv:1908.10063},
year={2019}
}
Base model
ProsusAI/finbert