Ericu950 commited on
Commit
968baa0
·
verified ·
1 Parent(s): d02d582

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -46
README.md CHANGED
@@ -31,26 +31,17 @@ configs:
31
 
32
  # Classical-Swedish Allusions: Gold Benchmark
33
 
34
- A small, carefully curated reference set of cross-lingual allusions from classical Greek and Latin into Swedish literature. Used as a held-out evaluation set for the broader [`Ericu950/classical-swedish-citations-v2`](https://huggingface.co/datasets/Ericu950/classical-swedish-citations-v2) project.
35
 
36
  ## Purpose
37
 
38
- This is **not training data**. It is a fixed, public reference standard. Any cross-lingual allusion-detection system should aspire to recover these. The set was archived publicly **before** evaluating any system against it, so reported recall scores are honest.
39
 
40
  The pairs were chosen to span several difficulty modes:
41
 
42
- - **Verbatim Latin quotations** embedded in Swedish text
43
- - **Translated proverbial tags** (e.g. *parturient montes* → "skohla bärgen föda")
44
- - **Homeric formulas** rendered into Swedish ("ἔπεα πτερόεντα" → "de bevingade orden")
45
- - **Biblical and Pauline phrases** echoed in 19th-c. Swedish prose
46
- - **Extended paraphrases** of classical passages
47
- - **Stylistic imitations** of classical forms (epinician, Homeric simile, etc.)
48
-
49
- Many of these are **outside the reach of current retrieval-based systems**. That is intentional. The benchmark defines the open problem.
50
-
51
  ## Files
52
 
53
- - `manual.tsv` — the raw gold pairs, tab-separated, headless, two columns: source_sentence, target_sentence. The source side matches sentences as they appear in the Perseus Digital Library JSONL release; the target side matches sentences after SaT-12l-sm segmentation of the corresponding Swedish text.
54
 
55
  - `gold_benchmark.jsonl` — the expanded benchmark, one record per (source_window, target_window) positional variant. Each gold pair appears multiple times: the focal sentence can sit at positions 0..4 within its 5-sentence window on each side. This tests positional robustness.
56
 
@@ -75,35 +66,6 @@ Many of these are **outside the reach of current retrieval-based systems**. That
75
  | `target_book` | str | Swedish book identifier |
76
  | `target_sent_idx` | int | Sentence index in the SaT-segmented Swedish text |
77
 
78
- A single source allusion may have multiple `gold_pair_id` realizations if the same Greek/Latin sentence appears in multiple Perseus files (e.g. Vergil's *auri sacra fames* appearing in *Aeneid* and again in Quintilian's quotation).
79
-
80
- ## Evaluation protocol
81
-
82
- The recommended evaluation metric is **gold_pair_id-level recall**: a system succeeds on a gold pair if it recovers **any** of that pair's (source_window, target_window) records. Positional variants exist to test robustness, not to inflate the count.
83
-
84
- ```python
85
- from datasets import load_dataset
86
- import json
87
-
88
- gold = load_dataset("Ericu950/classical-swedish-allusions-gold", split="test")
89
- gold_pair_ids = set(rec["gold_pair_id"] for rec in gold)
90
-
91
- # After running your pipeline against the source/target corpora:
92
- recovered_pair_ids = set() # populate from your pipeline output
93
-
94
- recall = len(recovered_pair_ids & gold_pair_ids) / len(gold_pair_ids)
95
- print(f"Gold recall: {recall:.2%}")
96
- ```
97
-
98
- ## Reference baseline
99
-
100
- The pipeline described in [`Ericu950/classical-swedish-citations-v2`](https://huggingface.co/datasets/Ericu950/classical-swedish-citations-v2) recovers approximately 3 of these gold pairs at the time of the benchmark's release. The remaining ~12 require capabilities the current architecture lacks:
101
-
102
- - Recognizing **translated proverbial tags** where surface forms diverge entirely (Latin→Swedish translation memory)
103
- - Recognizing **stylistic imitations** as kindred rather than as citations
104
- - Recognizing **biblical thematic echoes** without explicit lexical overlap
105
-
106
- The benchmark is intended to define these as open problems, not to suggest the current pipeline is failing.
107
 
108
  ## Languages
109
 
@@ -113,17 +75,14 @@ The benchmark is intended to define these as open problems, not to suggest the c
113
  ## Source corpora
114
 
115
  - Greek + Latin: Perseus Digital Library, sentence-segmented
116
- - Swedish: hand-curated texts under `00_texts/` in the pipeline repo, SaT-12l-sm segmented
117
 
118
  ## License
119
 
120
  CC BY 4.0. Free to use for any purpose with attribution.
121
 
122
- ## Citation
123
-
124
- If you use this benchmark, please cite the accompanying paper (forthcoming) and this dataset.
125
 
126
  ## Companion resources
127
 
128
- - Production pipeline output (~3,000 confirmed citations): [`Ericu950/classical-swedish-citations-v2`](https://huggingface.co/datasets/Ericu950/classical-swedish-citations-v2)
129
  - Bi-encoder models: [`Ericu950/intertext-classical-swedish-sentence`](https://huggingface.co/Ericu950/intertext-classical-swedish-sentence), [`Ericu950/intertext-classical-swedish-window`](https://huggingface.co/Ericu950/intertext-classical-swedish-window)
 
31
 
32
  # Classical-Swedish Allusions: Gold Benchmark
33
 
34
+ A small curated reference set of cross-lingual allusions from classical Greek and Latin into Swedish literature. Used as a held-out evaluation set for the [`Ericu950/classical-swedish-citations-v2`](https://huggingface.co/datasets/Ericu950/classical-swedish-citations-v2) project.
35
 
36
  ## Purpose
37
 
38
+ This is **not training data**. It is a fixed, public reference standard. Our cross-lingual allusion-detection system will aspire to recover these. The set was archived publicly **before** evaluating any system against it.
39
 
40
  The pairs were chosen to span several difficulty modes:
41
 
 
 
 
 
 
 
 
 
 
42
  ## Files
43
 
44
+ - `manual.tsv` — the raw gold pairs, tab-separated, headless, two columns: source_sentence, target_sentence. The source side matches sentences as they appear in the Perseus Digital Library, sentence tokenized with SaT-12l-sm, and Swedish text tokenized with the same model
45
 
46
  - `gold_benchmark.jsonl` — the expanded benchmark, one record per (source_window, target_window) positional variant. Each gold pair appears multiple times: the focal sentence can sit at positions 0..4 within its 5-sentence window on each side. This tests positional robustness.
47
 
 
66
  | `target_book` | str | Swedish book identifier |
67
  | `target_sent_idx` | int | Sentence index in the SaT-segmented Swedish text |
68
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
69
 
70
  ## Languages
71
 
 
75
  ## Source corpora
76
 
77
  - Greek + Latin: Perseus Digital Library, sentence-segmented
78
+ - Swedish: hand-curated texts by Carl Magnus Juliusson and Eric Cullhed
79
 
80
  ## License
81
 
82
  CC BY 4.0. Free to use for any purpose with attribution.
83
 
 
 
 
84
 
85
  ## Companion resources
86
 
87
+ - Production pipeline output (these samples are not in Litteraturbanken) (~3,000 confirmed citations): [`Ericu950/classical-swedish-citations-v2`](https://huggingface.co/datasets/Ericu950/classical-swedish-citations-v2)
88
  - Bi-encoder models: [`Ericu950/intertext-classical-swedish-sentence`](https://huggingface.co/Ericu950/intertext-classical-swedish-sentence), [`Ericu950/intertext-classical-swedish-window`](https://huggingface.co/Ericu950/intertext-classical-swedish-window)