ClementeH commited on
Commit
494de66
·
verified ·
1 Parent(s): 5087df0

Add SpanishWikinewsClustering v1

Browse files
Files changed (4) hide show
  1. README.md +96 -0
  2. p2p_test.jsonl.gz +3 -0
  3. report.json +58 -0
  4. s2s_test.jsonl.gz +3 -0
README.md ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - es
4
+ license: cc-by-2.5
5
+ task_categories:
6
+ - text-classification
7
+ tags:
8
+ - mteb
9
+ - clustering
10
+ - spanish
11
+ - wikinews
12
+ pretty_name: Spanish Wikinews Clustering
13
+ size_categories:
14
+ - n<1K
15
+ configs:
16
+ - config_name: s2s
17
+ data_files:
18
+ - split: test
19
+ path: s2s_test.jsonl.gz
20
+ - config_name: p2p
21
+ data_files:
22
+ - split: test
23
+ path: p2p_test.jsonl.gz
24
+ ---
25
+
26
+ # SpanishWikinewsClustering
27
+
28
+ SpanishWikinewsClustering is a small, reproducible Spanish news clustering dataset for MTEB.
29
+ It has two configurations sharing exactly the same 800 source articles and eight thematic
30
+ labels: `s2s` evaluates titles; `p2p` evaluates each title followed by a cleaned lead.
31
+
32
+ ## Dataset summary
33
+
34
+ | Configuration | Text | Rows | Labels | Split |
35
+ |---|---|---:|---:|---|
36
+ | `s2s` | Title | 800 | 8 | `test` |
37
+ | `p2p` | Title + cleaned lead (maximum 2,000 characters) | 800 | 8 | `test` |
38
+
39
+ The labels are Arte, cultura y entretenimiento; Ciencia y tecnología; Deportes;
40
+ Desastres y accidentes; Economía y Negocios; Judicial; Política; and Sociedad. Each has
41
+ exactly 100 rows. Files are flat JSONL with the fields `sentences` and `labels`, ready for
42
+ MTEB's current `AbsTaskClustering` implementation.
43
+
44
+ ## Source, license, and attribution
45
+
46
+ The source is the Spanish Wikinews Wikimedia dump in the `20260801` dump directory. The
47
+ SHA-256 of `eswikinews-20260801-pages-articles.xml.bz2` is
48
+ `bfb32ff73532cfffecf5db13e3712409ad9134459ea1d1927a8f93429be87109`.
49
+
50
+ The source text is licensed under [CC BY 2.5](https://creativecommons.org/licenses/by/2.5/).
51
+ This dataset is a derived work. Please attribute the original content to **contributors to
52
+ Spanish Wikinews** and link to the [Wikimedia dump](https://dumps.wikimedia.org/eswikinews/).
53
+ The cleaning, filtering, and sampling described below are additional modifications.
54
+
55
+ ## Construction and quality controls
56
+
57
+ The build pipeline uses the same snapshot's article, page, categorylinks, and linktarget
58
+ dumps. It keeps main-namespace non-redirect pages with exactly one thematic category after
59
+ transitive category-graph propagation. It excludes 549 multi-item pages containing “Noticias
60
+ breves”, removes exact and lexical near-duplicates (five-token-shingle Jaccard threshold
61
+ 0.85), and samples without replacement with seed 42.
62
+
63
+ Author manual review was stratified by label (20 items × 8). In its last review round, 155 of
64
+ 160 sampled items were marked `pass`; one ambiguous and four wrong-label cases were removed.
65
+ Those five selected items were replaced deterministically within their original labels, while
66
+ the 155 approved items were retained. Earlier review rounds produced 45 conservative global
67
+ title exclusions. LLM-assisted spot QA (Claude and Mistral, 16 items) was used only to surface
68
+ items for human inspection; it was not used as a source of labels.
69
+
70
+ This is **author manual review + LLM-assisted spot QA**, not independent human validation.
71
+
72
+ ## Limitations
73
+
74
+ - The source is a small, historical, community-edited news corpus; it is not representative
75
+ of all Spanish varieties, contemporary news, or every topic.
76
+ - Labels derive from Wikinews category structure and are intentionally strict/mono-label.
77
+ - The dataset is intended for comparative embedding evaluation, not topic-classification
78
+ training or factual inference.
79
+
80
+ ## Citation
81
+
82
+ ```bibtex
83
+ @misc{henriquez2026spanishwikinewsclustering,
84
+ author = {Henríquez, Clemente},
85
+ title = {SpanishWikinewsClustering},
86
+ year = {2026},
87
+ publisher = {Hugging Face},
88
+ url = {https://huggingface.co/datasets/ClementeH/SpanishWikinewsClustering}
89
+ }
90
+ ```
91
+
92
+ ## Reproducibility
93
+
94
+ The extraction and auditing pipeline is maintained in the ES-MTEB project:
95
+ `evaluations/wikinews/build_dataset.py`. The accompanying `report.json` records input hashes,
96
+ pool counts, filtering counts, parameters, and post-audit selected-item replacements.
p2p_test.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f85093d281487387d4868b7c3134723cff0515b10e83d389a645f5ce6401664d
3
+ size 427994
report.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "pool_by_label": {
3
+ "Política": 1023,
4
+ "Economía y Negocios": 239,
5
+ "Deportes": 733,
6
+ "Ciencia y tecnología": 254,
7
+ "Desastres y accidentes": 595,
8
+ "Judicial": 204,
9
+ "Sociedad": 404,
10
+ "Arte, cultura y entretenimiento": 202
11
+ },
12
+ "rejected": {
13
+ "no_or_multi_label": 9925,
14
+ "redirect": 2255,
15
+ "manual_exclusion": 39,
16
+ "news_digest": 549
17
+ },
18
+ "manual_exclusions": {
19
+ "requested": 45,
20
+ "applied": 39
21
+ },
22
+ "selected_item_replacements": {
23
+ "requested": 5,
24
+ "applied": 5,
25
+ "titles": [
26
+ "CDC alerta la aparición de un virus altamente letal",
27
+ "Japón teme una insuficiencia eléctrica tras cerrar su planta nuclear",
28
+ "Gobierno japonés regalará boletos de avión a 10 mil extranjeros",
29
+ "Más de 200 muertos y 11 500 heridos por terremoto en Sichuan, China",
30
+ "Aludes de tierra sepultan aldeas en Nepal"
31
+ ]
32
+ },
33
+ "near_duplicates": {
34
+ "removed": 0,
35
+ "pairs": {},
36
+ "threshold": 0.85
37
+ },
38
+ "hashes": {
39
+ "eswikinews-20260801-pages-articles.xml.bz2": "bfb32ff73532cfffecf5db13e3712409ad9134459ea1d1927a8f93429be87109",
40
+ "eswikinews-20260801-page.sql.gz": "29e9d0856d2efdd5a459aac4526849d33f8c34f8555b6c13f0402886682cb64a",
41
+ "eswikinews-20260801-categorylinks.sql.gz": "28f7bf50e36bfe716aa7106935abf5b292bfe434d1756cb27822e235776f66fa",
42
+ "eswikinews-20260801-linktarget.sql.gz": "f72e7022ffb654ef45aa82cd92f586bd21296d8386a66f1fdaccc0fb53500e16"
43
+ },
44
+ "parameters": {
45
+ "articles": "/private/tmp/es-mteb-wikinews-20260801/eswikinews-20260801-pages-articles.xml.bz2",
46
+ "page_sql": "/private/tmp/es-mteb-wikinews-20260801/eswikinews-20260801-page.sql.gz",
47
+ "categorylinks_sql": "/private/tmp/es-mteb-wikinews-20260801/eswikinews-20260801-categorylinks.sql.gz",
48
+ "linktarget_sql": "/private/tmp/es-mteb-wikinews-20260801/eswikinews-20260801-linktarget.sql.gz",
49
+ "output_dir": "/private/tmp/es-mteb-wikinews-20260801/output",
50
+ "per_label": 100,
51
+ "seed": 42,
52
+ "min_words": 3,
53
+ "p2p_max_chars": 2000,
54
+ "near_duplicate_threshold": 0.85,
55
+ "exclude_csv": "evaluations/wikinews/audit/reviewer_1_replacements.csv",
56
+ "replace_selected_csv": "evaluations/wikinews/audit/final_audit_round3_replacements.csv"
57
+ }
58
+ }
s2s_test.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:96217e48a57ebbbf3be81570471bbd13f7fbec80c432355c381ae6b128a4f839
3
+ size 24920