FinBERT: A Pretrained Language Model for Financial Communications
About
Contextual pretrained language models, such as BERT (Devlin et al., 2019), have made significant breakthrough in various NLP tasks by training on large scale of unlabeled text re-sources.Financial sector also accumulates large amount of financial communication text.However, there is no pretrained finance specific language models available. In this work,we address the need by pretraining a financial domain specific BERT models, FinBERT, using a large scale of financial communication corpora. Experiments on three financial sentiment classification tasks confirm the advantage of FinBERT over generic domain BERT model. The code and pretrained models are available at https://github.com/yya518/FinBERT. We hope this will be useful for practitioners and researchers working on financial NLP tasks.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Named Entity Recognition | NER | -- | 40 | |
| Sentiment Analysis | FOMC | -- | 26 | |
| Financial Natural Language Processing | FinDATA | TSA0.2275 | 10 | |
| XBRL tagging | FiNER-139 1.0 (dev) | μ-Precision73.9 | 10 | |
| XBRL tagging | FiNER-139 1.0 (test) | Micro Precision70.2 | 10 | |
| Classification | Headline | F1 Score90.83 | 9 | |
| Financial Entity Recognition | FiNER | F1 Score81.08 | 9 | |
| Question Answering | FinQA | Prog Acc38.79 | 9 | |
| Sentiment Analysis | Financial PhraseBank (FPB) | Accuracy83.68 | 9 |