Datasets:
Tasks:
Text Classification
Modalities:
Text
Formats:
csv
Sub-tasks:
multi-class-classification
Languages:
Bengali
Size:
10K - 100K
License:
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,120 +1,120 @@
|
|
| 1 |
-
---
|
| 2 |
-
language:
|
| 3 |
-
- bn
|
| 4 |
-
license: cc-by-4.0
|
| 5 |
-
task_categories:
|
| 6 |
-
- text-classification
|
| 7 |
-
task_ids:
|
| 8 |
-
- multi-class-classification
|
| 9 |
-
pretty_name: Bangla Emergency Posts
|
| 10 |
-
size_categories:
|
| 11 |
-
- 1K<n<10K
|
| 12 |
-
tags:
|
| 13 |
-
- bangla
|
| 14 |
-
- bengali
|
| 15 |
-
- emergency
|
| 16 |
-
- social-media
|
| 17 |
-
- crisis-informatics
|
| 18 |
-
configs:
|
| 19 |
-
- config_name: default
|
| 20 |
-
data_files:
|
| 21 |
-
- split: train
|
| 22 |
-
path: data/train.csv
|
| 23 |
-
- split: validation
|
| 24 |
-
path: data/validation.csv
|
| 25 |
-
- split: test
|
| 26 |
-
path: data/test.csv
|
| 27 |
-
- config_name: full
|
| 28 |
-
data_files:
|
| 29 |
-
- split: full
|
| 30 |
-
path: data/
|
| 31 |
-
---
|
| 32 |
-
|
| 33 |
-
# Bangla Emergency Posts
|
| 34 |
-
|
| 35 |
-
5,836 Bangla social media posts, hand-labelled into nine emergency categories.
|
| 36 |
-
Built for *Bangla Emergency Post Classification on Social Media using Transformer
|
| 37 |
-
Based BERT Models* (EICT 2023).
|
| 38 |
-
|
| 39 |
-
Emergency text classification in Bangla is scarce despite the language having
|
| 40 |
-
hundreds of millions of speakers. This dataset exists so that Bangla-speaking
|
| 41 |
-
people can report emergencies in their own language and have those reports
|
| 42 |
-
routed automatically.
|
| 43 |
-
|
| 44 |
-
## Usage
|
| 45 |
-
|
| 46 |
-
```python
|
| 47 |
-
from datasets import load_dataset
|
| 48 |
-
|
| 49 |
-
ds = load_dataset("NightRaven/bangla-emergency-posts")
|
| 50 |
-
print(ds["train"][0])
|
| 51 |
-
# {'content': 'ভূমিকম্পের পর স্কুলবাড়ি ভেঙে পড়ে। ...', 'label': 'natural_disaster'}
|
| 52 |
-
```
|
| 53 |
-
|
| 54 |
-
## Fields
|
| 55 |
-
|
| 56 |
-
| field | type | description |
|
| 57 |
-
|---|---|---|
|
| 58 |
-
| `content` | string | the post text, Bangla with occasional English words |
|
| 59 |
-
| `label` | string | one of the nine categories below |
|
| 60 |
-
|
| 61 |
-
Labels are stored as strings. Where an integer id is needed, the models trained
|
| 62 |
-
on this data use alphabetical order:
|
| 63 |
-
|
| 64 |
-
| id | label | id | label | id | label |
|
| 65 |
-
|----|-------|----|-------|----|-------|
|
| 66 |
-
| 0 | accident | 3 | fire | 6 | suicide |
|
| 67 |
-
| 1 | blood | 4 | natural_disaster | 7 | war |
|
| 68 |
-
| 2 | crime | 5 | pandemic | 8 | weather |
|
| 69 |
-
|
| 70 |
-
`blood` covers urgent blood-donation appeals, a common and distinct category of
|
| 71 |
-
emergency post in Bangla social media.
|
| 72 |
-
|
| 73 |
-
## Splits
|
| 74 |
-
|
| 75 |
-
Stratified 56 / 14 / 30.
|
| 76 |
-
|
| 77 |
-
| label | train | validation | test | total |
|
| 78 |
-
|---|---:|---:|---:|---:|
|
| 79 |
-
| accident | 579 | 123 | 301 | 1,003 |
|
| 80 |
-
| blood | 123 | 31 | 66 | 220 |
|
| 81 |
-
| crime | 1,355 | 372 | 765 | 2,492 |
|
| 82 |
-
| fire | 295 | 82 | 122 | 499 |
|
| 83 |
-
| natural_disaster | 277 | 64 | 153 | 494 |
|
| 84 |
-
| pandemic | 83 | 24 | 40 | 147 |
|
| 85 |
-
| suicide | 114 | 33 | 61 | 208 |
|
| 86 |
-
| war | 104 | 20 | 51 | 175 |
|
| 87 |
-
| weather | 337 | 70 | 191 | 598 |
|
| 88 |
-
| **total** | **3,267** | **819** | **1,750** | **5,836** |
|
| 89 |
-
|
| 90 |
-
## Collection and labelling
|
| 91 |
-
|
| 92 |
-
Posts were gathered from Facebook, Twitter and Bangladeshi daily newspapers,
|
| 93 |
-
covering events in Bangladesh and neighbouring India. Labelling was done by hand
|
| 94 |
-
by native Bangla speakers.
|
| 95 |
-
|
| 96 |
-
Collecting structured Bangla social media text is difficult — stemming rules are
|
| 97 |
-
hard to pin down and stopword lists are inconsistent — so the data was labelled
|
| 98 |
-
manually rather than filtered heuristically.
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
## Citation
|
| 105 |
-
|
| 106 |
-
```bibtex
|
| 107 |
-
@inproceedings{nabil2023bangla,
|
| 108 |
-
title = {Bangla Emergency Post Classification on Social Media using
|
| 109 |
-
Transformer Based BERT Models},
|
| 110 |
-
author = {Nabil, Alvi Ahmmed and Arifeen, Shamsul and Das, Dola and
|
| 111 |
-
Salim, Md. Shahidul and Fattah, H. M. Abdul},
|
| 112 |
-
booktitle = {6th International Conference on Electrical Information and
|
| 113 |
-
Communication Technology (EICT)},
|
| 114 |
-
address = {Khulna, Bangladesh},
|
| 115 |
-
year = {2023}
|
| 116 |
-
}
|
| 117 |
-
```
|
| 118 |
-
|
| 119 |
-
Models trained on this dataset:
|
| 120 |
-
[NightRaven/bangla-emergency-post-classification](https://huggingface.co/NightRaven/bangla-emergency-post-classification)
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- bn
|
| 4 |
+
license: cc-by-4.0
|
| 5 |
+
task_categories:
|
| 6 |
+
- text-classification
|
| 7 |
+
task_ids:
|
| 8 |
+
- multi-class-classification
|
| 9 |
+
pretty_name: Bangla Emergency Posts
|
| 10 |
+
size_categories:
|
| 11 |
+
- 1K<n<10K
|
| 12 |
+
tags:
|
| 13 |
+
- bangla
|
| 14 |
+
- bengali
|
| 15 |
+
- emergency
|
| 16 |
+
- social-media
|
| 17 |
+
- crisis-informatics
|
| 18 |
+
configs:
|
| 19 |
+
- config_name: default
|
| 20 |
+
data_files:
|
| 21 |
+
- split: train
|
| 22 |
+
path: data/train.csv
|
| 23 |
+
- split: validation
|
| 24 |
+
path: data/validation.csv
|
| 25 |
+
- split: test
|
| 26 |
+
path: data/test.csv
|
| 27 |
+
- config_name: full
|
| 28 |
+
data_files:
|
| 29 |
+
- split: full
|
| 30 |
+
path: data/bangla_emergency_posts.csv
|
| 31 |
+
---
|
| 32 |
+
|
| 33 |
+
# Bangla Emergency Posts
|
| 34 |
+
|
| 35 |
+
5,836 Bangla social media posts, hand-labelled into nine emergency categories.
|
| 36 |
+
Built for *Bangla Emergency Post Classification on Social Media using Transformer
|
| 37 |
+
Based BERT Models* (EICT 2023).
|
| 38 |
+
|
| 39 |
+
Emergency text classification in Bangla is scarce despite the language having
|
| 40 |
+
hundreds of millions of speakers. This dataset exists so that Bangla-speaking
|
| 41 |
+
people can report emergencies in their own language and have those reports
|
| 42 |
+
routed automatically.
|
| 43 |
+
|
| 44 |
+
## Usage
|
| 45 |
+
|
| 46 |
+
```python
|
| 47 |
+
from datasets import load_dataset
|
| 48 |
+
|
| 49 |
+
ds = load_dataset("NightRaven/bangla-emergency-posts")
|
| 50 |
+
print(ds["train"][0])
|
| 51 |
+
# {'content': 'ভূমিকম্পের পর স্কুলবাড়ি ভেঙে পড়ে। ...', 'label': 'natural_disaster'}
|
| 52 |
+
```
|
| 53 |
+
|
| 54 |
+
## Fields
|
| 55 |
+
|
| 56 |
+
| field | type | description |
|
| 57 |
+
|---|---|---|
|
| 58 |
+
| `content` | string | the post text, Bangla with occasional English words |
|
| 59 |
+
| `label` | string | one of the nine categories below |
|
| 60 |
+
|
| 61 |
+
Labels are stored as strings. Where an integer id is needed, the models trained
|
| 62 |
+
on this data use alphabetical order:
|
| 63 |
+
|
| 64 |
+
| id | label | id | label | id | label |
|
| 65 |
+
|----|-------|----|-------|----|-------|
|
| 66 |
+
| 0 | accident | 3 | fire | 6 | suicide |
|
| 67 |
+
| 1 | blood | 4 | natural_disaster | 7 | war |
|
| 68 |
+
| 2 | crime | 5 | pandemic | 8 | weather |
|
| 69 |
+
|
| 70 |
+
`blood` covers urgent blood-donation appeals, a common and distinct category of
|
| 71 |
+
emergency post in Bangla social media.
|
| 72 |
+
|
| 73 |
+
## Splits
|
| 74 |
+
|
| 75 |
+
Stratified 56 / 14 / 30.
|
| 76 |
+
|
| 77 |
+
| label | train | validation | test | total |
|
| 78 |
+
|---|---:|---:|---:|---:|
|
| 79 |
+
| accident | 579 | 123 | 301 | 1,003 |
|
| 80 |
+
| blood | 123 | 31 | 66 | 220 |
|
| 81 |
+
| crime | 1,355 | 372 | 765 | 2,492 |
|
| 82 |
+
| fire | 295 | 82 | 122 | 499 |
|
| 83 |
+
| natural_disaster | 277 | 64 | 153 | 494 |
|
| 84 |
+
| pandemic | 83 | 24 | 40 | 147 |
|
| 85 |
+
| suicide | 114 | 33 | 61 | 208 |
|
| 86 |
+
| war | 104 | 20 | 51 | 175 |
|
| 87 |
+
| weather | 337 | 70 | 191 | 598 |
|
| 88 |
+
| **total** | **3,267** | **819** | **1,750** | **5,836** |
|
| 89 |
+
|
| 90 |
+
## Collection and labelling
|
| 91 |
+
|
| 92 |
+
Posts were gathered from Facebook, Twitter and Bangladeshi daily newspapers,
|
| 93 |
+
covering events in Bangladesh and neighbouring India. Labelling was done by hand
|
| 94 |
+
by native Bangla speakers.
|
| 95 |
+
|
| 96 |
+
Collecting structured Bangla social media text is difficult — stemming rules are
|
| 97 |
+
hard to pin down and stopword lists are inconsistent — so the data was labelled
|
| 98 |
+
manually rather than filtered heuristically.
|
| 99 |
+
|
| 100 |
+
|
| 101 |
+
|
| 102 |
+
|
| 103 |
+
|
| 104 |
+
## Citation
|
| 105 |
+
|
| 106 |
+
```bibtex
|
| 107 |
+
@inproceedings{nabil2023bangla,
|
| 108 |
+
title = {Bangla Emergency Post Classification on Social Media using
|
| 109 |
+
Transformer Based BERT Models},
|
| 110 |
+
author = {Nabil, Alvi Ahmmed and Arifeen, Shamsul and Das, Dola and
|
| 111 |
+
Salim, Md. Shahidul and Fattah, H. M. Abdul},
|
| 112 |
+
booktitle = {6th International Conference on Electrical Information and
|
| 113 |
+
Communication Technology (EICT)},
|
| 114 |
+
address = {Khulna, Bangladesh},
|
| 115 |
+
year = {2023}
|
| 116 |
+
}
|
| 117 |
+
```
|
| 118 |
+
|
| 119 |
+
Models trained on this dataset:
|
| 120 |
+
[NightRaven/bangla-emergency-post-classification](https://huggingface.co/NightRaven/bangla-emergency-post-classification)
|