Projects

Financial sentiment with DistilBERT

How far can a general-purpose DistilBERT go on financial sentiment, and what is behind the ceiling near 0.95 macro-F1?

PyTorch, Transformers, LoRA, 2026. Code on GitHub

test macro-F1, best LoRA ensemble
0.9513
fine-tuning regimes compared
5
rounds of evidence-driven iteration
4

The question

Financial PhraseBank's all-agree subset is small and clean, so most models land in the same narrow band. The interesting question is not the leaderboard number but what explains the last few points: training regime, tokenizer, ensembling, or the model's general-domain pretraining.

Approach

Results

What I learned

With one 70/15/15 split of a small dataset, the bootstrap interval is wide enough that round-to-round gains should not be over-claimed. The errors every model gets wrong seem to need knowledge of financial discourse, which points to a pretraining-domain gap rather than anything fine-tuning can fix.