File size: 1,886 Bytes
6e00c5f
 
 
 
 
 
 
4f5562f
6e00c5f
 
 
 
d690bbb
 
6e00c5f
 
5a949dd
 
 
 
6e00c5f
 
 
 
 
 
 
1288d37
 
 
82fcda4
2cae841
83dc5f5
 
82fcda4
 
 
 
61b776a
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
license: mit
dataset_info:
  features:
  - name: text
    dtype: string
  - name: labels
    dtype: int64
  - name: label_text
    dtype: string
  - name: label
    dtype: int64
  - name: dataset
    dtype: string
  splits:
  - name: train
    num_bytes: 2605687
    num_examples: 11546
  download_size: 1306400
  dataset_size: 2605687
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
---
This __hate speeh__ dataset is derived from [manueltonneau/arabic-hate-speech-superset](https://huggingface.co/datasets/manueltonneau/arabic-hate-speech-superset). 
The original dataset has loading issues. This dataset is mainly based on the __L-HSAB__ and __alsafari__ sets mentioned in the original. 
Around 3000 other records from other datasets were added for better (not full) coverage.  
The current dataset keeps the original class (labels - apparently not as accurate as should be) and adds 2 columns: label_text and label (0: negative, 1:positive). 
Label text was first generated by LLM (Qwen 2.5 14B quantized). Label was fully revised after that and reflects my personal opinion (not an exat science).  

A [hate speech classifier model](https://huggingface.co/akhooli/setfit_ar_hs) based on this dataset is available.  

* Note: this dataset was updated on Nov. 14, 2024. It has around 11500 entries all manually inspected and labeled
  (my personal assessment, so not always correct or as intended).  
* __Disclaimer__: some entries contain obscene language, swearing and other forms of unacceptable terminology
 (data taken as is, removed only instances of "@user" from the original). 
The purpose of the dataset is to train a classifier and not to publish or endorse accpeptable/unacceptable content.
* [LinkedIn article](https://www.linkedin.com/posts/akhooli_arabic-hate-speech-detection-is-not-an-easy-activity-7261021456023609344-UJzM)