CH

chonkie-ai/gacha

Dataset

2

stars

36

commits

2

linked in READMEs

Jan 20, 2026

updated

README

Gacha Logo

Gacha: Gutenberg Corpus for Evaluating Chunking Algorithms

Gacha is a corpus of 100 texts from Project Gutenberg, collected for the purpose of evaluating chunking algorithms.

It's heavily inspired by the work of LumberChunker. The paper "LumberChunker: Long-Form Narrative Document Segmentation" released a dataset named "GutenQA" which has the same 100 texts as this corpus. However, because the GutenQA dataset does not contain the original texts, it is hard to extend it to newer methods of chunking as well as newer models as they come out. Chunking is an active area of research and new methods are being developed all the time.

We wished to evaluate the performance of chunking algorithms and having a dataset that contains the original texts is crucial for this. To this end, we spent significant time and effort on creating this dataset over the course of a few weeks. The exact books were extracted from the Gutenberg Project, manually cleaned for any formatting issues, metadata extracted via LLMs (authors, titles, publication dates, etc.) and the questions from the GutenQA corpus were aligned to fit the new texts. Given the amount of time and work that went into creating this corpus, we decided to share this corpus with the community as Gacha.

💡 Info: The Gacha dataset is currently licensed under the CC-BY-NC-SA-4.0 license, but we plan to release it under a more permissive license in the future.

Usage

You can load up the corpus and questions via Huggingface's datasets library and use them as you see fit.

from datasets import load_dataset

corpus = load_dataset("chonkie-ai/gacha", "corpus", split="train")
questions = load_dataset("chonkie-ai/gacha", "questions", split="train")

Splits and Structure

The dataset is split into 3 parts:

  • raw: The raw texts from the Gutenberg Project.
  • corpus: The corpus of 100 texts.
  • questions: The questions from the GutenQA corpus.

Raw

The raw config contains the following features:

  • text: The raw text from the Gutenberg Project.

Here's an example from the raw config:

{
  "text": "The Project Gutenberg eBook of A Christmas Carol in Prose; Being a Ghost Story of Christmas..."
}

Corpus

The corpus config contains the following features:

  • author: The author of the book.
  • title: The title of the book.
  • date: The release date of the book in DD-MM-YYYY format.
  • text: The text of the book cleaned up for any formatting issues.

Here's an example of the corpus split:

{
  "author" : "Charles Dickens",
  "title" : "A Christmas Carol",
  "date" : "11-08-2004",
  "text" : "I HAVE ordained..."
}

Questions

The questions config contains the following features:

  • title: The title of the book.
  • author: The author of the book.
  • date: The release date of the book in DD-MM-YYYY format.
  • question: The question from the GutenQA corpus.
  • answer: The answer to the question from the GutenQA corpus.

Here's an example of the questions split:

{
  "title": "A Christmas Carol",
  "author": "Charles Dickens",
  "date": "11-08-2004",
  "question": "What is the main character's name?",
  "answer": "Ebenezer Scrooge",
  "chunk-must-contain": "Ebenezer Scrooge"
}

Misc.

A couple of Misc. details about the corpus.

List of the 100 Books in the Corpus

The corpus contains 100 english texts from Project Gutenberg.

AuthorYearTitle
Mark Twain2004Adventures of Huckleberry Finn
Lewis Carroll2008Alice's Adventures in Wonderland
L. Tolstoy2010Anna Karenina
L. M. Montgomery2008Anne of Green Gables
Jules Verne1994Around the World in Eighty Days
Charles Dickens2004A Christmas Carol
Mark Twain2004A Connecticut Yankee in King Arthur's Court
W. H. Hudson2005A Crystal Age
Walter Scott2006A Legend of Montrose
James Joyce2003A Portrait of the Artist as a Young Man
E. M. Forster2001A Room with a View
Arthur Conan Doyle1995A Study in Scarlet
Charles Dickens1994A Tale of Two Cities
F. W. Nietzsche2003Beyond Good and Evil
Joseph Sheridan Le Fanu2003Carmilla
E. C. Gaskell2018Cranford
Fyodor Dostoyevsky2006Crime and Punishment
H. R. Garis2005Daddy Takes Us to the Garden
Charles Dickens1996David Copperfield
Bram Stoker1995Dracula
James Joyce2003Dubliners
Jane Austen1994Emma
M. W. Shelly1993Frankenstein
Charles Dickens1998Great Expectations
Grimm Brothers2001Grimm's Fairy Stories
Jonathan Swift1997Gulliver's Travels
Joseph Conrad2006Heart of Darkness
H. A. Jacobs2004Incidents in the Life of a Slave Girl
Charlotte Bronte1998Jane Eyre
Victor Hugo2008Les Miserables
L. M. Alcott1996Little Women
Alexandre Dumas1995Louise de la Vallière
Gustave Flaubert2006Madame Bovary
Marcus Aurelius2001Meditations
George Eliot1994Middlemarch
Herman Melville2001Moby Dick
Richard Wagner2004My Life - Volume 1
Frederick Douglass2006Narrative of the Life of Frederick Douglass
Charles Dickens1996Oliver Twist
Jane Austen1994Persuasion
J. M. Barrie2008Peter Pan
Jane Austen1998Pride and Prejudice
Max Brand2006Riders of the Silences
John Locke2005Second Treatise of Government
Jane Austen1994Sense and Sensibility
Alexandre Dumas2001Ten Years Later
T. Smollett2004The Adventures of Ferdinand Count Fathom
T. Smollett2004The Adventures of Roderick Random
Arthur C. Doyle1999The Adventures of Sherlock Holmes
Mark Twain2004The Adventures of Tom Sawyer
Alexadre Dumas1997The Black Tulip
L. M. Montgomery2022The Blue Castle
Arthur Quiller-Couch2006The Blue Pavilions
Fyodor Dostoyevsky2006The Brothers Karamazov
Jack London2008The Call of the Wild
St. Augustine2002The Confessions of St. Augustine
Alexandre Dumas1998The Count of Monte Cristo
Elizabeth Von Arnim2003The Enchanted April
Maurice Leblanc2004The Extraordinary Adventures of Arsène Lupin, Gentleman-Burglar
Fyodor Dostoyevsky2000The Gambler
F. S. Fitzgerald2004The Great Gatsby
Arthur C. Doyle2001The Hound of the Baskervilles
Robert W. Chambers2005The King in Yellow
Daniel Defoe1996The Life and Adventures of Robinson Crusoe
Alexandre Dumas1995The Man in the Iron Mask
Agatha Christie2022The Murder of Roger Ackroyd
Agatha Christie2019The Murder of the Links
Homer1999The Odyssey
Oscar Wilde1994The Picture of Dorian Gray
Niccolo Machiavelli2006The Prince
Mark Twain2004The Prince and the Pauper
Bertrand Russell2004The Problems of Philosophy
Khalil Gibran2002The Prophet
Jose Rizal2004The Reign of Greed
Plato1998The Republic
Anonymous2009The Romance of Lust
Nathaniel Hawthorne2004The Scarlet Letter
Arthur C. Doyle2000The Sign of Four
W. E. B. Du Bois1996The Souls of Black Folk
R. L. Stevenson2008The Strange Case of Dr. Jekyll and Mr. Hyde
Ernest Hemingway2022The Sun Also Rises
Alexandre Dumas1998The Three Musketeers
H. G. Wells2004The Time Machine
Franz Kafka2005The Trial
Henry James1995The Turn of the Screw
Alexandre Dumas2001The Vicomte de Bragelonne
H. G. Wells2004The War of the Worlds
L. F. Baum1993The Wonderful Wizard of Oz
F. W. Nietzsche2003Thus Spoke Zarathustra
R. L. Stevenson2006Treasure Island
Jules Verne1994Twenty Thousand Leagues under the Sea
Alexandre Dumas1998Twenty Years After
James Joyce2003Ulysses
H. B. Stowe2006Uncle Tom's Cabin
H. D. Thoreau1995Walden and On The Duty of Civil Disobedience
Leo Tolstoy2001War and Peace
Max Brand2006Way of the Lawless
Fyodor Dostoyevsky2011White Nights and Other Stories
A. A. Milne2022Winnie-the-Pooh
Emily Bronte1996Wuthering Heights

A few more books that are available in the extra folder:

AuthorYearTitle
Solomon Northup2014Twelve Years a Slave
Richard Wagner2004My Life - Volume 2

Citation

This corpus is heavily inspired by the work of LumberChunker. If you use this corpus, please cite the following paper:

@misc{duarte2024lumberchunker,
      title={LumberChunker: Long-Form Narrative Document Segmentation}, 
      author={André V. Duarte and João Marques and Miguel Graça and Miguel Freire and Lei Li and Arlindo L. Oliveira},
      year={2024},
      eprint={2406.17526},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2406.17526}, 
}

Contributors

bhavnicksm

36 commits

CH

chonkie-ai/gacha

Dataset

2

stars

36

commits

2

linked in READMEs

Jan 20, 2026

updated

README

Gacha Logo

Gacha: Gutenberg Corpus for Evaluating Chunking Algorithms

Gacha is a corpus of 100 texts from Project Gutenberg, collected for the purpose of evaluating chunking algorithms.

It's heavily inspired by the work of LumberChunker. The paper "LumberChunker: Long-Form Narrative Document Segmentation" released a dataset named "GutenQA" which has the same 100 texts as this corpus. However, because the GutenQA dataset does not contain the original texts, it is hard to extend it to newer methods of chunking as well as newer models as they come out. Chunking is an active area of research and new methods are being developed all the time.

We wished to evaluate the performance of chunking algorithms and having a dataset that contains the original texts is crucial for this. To this end, we spent significant time and effort on creating this dataset over the course of a few weeks. The exact books were extracted from the Gutenberg Project, manually cleaned for any formatting issues, metadata extracted via LLMs (authors, titles, publication dates, etc.) and the questions from the GutenQA corpus were aligned to fit the new texts. Given the amount of time and work that went into creating this corpus, we decided to share this corpus with the community as Gacha.

💡 Info: The Gacha dataset is currently licensed under the CC-BY-NC-SA-4.0 license, but we plan to release it under a more permissive license in the future.

Usage

You can load up the corpus and questions via Huggingface's datasets library and use them as you see fit.

from datasets import load_dataset

corpus = load_dataset("chonkie-ai/gacha", "corpus", split="train")
questions = load_dataset("chonkie-ai/gacha", "questions", split="train")

Splits and Structure

The dataset is split into 3 parts:

  • raw: The raw texts from the Gutenberg Project.
  • corpus: The corpus of 100 texts.
  • questions: The questions from the GutenQA corpus.

Raw

The raw config contains the following features:

  • text: The raw text from the Gutenberg Project.

Here's an example from the raw config:

{
  "text": "The Project Gutenberg eBook of A Christmas Carol in Prose; Being a Ghost Story of Christmas..."
}

Corpus

The corpus config contains the following features:

  • author: The author of the book.
  • title: The title of the book.
  • date: The release date of the book in DD-MM-YYYY format.
  • text: The text of the book cleaned up for any formatting issues.

Here's an example of the corpus split:

{
  "author" : "Charles Dickens",
  "title" : "A Christmas Carol",
  "date" : "11-08-2004",
  "text" : "I HAVE ordained..."
}

Questions

The questions config contains the following features:

  • title: The title of the book.
  • author: The author of the book.
  • date: The release date of the book in DD-MM-YYYY format.
  • question: The question from the GutenQA corpus.
  • answer: The answer to the question from the GutenQA corpus.

Here's an example of the questions split:

{
  "title": "A Christmas Carol",
  "author": "Charles Dickens",
  "date": "11-08-2004",
  "question": "What is the main character's name?",
  "answer": "Ebenezer Scrooge",
  "chunk-must-contain": "Ebenezer Scrooge"
}

Misc.

A couple of Misc. details about the corpus.

List of the 100 Books in the Corpus

The corpus contains 100 english texts from Project Gutenberg.

AuthorYearTitle
Mark Twain2004Adventures of Huckleberry Finn
Lewis Carroll2008Alice's Adventures in Wonderland
L. Tolstoy2010Anna Karenina
L. M. Montgomery2008Anne of Green Gables
Jules Verne1994Around the World in Eighty Days
Charles Dickens2004A Christmas Carol
Mark Twain2004A Connecticut Yankee in King Arthur's Court
W. H. Hudson2005A Crystal Age
Walter Scott2006A Legend of Montrose
James Joyce2003A Portrait of the Artist as a Young Man
E. M. Forster2001A Room with a View
Arthur Conan Doyle1995A Study in Scarlet
Charles Dickens1994A Tale of Two Cities
F. W. Nietzsche2003Beyond Good and Evil
Joseph Sheridan Le Fanu2003Carmilla
E. C. Gaskell2018Cranford
Fyodor Dostoyevsky2006Crime and Punishment
H. R. Garis2005Daddy Takes Us to the Garden
Charles Dickens1996David Copperfield
Bram Stoker1995Dracula
James Joyce2003Dubliners
Jane Austen1994Emma
M. W. Shelly1993Frankenstein
Charles Dickens1998Great Expectations
Grimm Brothers2001Grimm's Fairy Stories
Jonathan Swift1997Gulliver's Travels
Joseph Conrad2006Heart of Darkness
H. A. Jacobs2004Incidents in the Life of a Slave Girl
Charlotte Bronte1998Jane Eyre
Victor Hugo2008Les Miserables
L. M. Alcott1996Little Women
Alexandre Dumas1995Louise de la Vallière
Gustave Flaubert2006Madame Bovary
Marcus Aurelius2001Meditations
George Eliot1994Middlemarch
Herman Melville2001Moby Dick
Richard Wagner2004My Life - Volume 1
Frederick Douglass2006Narrative of the Life of Frederick Douglass
Charles Dickens1996Oliver Twist
Jane Austen1994Persuasion
J. M. Barrie2008Peter Pan
Jane Austen1998Pride and Prejudice
Max Brand2006Riders of the Silences
John Locke2005Second Treatise of Government
Jane Austen1994Sense and Sensibility
Alexandre Dumas2001Ten Years Later
T. Smollett2004The Adventures of Ferdinand Count Fathom
T. Smollett2004The Adventures of Roderick Random
Arthur C. Doyle1999The Adventures of Sherlock Holmes
Mark Twain2004The Adventures of Tom Sawyer
Alexadre Dumas1997The Black Tulip
L. M. Montgomery2022The Blue Castle
Arthur Quiller-Couch2006The Blue Pavilions
Fyodor Dostoyevsky2006The Brothers Karamazov
Jack London2008The Call of the Wild
St. Augustine2002The Confessions of St. Augustine
Alexandre Dumas1998The Count of Monte Cristo
Elizabeth Von Arnim2003The Enchanted April
Maurice Leblanc2004The Extraordinary Adventures of Arsène Lupin, Gentleman-Burglar
Fyodor Dostoyevsky2000The Gambler
F. S. Fitzgerald2004The Great Gatsby
Arthur C. Doyle2001The Hound of the Baskervilles
Robert W. Chambers2005The King in Yellow
Daniel Defoe1996The Life and Adventures of Robinson Crusoe
Alexandre Dumas1995The Man in the Iron Mask
Agatha Christie2022The Murder of Roger Ackroyd
Agatha Christie2019The Murder of the Links
Homer1999The Odyssey
Oscar Wilde1994The Picture of Dorian Gray
Niccolo Machiavelli2006The Prince
Mark Twain2004The Prince and the Pauper
Bertrand Russell2004The Problems of Philosophy
Khalil Gibran2002The Prophet
Jose Rizal2004The Reign of Greed
Plato1998The Republic
Anonymous2009The Romance of Lust
Nathaniel Hawthorne2004The Scarlet Letter
Arthur C. Doyle2000The Sign of Four
W. E. B. Du Bois1996The Souls of Black Folk
R. L. Stevenson2008The Strange Case of Dr. Jekyll and Mr. Hyde
Ernest Hemingway2022The Sun Also Rises
Alexandre Dumas1998The Three Musketeers
H. G. Wells2004The Time Machine
Franz Kafka2005The Trial
Henry James1995The Turn of the Screw
Alexandre Dumas2001The Vicomte de Bragelonne
H. G. Wells2004The War of the Worlds
L. F. Baum1993The Wonderful Wizard of Oz
F. W. Nietzsche2003Thus Spoke Zarathustra
R. L. Stevenson2006Treasure Island
Jules Verne1994Twenty Thousand Leagues under the Sea
Alexandre Dumas1998Twenty Years After
James Joyce2003Ulysses
H. B. Stowe2006Uncle Tom's Cabin
H. D. Thoreau1995Walden and On The Duty of Civil Disobedience
Leo Tolstoy2001War and Peace
Max Brand2006Way of the Lawless
Fyodor Dostoyevsky2011White Nights and Other Stories
A. A. Milne2022Winnie-the-Pooh
Emily Bronte1996Wuthering Heights

A few more books that are available in the extra folder:

AuthorYearTitle
Solomon Northup2014Twelve Years a Slave
Richard Wagner2004My Life - Volume 2

Citation

This corpus is heavily inspired by the work of LumberChunker. If you use this corpus, please cite the following paper:

@misc{duarte2024lumberchunker,
      title={LumberChunker: Long-Form Narrative Document Segmentation}, 
      author={André V. Duarte and João Marques and Miguel Graça and Miguel Freire and Lei Li and Arlindo L. Oliveira},
      year={2024},
      eprint={2406.17526},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2406.17526}, 
}

Contributors

bhavnicksm

36 commits