yashbleh commited on
Commit
420bcd5
·
verified ·
1 Parent(s): fdfe708

Upload folder using huggingface_hub

Browse files
Files changed (8) hide show
  1. README.md +94 -1
  2. Test_Task_A.csv +0 -0
  3. Test_Task_B.csv +0 -0
  4. Train_Task_A.csv +0 -0
  5. Train_Task_B.csv +0 -0
  6. Val_Task_A.csv +0 -0
  7. Val_Task_B.csv +0 -0
  8. hf.py +7 -0
README.md CHANGED
@@ -1,3 +1,96 @@
1
  ---
2
- license: mit
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: other
3
+ language:
4
+ - hi
5
+ - en
6
+ tags:
7
+ - hate-speech
8
+ - faux-hate
9
+ - code-mixed
10
+ - hinglish
11
+ - nlp
12
+ - text-classification
13
  ---
14
+
15
+ # HiFoX Dataset
16
+
17
+ ## Overview
18
+
19
+ The **HiFoX Dataset** is a specialized, human-verified, and LLM-assisted benchmark dataset designed for **Faux-Hate detection in Hindi-English (Hinglish) code-mixed text**.
20
+ Faux-Hate refers to the complex convergence of fake narratives and hate speech, where fake narratives are used to incite hostility. In code-mixed multilingual settings such as Hinglish, linguistic ambiguity, transliteration inconsistencies, and lexical variation complicate the identification of hate-wired fake narratives.
21
+
22
+ The dataset contains a total of 12,238 instances and is divided into two constituent phases/tasks:
23
+ * **Task A (Fake and Hate Classification):** Binary classification of Fake vs. Non-Fake and Hate vs. Non-Hate content.
24
+ * **Task B (Fine-grained Hate Analysis):** Multi-class classification focusing on the specific targets and severity of the hateful instances.
25
+
26
+ ## Dataset Structure
27
+
28
+ The dataset consists of Train, Validation, and Test splits for both Task A and Task B, provided in CSV format.
29
+
30
+ ### Data Splits
31
+
32
+ | Split | Instances |
33
+ | ---------- | ---------------- |
34
+ | Train | 8,565 |
35
+ | Validation | 1,837 |
36
+ | Test | 1,836 |
37
+ | **Total** | **12,238** |
38
+
39
+ ### File Descriptions and Features
40
+
41
+ #### Task A (`Train_Task_A.csv`, `Val_Task_A.csv`, `Test_Task_A.csv`)
42
+ Task A focuses on the dual binary classification of Fake narratives and Hate Speech.
43
+
44
+ * **Id:** Unique identifier for the text instance (Integer).
45
+ * **Tweet:** The Hinglish code-mixed text (String).
46
+ * **Hate:** Binary label indicating the presence of genuine hate speech (`1` for Hate, `0` for Non-Hate).
47
+ * **Fake:** Binary label indicating the presence of a fake narrative (`1` for Fake, `0` for Non-Fake).
48
+
49
+ #### Task B (`Train_Task_B.csv`, `Val_Task_B.csv`, `Test_Task_B.csv`)
50
+ Task B provides a fine-grained, hierarchical analysis of the hateful instances, focusing on the target and severity.
51
+
52
+ * **Id:** Unique identifier for the text instance (Integer).
53
+ * **Tweet:** The Hinglish code-mixed text (String).
54
+ * **Hate:** Binary label indicating the presence of genuine hate speech (`1` for Hate, `0` for Non-Hate).
55
+ * **Target:** Categorical label indicating the entity towards which the hate is targeted. Classes are:
56
+ * `I`: Individual
57
+ * `O`: Organization
58
+ * `R`: Religion
59
+ * *(Blank for non-hateful instances)*
60
+ * **Severity:** Categorical label quantifying the extent of hate. Classes are:
61
+ * `L`: Low
62
+ * `M`: Medium
63
+ * `H`: High
64
+ * *(Blank for non-hateful instances)*
65
+
66
+ ## Usage
67
+
68
+ You can load this dataset directly using the Hugging Face `datasets` library:
69
+
70
+ ```python
71
+ from datasets import load_dataset
72
+
73
+ # Load Task A data
74
+ dataset_task_a = load_dataset("yashbleh/HiFox_Dataset", data_files={
75
+ "train": "Train_Task_A.csv",
76
+ "validation": "Val_Task_A.csv",
77
+ "test": "Test_Task_A.csv"
78
+ })
79
+
80
+ # Load Task B data
81
+ dataset_task_b = load_dataset("yashbleh/HiFox_Dataset", data_files={
82
+ "train": "Train_Task_B.csv",
83
+ "validation": "Val_Task_B.csv",
84
+ "test": "Test_Task_B.csv"
85
+ })
86
+ ```
87
+
88
+ ## Ethical Considerations
89
+
90
+ Given the nature of the task, the dataset inherently contains toxic, offensive, and hateful language. It should be used strictly for research purposes aimed at mitigating online harms and improving content moderation systems.
91
+
92
+ ## License and Terms of Use
93
+
94
+ This dataset is made available under **Fair Use** for academic and research purposes. **However, as our corresponding research paper has not yet been published, any use of this dataset for research that leads to a publication requires explicit prior permission from the authors.**
95
+
96
+ Users must ensure that their application of the dataset complies with relevant ethical guidelines and does not propagate harm. Please contact the authors to request permission before publishing any research utilizing this dataset.
Test_Task_A.csv ADDED
The diff for this file is too large to render. See raw diff
 
Test_Task_B.csv ADDED
The diff for this file is too large to render. See raw diff
 
Train_Task_A.csv ADDED
The diff for this file is too large to render. See raw diff
 
Train_Task_B.csv ADDED
The diff for this file is too large to render. See raw diff
 
Val_Task_A.csv ADDED
The diff for this file is too large to render. See raw diff
 
Val_Task_B.csv ADDED
The diff for this file is too large to render. See raw diff
 
hf.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ from huggingface_hub import login, upload_folder
2
+
3
+ # (optional) Login with your Hugging Face credentials
4
+ # login()
5
+
6
+ # Push your dataset files
7
+ upload_folder(folder_path=r"C:\Users\yashh\FAUX HATE\HiFoX-Dataset", repo_id="yashbleh/HiFox_Dataset", repo_type="dataset")