Downloads · 30 days
14
23% of all-time downloads
bilalzafar/CentralBank-AI-Classifier
CentralBank-AI-Classifier 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.
CentralBank-AI-Classifier is a binary sentence-level classifier (AI, Non-AI) trained on BIS central-bank speeches. The model identifies whether a sentence is about AI (e.g., AI/ML/LLM/GenAI/NLP/vision topics) or not.…
Downloads · 30 days
14
23% of all-time downloads
All-time downloads
62
Public
Parameters
109M
438 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors438 MB · 100%
From the Hugging Face model README
CentralBank-AI-Classifier is a binary sentence-level classifier (AI, Non-AI) trained on BIS central-bank speeches. The model identifies whether a sentence is about AI (e.g., AI/ML/LLM/GenAI/NLP/vision topics) or not. It is built on the domain-adapted encoder CentralBank-BERT , which was pretrained on ~66M tokens from 2M+ sentences of BIS speeches (1996–2024).
Labels were curated via rule-based retrieval (domain dictionary) followed by manual audit.
CentralBank-BERTBertForSequenceClassification(num_labels=2)| Metric | Value |
|---|---|
| Accuracy | 0.9812 |
| Macro-F1 | 0.9812 |
| F1 (AI) | 0.9810 |
| F1 (Non-AI) | 0.9815 |
| ROC-AUC | 0.9932 |
| PR-AUC (AI as positive) | 0.9959 |
Notes. Threshold τ = 0.05 was tuned on the dev set for macro-F1 and then fixed for test.
Scoring the keyword-retrieved corpus with the trained classifier (τ = 0.05):
These statistics indicate the rule-based retrieval is highly reliable; only a small tail merits manual spot-checks.
Out of scope: social media, consumer product reviews, or informal text.
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
from transformers import pipeline
clf = pipeline("text-classification",
model="bilalzafar/CentralBank-AI-Classifier",
return_all_scores=False)
s = "We are piloting large language models to streamline supervisory analytics."
print(clf(s)[0]) # -> {'label': '1', 'score': 0.999...}
#Note Label_1=AI, Label_0=Non-AI
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}
}