File size: 2,250 Bytes
ecb0081
0e723ff
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ecb0081
0e723ff
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
---

dataset_info:
  features:
    - name: id
      dtype: string
    - name: Title
      dtype: string
    - name: Author
      dtype: string
    - name: Category
      dtype: string
    - name: Poem
      dtype: string
  splits:
    - name: train
      num_bytes: 16542253
      num_examples: 20000
    - name: validation
      num_bytes: 4189717
      num_examples: 5000
  download_size: 38105941
  dataset_size: 20731970
configs:
  - config_name: default
    data_files:
      - split: train
        path: train-*.parquet
      - split: validation
        path: validation-*.parquet
---


# Arabic Poetry Periods Classification

This dataset contains Arabic poetry with period classification. Each poem is classified into a specific historical period (Category).

## Dataset Information

The dataset is split into train (80%) and validation (20%) sets with stratified sampling based on the Category (period) to ensure balanced distribution.

- **Train set**: 20000 examples
- **Validation set**: 5000 examples
- **Total**: 25000 examples

## Data Format

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

- `id`: Unique identifier
- `Title`: Poem title
- `Author`: Author name
- `Category`: Period category (historical period)
- `Poem`: Poem text

## Usage

```python

from datasets import load_dataset



dataset = load_dataset("PoetryMTEB/ArabicPoetryPeriodsClassification")



# Access train and validation splits

train_data = dataset['train']

validation_data = dataset['validation']

```

## Citation

If you use this dataset, please cite the following paper:

```

@INPROCEEDINGS{10638967,

  author={Ba Alawi, Abdulfattah E. and Bozkurt, Ferhat and Yağanoğlu, Mete},

  booktitle={2024 4th International Conference on Emerging Smart Technologies and Applications (eSmarTA)}, 

  title={BERT-AraPeotry: BERT-based Arabic Poems Classification Model}, 

  year={2024},

  volume={},

  number={},

  pages={1-5},

  keywords={Training;Text analysis;Computational modeling;Bidirectional control;Writing;Transformers;Natural language processing;Arabic Text;Poem;Sentiment Analysis;Natural Language Processing},

  doi={10.1109/eSmarTA62850.2024.10638967}

}

```