hitenvk22/finstream-sentiment
07
hitenvk22/finstream-sentiment
FinStream financial sentiment classifier fine-tuned on Financial PhraseBank. Part of the FinStream Active Learning Pipeline.
Model Description
Quick Start
from transformers import pipeline
classifier = pipeline(
"text-classification",
model="hitenvk22/finstream-sentiment",
tokenizer="hitenvk22/finstream-sentiment",
)
result = classifier("The company reported record earnings, beating all analyst estimates.")
print(result)
# [{'label': 'positive', 'score': 0.96}]Label Mapping
Intended Use
- Real-time financial news sentiment scoring
- Portfolio risk alerts
- Market signal generation
- Active learning pipeline retraining target
Limitations
- Trained on English-only text
- Short sentences (< 128 tokens); may underperform on long documents
- Not fine-tuned on post-2020 financial language
Training Details
- Optimiser: AdamW · LR 2e-5 · warmup 10 % · weight decay 0.01
- Early stopping patience: 2 epochs
- Dynamic padding via
DataCollatorWithPadding
