Maggio33 commited on
Commit
79c9030
·
verified ·
1 Parent(s): 75d206e

Merge bin-10+bin-9 into single european_hplt_v3_pl.parquet; drop -part-b9 (one-file-per-source convention)

Browse files

Consolidate the two shards into one canonical parquet (110,590 docs / 512,383,778 cl100k tok), re-id sequentially, single combined stats.json. Removes -part-b9 files so normalize_schema writes one {source}.stats.json without double-count.

data/european_hplt_v3_pl/european_hplt_v3_pl-part-b9.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:3fd7308be38ce232f3421baceb3d24a34ae1e55ad7f4af31ad519a4acce7f653
3
- size 301189030
 
 
 
 
data/european_hplt_v3_pl/european_hplt_v3_pl-part-b9.stats.json DELETED
@@ -1,69 +0,0 @@
1
- {
2
- "read": 152380,
3
- "kept": 55000,
4
- "drop_short": 0,
5
- "drop_lang": 0,
6
- "drop_dup": 0,
7
- "drop_ocr": 0,
8
- "chars": 696357862,
9
- "tokens": 250914965,
10
- "licenses": {
11
- "CC0-1.0": 55000
12
- },
13
- "authors_with_value": 0,
14
- "license": "CC0-1.0",
15
- "stats_recomputed_from_parquet": true,
16
- "drop_detail": {
17
- "register": 57223,
18
- "adult_spam": 9150,
19
- "legalish": 8470,
20
- "mojibake": 107,
21
- "boilerplate": 1451,
22
- "machine_translated": 15717,
23
- "domain": 5181,
24
- "too_long": 77,
25
- "filehost": 4
26
- },
27
- "registers": {
28
- "IN": 21963,
29
- "NA": 17765,
30
- "OP": 10891,
31
- "HI": 3398,
32
- "ID": 983
33
- },
34
- "mt_prob_mean_kept": 0.079,
35
- "domains_top_sample": {
36
- "interpretacja-podatkowa.pl": 14,
37
- "biznes.pl": 13,
38
- "wiadomosci.onet.pl": 10,
39
- "e-podatnik.pl": 8,
40
- "interpretacje-podatkowe.org": 8,
41
- "interia360.pl": 6,
42
- "forumakademickie.pl": 6,
43
- "raportrolny.pl": 6,
44
- "eduteka.pl": 5,
45
- "rzu.gov.pl": 5,
46
- "sfd.pl": 4,
47
- "rynekzoologiczny.pl": 4,
48
- "krir.pl": 4,
49
- "moto.wp.pl": 4,
50
- "drukarnie.com.pl": 3,
51
- "nanoforum.pl": 3,
52
- "odpowiedzialnybiznes.pl": 3,
53
- "wiedzaiedukacja.eu": 3,
54
- "lubimyczytac.pl": 3,
55
- "footbar.pl": 3,
56
- "bokser.org": 3,
57
- "leksykon.com.pl": 3,
58
- "e-prawnik.pl": 2,
59
- "polki.pl": 2,
60
- "travelforum.pl": 2,
61
- "m.onet.pl": 2,
62
- "forsal.pl": 2,
63
- "ksiegarnia.meble.pl": 2,
64
- "dkfirm.pl": 2,
65
- "wirtualnapolonia.com": 2
66
- },
67
- "secs": 227.9,
68
- "source_repo": "HPLT/HPLT3.0 pol_Latn WDS=9 via https://data.hplt-project.org/three/sorted/pol_Latn/9_1.jsonl.zst"
69
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
data/european_hplt_v3_pl/european_hplt_v3_pl.md CHANGED
@@ -1,58 +1,57 @@
1
- # european_hplt_v3_pl
2
-
3
- Filtered Polish subset of **HPLT v3.0** (`pol_Latn`), top quality bins (WDS = 10 and 9). Two shards.
4
-
5
- ## Dataset description
6
- - **Source (upstream):** https://hplt-project.org/datasets/v3.0 (`pol_Latn`, shards `10_1` [WDS=10] + `9_1` prefix [WDS=9])
7
- - **Domain:** web (modern natural Polish — informational, narrative, opinion, how-to, discussion)
8
- - **Language:** Polish (pl)
9
- - **License:** `CC0-1.0` (packaging; see licensing note)
10
- - **Created (range):** web crawls 2012-2024 (Internet Archive + Common Crawl)
11
- - **Added:** 2026-07-14
12
-
13
- ## Licensing - traceable basis
14
- HPLT licenses the **packaging** of these text data under Creative Commons CC0 1.0 ("no rights reserved"),
15
- per the HPLT v3.0 Terms of Use (hplt-project.org/datasets/v3.0) and the HF card `HPLT/HPLT3.0`.
16
- HPLT does not own the underlying web text; a notice-and-takedown policy applies and downstream users
17
- remain responsible for compliance (EU CDSM Directive 2019/790, GDPR). This is a web-crawl source: it is
18
- offered at parity with the already-listed `european-hplt-v1` (CC0) basis and still needs maintainer
19
- web/legal review (`accept_after_web_review`), not auto-accept.
20
-
21
- ## Provenance
22
- Fetched directly from the HPLT distribution (`data.hplt-project.org/three/sorted/pol_Latn/{10_1,9_1}.jsonl.zst`),
23
- NOT via SpeakLeash. HPLT v3 is globally deduplicated upstream and sorted into Web-Docs-Scorer (WDS) quality
24
- bins; only the two top bins are used. Per-document URL, WDS score, web-register, MT-probability and PII spans
25
- are available in the raw HPLT record and were used for filtering (not retained in the released canonical schema).
26
-
27
- ## Statistics
28
- | documents | characters | tokens (tiktoken cl100k proxy) |
29
- |---:|---:|---:|
30
- | 110,590 | 1,426,290,944 | 512,383,778 |
31
-
32
- Per shard: bin-10 (`european_hplt_v3_pl.parquet`) 55,590 docs / 261,468,813 tok;
33
- bin-9 (`european_hplt_v3_pl-part-b9.parquet`) 55,000 docs / 250,914,965 tok.
34
-
35
- ## Per-document license metadata
36
- | license | documents |
37
- |---|---:|
38
- | `CC0-1.0` | 110,590 |
39
-
40
- ## Filters applied (src/clean_hplt_v3.py; thresholds inherited from src/filter_european_hplt.py)
41
- Per-shard keep: bin-10 55,590/195,874 (28.4%),
42
- bin-9 55,000/152,380 (36.1%). Drop reasons (combined-ish):
43
- `register` (not ID/OP/HI/IN/NA), `machine_translated` (MT>=0.20), `domain`
44
- (wikipedia/wikisource/wikimedia + file-hosts excluded), `adult_spam`, `legalish` (drops legal/parliamentary
45
- phrasing - serves the anti-legalese goal), `boilerplate`, `too_long` (>120k chars = book-length copyright/OCR
46
- risk), `mojibake` (>=3 CJK/replacement chars - upstream HPLT UTF-8->GBK mis-decode), `filehost` (PDF/file-share
47
- headers), `domain_cap` (>250 docs/domain). MT-probability of kept docs: mean ~0.08. Mojibake residual: 0.
48
-
49
- ## Status & caveats (web-crawl - NOT "release-clean")
50
- - **Copyright is not fully solved by filtering.** The length cap removes obvious book-length works, but
51
- in-copyright text recurs in web-crawl at ALL lengths (news reprints, blog reposts, excerpts). Inherent to
52
- web sources; the reason HPLT ships CC0-on-packaging + notice-and-takedown.
53
- - **Near-dup NOT removed** (Dynaword leaves heavy filtering downstream). ~11.8% of an HPLT sample's 8-grams
54
- overlap Polish Wikipedia; wikipedia/wikisource domain exclusion mitigates the largest sources, but
55
- cross-source near/containment dedup vs the full corpus remains a downstream step.
56
- - Surface-metric parity with accepted sources: mojibake 0%, boilerplate ~0.2%, diacritic-ratio ~0.066,
57
- TTR@500 ~0.64 (within the accepted range, ~= parliamentary). ~9% commercial/SEO-adjacent pages (web-inherent).
58
- - This is 2 shards of the top bins. The full `pol_Latn` corpus is ~270B raw tokens across WDS bins 10->5.
 
1
+ # european_hplt_v3_pl
2
+
3
+ Filtered Polish subset of **HPLT v3.0** (`pol_Latn`), top quality bins (WDS = 10 and 9), merged into one file.
4
+
5
+ ## Dataset description
6
+ - **Source (upstream):** https://hplt-project.org/datasets/v3.0 (`pol_Latn`, shards `10_1` [WDS=10] + `9_1` prefix [WDS=9])
7
+ - **Domain:** web (modern natural Polish — informational, narrative, opinion, how-to, discussion)
8
+ - **Language:** Polish (pl)
9
+ - **License:** `CC0-1.0` (packaging; see licensing note)
10
+ - **Created (range):** web crawls 2012-2024 (Internet Archive + Common Crawl)
11
+ - **Added:** 2026-07-14
12
+
13
+ ## Licensing - traceable basis
14
+ HPLT licenses the **packaging** of these text data under Creative Commons CC0 1.0 ("no rights reserved"),
15
+ per the HPLT v3.0 Terms of Use (hplt-project.org/datasets/v3.0) and the HF card `HPLT/HPLT3.0`.
16
+ HPLT does not own the underlying web text; a notice-and-takedown policy applies and downstream users
17
+ remain responsible for compliance (EU CDSM Directive 2019/790, GDPR). This is a web-crawl source: it is
18
+ offered at parity with the already-listed `european-hplt-v1` (CC0) basis and still needs maintainer
19
+ web/legal review (`accept_after_web_review`), not auto-accept.
20
+
21
+ ## Provenance
22
+ Fetched directly from the HPLT distribution (`data.hplt-project.org/three/sorted/pol_Latn/{10_1,9_1}.jsonl.zst`),
23
+ NOT via SpeakLeash. HPLT v3 is globally deduplicated upstream and sorted into Web-Docs-Scorer (WDS) quality
24
+ bins; only the two top bins are used. Per-document URL, WDS score, web-register, MT-probability and PII spans
25
+ are available in the raw HPLT record and were used for filtering (not retained in the released canonical schema).
26
+
27
+ ## Statistics
28
+ | documents | characters | tokens (tiktoken cl100k proxy) |
29
+ |---:|---:|---:|
30
+ | 110,590 | 1,426,290,944 | 512,383,778 |
31
+
32
+ Composition (single merged parquet): bin-10 (WDS=10) 55,590 docs / 261,468,813 tok;
33
+ bin-9 (WDS=9) 55,000 docs / 250,914,965 tok. See `european_hplt_v3_pl.stats.json` for the per-bin + drop breakdown.
34
+
35
+ ## Per-document license metadata
36
+ | license | documents |
37
+ |---|---:|
38
+ | `CC0-1.0` | 110,590 |
39
+
40
+ ## Filters applied (src/clean_hplt_v3.py; thresholds inherited from src/filter_european_hplt.py)
41
+ Per-shard keep: bin-10 55,590/195,874 (28.4%), bin-9 55,000/152,380 (36.1%). Drop reasons:
42
+ `register` (not ID/OP/HI/IN/NA), `machine_translated` (MT>=0.20), `domain`
43
+ (wikipedia/wikisource/wikimedia + file-hosts excluded), `adult_spam`, `legalish` (drops legal/parliamentary
44
+ phrasing - serves the anti-legalese goal), `boilerplate`, `too_long` (>120k chars = book-length copyright/OCR
45
+ risk), `mojibake` (>=3 CJK/replacement chars - upstream HPLT UTF-8->GBK mis-decode), `filehost` (PDF/file-share
46
+ headers), `domain_cap` (>250 docs/domain). MT-probability of kept docs: mean ~0.08. Mojibake residual: 0.
47
+
48
+ ## Status & caveats (web-crawl - NOT "release-clean")
49
+ - **Copyright is not fully solved by filtering.** The length cap removes obvious book-length works, but
50
+ in-copyright text recurs in web-crawl at ALL lengths (news reprints, blog reposts, excerpts). Inherent to
51
+ web sources; the reason HPLT ships CC0-on-packaging + notice-and-takedown.
52
+ - **Near-dup NOT removed** (Dynaword leaves heavy filtering downstream). ~11.8% of an HPLT sample's 8-grams
53
+ overlap Polish Wikipedia; wikipedia/wikisource domain exclusion mitigates the largest sources, but
54
+ cross-source near/containment dedup vs the full corpus remains a downstream step.
55
+ - Surface-metric parity with accepted sources: mojibake 0%, boilerplate ~0.2%, diacritic-ratio ~0.066,
56
+ TTR@500 ~0.64 (within the accepted range, ~= parliamentary). ~9% commercial/SEO-adjacent pages (web-inherent).
57
+ - This is 2 top bins merged. The full `pol_Latn` corpus is ~270B raw tokens across WDS bins 10->5.
 
data/european_hplt_v3_pl/european_hplt_v3_pl.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:526e6a5b282459b18901483a3716e58c3f44e55f80f266cc7a0bd74c5c242efb
3
- size 309556495
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6295b3280cef2b99e9bf511a1c48be9c94cd219455d2e9666ebf17363771b714
3
+ size 610242503
data/european_hplt_v3_pl/european_hplt_v3_pl.stats.json CHANGED
@@ -1,71 +1,41 @@
1
  {
2
- "read": 195874,
3
- "kept": 55590,
4
  "drop_short": 0,
5
  "drop_lang": 2,
6
  "drop_dup": 0,
7
  "drop_ocr": 0,
8
- "chars": 729933082,
9
- "tokens": 261468813,
10
  "licenses": {
11
- "CC0-1.0": 55590
12
  },
13
  "authors_with_value": 0,
14
  "license": "CC0-1.0",
15
  "stats_recomputed_from_parquet": true,
16
  "drop_detail": {
17
- "machine_translated": 30760,
18
- "adult_spam": 9532,
19
- "register": 71733,
20
- "legalish": 7411,
21
- "domain": 18053,
22
- "boilerplate": 1732,
23
- "mojibake": 134,
24
- "too_long": 139,
25
- "filehost": 3,
26
  "lang_prob": 2,
27
  "domain_cap": 785
28
  },
29
- "registers": {
30
- "IN": 21680,
31
- "HI": 3973,
32
- "NA": 15863,
33
- "OP": 13121,
34
- "ID": 953
 
 
 
35
  },
36
  "mt_prob_mean_kept": 0.08,
37
- "domains_top_sample": {
38
- "mtsholistictherapy.pl": 12,
39
- "teamdeck.io": 8,
40
- "ptderm.pl": 7,
41
- "korekcjawadpostawy.pl": 7,
42
- "zis-insbud.com.pl": 7,
43
- "szopi.pl": 6,
44
- "forum-lotnicze.pl": 6,
45
- "doradztworozwodowe.pl": 6,
46
- "expressoptyk.com.pl": 6,
47
- "pclab.pl": 6,
48
- "arstanmedica.pl": 5,
49
- "klinika-hb.pl": 5,
50
- "drogowo-mostowy.pl": 5,
51
- "debica.edu.pl": 5,
52
- "s263974156.websitehome.co.uk": 5,
53
- "zyskasz.pl": 5,
54
- "infiniticentrum.pl": 4,
55
- "soa.edu.pl": 4,
56
- "farmacja.leksykon.com.pl": 4,
57
- "funkymedia.eu": 4,
58
- "wisniowiec-race.pl": 4,
59
- "opzz.org.pl": 4,
60
- "goniec.pl": 3,
61
- "kora.net.pl": 3,
62
- "amazonas-baby.pl": 3,
63
- "ain.edu.pl": 3,
64
- "markasblog.pl": 3,
65
- "mobzilla.pl": 3,
66
- "metravel.pl": 3,
67
- "ojp.edu.pl": 3
68
- },
69
- "secs": 232.4,
70
- "source_repo": "HPLT/HPLT3.0 pol_Latn bin WDS=10 (data.hplt-project.org)"
71
  }
 
1
  {
2
+ "read": 348254,
3
+ "kept": 110590,
4
  "drop_short": 0,
5
  "drop_lang": 2,
6
  "drop_dup": 0,
7
  "drop_ocr": 0,
8
+ "chars": 1426290944,
9
+ "tokens": 512383778,
10
  "licenses": {
11
+ "CC0-1.0": 110590
12
  },
13
  "authors_with_value": 0,
14
  "license": "CC0-1.0",
15
  "stats_recomputed_from_parquet": true,
16
  "drop_detail": {
17
+ "machine_translated": 46477,
18
+ "adult_spam": 18682,
19
+ "register": 128956,
20
+ "legalish": 15881,
21
+ "domain": 23234,
22
+ "boilerplate": 3183,
23
+ "mojibake": 241,
24
+ "too_long": 216,
25
+ "filehost": 7,
26
  "lang_prob": 2,
27
  "domain_cap": 785
28
  },
29
+ "shards": {
30
+ "bin10_WDS10": {
31
+ "kept": 55590,
32
+ "tokens": 261468813
33
+ },
34
+ "bin9_WDS9": {
35
+ "kept": 55000,
36
+ "tokens": 250914965
37
+ }
38
  },
39
  "mt_prob_mean_kept": 0.08,
40
+ "source_repo": "HPLT/HPLT3.0 pol_Latn WDS bins 10+9 (data.hplt-project.org)"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
41
  }