Run this model with HF Jobs

Run fergusq/finbert-finnsentiment on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/fergusq/finbert-finnsentiment. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/fergusq/finbert-finnsentiment on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-classification", model="fergusq/finbert-finnsentiment")
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("fergusq/finbert-finnsentiment")
model = AutoModelForSequenceClassification.from_pretrained("fergusq/finbert-finnsentiment", device_map="auto")
Quick Links

FinBERT fine-tuned with the FinnSentiment dataset

This is a FinBERT model fine-tuned with the FinnSentiment dataset. 90% of sentences were used for training and 10% for evaluation.

Evaluation results

Metric Score
Accuracy 0.8639028475711893
F1-score 0.8643024701696561
Precision 0.8653866541244811
Recall 0.8639028475711893
Matthews 0.6764924917164834

kuva.png

License

FinBERT-FinnSentiment is licensed under the CC BY 4.0 License (same as FinBERT and the FinnSentiment dataset).

Downloads last month
7,211
Safetensors
Model size
0.1B params
Tensor type
I64
Β·
F32
Β·
Inference Providers NEW

Spaces using fergusq/finbert-finnsentiment 3

Paper for fergusq/finbert-finnsentiment