Finance Sentiment

Website  ·  All models  ·  Platform  ·  Discord

Finance Sentiment

Finance Sentiment is a multilingual financial sentiment analysis model. It reads a financial sentence, such as a headline, a line from a filing or an earnings call, or a market post, and labels it positive, negative or neutral from an investor's point of view. It works in 15 languages, has 308 million parameters, and runs on a CPU. The labels match FinBERT's, so code written for FinBERT's pipeline output keeps working when you change the model id.

Highlights

  • 15 languages: English, German, French, Spanish, Italian, Portuguese, Dutch, Polish, Turkish, Russian, Chinese, Japanese, Korean, Arabic and Hindi.
  • Drop-in labels: positive, negative and neutral, the same names as ProsusAI/finbert.
  • Standard pipeline: loads in transformers with no custom code.
  • Browser and edge: ONNX weights in full precision and int8 for transformers.js and ONNX Runtime.
  • Apache 2.0: free for commercial use.

Results

Macro-F1 of Finance Sentiment against two finance classifiers: 0.852 against 0.706 and 0.645 on financial tweets, 0.893 against 0.177 and 0.402 in 14 other languages, 0.948 and 0.812 on Financial PhraseBank, where the other two models score in-domain

Measured by EmpirioLabs on 2026-11-20. Macro-F1 over the three labels; higher is better. Every model answered the same items. Bold marks the best score in a row.

Test set Finance Sentiment mrm8488 financial-news soleimanian financial-roberta-large
Financial PhraseBank, all annotators agree (2,264) 0.948 0.996 0.912
Financial PhraseBank, majority agree (4,846) 0.812 0.841 0.787
Financial tweets, twitter-financial-news validation (2,388) 0.852 0.706 0.645
14 languages other than English, 399 sentences each 0.893 0.177 0.402

The two comparison models learned from Financial PhraseBank itself, so their PhraseBank scores are in-domain. They are mrm8488/distilroberta-finetuned-financial-news-sentiment-analysis and soleimanian/financial-roberta-large-sentiment.

By language (macro-F1, 399 translated financial sentences per language)

de fr es it pt nl pl tr ru zh ja ko ar hi
0.885 0.898 0.880 0.918 0.902 0.877 0.913 0.891 0.900 0.928 0.901 0.881 0.851 0.882

The int8 ONNX file scores within 0.005 of full precision on every set above.

Quickstart

from transformers import pipeline

classifier = pipeline("text-classification", model="empiriolabsai/finance-sentiment")
classifier([
    "Quarterly revenue rose 12% and the company raised its full-year guidance.",
    "Shares fell 8% after the company cut its dividend and warned on margins.",
    "Die Bank meldete im dritten Quartal einen unerwarteten Verlust.",
])
# labels: positive, negative, negative

To move from FinBERT, change ProsusAI/finbert to empiriolabsai/finance-sentiment; the label names are the same.

In the browser or Node.js

import { pipeline } from "@huggingface/transformers";

const classifier = await pipeline("text-classification", "empiriolabsai/finance-sentiment", { dtype: "q8" });
console.log(await classifier("El beneficio neto se duplicó gracias a la fuerte demanda en Asia."));
// [{ label: "positive", score: ... }]

dtype: "q8" loads onnx/model_quantized.onnx (369 MB); leave it out for the full-precision file.

Intended use

Sentiment of financial text for research, news and filings monitoring, dashboards and screening, in any of the 15 languages above. Score sentences or short passages; split long documents into sentences first.

Limitations

  • Sentence-level only: it does not weigh a whole report or follow sarcasm, rumours or multi-step reasoning.
  • What counts as positive or neutral varies between sources. On short, post-like text it tends to call routine announcements, such as deals, launches and dividends, neutral.
  • The non-English scores come from translated sentences; native writing in those languages may score lower.
  • Languages outside the 15 listed are untested.
  • It is not investment advice. Keep a person in the loop before any trading or credit decision.

About EmpirioLabs AI

EmpirioLabs AI builds AI models, from decision models to open text-to-speech and classifier models, and offers specialized AI model hosting for open, proprietary, and custom stacks, with GPU Cloud instances and hosted AI agents on the same platform. Website · Platform · Docs

License

Apache 2.0. The weights and code in this repository may be used commercially. See LICENSE and NOTICE.

Downloads last month
51
Safetensors
Model size
0.3B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for empiriolabsai/finance-sentiment

Finetuned
(220)
this model

Collection including empiriolabsai/finance-sentiment