Datasets:
Commit ·
7f60607
1
Parent(s): a4f2b0d
Update v0.2.1 HF card release date
Browse files- CHANGELOG.md +1 -1
- README.md +4 -3
- data/1000_novels/1000_novels.md +1 -1
- data/dziennik_ustaw/dziennik_ustaw.md +1 -1
- data/eltec_pol/eltec_pol.md +1 -1
- data/eurlex/eurlex.md +1 -1
- data/parliamentary/parliamentary.md +1 -1
- data/wikibooks/wikibooks.md +1 -1
- data/wikinews/wikinews.md +1 -1
- data/wikipedia/wikipedia.md +1 -1
- data/wikiquote/wikiquote.md +1 -1
- data/wikisource/wikisource.md +1 -1
- data/wikivoyage/wikivoyage.md +1 -1
- data/wolne_lektury/wolne_lektury.md +1 -1
- src/__pycache__/make_docs.cpython-314.pyc +0 -0
- src/__pycache__/sources.cpython-314.pyc +0 -0
- src/make_docs.py +7 -2
- src/sources.py +1 -1
CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
# Changelog
|
| 2 |
|
| 3 |
-
## v0.2.1 (2026-
|
| 4 |
|
| 5 |
- Released a stable metadata-schema update: `id, text, source, added, created, token_count, license, author`.
|
| 6 |
- Current release totals after parquet recount: 12 sources, 2,491,773 docs, 6.28B tokens (tiktoken proxy).
|
|
|
|
| 1 |
# Changelog
|
| 2 |
|
| 3 |
+
## v0.2.1 (2026-07-02)
|
| 4 |
|
| 5 |
- Released a stable metadata-schema update: `id, text, source, added, created, token_count, license, author`.
|
| 6 |
- Current release totals after parquet recount: 12 sources, 2,491,773 docs, 6.28B tokens (tiktoken proxy).
|
README.md
CHANGED
|
@@ -21,6 +21,7 @@ family (Enevoldsen et al., [arXiv:2508.02271](https://arxiv.org/abs/2508.02271))
|
|
| 21 |
|
| 22 |
> **v0.2.1 stable** · 2,491,773 documents · **6.28B tokens**
|
| 23 |
> (tiktoken proxy; canonical Llama-3 count at release) · 12 sources
|
|
|
|
| 24 |
|
| 25 |
> **v0.3.0-preview in progress** · quality/diversity remix workflow, legal-style
|
| 26 |
> downweighting, and filtered contemporary Polish web candidates. Biblioteka
|
|
@@ -183,11 +184,11 @@ python3 src/build_dynaword.py --all --speakleash-dir <speakleash_zst_dir> --out
|
|
| 183 |
python3 src/make_docs.py
|
| 184 |
```
|
| 185 |
|
| 186 |
-
##
|
| 187 |
|
| 188 |
-
|
| 189 |
|
| 190 |
-
|
| 191 |
|
| 192 |
- Total token count (tiktoken proxy): **6,281,911,234**
|
| 193 |
|
|
|
|
| 21 |
|
| 22 |
> **v0.2.1 stable** · 2,491,773 documents · **6.28B tokens**
|
| 23 |
> (tiktoken proxy; canonical Llama-3 count at release) · 12 sources
|
| 24 |
+
> Updated: **2026-07-02**
|
| 25 |
|
| 26 |
> **v0.3.0-preview in progress** · quality/diversity remix workflow, legal-style
|
| 27 |
> downweighting, and filtered contemporary Polish web candidates. Biblioteka
|
|
|
|
| 184 |
python3 src/make_docs.py
|
| 185 |
```
|
| 186 |
|
| 187 |
+
## Results
|
| 188 |
|
| 189 |
+
### Corpus phrase frequency (normalized by tokens)
|
| 190 |
|
| 191 |
+
Raw counts and token-normalized shares are regenerated from the current parquet files with `src/pattern_frequency_report.py`.
|
| 192 |
|
| 193 |
- Total token count (tiktoken proxy): **6,281,911,234**
|
| 194 |
|
data/1000_novels/1000_novels.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
| 8 |
- **Language:** Polish (pl)
|
| 9 |
- **License:** `CC-BY-4.0`
|
| 10 |
- **Created (range):** unknown
|
| 11 |
-
- **Added:** 2026-
|
| 12 |
|
| 13 |
## Licensing — traceable basis
|
| 14 |
The 1000 Novels Corpus is released under Creative Commons Attribution 4.0 International by CLARIN-PL / Wrocław University of Technology, with attribution to the corpus authors and maintainers.
|
|
|
|
| 8 |
- **Language:** Polish (pl)
|
| 9 |
- **License:** `CC-BY-4.0`
|
| 10 |
- **Created (range):** unknown
|
| 11 |
+
- **Added:** 2026-07-02
|
| 12 |
|
| 13 |
## Licensing — traceable basis
|
| 14 |
The 1000 Novels Corpus is released under Creative Commons Attribution 4.0 International by CLARIN-PL / Wrocław University of Technology, with attribution to the corpus authors and maintainers.
|
data/dziennik_ustaw/dziennik_ustaw.md
CHANGED
|
@@ -8,7 +8,7 @@ Dziennik Ustaw + Monitor Polski (Polish primary legislation)
|
|
| 8 |
- **Language:** Polish (pl)
|
| 9 |
- **License:** `public-domain (official documents)`
|
| 10 |
- **Created (range):** 1918-01-01, 2025-12-31
|
| 11 |
-
- **Added:** 2026-
|
| 12 |
|
| 13 |
## Licensing — traceable basis
|
| 14 |
Normative acts and their official drafts are not subject to copyright (PL art. 4 ustawy o prawie autorskim). Published by the state; reuse unrestricted.
|
|
|
|
| 8 |
- **Language:** Polish (pl)
|
| 9 |
- **License:** `public-domain (official documents)`
|
| 10 |
- **Created (range):** 1918-01-01, 2025-12-31
|
| 11 |
+
- **Added:** 2026-07-02
|
| 12 |
|
| 13 |
## Licensing — traceable basis
|
| 14 |
Normative acts and their official drafts are not subject to copyright (PL art. 4 ustawy o prawie autorskim). Published by the state; reuse unrestricted.
|
data/eltec_pol/eltec_pol.md
CHANGED
|
@@ -8,7 +8,7 @@ ELTeC-pol (European Literary Text Collection, Polish)
|
|
| 8 |
- **Language:** Polish (pl)
|
| 9 |
- **License:** `CC-BY-4.0`
|
| 10 |
- **Created (range):** 1840-01-01, 1920-12-31
|
| 11 |
-
- **Added:** 2026-
|
| 12 |
|
| 13 |
## Licensing — traceable basis
|
| 14 |
ELTeC corpora are released under CC-BY 4.0 by the COST Action 'Distant Reading for European Literary History' (CA16204).
|
|
|
|
| 8 |
- **Language:** Polish (pl)
|
| 9 |
- **License:** `CC-BY-4.0`
|
| 10 |
- **Created (range):** 1840-01-01, 1920-12-31
|
| 11 |
+
- **Added:** 2026-07-02
|
| 12 |
|
| 13 |
## Licensing — traceable basis
|
| 14 |
ELTeC corpora are released under CC-BY 4.0 by the COST Action 'Distant Reading for European Literary History' (CA16204).
|
data/eurlex/eurlex.md
CHANGED
|
@@ -8,7 +8,7 @@ EUR-Lex (EU legal acts, Polish)
|
|
| 8 |
- **Language:** Polish (pl)
|
| 9 |
- **License:** `CC-BY-4.0`
|
| 10 |
- **Created (range):** 1952-01-01, 2024-12-31
|
| 11 |
-
- **Added:** 2026-
|
| 12 |
|
| 13 |
## Licensing — traceable basis
|
| 14 |
EU documents reusable under Commission Decision 2011/833/EU; normative acts fall outside copyright (PL art. 4 pr. aut.). Reuse authorised with source acknowledgement.
|
|
|
|
| 8 |
- **Language:** Polish (pl)
|
| 9 |
- **License:** `CC-BY-4.0`
|
| 10 |
- **Created (range):** 1952-01-01, 2024-12-31
|
| 11 |
+
- **Added:** 2026-07-02
|
| 12 |
|
| 13 |
## Licensing — traceable basis
|
| 14 |
EU documents reusable under Commission Decision 2011/833/EU; normative acts fall outside copyright (PL art. 4 pr. aut.). Reuse authorised with source acknowledgement.
|
data/parliamentary/parliamentary.md
CHANGED
|
@@ -8,7 +8,7 @@ Polish Parliamentary Corpus (Sejm/Senat)
|
|
| 8 |
- **Language:** Polish (pl)
|
| 9 |
- **License:** `public-domain (official documents)`
|
| 10 |
- **Created (range):** 1991-01-01, 2019-12-31
|
| 11 |
-
- **Added:** 2026-
|
| 12 |
|
| 13 |
## Licensing — traceable basis
|
| 14 |
Parliamentary proceedings are official documents outside copyright (PL art. 4 pr. aut.); PPC redistributed by IPI PAN under CC-BY-4.0.
|
|
|
|
| 8 |
- **Language:** Polish (pl)
|
| 9 |
- **License:** `public-domain (official documents)`
|
| 10 |
- **Created (range):** 1991-01-01, 2019-12-31
|
| 11 |
+
- **Added:** 2026-07-02
|
| 12 |
|
| 13 |
## Licensing — traceable basis
|
| 14 |
Parliamentary proceedings are official documents outside copyright (PL art. 4 pr. aut.); PPC redistributed by IPI PAN under CC-BY-4.0.
|
data/wikibooks/wikibooks.md
CHANGED
|
@@ -8,7 +8,7 @@ Polish Wikibooks (open textbooks)
|
|
| 8 |
- **Language:** Polish (pl)
|
| 9 |
- **License:** `CC-BY-SA-3.0`
|
| 10 |
- **Created (range):** 2004-01-01, 2025-12-31
|
| 11 |
-
- **Added:** 2026-
|
| 12 |
|
| 13 |
## Licensing — traceable basis
|
| 14 |
Wikibooks content is released under CC-BY-SA 3.0; attribution + share-alike preserved.
|
|
|
|
| 8 |
- **Language:** Polish (pl)
|
| 9 |
- **License:** `CC-BY-SA-3.0`
|
| 10 |
- **Created (range):** 2004-01-01, 2025-12-31
|
| 11 |
+
- **Added:** 2026-07-02
|
| 12 |
|
| 13 |
## Licensing — traceable basis
|
| 14 |
Wikibooks content is released under CC-BY-SA 3.0; attribution + share-alike preserved.
|
data/wikinews/wikinews.md
CHANGED
|
@@ -8,7 +8,7 @@ Polish Wikinews
|
|
| 8 |
- **Language:** Polish (pl)
|
| 9 |
- **License:** `CC-BY-2.5`
|
| 10 |
- **Created (range):** 2005-01-01, 2025-12-31
|
| 11 |
-
- **Added:** 2026-
|
| 12 |
|
| 13 |
## Licensing — traceable basis
|
| 14 |
Wikinews content is released under CC-BY 2.5; attribution to contributors preserved.
|
|
|
|
| 8 |
- **Language:** Polish (pl)
|
| 9 |
- **License:** `CC-BY-2.5`
|
| 10 |
- **Created (range):** 2005-01-01, 2025-12-31
|
| 11 |
+
- **Added:** 2026-07-02
|
| 12 |
|
| 13 |
## Licensing — traceable basis
|
| 14 |
Wikinews content is released under CC-BY 2.5; attribution to contributors preserved.
|
data/wikipedia/wikipedia.md
CHANGED
|
@@ -8,7 +8,7 @@ Polish Wikipedia
|
|
| 8 |
- **Language:** Polish (pl)
|
| 9 |
- **License:** `CC-BY-SA-3.0`
|
| 10 |
- **Created (range):** 2001-01-15, 2026-06-14
|
| 11 |
-
- **Added:** 2026-
|
| 12 |
|
| 13 |
## Licensing — traceable basis
|
| 14 |
Wikimedia dumps explicitly released under CC-BY-SA 3.0; attribution to contributors + share-alike preserved.
|
|
|
|
| 8 |
- **Language:** Polish (pl)
|
| 9 |
- **License:** `CC-BY-SA-3.0`
|
| 10 |
- **Created (range):** 2001-01-15, 2026-06-14
|
| 11 |
+
- **Added:** 2026-07-02
|
| 12 |
|
| 13 |
## Licensing — traceable basis
|
| 14 |
Wikimedia dumps explicitly released under CC-BY-SA 3.0; attribution to contributors + share-alike preserved.
|
data/wikiquote/wikiquote.md
CHANGED
|
@@ -8,7 +8,7 @@ Polish Wikiquote (quotations)
|
|
| 8 |
- **Language:** Polish (pl)
|
| 9 |
- **License:** `CC-BY-SA-3.0`
|
| 10 |
- **Created (range):** 2005-01-01, 2025-12-31
|
| 11 |
-
- **Added:** 2026-
|
| 12 |
|
| 13 |
## Licensing — traceable basis
|
| 14 |
Wikiquote content is released under CC-BY-SA 3.0; attribution + share-alike preserved.
|
|
|
|
| 8 |
- **Language:** Polish (pl)
|
| 9 |
- **License:** `CC-BY-SA-3.0`
|
| 10 |
- **Created (range):** 2005-01-01, 2025-12-31
|
| 11 |
+
- **Added:** 2026-07-02
|
| 12 |
|
| 13 |
## Licensing — traceable basis
|
| 14 |
Wikiquote content is released under CC-BY-SA 3.0; attribution + share-alike preserved.
|
data/wikisource/wikisource.md
CHANGED
|
@@ -8,7 +8,7 @@ Polish Wikisource
|
|
| 8 |
- **Language:** Polish (pl)
|
| 9 |
- **License:** `CC-BY-SA-3.0`
|
| 10 |
- **Created (range):** 2005-01-01, 2026-06-14
|
| 11 |
-
- **Added:** 2026-
|
| 12 |
|
| 13 |
## Licensing — traceable basis
|
| 14 |
Wikimedia dumps under CC-BY-SA 3.0; underlying texts are public-domain works transcribed by the community.
|
|
|
|
| 8 |
- **Language:** Polish (pl)
|
| 9 |
- **License:** `CC-BY-SA-3.0`
|
| 10 |
- **Created (range):** 2005-01-01, 2026-06-14
|
| 11 |
+
- **Added:** 2026-07-02
|
| 12 |
|
| 13 |
## Licensing — traceable basis
|
| 14 |
Wikimedia dumps under CC-BY-SA 3.0; underlying texts are public-domain works transcribed by the community.
|
data/wikivoyage/wikivoyage.md
CHANGED
|
@@ -8,7 +8,7 @@ Polish Wikivoyage (travel guides)
|
|
| 8 |
- **Language:** Polish (pl)
|
| 9 |
- **License:** `CC-BY-SA-3.0`
|
| 10 |
- **Created (range):** 2012-01-01, 2025-12-31
|
| 11 |
-
- **Added:** 2026-
|
| 12 |
|
| 13 |
## Licensing — traceable basis
|
| 14 |
Wikivoyage content is released under CC-BY-SA 3.0; attribution + share-alike preserved.
|
|
|
|
| 8 |
- **Language:** Polish (pl)
|
| 9 |
- **License:** `CC-BY-SA-3.0`
|
| 10 |
- **Created (range):** 2012-01-01, 2025-12-31
|
| 11 |
+
- **Added:** 2026-07-02
|
| 12 |
|
| 13 |
## Licensing — traceable basis
|
| 14 |
Wikivoyage content is released under CC-BY-SA 3.0; attribution + share-alike preserved.
|
data/wolne_lektury/wolne_lektury.md
CHANGED
|
@@ -8,7 +8,7 @@ Wolne Lektury (school readings)
|
|
| 8 |
- **Language:** Polish (pl)
|
| 9 |
- **License:** `CC-BY-SA-4.0 / Wolna Sztuka 1.3`
|
| 10 |
- **Created (range):** 1500-01-01, 2024-12-31
|
| 11 |
-
- **Added:** 2026-
|
| 12 |
|
| 13 |
## Licensing — traceable basis
|
| 14 |
Wolne Lektury publishes under CC-BY-SA 4.0 or Free Art License; texts are public-domain classics + cleared works.
|
|
|
|
| 8 |
- **Language:** Polish (pl)
|
| 9 |
- **License:** `CC-BY-SA-4.0 / Wolna Sztuka 1.3`
|
| 10 |
- **Created (range):** 1500-01-01, 2024-12-31
|
| 11 |
+
- **Added:** 2026-07-02
|
| 12 |
|
| 13 |
## Licensing — traceable basis
|
| 14 |
Wolne Lektury publishes under CC-BY-SA 4.0 or Free Art License; texts are public-domain classics + cleared works.
|
src/__pycache__/make_docs.cpython-314.pyc
ADDED
|
Binary file (19 kB). View file
|
|
|
src/__pycache__/sources.cpython-314.pyc
ADDED
|
Binary file (9.1 kB). View file
|
|
|
src/make_docs.py
CHANGED
|
@@ -132,11 +132,15 @@ def main():
|
|
| 132 |
phrase_frequency = ""
|
| 133 |
phrase_path = ROOT / "artifacts" / "pattern_frequency_hf_snippet.md"
|
| 134 |
if phrase_path.exists():
|
|
|
|
|
|
|
|
|
|
| 135 |
phrase_frequency = (
|
| 136 |
-
"\n##
|
|
|
|
| 137 |
"Raw counts and token-normalized shares are regenerated from the "
|
| 138 |
"current parquet files with `src/pattern_frequency_report.py`.\n\n"
|
| 139 |
-
f"{
|
| 140 |
)
|
| 141 |
|
| 142 |
readme = f"""---
|
|
@@ -162,6 +166,7 @@ family (Enevoldsen et al., [arXiv:2508.02271](https://arxiv.org/abs/2508.02271))
|
|
| 162 |
|
| 163 |
> **v{VERSION} stable** · {tot_doc:,} documents · **{tot_tok/1e9:.2f}B tokens**
|
| 164 |
> (tiktoken proxy; canonical Llama-3 count at release) · {len(rows)} sources
|
|
|
|
| 165 |
|
| 166 |
> **v0.3.0-preview in progress** · quality/diversity remix workflow, legal-style
|
| 167 |
> downweighting, and filtered contemporary Polish web candidates. Biblioteka
|
|
|
|
| 132 |
phrase_frequency = ""
|
| 133 |
phrase_path = ROOT / "artifacts" / "pattern_frequency_hf_snippet.md"
|
| 134 |
if phrase_path.exists():
|
| 135 |
+
snippet = phrase_path.read_text().replace(
|
| 136 |
+
"## Phrase frequency in corpus (token-normalized)\n\n", ""
|
| 137 |
+
)
|
| 138 |
phrase_frequency = (
|
| 139 |
+
"\n## Results\n\n"
|
| 140 |
+
"### Corpus phrase frequency (normalized by tokens)\n\n"
|
| 141 |
"Raw counts and token-normalized shares are regenerated from the "
|
| 142 |
"current parquet files with `src/pattern_frequency_report.py`.\n\n"
|
| 143 |
+
f"{snippet}"
|
| 144 |
)
|
| 145 |
|
| 146 |
readme = f"""---
|
|
|
|
| 166 |
|
| 167 |
> **v{VERSION} stable** · {tot_doc:,} documents · **{tot_tok/1e9:.2f}B tokens**
|
| 168 |
> (tiktoken proxy; canonical Llama-3 count at release) · {len(rows)} sources
|
| 169 |
+
> Updated: **{ADDED}**
|
| 170 |
|
| 171 |
> **v0.3.0-preview in progress** · quality/diversity remix workflow, legal-style
|
| 172 |
> downweighting, and filtered contemporary Polish web candidates. Biblioteka
|
src/sources.py
CHANGED
|
@@ -233,7 +233,7 @@ SOURCES = {
|
|
| 233 |
},
|
| 234 |
}
|
| 235 |
|
| 236 |
-
ADDED = "2026-
|
| 237 |
EXCLUDED = {
|
| 238 |
"open_subtitles_corpus": "Derivative of copyrighted film/TV dialogue; "
|
| 239 |
"OpenSubtitles uploads largely unlicensed. Same copyright lesson as "
|
|
|
|
| 233 |
},
|
| 234 |
}
|
| 235 |
|
| 236 |
+
ADDED = "2026-07-02"
|
| 237 |
EXCLUDED = {
|
| 238 |
"open_subtitles_corpus": "Derivative of copyrighted film/TV dialogue; "
|
| 239 |
"OpenSubtitles uploads largely unlicensed. Same copyright lesson as "
|