πŸ“ˆ FinStream: Financial Sentiment Analysis

Fine-tuned distilroberta-base for 3-class financial sentiment classification. Part of the FinStream active learning pipeline.

Model Description

FinStream is a DistilRoBERTa-base model fine-tuned on the Financial PhraseBank dataset (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

Performance

Metric Score
Test Accuracy 0.8680
Training Set Financial PhraseBank (all_agree)

Usage

from transformers import pipeline

classifier = pipeline(
    'text-classification',
    model='OMCHOKSI108/FinStream',
)

result = classifier("Federal Reserve signals interest rate cuts.")
print(result)  # [{'label': 'bullish', 'score': 0.94}]

Training

  • Base Model: distilroberta-base
  • Dataset: Financial PhraseBank (sentences_allagree)
  • Framework: Hugging Face Transformers + Trainer API
  • Optimizer: AdamW with linear warmup
  • Mixed Precision: FP16 (on GPU)
  • Early Stopping: Patience = 3 (monitoring eval_f1)

Authors

|OM Choksi

Built as part of the FinStream Active Learning Pipeline β€” a portfolio-grade financial NLP project.

Downloads last month
27
Safetensors
Model size
82.1M params
Tensor type
F32
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Dataset used to train OMCHOKSI108/FineStream

Evaluation results