elam2909 commited on
Commit
5b3f4ae
·
verified ·
1 Parent(s): 9821bb4

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +81 -0
README.md ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - text-classification
4
+ - disaster-response
5
+ - sdg11
6
+ - bert
7
+ - transformers
8
+ - huggingface
9
+
10
+ license: mit
11
+ language: en
12
+ datasets:
13
+ - mrm8488/NLP-Twitter-disaster # HF dataset id used instead of Kaggle
14
+ model-index:
15
+ - name: AI4SDG-BERT
16
+ results:
17
+ - task:
18
+ name: Text Classification
19
+ type: text-classification
20
+ metrics:
21
+ - name: Accuracy
22
+ type: accuracy
23
+ value: 0.92
24
+ - name: F1
25
+ type: f1
26
+ value: 0.91
27
+ - name: AUC
28
+ type: auc
29
+ value: 0.94
30
+ ---
31
+
32
+ # AI4SDG-BERT Model Card
33
+
34
+ ## Model Overview
35
+ AI4SDG-BERT is a fine-tuned BERT model for detecting disaster-related content in tweets. It supports real-time monitoring of social media data to identify and classify potential urban disasters. This model contributes to Sustainable Development Goal 11 (Sustainable Cities and Communities) by facilitating early warning and emergency response systems.
36
+
37
+ ## Intended Use
38
+ This model is intended for:
39
+ - Disaster detection from Twitter or other social platforms
40
+ - Urban emergency alert systems
41
+ - Smart city infrastructure monitoring
42
+ - Use by NGOs, civil defense units, or emergency data pipelines
43
+
44
+ ## Model Architecture
45
+ - Base model: `bert-base-uncased`
46
+ - Fine-tuned on: Disaster tweet classification dataset
47
+ - Framework: Hugging Face Transformers + PyTorch
48
+
49
+ ## Training Dataset
50
+ - Class distribution: 43% disaster, 57% non-disaster
51
+ - Preprocessing: Lowercase, punctuation/emoji removal, URL stripping
52
+
53
+ ## Evaluation
54
+ Evaluated on held-out test set from the dataset:
55
+ - Accuracy: 92%
56
+ - F1-score: 91%
57
+ - AUC: 94%
58
+
59
+ ## Limitations
60
+ - English-only model
61
+ - May not generalize well to sarcasm, spam, or very informal text
62
+ - Lacks direct geolocation unless paired with NER/metadata
63
+ - Relies on Twitter API access for live inference
64
+
65
+ ## Ethical Considerations
66
+ - May reflect bias in who reports disasters and how
67
+ - Not intended as a sole source for life-critical decision making
68
+ - Requires moderation to avoid misinformation risks
69
+
70
+ ## Example Usage
71
+ ```python
72
+ from transformers import pipeline
73
+ classifier = pipeline("text-classification", model="elam2909/bert-disaster-classifier")
74
+ classifier("Huge earthquake just hit southern Turkey. Buildings are collapsing!")
75
+ ```
76
+
77
+ ## Citation
78
+ Please cite the GitHub repository or Hugging Face page when using this model.
79
+
80
+ ## Contact
81
+ Built by Team AI4SDG for GITEX 2025. Contributions welcome on GitHub!