Dataset Viewer
Auto-converted to Parquet Duplicate
query-id
stringclasses
26 values
corpus-id
stringlengths
21
34
score
float64
0
2
ancestors
agloryofmaryland00finnuoft/69
1
ancestors
americanepicconc00welbiala/22
1
ancestors
artliterature00fullrich/376
2
ancestors
blackhawk00smitrich/199
1
ancestors
blackwoodsmagazi06edinuoft/249
1
ancestors
bookofgemspoetsa01halluoft/320
2
ancestors
columbiadpoem00barlrich/120
1
ancestors
crichton00ainsuoft/166
2
ancestors
curiositiesofthe00unknuoft/118
2
ancestors
frombehindfactor00zimmiala/17
1
ancestors
fromtrophsonnets00hererich/208
1
ancestors
governemichigan00browrich/188
1
ancestors
hermioneandherli00marqiala/18
1
ancestors
historyconstitut00sonsiala/65
0
ancestors
historyofengland03turnuoft/105
2
ancestors
kingdominpacific00patouoft/13
0
ancestors
memoirsoflifeand01wilsuoft/423
2
ancestors
memorialdayandot00reediala/55
2
ancestors
myhansomlaysorig00beatuoft/79
2
ancestors
nationalhymnshow00whitrich/137
2
ancestors
oneofchinasschol00tayluoft/113
1
ancestors
poemshumanprog00westrich/82
1
ancestors
poetryofthecivil00whitrich/103
2
ancestors
propatribookofpa00halluoft/228
2
ancestors
shakespearestest00rushuoft/11
2
ancestors
songsandpoems00schiala/134
2
ancestors
songstwocentury00carlrich/36
1
ancestors
sonnetscanzo00alcorich/68
1
ancestors
sonsofgodwintrag00leigiala/64
2
ancestors
spiderandflytog00heywuoft/447
2
ancestors
spiderandflytog00heywuoft/448
1
ancestors
spiderandflytog00heywuoft/449
2
ancestors
spiderandflytog00heywuoft/450
1
ancestors
spiderandflytog00heywuoft/451
2
ancestors
spiderandflytog00heywuoft/462
1
ancestors
spiderandflytog00heywuoft/463
1
ancestors
spiderandflytog00heywuoft/464
2
ancestors
spiderandflytog00heywuoft/465
1
ancestors
stillwaterpastorals00shivrich/81
1
ancestors
studiesinstanzas00newerich/196
2
ancestors
theoligicalopinions07colerich/622
2
ancestors
trademoralsthei00pageuoft/17
0
ancestors
translationsfrom00lucruoft/57
1
ancestors
uniquebooknewsou00lassiala/122
1
ancestors
upfromcapeplefor00buttiala/129
0
ancestors
voiceofjerusalem00zanguoft/169
2
ancestors
wildrosesofcalif00hibbiala/132
2
ancestors
worksofenglishpo04chaluoft/574
1
ancestors
worksofenglishpo04chaluoft/86
1
ancestors
worksofenglishpo08chaluoft/374
2
ancestors
worksofenglishpo10chaluoft/210
0
ancestors
worksofenglishpo14chaluoft/267
2
ancestors
worksofenglishpo17chaluoft/169
2
ancestors
worksofenglishpo19chaluoft/557
1
ancestors
worksofenglishpo19chaluoft/716
1
ancestors
worksofenglishpo21chaluoft/119
1
ancestors
worksofenglishpo21chaluoft/313
1
ancestors
workswithmemoiro03defouoft/299
1
ancestors
yellowjacketchin00hazerich/132
2
buddhism
amultitudaofcou00unknuoft/94
2
buddhism
amultitudaofcou00unknuoft/96
2
buddhism
anthroreligion00mulluoft/66
2
buddhism
aprotestantdicti00wriguoft/308
1
buddhism
buddhismethics00caruuoft/261
2
buddhism
buddhisminchrist00lilluoft/183
2
buddhism
buddhisminthemod00saunuoft/72
2
buddhism
buddhismitschris00caruiala/120
2
buddhism
christianhypoth00tainuoft/77
0
buddhism
churchofengland01spenuoft/49
1
buddhism
conservationofna00unknuoft/151
0
buddhism
cowperandmaryunw00gearuoft/130
1
buddhism
derbuddhaeindram00caruiala/61
1
buddhism
developmentsofja00lloyuoft/173
0
buddhism
developmentsofja00lloyuoft/6
0
buddhism
errorschainshowf00dobbuoft/553
2
buddhism
errorschainshowf00dobbuoft/576
2
buddhism
errorschainshowf00dobbuoft/632
2
buddhism
ethicalchrist00hughuoft/25
1
buddhism
gospelofbuddha00caruuoft/54
2
buddhism
hymnsandhymnwrit00unknuoft/88
0
buddhism
introducingmento00weatuoft/64
0
buddhism
lifelorepoems00knotiala/163
2
buddhism
metaphysicofchri00stroiala/135
2
buddhism
mrpunchshistoryo03gravuoft/181
1
buddhism
newtestamenthigh00richuoft/12
0
buddhism
newtestamenthigh00richuoft/141
0
buddhism
newtestamenthigh00richuoft/163
2
buddhism
newtestamenthigh00richuoft/169
0
buddhism
newtestamenthigh00richuoft/203
2
buddhism
newtestamenthigh00richuoft/269
1
buddhism
poeticalworks01chauuoft/386
1
buddhism
popularlifebudd00lilluoft/262
2
buddhism
primitivebuddhis00reeduoft/125
2
buddhism
reincarnationast00walkuoft/255
2
buddhism
religionofmaneth00tuttiala/64
1
buddhism
scripturecommen08languoft/13
1
buddhism
songsoftherockie00hewerich/196
1
buddhism
tengreatreligion02claruoft/440
2
buddhism
thedustofdesire00karnuoft/27
2
buddhism
thedustofdesire00karnuoft/83
2
End of preview. Expand in Data Studio

Poetry 50K Retrieval

BEIR-style English poetry retrieval benchmark for PoetryMTEB / MTEB, packaged from John Foley's dissertation datasets (Poetry: Identification, Entity Recognition, and Retrieval, UMass Amherst, 2019).

Task: given a short topical query (e.g. love, satire, haiku), rank OCR poetry pages from the Poetry 50K collection by graded relevance.

Item Description
Dataset version 1.0.0
Hub repo PoetryMTEB/Poetry50KRetrieval
Task Retrieval (graded, score ∈ {0,1,2})
Language English (en), historical OCR
Splits test only (MTEB Retrieval)
Corpus Poetry 50K deduplicated unique pages
Queries 26 topical keywords
Judgments Crowdsourced MTurk + adjudication (mturk.max / mturk.min)
Metrics nDCG@10, MAP, Recall@k
Upstream https://ciir.cs.umass.edu/downloads/poetry/

Counts

Config Split #rows
corpus test 570,930
queries test 26
qrels_max test 1,170
qrels_min test 1,170
  • Judged documents (union of max/min): 1,326
  • Avg. judged docs / query (max): 45.0
  • Corpus coverage of judged ids: 1,149 / 1,326

Score histograms (after mapping -1 → 0)

qrels_max (optimistic): {0: 207, 1: 353, 2: 787}
qrels_min (pessimistic): {0: 585, 1: 508, 2: 254}
Raw Foley labels before mapping: max={-1: 124, 0: 83, 1: 353, 2: 787}, min={-1: 247, 0: 338, 1: 508, 2: 254}

Configs

corpus

Deduplicated Poetry 50K pages (poetry50k.dedup.jsonl.gz, MD5 be61efeff6ae2b1ffb86519aeeabf427).

Field Type Description
id string Document id {book}/{page} (Internet Archive book id + page)
text string Retrieval document: OCR page text (\t→space, lines preserved)
book string Internet Archive book identifier
page int64 Page number within the book
score float64 Upstream poetry-detection RF score
n_duplicates int64 Size of duplicate cluster
duplicates string JSON list of duplicate book/page ids

queries

Field Type Description
id string Topic id (underscore form), e.g. mothers_day
text string Retrieval query: humanized topic (mothers day)

Topics (26): ancestors, buddhism, dance, death, doubt, easter, education, ethnicity, flowers, friendship, funny, graduation, haiku, inspiration, jabberwocky, love, mothers_day, photography, reading, relationships, religion, satire, sorrow, teacher, war, wedding

Upstream releases no separate query file; topics are the TREC qrel query ids. We materialize queries.text by replacing _ with spaces.

qrels_max (default)

Optimistic aggregation: if any annotator marked relevant, keep the higher/optimistic label (mturk.max.qrel).

qrels_min

Pessimistic aggregation: if any annotator marked non-relevant, reflect that (mturk.min.qrel).

Field Type Description
query-id string Matches queries.id
corpus-id string Matches corpus.id
score float64 Graded relevance 0 / 1 / 2

Relevance scale

Score Meaning (Foley MTurk)
2 Highly relevant
1 Relevant / partially relevant
0 Not relevant or Foley raw -1 (adjudicated non-poetry / unusable), mapped to 0 for MTEB

Default Hub / evaluation config: qrels_max.

How to load

from datasets import load_dataset

corpus = load_dataset("PoetryMTEB/Poetry50KRetrieval", "corpus", split="test")
queries = load_dataset("PoetryMTEB/Poetry50KRetrieval", "queries", split="test")
qrels = load_dataset("PoetryMTEB/Poetry50KRetrieval", "qrels_max", split="test")   # default
qrels_min = load_dataset("PoetryMTEB/Poetry50KRetrieval", "qrels_min", split="test")

print(len(corpus), queries[0], qrels[0])
# Build a simple qrels dict for evaluation
from collections import defaultdict
qrel_dict = defaultdict(dict)
for r in qrels:
    qrel_dict[r["query-id"]][r["corpus-id"]] = r["score"]

Construction (summary)

  1. Download Poetry 50K dedup JSONL + mturk.max.qrel / mturk.min.qrel from CIIR.
  2. Corpus id = book/page; normalize OCR text for retrieval.
  3. Queries = unique qrel topic ids; text = topic with _ → space.
  4. Map Foley score -10; keep 0/1/2 graded labels.
  5. Package BEIR configs for PoetryMTEB (test-only).

License / attribution

Upstream page does not attach a machine-readable SPDX license; this packaging uses license: other and requires citing Foley's dissertation. Internet Archive book scans remain subject to their original access terms. Redistribution of OCR text is for research / evaluation under PoetryMTEB.

Citation

@phdthesis{foley2019poetry,
  title  = {{Poetry: Identification, Entity Recognition, and Retrieval}},
  school = {{University of Massachusetts Amherst}},
  author = {{Foley, John}},
  year   = {2019},
  url    = {{https://ciir.cs.umass.edu/downloads/poetry/}}
}

@misc{poetry50k_retrieval_poetrymteb,
  title        = {{Poetry 50K Retrieval: Topical English Poetry Page Retrieval}},
  author       = {{PoetryMTEB Contributors}},
  year         = {2026},
  version      = {1.0.0},
  publisher    = {{Hugging Face}},
  url          = {{https://huggingface.co/datasets/PoetryMTEB/Poetry50KRetrieval}},
  note         = {{PoetryMTEB BEIR-style packaging of Foley Poetry 50K + MTurk qrels}}
}
Downloads last month
-