PG-19
Other names: tfds:pg19
Overview
This dataset contains the PG-19 language modeling benchmark. It includes a set of books extracted from the Project Gutenberg books project (https://www.gutenberg.org), that were published before 1919.
Description (from the source)
This dataset contains the PG-19 language modeling benchmark. It includes a set of books extracted from the Project Gutenberg books project (https://www.gutenberg.org), that were published before 1919. It also contains metadata of book titles and publication dates. PG-19 is over double the size of the Billion Word benchmark and contains documents that are 20X longer, on average, than the WikiText long-range language modelling benchmark. Books are partitioned into a train, validation, and test set. Books metadata is stored in metadata.csv which contains (book_id, short_book_title, publication_date, book_link).
- Domain
- NLP & Text
- Data type
- Text
- Tasks
- Language Modelling, Reading Comprehension
- Subfields
- Question answering
- Languages
- Not available
- Tags
- Not available
Statistics and structure
- Number of samples
- 28,752
- Number of classes
- Not available
- Number of features
- Not available
- Number of subjects / cases
- Not available
- Number of images
- Not available
- Number of files
- Not available
- Size
- Not available
- Formats
- Not available
- Missing values
- Not available
Samples note: Sum of the splits: test, train, validation.
Licence and access
- Licence
- Unknown — no explicit licence is stated in the sources relied on
- Licence documentation
- Unknown
- Commercial use
- Unknown
- Redistribution
- Unknown
- Attribution required
- Unknown
- Access method
- Visit the source
- Access restrictions
- Not available
- Terms of use
- Not available
No explicit licence was found in the sources used; do not assume any permission before reviewing the original source.
Always review the original publisher's terms before use; the explorer grants no licence.
Source and download
- Platform
- TensorFlow Datasets catalog
- Publisher / source
- TensorFlow Datasets (TFDS)
- Identifier at the source
- tfds:pg19
- DOI
- Not available
- Metadata source
- tfds
- Metadata last updated
- 2026-11-14
- Original page
github.com - Documentation
www.tensorflow.org - Data card
www.tensorflow.org - API
storage.googleapis.com - Metadata source
storage.googleapis.com
The explorer does not host data files; all links point to the original publisher.
Related papers
-
Paper that introduced the datasetRae, Jack W, Potapenko, Anna, Jayakumar, Siddhant M, Hillier, Chloe, Lillicrap, Timothy P (2019). Compressive Transformers for Long-Range Sequence Modelling. arXiv preprint. https://arxiv.org/abs/1911.05507Listed for this dataset in the source catalogue · Paper link · Evidence
Cite the dataset
Built from recorded fields only; missing fields are omitted, not guessed. It is also good practice to cite the paper that introduced the dataset, if there is one.
PG-19 [Data set]. (2019). TensorFlow Datasets (TFDS). https://github.com/deepmind/pg19
[1] "PG-19," TensorFlow Datasets (TFDS), 2019. [Online]. Available: https://github.com/deepmind/pg19
@misc{pg192019,
title = {{PG-19}},
year = {2019},
publisher = {TensorFlow Datasets (TFDS)},
url = {https://github.com/deepmind/pg19},
howpublished = {\url{https://github.com/deepmind/pg19}},
note = {Dataset. Accessed: 2026-11-26}
}Verification
- Verification status
- Partially verified
- Last link check
- Not checked yet
- Source verification date
- Not available
- Verification method
- Metadata imported from the official TensorFlow Datasets catalog (dataset_info.json on storage.googleapis.com and the tensorflow-datasets 4.9.10 package).
- Notes
- Counts and sizes come from the TFDS-prepared version 0.1.1. Licence not stated in TFDS metadata unless shown; check the original source. Original URL not yet checked for availability.
Source and check date of each field
| Field | Source | Date |
|---|---|---|
| original_url | TFDS dataset_info.json (location.urls) | 2026-11-14 |
| description | TFDS README.md / dataset_info.description | 2026-11-14 |
| number_of_samples | TFDS dataset_info.json splits[].numExamples (version 0.1.1) | 2026-11-14 |
Similar datasets
MathQA
A large-scale dataset of math word problems and an interpretable neural math problem solver that learns to map problems to operation programs.
QASC
QASC is a question-answering dataset with a focus on sentence composition. It consists of 9,980 8-way multiple-choice questions about grade school science (8,134 train, 926 dev,…
RACE
Race is a large-scale reading comprehension dataset with more than 28,000 passages and nearly 100,000 questions. The dataset is collected from English examinations in China, which…
QuAC
Question Answering in Context is a dataset for modeling, understanding, and participating in information seeking dialog. Data instances consist of an interactive dialog between two crowd…
Databricks Dolly 15k
`databricks-dolly-15k` is an open source dataset of instruction-following records used in training databricks/dolly-v2-12b that was generated by thousands of Databricks employees in several of the behavioral…
BillSum
BillSum, summarization of US Congressional and California state bills. There are several features: - text: bill text.
