Datasets:
Tasks:
Text Classification
Modalities:
Text
Formats:
parquet
Sub-tasks:
multi-class-classification
Languages:
English
Size:
1K - 10K
License:
Add EnglishPoetryFormClassification v1.0.0 (15 forms, freq>=10; train/test; CC BY-SA 4.0)
Browse filesFiles changed (11)
- CITATION.bibAdded+17
- CITATION.cffAdded+10
- LICENSEAdded+13
- README.mdAdded+158
- VERSIONAdded+1
- checksums.sha256Added+11
- data/test-00000-of-00001.parquetAdded+3
- data/train-00000-of-00001.parquetAdded+3
- dataset_infos.yamlAdded+33
- label_taxonomy.jsonAdded+249
- metadata.jsonAdded+30
1234567891011121314151617@misc{riazhsks_multilingual_annotated_poems,
title = {Multilingual Annotated Poems},
author = {riazhsks},
year = {2025},
howpublished = {GitHub},
url = {https://github.com/riazhsks/multilingual-annotated-poems},
note = {Multilingual poetry corpora with form/meter/rhyme annotations}
}
@misc{englishpoetryformclassification_poetrymteb,
title = {English Poetry Form Classification (PoetryMTEB packaging)},
author = {PoetryMTEB},
year = {2026},
howpublished = {Hugging Face Datasets},
url = {https://huggingface.co/datasets/PoetryMTEB/EnglishPoetryFormClassification},
note = {version 1.0.0}
}12345678910cff-version: 1.2.0
message: If you use this dataset, please cite the upstream multilingual-annotated-poems repository and this PoetryMTEB packaging.
title: "English Poetry Form Classification (PoetryMTEB packaging)"
version: "1.0.0"
license: CC-BY-SA-4.0
authors:
- name: "riazhsks"
- name: "PoetryMTEB"
url: "https://huggingface.co/datasets/PoetryMTEB/EnglishPoetryFormClassification"
repository-code: "https://github.com/riazhsks/multilingual-annotated-poems"12345678910111213Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
==========================================================================
This PoetryMTEB packaging redistributes annotations and texts derived from:
https://github.com/riazhsks/multilingual-annotated-poems
Upstream repository license notice: CC-BY-SA
Please also respect licenses / terms of the original poetry corpora cited in
the upstream README (CCV, poetry-eval English, DISCO/Spanish sonnets, DLK, etc.).
Full legal text: https://creativecommons.org/licenses/by-sa/4.0/legalcode123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158---
license: cc-by-sa-4.0
task_categories:
- text-classification
task_ids:
- multi-class-classification
language:
- en
multilinguality:
- monolingual
size_categories:
- 1K<n<10K
pretty_name: English Poetry Form Classification
tags:
- poetry
- english
- form-classification
- poetic-form
- text-classification
- mteb
- poetrymteb
- embedding-evaluation
annotations_creators:
- found
source_datasets:
- riazhsks/multilingual-annotated-poems
configs:
- config_name: default
data_files:
- split: train
path: data/train-*
- split: test
path: data/test-*
default: true
dataset_info:
- config_name: default
features:
- name: id
dtype: string
- name: poem
dtype: string
- name: title
dtype: string
- name: author
dtype: string
- name: label
dtype: int64
- name: label_name
dtype: string
splits:
- name: train
num_examples: 1080
- name: test
num_examples: 271
---
# English Poetry Form Classification
Single-label **English poetic form classification** for PoetryMTEB embedding evaluation, derived from the English corpus in [multilingual-annotated-poems](https://github.com/riazhsks/multilingual-annotated-poems) (originally based on [poetry-eval](https://github.com/maria-antoniak/poetry-eval) / Walsh et al., EMNLP Findings 2024).
## Dataset Card
| Item | Description |
|------|-------------|
| **Source** | [https://github.com/riazhsks/multilingual-annotated-poems](https://github.com/riazhsks/multilingual-annotated-poems) → `corpora/english_poems_processed.jsonl` |
| **Languages** | English (`en`) |
| **Size** | train=1080; test=271 (no validation; MTEB Classification: train→fit, test→score) |
| **Classes** | 15 forms with frequency ≥ 10 |
| **Filtering** | Drop empty/`null` form; poem length ∈ [40, 8000] chars; rare forms (count < 10) |
| **Splits** | Stratified by form ≈ 80% / 19%, seed=42 |
| **License** | [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/) (upstream CC-BY-SA) |
| **Dataset version** | `1.0.0` |
| **Evaluation metrics** | Classification on embeddings: **accuracy**, **macro/weighted F1** |
## Features
| Field | Type | Description |
|-------|------|-------------|
| `id` | string | Example id |
| `poem` | string | Poem text (classification input) |
| `title` | string | Title (metadata) |
| `author` | string | Author (metadata) |
| `label` | int64 | Form class index 0 … C−1 |
| `label_name` | string | Form name |
Codebook: `label_taxonomy.json`.
### Label inventory (kept)
| id | label_name | gloss | train | test | total* |
|---:|------------|-------|------:|-----:|-------:|
| 0 | `sonnet` | Sonnet (十四行) | 468 | 117 | 585 |
| 1 | `couplet` | Couplet (对句) | 220 | 55 | 275 |
| 2 | `common measure` | Common measure (通用格) | 55 | 14 | 69 |
| 3 | `ballad` | Ballad (民谣体) | 50 | 13 | 63 |
| 4 | `elegy` | Elegy (挽歌) | 49 | 12 | 61 |
| 5 | `free verse` | Free verse (自由诗) | 39 | 10 | 49 |
| 6 | `blank verse` | Blank verse (无韵诗) | 34 | 9 | 43 |
| 7 | `ode` | Ode (颂歌) | 34 | 8 | 42 |
| 8 | `dramatic monologue` | Dramatic monologue (戏剧独白) | 33 | 8 | 41 |
| 9 | `prose poem` | Prose poem (散文诗) | 30 | 8 | 38 |
| 10 | `pastoral` | Pastoral (牧歌) | 29 | 7 | 36 |
| 11 | `haiku` | Haiku (俳句) | 13 | 3 | 16 |
| 12 | `quatrain` | Quatrain (四行) | 10 | 3 | 13 |
| 13 | `ekphrasis` | Ekphrasis (艺格敷词) | 8 | 2 | 10 |
| 14 | `ars poetica` | Ars poetica (诗艺) | 8 | 2 | 10 |
\* totals are class counts after length filtering (same pool used for train/test).
### Dropped forms (count < 10)
| form | count |
|------|------:|
| limerick | 6 |
| concrete or pattern poetry | 5 |
| aubade | 3 |
| sestina | 3 |
| ghazal | 2 |
| villanelle | 1 |
| pantoum | 1 |
## Construction method
1. Load English JSONL from multilingual-annotated-poems.
2. Keep rows with non-empty gold `form` and `text`.
3. Filter by character length; keep classes with frequency ≥ 10.
4. Map forms to contiguous ids (frequency-descending).
5. Stratified train/test split by form (no validation).
## How to load
```python
from datasets import load_dataset
ds = load_dataset("PoetryMTEB/EnglishPoetryFormClassification")
print(ds["test"][0]["label_name"], ds["test"][0]["poem"][:80])
```
## Citation
```bibtex
@misc{riazhsks_multilingual_annotated_poems,
title={Multilingual Annotated Poems},
author={riazhsks},
year={2025},
url={https://github.com/riazhsks/multilingual-annotated-poems}
}
@inproceedings{walsh-etal-2024-sonnet,
title={Sonnet or Not, Bot? Poetry Evaluation for Large Models and Datasets},
author={Walsh, Melanie and Preus, Anna and Antoniak, Maria},
booktitle={Findings of EMNLP 2024},
year={2024},
url={https://aclanthology.org/2024.findings-emnlp.914/}
}
```
Hub packaging: `PoetryMTEB/EnglishPoetryFormClassification` (v1.0.0).11.0.01234567891011ad4afc66ea831c3ecd6b99fc1de39e26b0e7d8f92e5a8a78f399b951e369a5d2 CITATION.bib
dfe4036bccb46605c6e3826308ba9d2e466540fa712e845aba0ecb7ec6382194 CITATION.cff
f74e3e6df27a4ee27307315977ebedc2b31803c3cacce5105357a7820159829f data/test-00000-of-00001.parquet
ca925a64d8b708fe44e1b66653135fcfe65bb0cfc5185f03c4161ed9524361a0 data/train-00000-of-00001.parquet
70f04ffc5f0290b7cf73b8e432b01de16ac2fdb020d5b1f7787bc8557f17dcd0 dataset_infos.yaml
f32f2d3a79000c41e80e97a603a0e119e21c163c67e87b50e1f5f00334cb98da label_taxonomy.json
6a7b381325060368e7c1370f6daad24d406bad9f167c1c3a30ed2bd3b816f94a LICENSE
08806910c18bdf01908493f202206fb8c25f1a581f5044491f650620144eb79f metadata.json
05631d40739574072d7cac6c4e6c5d6a7b329cdd2140b2527e05e9400e58d56b README.md
34ca08fe91e693769063e7cf3695357c619fd331028f7ba7ec58f7dc44efe522 stats.json
4ca8bbd3c595ee306226c6996b32b8d47a900217c55a7ed0cfc868ee444f34f1 VERSION123version https://git-lfs.github.com/spec/v1oid sha256:f74e3e6df27a4ee27307315977ebedc2b31803c3cacce5105357a7820159829fsize 237068123version https://git-lfs.github.com/spec/v1oid sha256:ca925a64d8b708fe44e1b66653135fcfe65bb0cfc5185f03c4161ed9524361a0size 904545123456789101112131415161718192021222324252627282930313233configs:
- config_name: default
data_files:
- path: data/train-*.parquet
split: train
- path: data/test-*.parquet
split: test
default: true
dataset_info:
configs:
- config_name: default
dataset_size: 1141613
download_size: 1141613
features:
- dtype: string
name: id
- dtype: string
name: poem
- dtype: string
name: title
- dtype: string
name: author
- dtype: int64
name: label
- dtype: string
name: label_name
splits:
- name: train
num_bytes: 904545
num_examples: 1080
- name: test
num_bytes: 237068
num_examples: 271123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249{
"description": "Form codebook for EnglishPoetryFormClassification",
"source": "https://github.com/riazhsks/multilingual-annotated-poems",
"min_count": 10,
"filtering": {
"n_raw": 1453,
"n_no_form": 0,
"n_candidates_after_length_filter": 1372,
"n_no_text": 0,
"n_length_filtered": 81,
"n_rare_label_rows": 21,
"n_kept": 1351,
"min_count": 10,
"max_chars": 8000,
"min_chars": 40,
"dropped_labels": [
[
"limerick",
6
],
[
"concrete or pattern poetry",
5
],
[
"aubade",
3
],
[
"sestina",
3
],
[
"ghazal",
2
],
[
"villanelle",
1
],
[
"pantoum",
1
]
],
"filtered_label_counts": {
"ghazal": 2,
"sonnet": 585,
"couplet": 275,
"dramatic monologue": 41,
"elegy": 61,
"ballad": 63,
"blank verse": 43,
"common measure": 69,
"pastoral": 36,
"aubade": 3,
"ode": 42,
"free verse": 49,
"concrete or pattern poetry": 5,
"ekphrasis": 10,
"haiku": 16,
"prose poem": 38,
"quatrain": 13,
"limerick": 6,
"ars poetica": 10,
"sestina": 3,
"villanelle": 1,
"pantoum": 1
},
"kept_labels": [
[
"sonnet",
585
],
[
"couplet",
275
],
[
"common measure",
69
],
[
"ballad",
63
],
[
"elegy",
61
],
[
"free verse",
49
],
[
"blank verse",
43
],
[
"ode",
42
],
[
"dramatic monologue",
41
],
[
"prose poem",
38
],
[
"pastoral",
36
],
[
"haiku",
16
],
[
"quatrain",
13
],
[
"ekphrasis",
10
],
[
"ars poetica",
10
]
]
},
"split": {
"method": "stratified-by-form",
"train_ratio": 0.8,
"seed": 42,
"sizes": {
"train": 1080,
"test": 271
}
},
"labels": {
"names": [
"sonnet",
"couplet",
"common measure",
"ballad",
"elegy",
"free verse",
"blank verse",
"ode",
"dramatic monologue",
"prose poem",
"pastoral",
"haiku",
"quatrain",
"ekphrasis",
"ars poetica"
],
"name2id": {
"sonnet": 0,
"couplet": 1,
"common measure": 2,
"ballad": 3,
"elegy": 4,
"free verse": 5,
"blank verse": 6,
"ode": 7,
"dramatic monologue": 8,
"prose poem": 9,
"pastoral": 10,
"haiku": 11,
"quatrain": 12,
"ekphrasis": 13,
"ars poetica": 14
},
"counts": {
"sonnet": 585,
"couplet": 275,
"common measure": 69,
"ballad": 63,
"elegy": 61,
"free verse": 49,
"blank verse": 43,
"ode": 42,
"dramatic monologue": 41,
"prose poem": 38,
"pastoral": 36,
"haiku": 16,
"quatrain": 13,
"ekphrasis": 10,
"ars poetica": 10
},
"n_classes": 15,
"gloss": {
"sonnet": "Sonnet (十四行)",
"couplet": "Couplet (对句)",
"common measure": "Common measure (通用格)",
"ballad": "Ballad (民谣体)",
"elegy": "Elegy (挽歌)",
"free verse": "Free verse (自由诗)",
"blank verse": "Blank verse (无韵诗)",
"ode": "Ode (颂歌)",
"dramatic monologue": "Dramatic monologue (戏剧独白)",
"prose poem": "Prose poem (散文诗)",
"pastoral": "Pastoral (牧歌)",
"haiku": "Haiku (俳句)",
"quatrain": "Quatrain (四行)",
"ekphrasis": "Ekphrasis (艺格敷词)",
"ars poetica": "Ars poetica (诗艺)"
},
"split_counts": {
"train": {
"couplet": 220,
"ekphrasis": 8,
"dramatic monologue": 33,
"ballad": 50,
"sonnet": 468,
"quatrain": 10,
"elegy": 49,
"blank verse": 34,
"pastoral": 29,
"ode": 34,
"prose poem": 30,
"free verse": 39,
"common measure": 55,
"haiku": 13,
"ars poetica": 8
},
"test": {
"sonnet": 117,
"common measure": 14,
"ekphrasis": 2,
"couplet": 55,
"blank verse": 9,
"ars poetica": 2,
"pastoral": 7,
"ballad": 13,
"dramatic monologue": 8,
"ode": 8,
"elegy": 12,
"free verse": 10,
"haiku": 3,
"prose poem": 8,
"quatrain": 3
}
}
}
}123456789101112131415161718192021222324252627282930{
"name": "EnglishPoetryFormClassification",
"pretty_name": "English Poetry Form Classification",
"poetrymteb_repo": "PoetryMTEB/EnglishPoetryFormClassification",
"version": "1.0.0",
"task": "multi-class-classification",
"language": [
"en"
],
"n_classes": 15,
"n_examples": 1351,
"splits": {
"train": 1080,
"test": 271
},
"has_validation": false,
"unit": "poem",
"label_field": "label",
"text_field": "poem",
"source": {
"github": "https://github.com/riazhsks/multilingual-annotated-poems"
},
"license": "cc-by-sa-4.0",
"metrics": [
"accuracy",
"macro_f1",
"weighted_f1"
],
"note": "English poetic form classification from gold form labels"
}CITATION.bibAdded+17
CITATION.cffAdded+10
LICENSEAdded+13
README.mdAdded+158
VERSIONAdded+1
checksums.sha256Added+11
data/test-00000-of-00001.parquetAdded+3
data/train-00000-of-00001.parquetAdded+3
dataset_infos.yamlAdded+33
label_taxonomy.jsonAdded+249
metadata.jsonAdded+30