Add Arabic Poetry Periods Classification dataset (train/validation split 8:2)
Browse files- README.md +80 -1
- train-00000-of-00001.parquet +3 -0
- validation-00000-of-00001.parquet +3 -0
README.md
CHANGED
|
@@ -1,3 +1,82 @@
|
|
| 1 |
---
|
| 2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
dataset_info:
|
| 3 |
+
features:
|
| 4 |
+
- name: id
|
| 5 |
+
dtype: string
|
| 6 |
+
- name: Title
|
| 7 |
+
dtype: string
|
| 8 |
+
- name: Author
|
| 9 |
+
dtype: string
|
| 10 |
+
- name: Category
|
| 11 |
+
dtype: string
|
| 12 |
+
- name: Poem
|
| 13 |
+
dtype: string
|
| 14 |
+
splits:
|
| 15 |
+
- name: train
|
| 16 |
+
num_bytes: 16542253
|
| 17 |
+
num_examples: 20000
|
| 18 |
+
- name: validation
|
| 19 |
+
num_bytes: 4189717
|
| 20 |
+
num_examples: 5000
|
| 21 |
+
download_size: 38105941
|
| 22 |
+
dataset_size: 20731970
|
| 23 |
+
configs:
|
| 24 |
+
- config_name: default
|
| 25 |
+
data_files:
|
| 26 |
+
- split: train
|
| 27 |
+
path: train-*.parquet
|
| 28 |
+
- split: validation
|
| 29 |
+
path: validation-*.parquet
|
| 30 |
---
|
| 31 |
+
|
| 32 |
+
# Arabic Poetry Periods Classification
|
| 33 |
+
|
| 34 |
+
This dataset contains Arabic poetry with period classification. Each poem is classified into a specific historical period (Category).
|
| 35 |
+
|
| 36 |
+
## Dataset Information
|
| 37 |
+
|
| 38 |
+
The dataset is split into train (80%) and validation (20%) sets with stratified sampling based on the Category (period) to ensure balanced distribution.
|
| 39 |
+
|
| 40 |
+
- **Train set**: 20000 examples
|
| 41 |
+
- **Validation set**: 5000 examples
|
| 42 |
+
- **Total**: 25000 examples
|
| 43 |
+
|
| 44 |
+
## Data Format
|
| 45 |
+
|
| 46 |
+
The dataset is stored in Parquet format with the following fields:
|
| 47 |
+
|
| 48 |
+
- `id`: Unique identifier
|
| 49 |
+
- `Title`: Poem title
|
| 50 |
+
- `Author`: Author name
|
| 51 |
+
- `Category`: Period category (historical period)
|
| 52 |
+
- `Poem`: Poem text
|
| 53 |
+
|
| 54 |
+
## Usage
|
| 55 |
+
|
| 56 |
+
```python
|
| 57 |
+
from datasets import load_dataset
|
| 58 |
+
|
| 59 |
+
dataset = load_dataset("PoetryMTEB/ArabicPoetryPeriodsClassification")
|
| 60 |
+
|
| 61 |
+
# Access train and validation splits
|
| 62 |
+
train_data = dataset['train']
|
| 63 |
+
validation_data = dataset['validation']
|
| 64 |
+
```
|
| 65 |
+
|
| 66 |
+
## Citation
|
| 67 |
+
|
| 68 |
+
If you use this dataset, please cite the following paper:
|
| 69 |
+
|
| 70 |
+
```
|
| 71 |
+
@INPROCEEDINGS{10638967,
|
| 72 |
+
author={Ba Alawi, Abdulfattah E. and Bozkurt, Ferhat and Yağanoğlu, Mete},
|
| 73 |
+
booktitle={2024 4th International Conference on Emerging Smart Technologies and Applications (eSmarTA)},
|
| 74 |
+
title={BERT-AraPeotry: BERT-based Arabic Poems Classification Model},
|
| 75 |
+
year={2024},
|
| 76 |
+
volume={},
|
| 77 |
+
number={},
|
| 78 |
+
pages={1-5},
|
| 79 |
+
keywords={Training;Text analysis;Computational modeling;Bidirectional control;Writing;Transformers;Natural language processing;Arabic Text;Poem;Sentiment Analysis;Natural Language Processing},
|
| 80 |
+
doi={10.1109/eSmarTA62850.2024.10638967}
|
| 81 |
+
}
|
| 82 |
+
```
|
train-00000-of-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bd5cb95595b2e6ca3d26a2fbe950a2f8882f15b2696074c45b9e06cb4d73a475
|
| 3 |
+
size 16542253
|
validation-00000-of-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9a39ad3b5830f0b2aa2369097ad6739a1a6c4c9cc0d0c8da9602ca0b7b7379a9
|
| 3 |
+
size 4189717
|