Update README.md
Browse files
README.md
CHANGED
|
@@ -24,9 +24,9 @@ tags:
|
|
| 24 |
- Digital Currency
|
| 25 |
---
|
| 26 |
|
| 27 |
-
# **CBDC-
|
| 28 |
|
| 29 |
-
**CBDC-
|
| 30 |
|
| 31 |
**Base Model:** [`bilalzafar/CentralBank-BERT`](https://huggingface.co/bilalzafar/CentralBank-BERT) — **CentralBank-BERT** is a domain-adapted **BERT base (uncased)**, pretrained on **66M+ tokens** across **2M+ sentences** from central-bank speeches published via the **Bank for International Settlements (1996–2024)**. It is optimized for *masked-token prediction* within the specialized domains of **monetary policy, financial regulation, and macroeconomic communication**, enabling better contextual understanding of central-bank discourse and financial narratives.
|
| 32 |
|
|
@@ -68,7 +68,7 @@ Note: On the **entire annotated dataset** (in-domain evaluation, no hold-out), t
|
|
| 68 |
```python
|
| 69 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification, pipeline
|
| 70 |
|
| 71 |
-
model_name = "bilalzafar/cbdc-
|
| 72 |
|
| 73 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
| 74 |
model = AutoModelForSequenceClassification.from_pretrained(model_name)
|
|
|
|
| 24 |
- Digital Currency
|
| 25 |
---
|
| 26 |
|
| 27 |
+
# **CBDC-Sentiment: A Domain-Specific BERT for CBDC-Related Sentiment Analysis**
|
| 28 |
|
| 29 |
+
**CBDC-Sentiment** is a **3-class** (*negative / neutral / positive*) sentence-level BERT-based classifier built for **Central Bank Digital Currency (CBDC)** communications. It is trained to identify overall sentiment in central-bank style text such as consultations, speeches, reports, and reputable news.
|
| 30 |
|
| 31 |
**Base Model:** [`bilalzafar/CentralBank-BERT`](https://huggingface.co/bilalzafar/CentralBank-BERT) — **CentralBank-BERT** is a domain-adapted **BERT base (uncased)**, pretrained on **66M+ tokens** across **2M+ sentences** from central-bank speeches published via the **Bank for International Settlements (1996–2024)**. It is optimized for *masked-token prediction* within the specialized domains of **monetary policy, financial regulation, and macroeconomic communication**, enabling better contextual understanding of central-bank discourse and financial narratives.
|
| 32 |
|
|
|
|
| 68 |
```python
|
| 69 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification, pipeline
|
| 70 |
|
| 71 |
+
model_name = "bilalzafar/cbdc-sentiment"
|
| 72 |
|
| 73 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
| 74 |
model = AutoModelForSequenceClassification.from_pretrained(model_name)
|