Fine-tuneddistilroberta-basefor 3-class financial sentiment classification. Part of the FinStream active learning pipeline.
sentences_allagree subset) to classify financial news into three sentiment classes:| Label | ID | Meaning |
|---|---|---|
| 🐻 bearish | 0 | Negative market outlook |
| 😐 neutral | 1 | No strong directional signal |
| 🐂 bullish | 2 | Positive market outlook |
| Metric | Score |
|---|---|
| Test Accuracy | 0.8680 |
| Training Set | Financial PhraseBank (all_agree) |
1from transformers import pipeline
2
3classifier = pipeline(
4 'text-classification',
5 model='OMCHOKSI108/FinStream',
6)
7
8result = classifier("Federal Reserve signals interest rate cuts.")
9print(result) # [{'label': 'bullish', 'score': 0.94}]distilroberta-basesentences_allagree)