yuiseki commited on
Commit
7e2ff26
·
verified ·
1 Parent(s): 2318bec

Upload provenance.yaml with huggingface_hub

Browse files
Files changed (1) hide show
  1. provenance.yaml +69 -0
provenance.yaml ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Where this dataset came from and what was done to it.
2
+
3
+ dataset:
4
+ name: osm-wiki
5
+ path: data/pages.jsonl
6
+ built: 2026-09-17
7
+ pages: 78178
8
+ characters: 290279008
9
+ languages: [en, de, es, ru, fr, ja, it, nl]
10
+
11
+ licence:
12
+ text: CC BY-SA 2.0
13
+ holder: the authors of the OpenStreetMap Wiki
14
+ reference: https://wiki.openstreetmap.org/wiki/Wiki_content_license
15
+ note: >
16
+ Attribution and share-alike both apply. This is the wiki, not the OSM
17
+ database, which is ODbL and is not present.
18
+
19
+ source:
20
+ name: OpenStreetMap Wiki full-history XML export
21
+ file: dump.xml.gz
22
+ dump_date: 2026-01-30
23
+ compressed_bytes: 6676932113
24
+ note: >
25
+ A full-history export at roughly 88 revisions per page, so almost all of
26
+ its size is history. Only the latest revision of each page is kept.
27
+
28
+ processing:
29
+ - step: extraction
30
+ script: src/extract.py
31
+ output: data/pages.jsonl
32
+ results:
33
+ pages_kept: 78178
34
+ redirects_excluded: 32656
35
+ other_namespaces_excluded: 179173
36
+ namespaces_kept:
37
+ 0: {kind: main, lang: en, pages: 52895}
38
+ 12: {kind: help, lang: en, pages: 9}
39
+ 200: {kind: lang, lang: de, pages: 5195}
40
+ 202: {kind: lang, lang: fr, pages: 3759}
41
+ 204: {kind: lang, lang: es, pages: 4781}
42
+ 206: {kind: lang, lang: it, pages: 1373}
43
+ 208: {kind: lang, lang: nl, pages: 507}
44
+ 210: {kind: lang, lang: ru, pages: 4368}
45
+ 212: {kind: lang, lang: ja, pages: 2835}
46
+ 3000: {kind: proposal, lang: en, pages: 2456}
47
+
48
+ - step: wikitext flattening
49
+ script: src/wikitext.py
50
+ note: >
51
+ Unwraps rather than strips. The OSM Wiki keeps its tagging knowledge in
52
+ wikitables and in Tag and Key templates; a cleaner written for Wikipedia
53
+ prose removes both and takes the content with them. An early attempt
54
+ reported 89% of the corpus as markup, which was the cleaner deleting
55
+ table cells that hold the tag descriptions.
56
+
57
+ known_limitations:
58
+ - >
59
+ 814 pages are under 30 characters: their entire content was a category or
60
+ image link, which flattening leaves empty. Kept, since the title is
61
+ usually a place name and n_chars allows dropping them.
62
+ - >
63
+ 20 pages exceed 300,000 characters, mostly US National Inventory of Dams
64
+ data conflation working pages. Tabular rather than documentation. Kept
65
+ whole.
66
+ - The dump is from 2026-01-30 and the wiki has moved on.
67
+ - >
68
+ Eight languages, being those with their own namespace in the export. The
69
+ wiki has more.