--- license: cc-by-sa-4.0 language: - pl pretty_name: Polish DynaWord task_categories: - text-generation size_categories: - 1M **v0.2.5 stable** · 4,366,651 documents · **9.68B tokens** > (tiktoken proxy; canonical Llama-3 count at release) · 20 sources > Updated: **2026-08-14**. Since 2026-10-21 the `v0.2.5` tag holds 15 of the > 20 sources (2,026,538 documents / 6.19B tokens): the five withdrawn since > were removed from every release tag ([Releases](#releases)). > **main, not a release (2026-10-21)** · 29 sources · 3,435,037 documents · > **7.08B tokens**: 15 of the 20 v0.2.5 sources (`european_hplt_v3_pl`, > `wikiquote`, `wikisource`, `1000_novels` and `samorzad_gov_pl` withdrawn) > plus the 14 sources [planned for v0.2.6](#v026-dev-planned-sources-on-main-not-yet-released). Cite > the `v0.2.5` tag, not main. > **v0.3-dev experimental track** · quality/diversity workflow, source-gate > validation and candidate-data audits. This is development work, not a released > corpus version, and it does not replace the v0.2.5 stable parquets. > **Europeana validation artifact (2026-07-10)** · a separate reproducible > 810-document direct-ingestion sample stored under the legacy path > `previews/v0.3.1/europeana.parquet`. It is not a full dataset release. ## Releases ### Stable releases | version | status | documents | tokens | notes | |---|---|---:|---:|---| | `v0.2.5` | stable release | 4,366,651 | 9.68B | Adds community-contributed `samorzad_gov_pl` (institution-level author attribution and a URL-bearing attribution sidecar), `sejm_api` and `wiktionary_examples`. | | `v0.2.4` | previous stable | 4,246,429 | 9.60B | Expanded `european_hplt_v3_pl` to WDS bins 10-5 (+1.49M docs / 2.04B tok); phone PII-scrub hardening (independent dual-lens) + cross-source dedup (zero-overlap). | | `v0.2.3` | previous stable | 2,710,974 | 6.88B | Adds community-contributed `european_hplt_v3_pl`, `global_voices` and `nkjp1m`. | | `v0.2.2` | previous stable | 2,579,963 | 6.36B | Added community-contributed `govpl`: 88,190 docs / 80.7M tokens. | | `v0.2.1` | previous stable | 2,491,773 | 6.28B | 12-source corpus with `license` and `author` metadata columns; added `1000_novels`. | | `v0.2.0` | previous stable | 2,490,773 | 6.22B | Provenance-first corpus from 11 open/official sources. | The figures above are the releases as published. On 2026-10-21 each tag was re-pointed to its release commit minus the sources withdrawn from main since, so `revision="v0.2.x"` now loads: | tag | documents | tokens | sources | removed from the tag | |---|---:|---:|---:|---| | `v0.2.5` | 2,026,538 | 6.19B | 15 | `european_hplt_v3_pl`, `wikiquote`, `wikisource`, `1000_novels`, `samorzad_gov_pl` | | `v0.2.4` | 1,979,087 | 6.15B | 13 | `european_hplt_v3_pl`, `wikiquote`, `wikisource`, `1000_novels` | | `v0.2.3` | 1,937,016 | 5.47B | 12 | `european_hplt_v3_pl`, `wikiquote`, `wikisource`, `1000_novels` | | `v0.2.2` | 1,916,595 | 5.47B | 10 | `wikiquote`, `wikisource`, `1000_novels` | | `v0.2.1` | 1,828,405 | 5.39B | 9 | `wikiquote`, `wikisource`, `1000_novels` | | `v0.2.0` | 1,828,405 | 5.39B | 9 | `wikiquote`, `wikisource` | Every other file in a tag is unchanged, so its README and stats files still describe the release as published; each tag's message records its previous target. The withdrawn sources' data files were then deleted from the repository's storage, so downloading one at any older revision fails with HTTP 403. ![Stable dataset size by version](artifacts/dataset_size_by_version.png) ### Development and validation artifacts | name | type | scope | notes | |---|---|---|---| | `v0.3-dev` | experimental development track | workflow and candidate audits | Quality remix, legal-source caps, source QA, deduplication and direct-upstream ingestion. Not a corpus release. | | `Europeana validation artifact 2026-07-10` | reproducible sample | 810 documents / 140,042 tokens | Stored at the legacy path `previews/v0.3.1/europeana.parquet`; preserves per-record rights and creator metadata. Not a corpus release. | ### Version details #### v0.2.5 — current stable Added three sources, bringing the complete release to **20 sources, 4,366,651 documents / 9,676,513,980 cl100k-proxy tokens**: - `samorzad_gov_pl`: **72,771 documents / 41,154,506 cl100k-proxy tokens** from 246 Polish local public institutions and one central platform tenant. The contribution preserves the publishing institution as `author`, discovered and fetched article URLs in an attribution sidecar and the verified platform-wide CC-BY-SA-4.0 basis. - `sejm_api`: **38,812 documents / 36,335,587 cl100k-proxy tokens** of parliamentary speeches (2023 onward) from the official Sejm API, `public-domain (official documents)` ([PR #16](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/16)). - `wiktionary_examples`: **8,639 documents / 1,115,820 cl100k-proxy tokens** of Polish Wiktionary usage examples, one document per headword, `CC-BY-SA-3.0` ([PR #14](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/14)). Documentation correction: the v0.2.5 release has all 20 sources (since 2026-10-21 the tag holds 15 of them; see the table above). Earlier copies of this card counted only 18 (4,319,200 documents / 9,639,062,573 tokens) and listed `sejm_api` and `wiktionary_examples` as not released. #### v0.2.4 — previous stable Expanded `european_hplt_v3_pl` from WDS bins 10+9 to **WDS bins 10-5** (added quality bins 8/7/6/5 and further WDS-9 shards): **+1,493,384 documents / 2,043,141,874 cl100k-proxy tokens**, 100% CC0-1.0. Includes a phone PII-scrub hardening pass (v12b) verified by two independent lenses (a systematic recall-gap masked by pipeline self-report was caught pre-release), and cross-source deduplication against the existing WDS-10+9 shards (exact-dup 0, near-dup overlap 0.0000%, byte-verified) — resolving the "downstream near-dedup remains" caveat from the original release. #### v0.2.3 — previous stable Community expansion release. Adds `european_hplt_v3_pl` from [PR #5](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/5) and `global_voices` from [PR #7](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/7), plus `nkjp1m` from [PR #8](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/8). The complete 16-source release contains **2,710,974 documents / 6,881,277,362 cl100k-proxy tokens**, summed from the released per-source parquet statistics. #### v0.2.2 — previous stable Added `govpl` from [PR #9](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/9): 88,190 Polish government press releases collected directly from 133 gov.pl ministry and agency subsites. #### v0.2.1 — previous stable Introduced the canonical eight-column release schema: `id, text, source, added, created, token_count, license, author`. Added `1000_novels` from [PR #1](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/1) and recomputed all release statistics from parquet files. #### v0.2.0 — initial stable corpus The provenance-first baseline: 11 reviewed open or official sources, 2,490,773 documents and 6.22B proxy tokens. #### v0.3-dev — experimental quality workflow Candidate-only work on a better-balanced training mixture: legal-source caps, temperature sampling, source QA, deduplication and direct-upstream ingestion. It is not a replacement for the stable corpus. #### Europeana validation artifact — 2026-07-10 A separate reproducible 810-document Europeana sample preserving per-record rights and creator metadata. It does not change stable-release totals. `v0.3.1-preview` remains only as the legacy storage-path label. ## What this dataset contributes The raw texts come from existing open corpora (redistributed via SpeakLeash and, where applicable, fetched from upstream). **The value added here is the curation, not the bytes**, following the Dynaword methodology: 1. **License review per source** — each source vetted for an *openly-licensed, traceable* legal basis (documented in its datasheet); sources that fail the review are **excluded with a stated reason** (see table below), not silently kept. This is the core editorial work. 2. **Filtering & normalization** — minimal, reproducible gates (short-doc, non-Polish, exact cross-source dedup, OCR garble) applied uniformly to one clean schema: `id, text, source, added, created, token_count, license, author`. 3. **Documentation** — a datasheet per source (Gebru et al. 2021) + this card, so provenance and licensing are auditable rather than assumed. 4. **Reproducibility & versioning** — `src/` rebuilds the corpus from sources; new sources and removals are tracked in the CHANGELOG. Credit for the underlying texts belongs to the upstream sources and to SpeakLeash as the redistributing aggregator; this release does not claim ownership of them (see Disclaimer). ## Contributors | contributor | contribution | release / PR | |---|---|---| | [Kacper Wikieł](https://huggingface.co/kacperwikiel) | Project maintainer; corpus curation, source and license review, release engineering, documentation, validation and reproducible build workflow. | all releases | | [Bart Kobyliński](https://huggingface.co/bartoszkobylinski1) | Added `1000_novels`; expanded Biblioteka Nauki and Europeana ingestion with per-document license and author metadata. | `v0.2.1`, [PR #1](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/1) | | [Paweł Puzio](https://huggingface.co/ppuzio) | Built `govpl`: subsite discovery, direct ingestion pipeline, dataset artifact, contract tests and documentation. Added `sejm_interpellations` (on main, not yet released); contributor guidance, PII scrubbing and its move to SlayerLab/NERGAL; registry-driven release totals, release tags and the source-PR/release split. | `v0.2.2`, [PR #9](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/9); [#17](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/17), [#20](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/20), [#24](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/24), [#28](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/28)–[#31](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/31), [#38](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/38), [#42](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/42) | | [Arkadiusz Słota](https://huggingface.co/Maggio33) | Built & expanded `european_hplt_v3_pl`: HPLT v3 WDS 10+9 (PR #5) then WDS 10-5 expansion (+1,493,384 docs / 2.04B tok), modular cleaning pipeline, phone-recall PII-scrub (v12b, independent dual-lens), cross-source dedup-vs-base (zero-overlap), validation and documentation. | `v0.2.3` (PR #5), `v0.2.4` | | [Dawid Majewski](https://huggingface.co/dawidmajewski) | Added the reviewed Global Voices Polish corpus; built `samorzad_gov_pl` with direct acquisition, institution attribution, licensing evidence, release artifact and reproducible conversion; prepared its de-identified upstream v0.2. | `v0.2.3`, [PR #7](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/7); `v0.2.5`, [PR #13](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/13); [PR #15](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/15) (merged via [#46](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/46)) | | [1am](https://huggingface.co/1am) | Added `nkjp1m`: the manually annotated 1-million-word NKJP subcorpus, direct fetch/build pipeline, source documentation and release artifact. | `v0.2.3`, [PR #8](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/8) | | [Piotr Styła](https://huggingface.co/PiotrSty) | Corpus preparation and contribution of `sejm_api`: parliamentary speeches from the official Sejm API with speaker attribution and immutable `PiotrSty/sejm-speeches-corpus` v1.0.1 provenance. On main, not yet released: 12 further sources (`sejm_api_2011_2022`, `open_agh_chemistry_pl`, `edukacja_medialna_pl`, `kultura_bez_barier_pl`, `ted_pl`, `rock_pollub_pl`, `open_icm_pl`, `wiadomosci_statystyczne_pl`, `plwiki_talk`, `sejm_committee_transcripts`, `plwiki_user_talk`, `nonsa`); `uzp_orzeczenia_pl`, held off main until v0.2.7; landed `studia_bas` and the `samorzad_gov_pl` v0.2 update; `build_dynaword` `preserve_id`/`preserve_created` flags. | `v0.2.5`, [PR #16](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/16); [#18](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/18), [#25](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/25)–[#27](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/27), [#32](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/32)–[#37](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/37), [#39](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/39)–[#41](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/41), [#44](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/44)–[#46](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/46) | | [Katarzyna Majzel-Pośpiech](https://huggingface.co/KateMajzel) | Added `wiktionary_examples`: usage examples extracted from the Polish Wiktionary dump, one document per headword. | `v0.2.5`, [PR #14](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/14) | | [gzawadzki](https://huggingface.co/gzawadzki) | Added `studia_bas`: peer-reviewed socioeconomic and public-policy articles from Studia BAS (on main, not yet released). | [PR #19](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/19) (merged via [#44](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/44)) | Contributions are credited when they add a verifiable dataset artifact, pipeline, validation, documentation or release work. A merged discussion with no resulting files is not listed as a data contribution. ## Guiding principles 1. **Open & traceable licensing** — every source is *openly licensed* with a documented legal basis (see each datasheet's "traceable basis"), not a vague "public domain". 2. **Reproducibility** — `src/build_dynaword.py` rebuilds the corpus from sources. 3. **Documented** — a datasheet per source under `data//`. 4. **Extensibility** — versioned; new sources via PR. ## Sources | source | description | license | documents | tokens | |---|---|---|---:|---:| | european_hplt_v3_pl *(withdrawn from main after v0.2.5, licence unverified; not re-added)* | HPLT v3.0 Polish (web, top WDS bins 10-5) | `CC0-1.0` | 1,603,974 | 2,555.5M | | [eurlex](data/eurlex/eurlex.md) *(relabelled on main after v0.2.5)* | EUR-Lex (EU legal acts, Polish) | `CC-BY-4.0` | 243,060 | 2,378.1M | | [parliamentary](data/parliamentary/parliamentary.md) | Polish Parliamentary Corpus (Sejm/Senat) | `public-domain (official documents)` | 324,622 | 1,646.8M | | wikisource *(withdrawn from main after v0.2.5, mixed per-page licences; rebuild planned)* | Polish Wikisource | `CC-BY-SA-3.0` | 632,005 | 801.9M | | [wikipedia](data/wikipedia/wikipedia.md) | Polish Wikipedia | `CC-BY-SA-3.0` | 1,171,897 | 707.2M | | [biblioteka_nauki](data/biblioteka_nauki/biblioteka_nauki.md) | Biblioteka Nauki | `per-record upstream license` | 42,071 | 673.5M | | [dziennik_ustaw](data/dziennik_ustaw/dziennik_ustaw.md) | Dziennik Ustaw (Polish primary legislation) | `public-domain (official documents)` | 35,442 | 486.1M | | [wolne_lektury](data/wolne_lektury/wolne_lektury.md) *(relabelled per document on main after v0.2.5)* | Wolne Lektury (school readings) | `CC-BY-SA-4.0 / Wolna Sztuka 1.3` | 6,141 | 103.0M | | [govpl](data/govpl/govpl.md) | gov.pl — Polish government press releases | `CC-BY-SA-4.0` | 88,190 | 80.7M | | 1000_novels *(withdrawn from main after v0.2.5, editions unrecorded)* | 1000 Novels Corpus (CLARIN-PL) | `CC-BY-4.0` | 1,000 | 60.5M | | samorzad_gov_pl *(withdrawn from main after v0.2.5, licensed only by the operator's footer)* | samorzad.gov.pl — Polish public-sector institutions | `CC-BY-SA-4.0` | 72,771 | 41.2M | | [sejm_api](data/sejm_api/sejm_api.md) | Sejm API parliamentary speeches (2023 onward) | `public-domain (official documents)` | 38,812 | 36.3M | | wikiquote *(withdrawn from main after v0.2.5, mostly in-copyright quotations)* | Polish Wikiquote (quotations) | `CC-BY-SA-3.0` | 30,363 | 31.9M | | [eltec_pol](data/eltec_pol/eltec_pol.md) | ELTeC-pol (European Literary Text Collection, Polish) | `CC-BY-4.0` | 100 | 21.5M | | [wikivoyage](data/wikivoyage/wikivoyage.md) | Polish Wikivoyage (travel guides) | `CC-BY-SA-3.0` | 13,645 | 17.1M | | [wikibooks](data/wikibooks/wikibooks.md) | Polish Wikibooks (open textbooks) | `CC-BY-SA-3.0` | 9,112 | 15.6M | | [wikinews](data/wikinews/wikinews.md) | Polish Wikinews | `CC-BY-2.5` | 24,386 | 12.1M | | [global_voices](data/global_voices/global_voices.md) | Global Voices Polish | `CC-BY-3.0` | 2,040 | 3.7M | | [nkjp1m](data/nkjp1m/nkjp1m.md) | The manually annotated 1-million word subcorpus of the National Corpus of Polish | `CC-BY` | 18,381 | 2.6M | | [wiktionary_examples](data/wiktionary_examples/wiktionary_examples.md) | Polish Wiktionary usage examples | `CC-BY-SA-3.0` | 8,639 | 1.1M | | **total** | | | **4,366,651** | **9,676.5M** | This table is the v0.2.5 release as published. Since 2026-10-21 `revision="v0.2.5"` loads the 15 rows not marked withdrawn, as released (2,026,538 documents / 6,185.5M tokens). Main has changed since: - `european_hplt_v3_pl` was removed from main because its licence is unverified: HPLT's CC0 covers its packaging, not the crawled pages. It will not be re-added. - `samorzad_gov_pl` was removed from main on 2026-10-17: its CC BY-SA 4.0 is the platform operator's footer, not a grant from the 247 institutions that wrote the texts ([PR #123](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/123)). - `1000_novels` was removed from main on 2026-10-17. Its rights screen ([PR #49](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/49), [PR #55](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/55)) kept the public-domain texts, but no row records the edition its text follows, so a protected preface, abridgement or editor's corrections cannot be ruled out ([PR #124](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/124)). - `eurlex` is relabelled `LicenseRef-EU-Reuse-Policy`: v0.2.5 labelled it `CC-BY-4.0`, but the EUR-Lex notice grants CC BY 4.0 only for consolidated texts and editorial content, not the acts themselves, and excludes third-party material. The 92 documents carrying the IASB notice and 480 more found by a row review (third-party credits, UN ECE regulations, European Parliament stubs) are dropped, and `eurlex.attribution.jsonl` gives each row its EUR-Lex link. 242,488 documents / 2,333.0M tokens ([PR #71](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/71), [PR #82](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/82), [PR #173](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/173), [PR #177](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/177)). - `wiktionary_examples` dropped the lines quoting third-party works and is relabelled `CC-BY-SA-4.0`: 1,818 documents / 0.2M tokens ([PR #50](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/50)). - `nkjp1m` is relabelled `CC-BY-4.0` per the NKJP Consortium and ships an agreed attribution file; its text is unchanged ([PR #51](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/51)). - `wolne_lektury` is relabelled per document: v0.2.5 labelled every document `CC-BY-SA-4.0 / Wolna Sztuka 1.3`, which is wrong. Each now carries the licence its own Wolne Lektury book states (4,383 public domain, 1,467 LAL 1.3, 50 CC BY-SA 3.0 PL, 3.0 or 4.0), with its credits in `wolne_lektury.attribution.jsonl`. 67 documents are dropped (63 eltec_pol novels, 2 with no usable licence, 2 whose translation is not free), 174 printed in two later editors' selections are held out until the books' contents are checked, and the author's and translator's notes are added at the end of 459 texts. 5,900 documents / 91.7M tokens ([PR #67](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/67), [PR #99](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/99), [PR #184](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/184), [PR #188](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/188), [PR #190](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/190), [PR #191](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/191)). - `parliamentary` was rebuilt from IPI PAN's speaker-labelled TEI dump: only official speakers are kept in the sittings and exact copies are dropped. 329,863 documents / 1,504.1M tokens ([PR #108](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/108), [PR #111](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/111)). - `wikiquote` was removed from main: most of its pages quote works still in copyright, and its CC BY-SA label covers only the contributors' selection. - `wikisource` was removed from main: its single CC BY-SA 3.0 label also covers in-copyright post-war imprints that carry their own per-page licences. A rebuild from the official dump is planned for a later release. The 15 v0.2.5 sources still on main total 2,309,925 documents / 6,411.7M tokens, more than in v0.2.5 because `wikipedia` was rebuilt from the official dump (1,468,647 documents / 1,226.9M tokens). This list does not cover every rebuild. ## v0.2.6-dev: planned sources (on main, not yet released) The planned content of v0.2.6. Built and documented, but **not** part of v0.2.5 and excluded from every total above. None has a recorded [NERGAL](https://huggingface.co/SlayerLab/NERGAL) pass yet; each needs one before v0.2.6 can admit it (see `AGENTS.md`). `uzp_orzeczenia_pl` is held off main until v0.2.7 (see `CHANGELOG.md`). | source | description | license | documents | tokens | |---|---|---|---:|---:| | [plwiki_user_talk](data/plwiki_user_talk/plwiki_user_talk.md) | Polish Wikipedia user-talk pages (ns 3) | `CC BY-SA (3.0, 4.0 or both per record, by contribution date)` | 380,295 | 381.0M | | [sejm_committee_transcripts](data/sejm_committee_transcripts/sejm_committee_transcripts.md) | Sejm committee transcripts (terms 9-10) | `public-domain (official documents)` | 613,722 | 112.0M | | [plwiki_talk](data/plwiki_talk/plwiki_talk.md) | Polish Wikipedia talk pages (ns 1+5) | `CC BY-SA (3.0, 4.0 or both per record, by contribution date)` | 43,054 | 55.6M | | [ted_pl](data/ted_pl/ted_pl.md) | TED Polish public-procurement notices | `TED notice reuse terms` | 15,544 | 42.5M | | [sejm_interpellations](data/sejm_interpellations/sejm_interpellations.md) | Sejm interpellations and written questions (10th term) | `public-domain (official documents)` | 25,950 | 28.2M | | [sejm_api_2011_2022](data/sejm_api_2011_2022/sejm_api_2011_2022.md) | Sejm speeches 2011-2022 (terms VII-IX, attributed) | `public-domain (official documents)` | 33,930 | 26.9M | | [nonsa](data/nonsa/nonsa.md) | Nonsensopedia (Polish satirical wiki, content namespaces) | `CC BY-SA 3.0` | 11,692 | 15.4M | | [studia_bas](data/studia_bas/studia_bas.md) | Studia BAS — peer-reviewed socioeconomic and public-policy articles | `CC-BY-3.0-PL` | 112 | 2.3M | | [wiadomosci_statystyczne_pl](data/wiadomosci_statystyczne_pl/wiadomosci_statystyczne_pl.md) | Wiadomosci Statystyczne. The Polish Statistician (GUS) | `CC BY-SA 4.0` | 169 | 1.5M | | [rock_pollub_pl](data/rock_pollub_pl/rock_pollub_pl.md) | ROCK Politechnika Lubelska - Polish academic books | `CC-BY-SA-4.0` | 8 | 1.2M | | [edukacja_medialna_pl](data/edukacja_medialna_pl/edukacja_medialna_pl.md) | Edukacja Medialna - Polish media-literacy lessons | `CC-BY-SA-3.0` | 248 | 0.7M | | [open_agh_chemistry_pl](data/open_agh_chemistry_pl/open_agh_chemistry_pl.md) | Open AGH - four Polish chemistry textbooks | `CC-BY-SA-4.0` | 370 | 0.6M | | [open_icm_pl](data/open_icm_pl/open_icm_pl.md) | OPEN ICM Polish open-access publications pilot | `per-record CC BY or CC BY-SA` | 11 | 0.4M | | [kultura_bez_barier_pl](data/kultura_bez_barier_pl/kultura_bez_barier_pl.md) | Kultura bez Barier PL (accessibility guides) | `CC-BY-SA-3.0` | 7 | 0.1M | | **total (planned for v0.2.6)** | | | **1,125,112** | **668.3M** | ## Method Only **human-authored** text — no synthetic, machine-translated, or auto-transcribed data. Gates are intentionally minimal (drop short docs, non-Polish, exact duplicates, OCR garble); heavy quality filtering and mix-weighting are left to downstream training. Evaluation-set decontamination is applied/marked separately. Schema: `id, text, source, added, created, token_count, license, author`. The `license` and `author` columns are per-document metadata when upstream exposes them; older sources use the source-level license and an empty author field. Cross-source deduplication covers some pairs of sources only. Wolne Lektury drops a document when at least 0.9 of its 5-word shingles are in one ELTeC novel; below that, both copies stay. Both tomes of Helena Mniszek's *Trędowata* (0.7588 and 0.6473 against the same, shorter ELTeC text) are therefore in both `wolne_lektury` and `eltec_pol`; the pairs are listed in `data/wolne_lektury/wolne_lektury.eltec_pairs.tsv`. ## v0.3 quality roadmap and current status The v0.2.x raw corpus is intentionally provenance-first, but its token mix is too heavy in legal/parliamentary language for natural general pretraining. The v0.3 workflow therefore separates **source inclusion** from **training mix**: - cap `eurlex + parliamentary + dziennik_ustaw` to roughly **10-20%** of training tokens combined; - use source-level temperature sampling (`sqrt`, alpha `0.5`) instead of raw token-proportional sampling; - add traceably licensed contemporary/natural Polish: open web, academic prose, cultural heritage text, guides, technical documentation/blogs, Q&A, and dialogue/instruction data; - run aggressive exact, normalized, and near-duplicate removal; - reserve the final **5-15%** of training for higher-quality sources rather than the largest sources; - evaluate per-source perplexity and style contamination, not only global loss. Current v0.3 source-ingestion status: - `biblioteka_nauki`: included from the direct-upstream rebuild with per-document license and author metadata. - `europeana`: prepared in the source registry as a direct-upstream rebuild target with per-record rights statements and creator metadata; raw SpeakLeash Europeana remains excluded. - Europeana release policy: split conservatively at pre-1929 records for US-sensitive downstream reuse, and keep later/unknown records separately labeled or held until legal review. - `european_hplt_v3_pl`: WDS bins 10-5 shipped in v0.2.4 and v0.2.5, then the data was removed from main because its licence is unverified: HPLT packaging is CC0, but the underlying crawled web documents can carry independent rights. It will not be re-added. - `1000_novels`: a per-text rights screen kept the texts in the public domain in Poland, but no row records the edition its text follows, so the source was withdrawn from main on 2026-10-17. Re-admission, per text with the edition identified, is tracked for v0.2.7. Current review artifacts: - `configs/source_candidates_v0_3.json` — candidate decisions and license policy. - `artifacts/source_license_review_v0_3.md` — source-by-source license review. - `artifacts/source_candidate_audit_v0_3.md` — generated Hugging Face metadata audit. - `artifacts/training_mix_v0_3.md` — example 1B-token training mix with legal sources capped at 15%. - `artifacts/bartek_source_ingestion_plan_2026-07-02.md` — PR contract for Biblioteka Nauki and Europeana ingestion. ## Excluded sources (transparency) Sources we reviewed and **deliberately left out** — part of the curation: | source | reason | |---|---| | `open_subtitles_corpus` | Derivative of copyrighted film/TV dialogue; OpenSubtitles uploads largely unlicensed. Same copyright lesson as Danish Gigaword's OpenSubtitles (paper 2508.02271). Not openly licensed. | | `europeana_eu_pl_corpus_raw_speakleash` | Aggregated items with mixed per-record rights (PD / CC-BY-NC / rights-reserved). The raw SpeakLeash redistribution is excluded; only a direct rebuild preserving per-record rights metadata may be included. | | `project_gutenberg_pl_corpus` | Only 31 PL books (4.3MB) — PG is ~99% English; Polish PD literature already covered by wolne_lektury + wikisource (so near-redundant after dedup). Dropped to avoid the PD-in-EU per-work check (PG claims PD-in-US only) for negligible token gain. | ## Personal & sensitive data The corpus is built from text that its upstream sources already published under open licences or as official public record. It names **public figures acting in a public capacity**, for example: - parliamentary speakers, from [PPC](https://clip.ipipan.waw.pl/PPC) (the Polish Parliamentary Corpus) and the Sejm API; - authorities named in legal acts (EUR-Lex); - people described in encyclopedic articles (Wikipedia). The corpus can also hold personal data about private persons, which our filters do not fully remove. **Your rights.** If the corpus holds data about you, you can ask us to: - tell you what it holds (GDPR Art. 15); - correct it (Art. 16); - remove it (Art. 17); - restrict its use (Art. 18). You can also object to its processing (Art. 21). Write to **takedown@fabryka.ai**. Name the record by its source and record id, by a link, or by a phrase from its text. - We answer within one month. For complex or numerous requests we may extend this by two months, and we tell you why within the first month. - We ask for proof of identity only when we cannot otherwise tell that the request is yours. - You can also complain to the President of the Personal Data Protection Office (UODO). Removal follows the notice-and-takedown procedure below. ## Disclaimer & legal - **Provenance in good faith.** Per-source licenses are reproduced *as documented by the upstream sources and by SpeakLeash* (the intermediate aggregator), to the best of our knowledge. We make no independent legal warranty about the copyright status of any individual document. - **No ownership claim.** This release is a *curated, license-reviewed, documented aggregation*. We claim no ownership of the underlying texts; rights remain with the original authors/rightsholders under their respective licenses. - **Provided "as is"**, without warranty of any kind, express or implied. This is not legal advice. - **Your compliance is yours.** Downstream users must satisfy each upstream license themselves — in particular **CC-BY-SA-4.0 attribution and share-alike** for derivatives of this dataset, and attribution to the upstream sources and to SpeakLeash. - **Copied text in Wikipedia.** The Wikipedia build drops pages that carry plwiki's copyright-violation notice, but it cannot detect a paste without one. In a hand-checked sample of 80 pages, 2 contained text copied or closely paraphrased from a copyrighted source: about 2.5%, with a 95% upper bound of 12.9% for each licence label. Both pages are dropped; others like them remain and are removed on notice (below). Method and sample: [data/wikipedia/wikipedia.md](data/wikipedia/wikipedia.md). - **Notice-and-takedown.** Anyone can ask us to remove a record: a rightsholder, a source, or a person the text is about. Write to **takedown@fabryka.ai**. Name the record by its source and record id, by a link, or by a phrase from its text, and give the reason. - We acknowledge the request within 5 working days. - We **disable** a substantiated request **within 7 days**. The record leaves `main`. Its id and text hash go on a blocklist, so no later build brings it back. - We then **remove it from every earlier public revision** on the Hub, including tagged releases. We aim to finish within 30 days, with Hugging Face's help where history has to be rewritten. Old commits and tags stay, but the removed files can no longer be downloaded from them. We cannot reach copies that were downloaded before. - We record each removal in [takedown/register.md](takedown/register.md), without personal data. - The procedure is in [takedown/PROCEDURE.md](takedown/PROCEDURE.md). ## License & attribution Released under **CC-BY-SA-4.0** (copyleft inherited from CC-BY-SA sources such as Wikipedia and Wolne Lektury). Attribution due to each upstream (see datasheets) and to **SpeakLeash** as the intermediate aggregator. A source withdrawn after an objection is recorded in the CHANGELOG. A single record removed on request is listed in [takedown/register.md](takedown/register.md); see Notice-and-takedown above. ## Reproduce ```bash python3 src/build_dynaword.py --all --speakleash-dir --out . python3 src/make_docs.py ``` ## Results ### Corpus phrase frequency (normalized by tokens) Snapshot of the v0.2.5 release (all 20 Parquets, including `european_hplt_v3_pl`), produced with `src/pattern_frequency_report.py`. It is not recomputed for main; the next release regenerates it. - Total token count (tiktoken proxy): **9,676,513,980** | Pattern | Count | Share of all tokens | |---|---:|---:| | `w roku` | 587,251 | 0.0061% | | `klasyfikacji` | 164,888 | 0.0017% | | `ustawa` | 670,171 | 0.0069% | | `artykuł` | 2,417,211 | 0.0250% | | `parlament` | 1,300,050 | 0.0134% | | `rozporządzenie` | 1,528,556 | 0.0158% | | `w pobliżu` | 127,903 | 0.0013% | | `mieszkańców` | 479,471 | 0.0050% | | `Dz.U.` | 987,052 | 0.0102% | ### Per-source shares | source | pattern | count | share of source tokens | |---|---|---:|---:| | `1000_novels` | `w roku` | 659 | 0.00109% | | `1000_novels` | `klasyfikacji` | 14 | 0.00002% | | `1000_novels` | `ustawa` | 656 | 0.00108% | | `1000_novels` | `artykuł` | 729 | 0.00120% | | `1000_novels` | `parlament` | 240 | 0.00040% | | `1000_novels` | `rozporządzenie` | 65 | 0.00011% | | `1000_novels` | `w pobliżu` | 1,262 | 0.00209% | | `1000_novels` | `mieszkańców` | 868 | 0.00143% | | `1000_novels` | `Dz.U.` | 0 | 0.00000% | | `biblioteka_nauki` | `w roku` | 28,728 | 0.00427% | | `biblioteka_nauki` | `klasyfikacji` | 9,045 | 0.00134% | | `biblioteka_nauki` | `ustawa` | 48,791 | 0.00724% | | `biblioteka_nauki` | `artykuł` | 91,241 | 0.01355% | | `biblioteka_nauki` | `parlament` | 32,868 | 0.00488% | | `biblioteka_nauki` | `rozporządzenie` | 19,594 | 0.00291% | | `biblioteka_nauki` | `w pobliżu` | 3,378 | 0.00050% | | `biblioteka_nauki` | `mieszkańców` | 34,392 | 0.00511% | | `biblioteka_nauki` | `Dz.U.` | 33,098 | 0.00491% | | `dziennik_ustaw` | `w roku` | 33,096 | 0.00681% | | `dziennik_ustaw` | `klasyfikacji` | 10,896 | 0.00224% | | `dziennik_ustaw` | `ustawa` | 77,376 | 0.01592% | | `dziennik_ustaw` | `artykuł` | 27,773 | 0.00571% | | `dziennik_ustaw` | `parlament` | 42,338 | 0.00871% | | `dziennik_ustaw` | `rozporządzenie` | 166,383 | 0.03423% | | `dziennik_ustaw` | `w pobliżu` | 1,087 | 0.00022% | | `dziennik_ustaw` | `mieszkańców` | 8,025 | 0.00165% | | `dziennik_ustaw` | `Dz.U.` | 158 | 0.00003% | | `eltec_pol` | `w roku` | 108 | 0.00050% | | `eltec_pol` | `klasyfikacji` | 1 | 0.00000% | | `eltec_pol` | `ustawa` | 153 | 0.00071% | | `eltec_pol` | `artykuł` | 173 | 0.00081% | | `eltec_pol` | `parlament` | 95 | 0.00044% | | `eltec_pol` | `rozporządzenie` | 35 | 0.00016% | | `eltec_pol` | `w pobliżu` | 246 | 0.00114% | | `eltec_pol` | `mieszkańców` | 214 | 0.00100% | | `eltec_pol` | `Dz.U.` | 0 | 0.00000% | | `eurlex` | `w roku` | 40,009 | 0.00168% | | `eurlex` | `klasyfikacji` | 59,428 | 0.00250% | | `eurlex` | `ustawa` | 30,368 | 0.00128% | | `eurlex` | `artykuł` | 1,774,958 | 0.07464% | | `eurlex` | `parlament` | 780,286 | 0.03281% | | `eurlex` | `rozporządzenie` | 1,202,658 | 0.05057% | | `eurlex` | `w pobliżu` | 6,088 | 0.00026% | | `eurlex` | `mieszkańców` | 9,441 | 0.00040% | | `eurlex` | `Dz.U.` | 915,707 | 0.03851% | | `european_hplt_v3_pl` | `w roku` | 113,501 | 0.00444% | | `european_hplt_v3_pl` | `klasyfikacji` | 24,675 | 0.00097% | | `european_hplt_v3_pl` | `ustawa` | 16,067 | 0.00063% | | `european_hplt_v3_pl` | `artykuł` | 283,875 | 0.01111% | | `european_hplt_v3_pl` | `parlament` | 45,516 | 0.00178% | | `european_hplt_v3_pl` | `rozporządzenie` | 11,841 | 0.00046% | | `european_hplt_v3_pl` | `w pobliżu` | 44,108 | 0.00173% | | `european_hplt_v3_pl` | `mieszkańców` | 172,896 | 0.00677% | | `european_hplt_v3_pl` | `Dz.U.` | 9,487 | 0.00037% | | `global_voices` | `w roku` | 160 | 0.00431% | | `global_voices` | `klasyfikacji` | 5 | 0.00013% | | `global_voices` | `ustawa` | 157 | 0.00423% | | `global_voices` | `artykuł` | 1,047 | 0.02818% | | `global_voices` | `parlament` | 366 | 0.00985% | | `global_voices` | `rozporządzenie` | 26 | 0.00070% | | `global_voices` | `w pobliżu` | 105 | 0.00283% | | `global_voices` | `mieszkańców` | 508 | 0.01367% | | `global_voices` | `Dz.U.` | 1 | 0.00003% | | `govpl` | `w roku` | 3,372 | 0.00418% | | `govpl` | `klasyfikacji` | 526 | 0.00065% | | `govpl` | `ustawa` | 4,727 | 0.00586% | | `govpl` | `artykuł` | 2,417 | 0.00300% | | `govpl` | `parlament` | 3,967 | 0.00492% | | `govpl` | `rozporządzenie` | 4,102 | 0.00509% | | `govpl` | `w pobliżu` | 892 | 0.00111% | | `govpl` | `mieszkańców` | 13,105 | 0.01625% | | `govpl` | `Dz.U.` | 3,114 | 0.00386% | | `nkjp1m` | `w roku` | 109 | 0.00419% | | `nkjp1m` | `klasyfikacji` | 9 | 0.00035% | | `nkjp1m` | `ustawa` | 79 | 0.00304% | | `nkjp1m` | `artykuł` | 153 | 0.00588% | | `nkjp1m` | `parlament` | 216 | 0.00830% | | `nkjp1m` | `rozporządzenie` | 20 | 0.00077% | | `nkjp1m` | `w pobliżu` | 77 | 0.00296% | | `nkjp1m` | `mieszkańców` | 159 | 0.00611% | | `nkjp1m` | `Dz.U.` | 2 | 0.00008% | | `parliamentary` | `w roku` | 198,192 | 0.01203% | | `parliamentary` | `klasyfikacji` | 12,637 | 0.00077% | | `parliamentary` | `ustawa` | 459,179 | 0.02788% | | `parliamentary` | `artykuł` | 182,038 | 0.01105% | | `parliamentary` | `parlament` | 309,695 | 0.01881% | | `parliamentary` | `rozporządzenie` | 113,547 | 0.00689% | | `parliamentary` | `w pobliżu` | 4,964 | 0.00030% | | `parliamentary` | `mieszkańców` | 78,048 | 0.00474% | | `parliamentary` | `Dz.U.` | 23,809 | 0.00145% | | `samorzad_gov_pl` | `w roku` | 3,661 | 0.00890% | | `samorzad_gov_pl` | `klasyfikacji` | 520 | 0.00126% | | `samorzad_gov_pl` | `ustawa` | 1,823 | 0.00443% | | `samorzad_gov_pl` | `artykuł` | 1,269 | 0.00308% | | `samorzad_gov_pl` | `parlament` | 1,218 | 0.00296% | | `samorzad_gov_pl` | `rozporządzenie` | 1,409 | 0.00342% | | `samorzad_gov_pl` | `w pobliżu` | 401 | 0.00097% | | `samorzad_gov_pl` | `mieszkańców` | 14,450 | 0.03511% | | `samorzad_gov_pl` | `Dz.U.` | 1,380 | 0.00335% | | `sejm_api` | `w roku` | 2,123 | 0.00584% | | `sejm_api` | `klasyfikacji` | 126 | 0.00035% | | `sejm_api` | `ustawa` | 11,042 | 0.03039% | | `sejm_api` | `artykuł` | 808 | 0.00222% | | `sejm_api` | `parlament` | 14,230 | 0.03916% | | `sejm_api` | `rozporządzenie` | 1,095 | 0.00301% | | `sejm_api` | `w pobliżu` | 87 | 0.00024% | | `sejm_api` | `mieszkańców` | 2,697 | 0.00742% | | `sejm_api` | `Dz.U.` | 4 | 0.00001% | | `wikibooks` | `w roku` | 319 | 0.00205% | | `wikibooks` | `klasyfikacji` | 37 | 0.00024% | | `wikibooks` | `ustawa` | 165 | 0.00106% | | `wikibooks` | `artykuł` | 732 | 0.00470% | | `wikibooks` | `parlament` | 283 | 0.00182% | | `wikibooks` | `rozporządzenie` | 131 | 0.00084% | | `wikibooks` | `w pobliżu` | 125 | 0.00080% | | `wikibooks` | `mieszkańców` | 204 | 0.00131% | | `wikibooks` | `Dz.U.` | 16 | 0.00010% | | `wikinews` | `w roku` | 449 | 0.00370% | | `wikinews` | `klasyfikacji` | 639 | 0.00526% | | `wikinews` | `ustawa` | 407 | 0.00335% | | `wikinews` | `artykuł` | 2,474 | 0.02038% | | `wikinews` | `parlament` | 2,530 | 0.02084% | | `wikinews` | `rozporządzenie` | 168 | 0.00138% | | `wikinews` | `w pobliżu` | 455 | 0.00375% | | `wikinews` | `mieszkańców` | 1,014 | 0.00835% | | `wikinews` | `Dz.U.` | 27 | 0.00022% | | `wikipedia` | `w roku` | 143,023 | 0.02022% | | `wikipedia` | `klasyfikacji` | 46,043 | 0.00651% | | `wikipedia` | `ustawa` | 9,536 | 0.00135% | | `wikipedia` | `artykuł` | 28,165 | 0.00398% | | `wikipedia` | `parlament` | 57,863 | 0.00818% | | `wikipedia` | `rozporządzenie` | 5,637 | 0.00080% | | `wikipedia` | `w pobliżu` | 41,915 | 0.00593% | | `wikipedia` | `mieszkańców` | 122,766 | 0.01736% | | `wikipedia` | `Dz.U.` | 232 | 0.00003% | | `wikiquote` | `w roku` | 608 | 0.00191% | | `wikiquote` | `klasyfikacji` | 15 | 0.00005% | | `wikiquote` | `ustawa` | 357 | 0.00112% | | `wikiquote` | `artykuł` | 606 | 0.00190% | | `wikiquote` | `parlament` | 1,271 | 0.00398% | | `wikiquote` | `rozporządzenie` | 27 | 0.00008% | | `wikiquote` | `w pobliżu` | 207 | 0.00065% | | `wikiquote` | `mieszkańców` | 527 | 0.00165% | | `wikiquote` | `Dz.U.` | 6 | 0.00002% | | `wikisource` | `w roku` | 16,571 | 0.00207% | | `wikisource` | `klasyfikacji` | 166 | 0.00002% | | `wikisource` | `ustawa` | 8,156 | 0.00102% | | `wikisource` | `artykuł` | 16,230 | 0.00202% | | `wikisource` | `parlament` | 6,119 | 0.00076% | | `wikisource` | `rozporządzenie` | 1,651 | 0.00021% | | `wikisource` | `w pobliżu` | 13,921 | 0.00174% | | `wikisource` | `mieszkańców` | 14,335 | 0.00179% | | `wikisource` | `Dz.U.` | 5 | 0.00000% | | `wikivoyage` | `w roku` | 609 | 0.00356% | | `wikivoyage` | `klasyfikacji` | 21 | 0.00012% | | `wikivoyage` | `ustawa` | 46 | 0.00027% | | `wikivoyage` | `artykuł` | 657 | 0.00384% | | `wikivoyage` | `parlament` | 249 | 0.00145% | | `wikivoyage` | `rozporządzenie` | 34 | 0.00020% | | `wikivoyage` | `w pobliżu` | 6,480 | 0.03783% | | `wikivoyage` | `mieszkańców` | 4,100 | 0.02394% | | `wikivoyage` | `Dz.U.` | 1 | 0.00001% | | `wiktionary_examples` | `w roku` | 56 | 0.00502% | | `wiktionary_examples` | `klasyfikacji` | 5 | 0.00045% | | `wiktionary_examples` | `ustawa` | 26 | 0.00233% | | `wiktionary_examples` | `artykuł` | 42 | 0.00376% | | `wiktionary_examples` | `parlament` | 28 | 0.00251% | | `wiktionary_examples` | `rozporządzenie` | 5 | 0.00045% | | `wiktionary_examples` | `w pobliżu` | 32 | 0.00287% | | `wiktionary_examples` | `mieszkańców` | 64 | 0.00574% | | `wiktionary_examples` | `Dz.U.` | 0 | 0.00000% | | `wolne_lektury` | `w roku` | 1,898 | 0.00184% | | `wolne_lektury` | `klasyfikacji` | 80 | 0.00008% | | `wolne_lektury` | `ustawa` | 1,060 | 0.00103% | | `wolne_lektury` | `artykuł` | 1,824 | 0.00177% | | `wolne_lektury` | `parlament` | 672 | 0.00065% | | `wolne_lektury` | `rozporządzenie` | 128 | 0.00012% | | `wolne_lektury` | `w pobliżu` | 2,073 | 0.00201% | | `wolne_lektury` | `mieszkańców` | 1,658 | 0.00161% | | `wolne_lektury` | `Dz.U.` | 5 | 0.00000% | ![Overall pattern counts](artifacts/pattern_frequency_overall.png) ![w roku by source](artifacts/pattern_frequency_w_roku.png) ![klasyfikacji by source](artifacts/pattern_frequency_klasyfikacji.png) ![ustawa by source](artifacts/pattern_frequency_ustawa.png) ![artykuł by source](artifacts/pattern_frequency_artykul.png) ![parlament by source](artifacts/pattern_frequency_parlament.png) ![rozporządzenie by source](artifacts/pattern_frequency_rozporządzenie.png) ![w pobliżu by source](artifacts/pattern_frequency_w_pobliżu.png) ![mieszkańców by source](artifacts/pattern_frequency_mieszkańców.png) ![Dz.U. by source](artifacts/pattern_frequency_dzu.png)