Downloads · 30 days
551
1% of all-time downloads
bardsai/finance-sentiment-fr-base
finance-sentiment-fr-base is a text classification model from bardsai. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as mit.
Finance Sentiment FR (base) is a model based on camembert-base for analyzing sentiment of French financial news. It was trained on the translated version of Financial PhraseBank by Malo et al. (2014) for 10 epochs on…
Downloads · 30 days
551
1% of all-time downloads
All-time downloads
38.3K
Public
Parameters
111M
886 MB on disk
Likes
7
Public
Click a slice to open those files.
.bin443 MB · 50%
From the Hugging Face model README
Finance Sentiment FR (base) is a model based on camembert-base for analyzing sentiment of French financial news. It was trained on the translated version of Financial PhraseBank by Malo et al. (2014) for 10 epochs on single RTX3090 gpu.
The model will give you a three labels: positive, negative and neutral.
You can use this model directly with a pipeline for sentiment-analysis:
from transformers import pipeline
nlp = pipeline("sentiment-analysis", model="bardsai/finance-sentiment-fr-base")
nlp("Le chiffre d'affaires net a augmenté de 30 % pour atteindre 36 millions d'euros.")
[{'label': 'positive', 'score': 0.9987998807375955}]
| Metric | Value |
|---|---|
| f1 macro | 0.963 |
| precision macro | 0.959 |
| recall macro | 0.967 |
| accuracy | 0.971 |
| samples per second | 140.8 |
(The performance was evaluated on RTX 3090 gpu)
This model is released under the MIT License, inherited from the base model camembert-base (MIT).
Attribution: CamemBERT — Inria, Facebook AI Research; Finance Sentiment FR (base) — bards.ai.
At bards.ai, we focus on providing machine learning expertise and skills to our partners, particularly in the areas of nlp, machine vision and time series analysis. Our team is located in Wroclaw, Poland. Please visit our website for more information: bards.ai
Let us know if you use our model :). Also, if you need any help, feel free to contact us at [email protected]