BERT learns to speak fluent finance
A BERT model further pre-trained on financial corpora and fine-tuned for sentiment classification, because generic language models stumble over the nuances of financial text.

What it does
FinBERT takes standard BERT and runs it through extra pre-training on a large financial corpus—a subset of the Reuters TRC2 dataset—then fine-tunes it for sentiment classification on financial phrases. The result is a model that assigns one of three sentiment labels to sentences from a text file and emits a score calculated as the probability of positive minus the probability of negative.
The interesting bit
The training notebook applies discriminate and gradual_unfreeze techniques specifically to combat catastrophic forgetting, so the model learns finance jargon without overwriting its general language knowledge. It is a defensive training detail that matters when domain vocabulary and ordinary English overlap.
Key highlights
- Further pre-trained on a Reuters TRC2 subset, then fine-tuned on the Financial PhraseBank dataset.
- Hosted on the Hugging Face Hub alongside downloadable model binaries.
- Includes a
predict.pyscript that consumes raw.txtfiles and produces a CSV with per-sentence probabilities and a composite sentiment score. - Training configuration and catastrophic-forgetting mitigations are exposed in the
finbert_training.ipynbnotebook.
Caveats
- The codebase still depends on the legacy
pytorch_pretrained_bertlibrary rather than moderntransformers; the authors note migration is a priority but not yet completed. - The Reuters TRC2 dataset used for language-model training is not publicly available; researchers must apply for access to replicate that exact step.
- This is explicitly an intern research project, not an official Prosus product.
Verdict
Worth a look if you need off-the-shelf sentiment analysis for financial documents and can tolerate legacy dependencies. Skip it if you require a library built on the current transformers stack.
Frequently asked
- What is ProsusAI/finBERT?
- A BERT model further pre-trained on financial corpora and fine-tuned for sentiment classification, because generic language models stumble over the nuances of financial text.
- Is finBERT open source?
- Yes — ProsusAI/finBERT is open source, released under the Apache-2.0 license.
- What language is finBERT written in?
- ProsusAI/finBERT is primarily written in Jupyter Notebook.
- How popular is finBERT?
- ProsusAI/finBERT has 2.2k stars on GitHub.
- Where can I find finBERT?
- ProsusAI/finBERT is on GitHub at https://github.com/ProsusAI/finBERT.