aridhasan commited on
Commit
5540b6a
·
verified ·
1 Parent(s): 6f9a39f

Upload folder using huggingface_hub

Browse files
Files changed (5) hide show
  1. .gitattributes +1 -0
  2. README.md +147 -0
  3. data/dev.json +0 -0
  4. data/test.json +0 -0
  5. data/train.json +3 -0
.gitattributes CHANGED
@@ -58,3 +58,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
+ data/train.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,147 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-nc-sa-4.0
3
+ task_categories:
4
+ - text-classification
5
+ language:
6
+ - bn
7
+ tags:
8
+ - hate-speech-classification
9
+ - text-classification
10
+ pretty_name: 'BanglaMultiHate: Multi-task Bangla Hate-speech Dataset'
11
+ size_categories:
12
+ - 10K<n<100K
13
+ dataset_info:
14
+ - config_name: BanglaMultiHate
15
+ splits:
16
+ - name: train
17
+ num_examples: 35522
18
+ - name: dev
19
+ num_examples: 5024
20
+ - name: test
21
+ num_examples: 10200
22
+ configs:
23
+ - config_name: BanglaMultiHate
24
+ data_files:
25
+ - split: train
26
+ path: data/train.json
27
+ - split: dev
28
+ path: data/dev.json
29
+ - split: test
30
+ path: data/test.json
31
+ ---
32
+
33
+
34
+ # BanglaMultiHate: Multi-task Bangla Hate-speech Dataset
35
+
36
+ The *BanglaMultiHate* dataset collected public comments from YouTube videos using the YouTube API, primarily from Somoy TV, which is a popular Bangla News channel. The comments belong to 19 different categories, including Business, Celebrities, Disaster, Entertainment, Fashion, Geopolitics, Health, History, International, Lifestyle, Literature, Miscellaneous, National, Opinion, Politics, Religion, Science, Sports, and Technology, as well as 120 subcategories.
37
+ The annotation agreement of this manually annotated dataset shows agreement scores of $0.71$, $0.84$, and $0.79$ for the type of hate, severity of hate, and target of hate tasks, respectively, indicating substantial to perfect agreement.
38
+
39
+ ### Shared Task: [Bangla Hate Speech Identification](https://github.com/AridHasan/blp25_task1)
40
+ Check our shared task on this dataset: https://github.com/AridHasan/blp25_task1
41
+
42
+ ## Dataset
43
+
44
+ - [training set](./data/train.json)
45
+ - [development set](./data/dev.json)
46
+ - [test set](./data/test.json)
47
+
48
+ #### Data format
49
+ Each file uses the json format. A json object within the list of objects adheres to the following structure:
50
+
51
+ ```
52
+ {
53
+ "id": "",
54
+ "comment": "",
55
+ "category": "",
56
+ "subcategory": "",
57
+ "type_of_hate": "",
58
+ "severity_of_hate": "",
59
+ "target_of_hate": ""
60
+ }
61
+ ```
62
+ Where:
63
+ * id: an index or id of the text
64
+ * comment: text
65
+ * category: a category
66
+ * subcategory: a subcategory
67
+ * hate_type: _Abusive_, _Sexism_, _Religious Hate_, _Political Hate_, _Profane_, or _None_.
68
+ * hate_severity: _Little to None_, _Mild_, or _Severe_.
69
+ * to_whom: _Individuals_, _Organizations_, _Communities_, or _Society_.
70
+
71
+
72
+ ##### Example
73
+ ```
74
+ {
75
+ "id": "490273",
76
+ "comment": "আওয়ামী লীগের সন্ত্রাসী কবে দরবেন এই সাহস আপনাদের নাই",
77
+ "category": "National",
78
+ "subcategory": "বাংলার সময়",
79
+ "type_of_hate": "Political Hate",
80
+ "severity_of_hate": "Little to None",
81
+ "target_of_hate": "Organization"
82
+ }
83
+ ```
84
+
85
+ ### How to download data
86
+
87
+ ```
88
+ import os
89
+ import json
90
+ from datasets import load_dataset
91
+
92
+ output_dir="./BanglaMultiHate/"
93
+
94
+ dataset = load_dataset("AridHasan/BanglaMultiHate")
95
+ # Save the dataset to the specified directory. This will save all splits to the output directory.
96
+ dataset.save_to_disk(output_dir)
97
+ # iterate over splits to save the data into json format
98
+ for split in ['train','dev','test']:
99
+ data = []
100
+ if split not in dataset:
101
+ continue
102
+ for idx, item in enumerate(dataset[split]):
103
+ data.append(item)
104
+ output_file = os.path.join(output_dir, f"{split}.json")
105
+ with open(output_file, 'w', encoding='utf-8') as f:
106
+ json.dump(data, f, ensure_ascii=False, indent=4)
107
+ ```
108
+
109
+
110
+
111
+ ## Citation
112
+
113
+ ```
114
+ @article{hasan2025llm,
115
+ title={LLM-Based Multi-Task Bangla Hate Speech Detection: Type, Severity, and Target},
116
+ author={Hasan, Md Arid and Alam, Firoj and Hossain, Md Fahad and Naseem, Usman and Ahmed, Syed Ishtiaque},
117
+ year={2025},
118
+ journal={arXiv preprint arXiv:2510.01995},
119
+ url={https://arxiv.org/abs/2510.01995},
120
+ }
121
+
122
+ @inproceedings{blp2025-overview-task1,
123
+ title = "Overview of BLP 2025 Task 1: Bangla Hate Speech Identification",
124
+ author = "Hasan, Md Arid and Alam, Firoj and Hossain, Md Fahad and Naseem, Usman and Ahmed, Syed Ishtiaque",
125
+ booktitle = "Proceedings of the Second International Workshop on Bangla Language Processing (BLP-2025)",
126
+ editor = {Alam, Firoj
127
+ and Kar, Sudipta
128
+ and Chowdhury, Shammur Absar
129
+ and Hassan, Naeemul
130
+ and Prince, Enamul Hoque
131
+ and Tasnim, Mohiuddin
132
+ and Rony, Md Rashad Al Hasan,
133
+ and Rahman, Md Tahmid Rahman
134
+ },
135
+ month = dec,
136
+ year = "2025",
137
+ address = "India",
138
+ publisher = "Association for Computational Linguistics",
139
+ }
140
+ ```
141
+
142
+
143
+ ## License
144
+ *BanglaMultiHate* is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
145
+
146
+ You should have received a copy of the license along with this work. If not, see [http://creativecommons.org/licenses/by-nc-sa/4.0/](http://creativecommons.org/licenses/by-nc-sa/4.0/).
147
+
data/dev.json ADDED
The diff for this file is too large to render. See raw diff
 
data/test.json ADDED
The diff for this file is too large to render. See raw diff
 
data/train.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc552bade898761c4612e1a5314c3229196ee8d8fa6df1ee8139df7f04ae4450
3
+ size 16790646