Add Arabic Poem Emotion Classification dataset (train/test split 6:4)
Browse files- README.md +54 -0
- dataset_infos.yaml +26 -0
- test-00000-of-00001.parquet +3 -0
- train-00000-of-00001.parquet +3 -0
README.md
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
dataset_info:
|
| 3 |
+
features:
|
| 4 |
+
- name: poem_id
|
| 5 |
+
dtype: int64
|
| 6 |
+
- name: poem
|
| 7 |
+
dtype: string
|
| 8 |
+
- name: verses
|
| 9 |
+
dtype: int64
|
| 10 |
+
- name: emotion
|
| 11 |
+
dtype: string
|
| 12 |
+
splits:
|
| 13 |
+
- name: train
|
| 14 |
+
num_bytes: 6541184
|
| 15 |
+
num_examples: 5669
|
| 16 |
+
- name: test
|
| 17 |
+
num_bytes: 4313512
|
| 18 |
+
num_examples: 3780
|
| 19 |
+
download_size: 42186558
|
| 20 |
+
dataset_size: 10854696
|
| 21 |
+
configs:
|
| 22 |
+
- config_name: default
|
| 23 |
+
data_files:
|
| 24 |
+
- split: train
|
| 25 |
+
path: train-*.parquet
|
| 26 |
+
- split: test
|
| 27 |
+
path: test-*.parquet
|
| 28 |
+
---
|
| 29 |
+
|
| 30 |
+
# Arabic Poem Emotion Classification
|
| 31 |
+
|
| 32 |
+
This dataset is derived from [asas-ai/Arabic-Poem-Emotion](https://huggingface.co/datasets/asas-ai/Arabic-Poem-Emotion).
|
| 33 |
+
|
| 34 |
+
## Dataset Information
|
| 35 |
+
|
| 36 |
+
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.
|
| 37 |
+
|
| 38 |
+
## Data Format
|
| 39 |
+
|
| 40 |
+
The dataset is stored in Parquet format with the following fields:
|
| 41 |
+
|
| 42 |
+
- `poem_id`: int64
|
| 43 |
+
- `poem`: string
|
| 44 |
+
- `verses`: int64
|
| 45 |
+
- `emotion`: string
|
| 46 |
+
|
| 47 |
+
|
| 48 |
+
## Stratification
|
| 49 |
+
|
| 50 |
+
The train/test split was performed using stratified sampling based on the 'emotion' field to ensure balanced distribution across emotion categories.
|
| 51 |
+
|
| 52 |
+
## Source
|
| 53 |
+
|
| 54 |
+
- Original dataset: [asas-ai/Arabic-Poem-Emotion](https://huggingface.co/datasets/asas-ai/Arabic-Poem-Emotion)
|
dataset_infos.yaml
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dataset_info:
|
| 2 |
+
features:
|
| 3 |
+
- name: poem_id
|
| 4 |
+
dtype: int64
|
| 5 |
+
- name: poem
|
| 6 |
+
dtype: string
|
| 7 |
+
- name: verses
|
| 8 |
+
dtype: int64
|
| 9 |
+
- name: emotion
|
| 10 |
+
dtype: string
|
| 11 |
+
splits:
|
| 12 |
+
- name: train
|
| 13 |
+
num_bytes: 6541184
|
| 14 |
+
num_examples: 5669
|
| 15 |
+
- name: test
|
| 16 |
+
num_bytes: 4313512
|
| 17 |
+
num_examples: 3780
|
| 18 |
+
download_size: 42186558
|
| 19 |
+
dataset_size: 10854696
|
| 20 |
+
configs:
|
| 21 |
+
- config_name: default
|
| 22 |
+
data_files:
|
| 23 |
+
- split: train
|
| 24 |
+
path: train-*.parquet
|
| 25 |
+
- split: test
|
| 26 |
+
path: test-*.parquet
|
test-00000-of-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d3bb50cc0169e737821400393037b09a1fa7e82f78c1b1883ea192a085fca0e4
|
| 3 |
+
size 4313512
|
train-00000-of-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3afee950e312f3733d063aea0c17ca1612eb78fa2983bc8e65e8b26ebaa0636b
|
| 3 |
+
size 6541184
|