Skip to content
beginnersurvey

FinBERT - Financial Headline Sentiment Analysis

Classify sentiment of financial news headlines as positive, negative, or neutral, based on the FinBERT model (Araci, arXiv 2019). Annotators also rate market outlook on a bearish-to-bullish scale and provide reasoning for their sentiment judgment.

Try it live — no install

Boot the real Potato server in your browser (WebAssembly) and annotate with this exact config. Nothing leaves your machine.

Run live in your browser

Get This Design

View on GitHub(opens in a new tab)

Clone or download from the repository

Quick start:

bash
git clone https://github.com/davidjurgens/potato-showcase.git
cd potato-showcase/text/financial/finbert-headline-sentiment
potato start config.yaml

Configuration File

This Potato config reproduces the annotation task. Save it as config.yaml and run potato start config.yaml to try it.

yaml
# FinBERT - Financial Headline Sentiment Analysis
# Based on Araci, arXiv 2019
# Paper: https://arxiv.org/abs/1908.10063
# Dataset: https://huggingface.co/datasets/financial_phrasebank
#
# Classify financial news headlines by sentiment and rate market outlook.
# Headlines may discuss earnings, market movements, corporate actions,
# economic indicators, or regulatory changes.
#
# Sentiment Categories:
# - Positive: Good news for the company/market (growth, profits, expansion)
# - Negative: Bad news (losses, layoffs, downgrades, regulatory issues)
# - Neutral: Factual reporting without clear positive or negative signal
#
# Market Outlook Scale (1-5):
# 1 = Very Bearish (strong negative market signal)
# 2 = Bearish
# 3 = Neutral
# 4 = Bullish
# 5 = Very Bullish (strong positive market signal)
#
# Guidelines:
# - Focus on the financial implications, not general emotional tone
# - Consider how the headline would affect investor decisions
# - Provide brief reasoning for your sentiment classification

annotation_task_name: "FinBERT: Financial Headline Sentiment Analysis"
task_dir: "."

data_files:
  - sample-data.json

item_properties:
  id_key: "id"
  text_key: "text"

output_annotation_dir: "annotation_output/"
export_annotation_format: "jsonl"

port: 8000

annotation_schemes:
  - annotation_type: radio
    name: sentiment
    description: "What is the financial sentiment of this headline?"
    labels:
      - name: "Positive"
        tooltip: "Good news for the company or market (growth, profits, upgrades, expansion)"
        key_value: "1"
      - name: "Negative"
        tooltip: "Bad news (losses, layoffs, downgrades, regulatory problems, declining sales)"
        key_value: "2"
      - name: "Neutral"
        tooltip: "Factual reporting without clear positive or negative financial signal"
        key_value: "3"

  - annotation_type: text
    name: reasoning
    description: "Briefly explain your reasoning for the sentiment classification."

  - annotation_type: likert
    name: market_outlook
    description: "Rate the market outlook implied by this headline (1 = Very Bearish, 5 = Very Bullish)"
    size: 5
    min_label: "Very Bearish"
    max_label: "Very Bullish"

annotation_instructions: |
  You will classify the sentiment of financial news headlines.

  For each headline:
  1. Read the headline carefully, considering its financial implications.
  2. Classify the sentiment as Positive, Negative, or Neutral.
  3. Write a brief explanation of your reasoning.
  4. Rate the implied market outlook from Very Bearish (1) to Very Bullish (5).

  Focus on the financial signal, not general emotional tone.

user_config:
  allow_all_users: true
max_annotations_per_user: 100
num_annotators_per_item: 3

Sample Data

json
[
  {
    "id": "finbert_001",
    "text": "Apple reports record Q4 revenue of $89.5 billion, beating analyst expectations by 6%"
  },
  {
    "id": "finbert_002",
    "text": "Federal Reserve signals potential rate hike amid persistent inflation concerns"
  }
]

// ... and 8 more items

Dataset & paper

Araci, arXiv 2019

Citation (BibTeX)

bibtex
@article{araci2019finbert,
    title = "FinBERT: Financial Sentiment Analysis with Pre-Trained Language Models",
    author = "Araci, Dogu",
    journal = "arXiv preprint arXiv:1908.10063",
    year = "2019",
    url = "https://arxiv.org/abs/1908.10063"
}

Details

Annotation Types

radiotextlikert

Domain

NLPFinance

Use Cases

Sentiment AnalysisFinancial NLPMarket Analysis

Tags

financesentimentheadlinesfinbertmarketnews

Found an issue or want to improve this design?

Open an Issue(opens in a new tab)