Views
No views yet
| Property | Value |
|---|---|
| Number of topics discovered | 47 |
| Training documents | 1,693 |
| Languages | Swahili + English (multilingual) |
| Embedding model | paraphrase-multilingual-MiniLM-L12-v2 |
| Clustering | HDBSCAN |
| Dimensionality reduction | UMAP |
| Topic | Keywords | What It Captures |
|---|---|---|
| 1 | corona, virusi, chanjo | Health / COVID signals |
| 4 | uchaguzi, uganda, kenya, matokeo | East African elections |
| 7 | ethiopia, tigray, mapigano | Conflict / crisis signals |
| 8 | ukraine, urusi, vita, mzozo | Geopolitical conflict |
| 13 | damu, saratani, ugonjwa | Disease / health crisis |
| 23 | camp, road, blocked | Humanitarian access issues |
| 29 | matokeo, arrived, boxes | Election results / voting |
| 41 | raila, odinga, kisiasa | Political reporting |
main camp road blocked near) is particularly relevant — the model discovered humanitarian access reports as a distinct cluster without being told this category exists.pip install -U bertopic1from bertopic import BERTopic
2
3topic_model = BERTopic.load("katoernest/bertopic-african-community-reports")
4
5# Get all discovered topics
6topic_model.get_topic_info()
7
8# Classify a new report
9topics, probs = topic_model.transform([
10 "mafuriko makubwa yameharibu mazao shambani",
11 "voters turned away from polling station",
12 "food distribution blocked at camp gate"
13])
14print(topics) # topic IDs
15print(probs) # confidence scoresCommunity report received (SMS / WhatsApp / voice note)
↓
Transcription (Whisper)
↓
[This model] — Topic clustering
↓
Spike detection → alerts
↓
Human review queue → dashboard