text stringlengths 100k 500k | meta dict |
|---|---|
"The Old Testament of the King James Version of the Bible\nThe First Book of Moses: Called Genesis\n(...TRUNCATED) | {"gutenberg_id":"10","title":"The King James Version of the Bible","author":"","publication_year":16(...TRUNCATED) |
"Produced by Suzanne Shell, Sjaani and PG Distributed Proofreaders\n\n\n\n\nTHE HOUSE ON THE BORDERL(...TRUNCATED) | {"gutenberg_id":"10002","title":"The House on the Borderland","author":"","publication_year":1908,"m(...TRUNCATED) |
"Carmilla\n\nby Joseph Sheridan Le Fanu\n\nCopyright 1872\n\n\nContents\n\n PROLOGUE\n CHAPTER I. An(...TRUNCATED) | {"gutenberg_id":"10007","title":"Carmilla","author":"","publication_year":1871,"metadata_title":"Car(...TRUNCATED) |
"This etext was produced by Gardner Buchanan.\n\n\n\n\n\nCHRONICLES OF CANADA\nEdited by George M. W(...TRUNCATED) | {"gutenberg_id":"10044","title":"The Father of British Canada: a Chronicle of Carleton","author":"",(...TRUNCATED) |
"Produced by Charles Aldarondo, Charles Aldarondo,\nCarol David and the Online Distributed Proofread(...TRUNCATED) | {"gutenberg_id":"10046","title":"Salute to Adventurers","author":"","publication_year":1915,"metadat(...TRUNCATED) |
"Produced by Afra Ullah, Brett Koonce and PG Distributed Proofreaders\n\n\n\n\n AUNT JANE'S N(...TRUNCATED) | {"gutenberg_id":"10059","title":"Aunt Jane's Nieces on Vacation","author":"","publication_year":1912(...TRUNCATED) |
"Produced by Kevin Handy, Dave Maddock, and the Online Distributed\nProofreading Team.\n\n\n\n\n\n[I(...TRUNCATED) | {"gutenberg_id":"10084","title":"Kazan","author":"","publication_year":1914,"metadata_title":"Kazan"(...TRUNCATED) |
"THE TWILIGHT\nOF THE GODS:\nAND OTHER TALES\n\nby Richard Garnett\n\nMDCCCCIII\n\n\n\n\nTO\nHORACE (...TRUNCATED) | {"gutenberg_id":"10095","title":"The Twilight of the Gods, and Other Tales","author":"","publication(...TRUNCATED) |
"Produced by Charles Aldarondo, Keren Vergon, Sjaani and PG Distributed\nProofreaders\n\n\n\n\n\nADO(...TRUNCATED) | {"gutenberg_id":"10119","title":"Adonais","author":"","publication_year":1821,"metadata_title":"Adon(...TRUNCATED) |
"E-text prepared by Afra Ullah, Josephine Paolucci, and the Project\nGutenberg Online Distributed Pr(...TRUNCATED) | {"gutenberg_id":"10123","title":"Aunt Jane's Nieces","author":"","publication_year":1906,"metadata_t(...TRUNCATED) |
Talkie YaRN 32k Gutenberg Pre-1931 265M
This dataset is the continued-pretraining corpus used for the Talkie YaRN 32k
context-extension experiments, including the recommended checkpoint
xlr8harder/talkie-1930-13b-yarn-32k-tf.
It was generated from
common-pile/project_gutenberg_filtered,
joined with a Gutenberg publication-year metadata table from Kaggle,
yuvalschwartz/gutenberg-book-metadata-with-publication-years,
then filtered to English public-domain books with publication years from 1500
through 1930. Project Gutenberg boilerplate markers were stripped and each book
was capped at 500,000 characters.
Splits
| Split | Rows | Talkie tokens | Notes |
|---|---|---|---|
| train | 3,146 | 265,080,702 | Used for continued pretraining |
| validation | 65 | 5,074,819 | Held-out continuation after the train manifest |
The train JSONL was reconstructed from the surviving manifest after the original
local file was lost. The reconstruction preserved the original Gutenberg ID
order and per-book metadata from train.summary.json.
Files
train.jsonl: training split, one book per line.validation.jsonl: validation split, one book per line.train.summary.json: train manifest with per-book metadata and Talkie token counts.validation.summary.json: validation manifest with per-book metadata and Talkie token counts.scripts/prepare_gutenberg_with_years.py: generation and reconstruction script.metadata/gutenberg_publication_years.csv: publication-year metadata used by the script.logs/prepare_train.log: reconstruction log for the train split.
Each JSONL row has this shape:
{"text": "...", "meta": {"gutenberg_id": "...", "publication_year": 1900, "...": "..."}}
Generation Command
The train split was reconstructed with:
python scripts/prepare_gutenberg_with_years.py \
--dataset common-pile/project_gutenberg_filtered \
--split train \
--metadata-csv metadata/gutenberg_publication_years.csv \
--out train.jsonl \
--summary-out train.summary.json \
--include-summary train.summary.json \
--reuse-include-summary-token-counts \
--min-year 1500 \
--max-year 1930 \
--languages en \
--rights-contains "public domain" \
--min-chars 100000 \
--max-chars-per-book 500000 \
--target-talkie-tokens 265000000 \
--max-books 0
For a fresh build rather than manifest reconstruction, omit --include-summary
and --reuse-include-summary-token-counts, and write to a new output path.
The validation split used the same filters while excluding the train manifest:
python scripts/prepare_gutenberg_with_years.py \
--dataset common-pile/project_gutenberg_filtered \
--split train \
--metadata-csv metadata/gutenberg_publication_years.csv \
--out validation.jsonl \
--summary-out validation.summary.json \
--exclude-summary train.summary.json \
--min-year 1500 \
--max-year 1930 \
--languages en \
--rights-contains "public domain" \
--min-chars 100000 \
--max-chars-per-book 500000 \
--target-talkie-tokens 5000000 \
--max-books 0
Integrity
train.jsonlSHA-256:50a0908c33e741ce96e9b8c75f266369aac7f1ccd76757970904031b487c283cvalidation.jsonlSHA-256:efa8f3218ec219aeb5ffd5cbe70b92c3bb42e4b599dbb74f3dde7dc4b256d21a
License Notes
This repository uses license: other with a custom license description because
it combines multiple upstream sources. The text rows inherit the public-domain
status reported by common-pile/project_gutenberg_filtered for the selected
Project Gutenberg rows. The included publication-year metadata CSV comes from
the Kaggle dataset
yuvalschwartz/gutenberg-book-metadata-with-publication-years,
which is listed as CC0: Public Domain. See LICENSE for the
component-level license notes.
- Downloads last month
- 46