Downloads · 30 days
13
18% of all-time downloads
bilalzafar/CentralBank-AI-Sentiment
CentralBank-AI-Sentiment is a text classification model from bilalzafar. 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.
Task: 3-class sentiment (positive / negative / neutral) Base encoder: CentralBank-BERT
Downloads · 30 days
13
18% of all-time downloads
All-time downloads
71
Public
Parameters
109M
876 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors438 MB · 100%
From the Hugging Face model README
Task: 3-class sentiment (positive / negative / neutral)
Base encoder: CentralBank-BERT
CentralBank-AI-Sentiment classifies the tone of AI-related sentences written in the style of central banks (BIS speeches, monetary policy, prudential supervision). It is fine-tuned on manually labeled sentences extracted from BIS speeches (1996–2025), leveraging domain adaptation from CentralBank-BERT.
Labels: 0 = Positive, 1 = Negative, 2 = Neutral
CentralBank-BERT (domain-adapted BERT-base)| Model | Accuracy | Macro-F1 | F1-Pos | F1-Neg | F1-Neu |
|---|---|---|---|---|---|
| CentralBank-AI-Sentiment | 0.804 | 0.790 | 0.84 | 0.75 | 0.78 |
| bert-base-uncased (fine-tuned) | 0.793 | 0.789 | 0.81 | 0.78 | 0.79 |
| Loughran–McDonald (lexicon) | 0.556 | 0.523 | 0.55 | 0.40 | 0.61 |
| ProsusAI/FinBERT (zero-shot) | 0.538 | 0.475 | 0.45 | 0.36 | 0.61 |
bert-base-uncased trained on the same data, the domain-adapted CentralBank-BERT backbone provides a modest but consistent lift, especially in stability across classes.The complete reproducible workflow, including the FinAI dictionary, dictionary-based tagging, AI sentence classification, sentiment analysis, and structural topic modeling, is available on GitHub:
CentralBank-AI: https://github.com/bilalezafar/CentralBank-AI
# Load model
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("bilalzafar/CentralBank-AI-Sentiment")
model = AutoModelForSequenceClassification.from_pretrained("bilalzafar/CentralBank-AI-Sentiment")
# Example text
text = "Artificial intelligence introduces systemic risks if left unregulated."
# Print prediction
print(clf(text)[0])
# Example output: {'label': 'negative', 'score': 0.9915748238563538}
Please cite as: Zafar, M. B., Ali, H., & Aysan, A. F. (2026). Signals from the Noise: Decoding Global AI Discourse in Central Bank Communications. Central Bank Review, Article 100268. https://doi.org/10.1016/j.cbrev.2026.100268
@article{zafar2026signals,
title = {Signals from the Noise: Decoding Global AI Discourse in Central Bank Communications},
author = {Zafar, Muhammad Bilal and Ali, Hassnian and Aysan, Ahmet Faruk},
year = {2026},
journal = {Central Bank Review},
pages = {100268},
doi = {10.1016/j.cbrev.2026.100268},
url = {https://doi.org/10.1016/j.cbrev.2026.100268}
}