Downloads · 30 days
21
18% of all-time downloads
Walid692/finsentinel-camembert
finsentinel-camembert is a text classification model from Walid692. Use it when you need a label for a piece of text. The card lists the license as mit.
CamemBERT fine-tuned for financial sentiment classification.
Downloads · 30 days
21
18% of all-time downloads
All-time downloads
117
Public
Parameters
111M
443 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors443 MB · 100%
From the Hugging Face model README
CamemBERT fine-tuned for financial sentiment classification.
This model classifies financial text into 3 categories:
Fine-tuned from camembert-base on 12,816 financial sentences.
| Epoch | Accuracy | F1 Score |
|---|---|---|
| 1 | 70.67% | 0.641 |
| 2 | 76.83% | 0.756 |
| 3 | 78.00% | 0.772 |
| Metric | Score |
|---|---|
| Accuracy | 78.08% |
| F1 Score | 0.7759 |
| Class | Precision | Recall | F1 |
|---|---|---|---|
| Bearish | 0.60 | 0.52 | 0.55 |
| Bullish | 0.69 | 0.64 | 0.66 |
| Neutral | 0.84 | 0.89 | 0.87 |
from transformers import pipeline
classifier = pipeline(
"text-classification",
model="Walid692/finsentinel-camembert"
)
result = classifier("La hausse des taux d'interet inquiete les investisseurs institutionnels.")
print(result)
Ahmed Walid BOUANZOUL — AI Engineer GitHub: https://github.com/AhmedWalidbou/FinSentinel