michaelmanurung/finbert-indonesia
๐ฎ๐ฉ FinBERT Indonesia โ Sentiment Classification for Financial News in Bahasa Indonesia
This model is a fine-tuned version of `ProsusAI/finbert` on a custom dataset of ~500 financial news headlines written in Bahasa Indonesia. The task is 3-class sentiment classification: positive, neutral, and negative.
๐ Live Demo
Try it here: https://huggingface.co/spaces/michaelmanurung/finbert-indonesia-demo
๐๏ธ Model Architecture
The base model is FinBERT, which itself is a BERT model pre-trained on financial texts. It has been fine-tuned using the Hugging Face transformers library with the following modifications:
- Multilingual financial context adaptation via custom labeled data in Bahasa Indonesia
- Classification head for 3 sentiment labels
๐งพ Dataset
The training dataset consists of 500 manually labeled financial news titles from Indonesian sources. Each entry is categorized as:
positiveโ bullish or growth-related headlinesneutralโ factual or event-based reportingnegativeโ bearish or risk-indicative headlines
Example:
๐งช Evaluation
Evaluation was conducted on the intanm/indonesian-financial-sentiment-analysis benchmark dataset using accuracy, F1 score, precision, and recall metrics.
The benchmark compares:
michaelmanurung/finbert-indonesia(Indonesian financial sentiment model)ProsusAI/finbert(English financial sentiment model)ayameRushia/bert-base-indonesian-1.5G-sentiment-analysis-smsa(general Indonesian sentiment model)
Metrics are reported using weighted averaging.
๐งช Usage
from transformers import pipeline
classifier = pipeline(
"text-classification",
model="michaelmanurung/finbert-indonesia",
tokenizer="michaelmanurung/finbert-indonesia"
)
result = classifier("IHSG turun tipis karena aksi ambil untung investor.")
print(result)
# Output: [{'label': 'LABEL_2', 'score': 0.89}] -> e.g. 'positive'