Downloads · 30 days
15
4% of all-time downloads
Kroalist/financial-sentiment-bert
financial-sentiment-bert is a text classification model from Kroalist. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.
Sentence-level classifier for English financial news.
Downloads · 30 days
15
4% of all-time downloads
All-time downloads
376
Public
Repo size
1.3 GB
Likes
0
Public
Click a slice to open those files.
.bin438 MB · 100%
From the Hugging Face model README
Sentence-level classifier for English financial news.
| Item | Value |
|---|---|
| Base model | ProsusAI/finbert |
| Dataset | Financial PhraseBank |
| Labels | positive (0) · negative (1) · neutral (2) |
| Epochs | 3 (early-stopped) |
| Best val acc | 0.8356 |
| Test acc | 0.81 |
| Hardware | CPU-only training |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tok = AutoTokenizer.from_pretrained("Kroalist/financial-sentiment-bert")
model = AutoModelForSequenceClassification.from_pretrained("Kroalist/financial-sentiment-bert")
Last updated: 2025-04-23