File size: 1,405 Bytes
ae2bb00
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
---

dataset_info:
  features:
    - name: poem_id
      dtype: int64
    - name: poem
      dtype: string
    - name: verses
      dtype: int64
    - name: emotion
      dtype: string
  splits:
    - name: train
      num_bytes: 6541184
      num_examples: 5669
    - name: test
      num_bytes: 4313512
      num_examples: 3780
  download_size: 42186558
  dataset_size: 10854696
configs:
  - config_name: default
    data_files:
      - split: train
        path: train-*.parquet
      - split: test
        path: test-*.parquet
---


# Arabic Poem Emotion Classification

This dataset is derived from [asas-ai/Arabic-Poem-Emotion](https://huggingface.co/datasets/asas-ai/Arabic-Poem-Emotion).

## Dataset Information

The original dataset only contains a train split. We have split it into train (60%) and test (40%) sets with stratified sampling to ensure balanced distribution of emotion labels.

## Data Format

The dataset is stored in Parquet format with the following fields:

- `poem_id`: int64
- `poem`: string
- `verses`: int64
- `emotion`: string


## Stratification

The train/test split was performed using stratified sampling based on the 'emotion' field to ensure balanced distribution across emotion categories.

## Source

- Original dataset: [asas-ai/Arabic-Poem-Emotion](https://huggingface.co/datasets/asas-ai/Arabic-Poem-Emotion)