Dataset Viewer
Auto-converted to Parquet Duplicate
length
int64
10.2k
61.4k
text
stringlengths
34.5k
282k
10,240
Produced by Levent Kurnaz and Jose Menendez The Fall of the House of Usher Son coeur est un luth suspendu; Sitot qu'on le touche il resonne. DE BERANGER. During the whole of a dull, dark, and soundless day in the autumn of the year, when the clouds hung oppressively low in the heavens, I had b...
10,240
Produced by Martin Ward Weymouth New Testament in Modern Speech, 2 Corinthians Third Edition 1913 R. F. Weymouth Book 47 2 Corinthians 001:001 Paul, an Apostle of Christ Jesus by the will of God-- and our brother Timothy: To the Church of God in Corinth, with all God's people thro...
10,240
Produced by Anthony J. Adam MY GARDEN ACQUAINTANCE By James Russell Lowell ONE of the most delightful books in my father's library was White's "Natural History of Selborne." For me it has rather gained in charm with years. I used to read it without knowing the secret of the pleasure I found in it, but as ...
10,240
Produced by David Widger. HTML version by Al Haines. MOSSES FROM AN OLD MANSE By Nathaniel Hawthorne EARTH'S HOLOCAUST Once upon a time--but whether in the time past or time to come is a matter of little or no moment--this wide world...
10,240
"\n\n\n\nProduced by Juliet Sutherland, Tonya Allen, and Project\nGutenberg Distributed Proofreaders(...TRUNCATED)
10,240
"\n\n\n\nProduced by John Bickers, and Dagny\n\n\n\n\n\nTHE NAPOLEON OF THE PEOPLE\n\n\nBy Honore De(...TRUNCATED)
10,240
"\n\n\n\nProduced by David Widger\n\n\n\n\nQUOTES AND IMAGES FROM THE DIARY OF PEPYS\n\n\n\n\nTHE DI(...TRUNCATED)
10,240
"\n\n\n\nProduced by David Widger\n\n\n\n\n\n LIFE ON THE MISSISSIPPI\n\n (...TRUNCATED)
10,240
"\n\n\n\nProduced by David Widger. HTML version by Al Haines\n\n\n\n\n\n\n\n\n\n\n (...TRUNCATED)
10,240
"\n\n\n\nProduced by David Starner, Phil Petersen, and the Online\nDistributed Proofreading Team\n\n(...TRUNCATED)
End of preview. Expand in Data Studio

Dataset Card for pg19-test

This dataset is a curated subset of the PG-19 dataset (a large collection of classic books from Project Gutenberg), specifically processed to generate text samples with controlled token lengths—using the Llama3.1-8B-Instruct tokenizer for precise tokenization—for long-context language model evaluation and research. The dataset contains stratified text excerpts at six distinct token length targets (10240 to 61440 tokens) with consistent sample sizes per length, ensuring sentence-level coherence (truncation at natural sentence endings) and minimal text reuse.

Dataset Details

Key Features

  • Length Stratification: Samples across 6 target token lengths: 10k, 20k, 30k, 40k, 50k, 60k tokens.Note that the actual token length of samples does not strictly adhere to the target values, and a fluctuation of several hundred tokens (either above or below the target) may occur.
  • Coherent Truncation: Text is truncated at natural sentence endings (.!?) rather than arbitrary token positions to preserve readability and semantic integrity.
  • Language(s) (NLP): English
  • Size of the dataset: 54.7MB

Dataset Sources

Dataset Structure

This dataset consists of 120 text samples structured into two core fields: "length" (an integer representing the target token length, which falls into six tiers: 10k, 20k, 30k, 40k, 50k, 60k tokens) and "text" (a string of coherently truncated PG-19 excerpts ending at natural sentence boundaries); it has 100 samples per length tier, with actual token lengths fluctuating by several hundred tokens around the targets to prioritize coherence, and is available in both Parquet formats.

Dataset Creation

Curation Rationale

This dataset is used to evaluate the performance of the SpecPV algorithm.

Source Data

The dataset is directly derived from the PG-19 dataset (hosted at https://huggingface.co/datasets/emozilla/pg19/), a large collection of public-domain books published before 1919 (from Project Gutenberg).

BibTeX:

[More Information Needed]

APA:

[More Information Needed]

Downloads last month
20