Datasets:
File size: 39,422 Bytes
11dcb9f f71cc09 8cc48a3 11dcb9f 92b36dc 1bd4c3f 045b54c 11dcb9f 8cc48a3 11dcb9f f71cc09 8cc48a3 11dcb9f 8cc48a3 f71cc09 8cc48a3 11dcb9f 045b54c 11dcb9f 045b54c 11dcb9f 1bd4c3f 045b54c 11dcb9f 045b54c 11dcb9f 92b36dc 11dcb9f 8cc48a3 f71cc09 17171a3 11dcb9f 77e5321 f71cc09 11dcb9f 045b54c 17171a3 92b36dc 17171a3 92b36dc 77e5321 008284a 045b54c 008284a 77e5321 045b54c 1bd4c3f 11dcb9f e0e1c21 11dcb9f 8cc48a3 11dcb9f 045b54c 0e37bdc 11dcb9f 75a3c97 92b36dc 11dcb9f e0e1c21 11dcb9f 92b36dc 11dcb9f 045b54c 11dcb9f f71cc09 11dcb9f f71cc09 11dcb9f 8cc48a3 11dcb9f 8cc48a3 11dcb9f 8cc48a3 f71cc09 11dcb9f f71cc09 11dcb9f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 | ---
license: cc-by-sa-4.0
language:
- pl
pretty_name: Polish DynaWord
task_categories:
- text-generation
size_categories:
- 1M<n<10M
tags:
- polish
- pretraining
- dynaword
---
# Polish DynaWord
A continuously developed, **openly-licensed**, human-text Polish corpus — a Polish
edition in the [Dynaword](https://huggingface.co/datasets/danish-foundation-models/danish-dynaword)
family (Enevoldsen et al., [arXiv:2508.02271](https://arxiv.org/abs/2508.02271)).
> **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**
> **main, not a release (2026-10-05)** · 32 sources · 3,378,438 documents ·
> **7.53B tokens**: 17 of the 20 v0.2.5 sources (`european_hplt_v3_pl`,
> `wikiquote` and `wikisource` withdrawn)
> plus the 15 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. |

### 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 tag contains all 20 sources. 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: 13 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`, `uzp_orzeczenia_pl`, `plwiki_user_talk`, `nonsa`); 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/<source>/`.
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 under review)* | HPLT v3.0 Polish (web, top WDS bins 10-5) | `CC0-1.0` | 1,603,974 | 2,555.5M |
| [eurlex](data/eurlex/eurlex.md) | 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 + Monitor Polski (Polish primary legislation) | `public-domain (official documents)` | 35,442 | 486.1M |
| [wolne_lektury](data/wolne_lektury/wolne_lektury.md) | 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](data/1000_novels/1000_novels.md) | 1000 Novels Corpus (CLARIN-PL) | `CC-BY-4.0` | 1,000 | 60.5M |
| [samorzad_gov_pl](data/samorzad_gov_pl/samorzad_gov_pl.md) | 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 tagged (load it with `revision="v0.2.5"`).
Main has changed since:
- `european_hplt_v3_pl` was removed from main (licence under review; it is
re-added only after that review).
- `samorzad_gov_pl` was rebuilt from the de-identified upstream v0.2:
72,472 documents / 40.0M tokens
([PR #46](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/46), scoped from [PR #15](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/15)).
- `1000_novels` keeps only its 837 public-domain texts (51.8M tokens),
relabelled `public-domain`: the CLARIN-PL record is metadata-only, so no
licence covers the texts ([PR #49](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/49), [PR #55](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/55)).
- `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)).
- `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 17 v0.2.5 sources still on main total 2,093,026 documents / 6,276.3M tokens.
## 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, which each needs before v0.2.6 can admit it (see `AGENTS.md`).
| source | description | license | documents | tokens |
|---|---|---|---:|---:|
| [uzp_orzeczenia_pl](data/uzp_orzeczenia_pl/uzp_orzeczenia_pl.md) | UZP Orzeczenia - KIO/SO/SA/SN public-procurement rulings | `public-domain (official documents)` | 34,715 | 422.0M |
| [plwiki_user_talk](data/plwiki_user_talk/plwiki_user_talk.md) | Polish Wikipedia user-talk pages (ns 3) | `CC BY-SA 4.0` | 380,527 | 381.4M |
| [sejm_committee_transcripts](data/sejm_committee_transcripts/sejm_committee_transcripts.md) | Sejm committee transcripts (terms 9-10) | `public-domain (official documents)` | 653,411 | 166.3M |
| [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)` | 118,902 | 135.1M |
| [plwiki_talk](data/plwiki_talk/plwiki_talk.md) | Polish Wikipedia talk pages (ns 1+5) | `CC BY-SA 4.0` | 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 |
| [nonsa](data/nonsa/nonsa.md) | Nonsensopedia (Polish satirical wiki, content namespaces) | `CC BY-SA 3.0` | 12,304 | 16.9M |
| [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` | 85 | 2.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` | 252 | 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 |
| [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` | 9 | 0.2M |
| **total (planned for v0.2.6)** | | | **1,285,412** | **1,256.8M** |
## 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 is re-added only after licence review.
- `1000_novels`: reduced to the 837 texts in the public domain in Poland after a
per-text rights screen. The CLARIN-PL record holds metadata only, so its
CC-BY-4.0 licence does not cover the texts. Author, translator and title per row
in its attribution sidecar. See its datasheet.
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
This corpus contains **only** text that its upstream sources already published
under open licenses or as official public-domain record. It therefore includes
names and statements of **public figures acting in a public capacity** — e.g.
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), and
people described in encyclopedic articles (Wikipedia). No private,
non-public personal data was collected or added. If you are a data subject and
want content concerning you removed, contact **k.wikiel@gmail.com** — it will be dropped
from the next version (see retroactive-removal policy 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.** Any source or rightsholder raising a substantiated
objection can have material removed: contact **k.wikiel@gmail.com**; it is dropped from
the next version and recorded in the CHANGELOG. Removal is retroactive
going-forward (prior immutable snapshots/commits may persist).
## 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. Retroactive-removal policy: a
source that raises an objection is dropped from subsequent versions, recorded in the
CHANGELOG.
## Reproduce
```bash
python3 src/build_dynaword.py --all --speakleash-dir <speakleash_zst_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% |










|