Dataset Preview
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code: DatasetGenerationCastError Exception: DatasetGenerationCastError Message: An error occurred while generating the dataset All the data files must have the same columns, but at some point there are 2 new columns ({'num_tokens', 'supersummary'}) This happened while the json dataset builder was generating data using hf://datasets/Neph0s/CoSER-Books-Gutenberg/data/books_gutenberg.jsonl (at revision 7c6f7792ff2bdc9df80db9d333a0a8793a24af58) Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations) Traceback: Traceback (most recent call last): File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1870, in _prepare_split_single writer.write_table(table) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 622, in write_table pa_table = table_cast(pa_table, self._schema) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2292, in table_cast return cast_table_to_schema(table, schema) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2240, in cast_table_to_schema raise CastError( datasets.table.CastError: Couldn't cast title: string author: string content: string supersummary: struct<overview: string, summary: string, url: string, author: string, characters: struct<Elizabeth Bennet: string, Fitzwilliam Darcy: string, Jane Bennet: string, Charlotte Lucas: string, Mrs. Bennet: string, Mr. Bennet: string, Mr. Collins: string, Lord Henry Wotton: string, Dorian Gray: string, Basil Hallward: string, Sybil Vane: string, Mr. Lockwood: string, Nelly Dean: string, Catherine Earnshaw: string, Hindley Earnshaw: string, Heathcliff: string, Edgar Linton: string, Isabella Linton: string, Linton Heathcliff: string, Cathy Heathcliff: string, Hareton Earnshaw: string, Joseph: string, Sydney Carton: string, Charles Darnay (Charles Evrémonde): string, Lucie Manette: string, Thérèse Defarge: string, Ernest Defarge: string, Doctor Alexandre Manette: string, Jarvis Lorry: string, Mr. Stryver: string, Miss Pross: string, The Marquis St. Evrémonde: string, Jerry Cruncher: string, The Seamstress: string, John Barsad (Solomon Pross): string, Monseigneur: string, The Mender of Roads/The Wood-Sawyer: string, Jacques Three: string, The Vengeance: string, Gaspard: string, Gabelle: string, Roger Cly: string, Little Lucie: string, Young Jerry and Mrs. Cruncher: string, Jean Valjean: string, Javert: string, Cosette: string, Marius Pontmercy: string, Thénardier: string, Count Dracula: string, Jonathan Harker: string, Mina Murray: string, Lucy Westenra: string, Doctor John Seward: string, Renfield: string, Abraham Van Helsing ... er 43 Summary: “Surprises”: string child 302, Part 2, Chapters 39-43 Analysis: string child 303, Part 2, Chapter 44 Summary: “My Lord and Lady”: string child 304, Part 2, Chapter 45 Summary: “Daisy and Demi”: string child 305, Part 2, Chapter 46 Summary: “Under the Umbrella”: string child 306, Part 2, Chapter 47 Summary: “Harvest Time”: string child 307, Part 2, Chapters 44-47 Analysis: string child 308, Letter 1 Summary: string child 309, Letter 2 Summary: string child 310, Letter 3 Summary: string child 311, Letter 4 Summary: string child 312, Letters 1-4 Analysis: string child 313, Chapters 5-8 Analysis: string child 314, Chapters 9-12 Analysis: string child 315, Chapters 13-16 Analysis: string child 316, Chapters 21-24 Analysis: string child 317, Chapters 1-7 Analysis: string child 318, Chapters 8-16 Analysis: string child 319, Chapters 17-29 Analysis: string child 320, Chapter 35 Summary: string child 321, Chapter 36 Summary: string child 322, Chapter 37 Summary: string child 323, Chapter 38 Summary: string child 324, Chapter 39 Summary: string child 325, Chapter 40 Summary: string child 326, Chapter 41 Summary: string child 327, Chapter 42 Summary: string child 328, Chapter 30-“Chapter the Last”, “Chapter the Last” Summary: string child 329, Chapter 30-“Chapter the Last” Analysis: string num_tokens: int64 to {'title': Value(dtype='string', id=None), 'author': Value(dtype='string', id=None), 'content': Value(dtype='string', id=None)} because column names don't match During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1420, in compute_config_parquet_and_info_response parquet_operations = convert_to_parquet(builder) File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1052, in convert_to_parquet builder.download_and_prepare( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 924, in download_and_prepare self._download_and_prepare( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1000, in _download_and_prepare self._prepare_split(split_generator, **prepare_split_kwargs) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1741, in _prepare_split for job_id, done, content in self._prepare_split_single( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1872, in _prepare_split_single raise DatasetGenerationCastError.from_cast_error( datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset All the data files must have the same columns, but at some point there are 2 new columns ({'num_tokens', 'supersummary'}) This happened while the json dataset builder was generating data using hf://datasets/Neph0s/CoSER-Books-Gutenberg/data/books_gutenberg.jsonl (at revision 7c6f7792ff2bdc9df80db9d333a0a8793a24af58) Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
title
string | author
string | content
string |
---|---|---|
Pride and Prejudice | Jane Austen | "Pride and Prejudice\n\nBy Jane Austen\n \nE b d\n\nE - B o o k s D i r e c t o r y . c o m\n\n\n\nC(...TRUNCATED) |
The Picture of Dorian Gray | Oscar Wilde | "```\nThe Project Gutenberg EBook of The Picture of Dorian Gray, by Oscar Wilde\n\nThis eBook is for(...TRUNCATED) |
Wuthering Heights | Emily Brontë | "PUFFIN\n\nCLASSICS\n\n\n# Wuthering (...TRUNCATED) |
Les Misérables | Victor Hugo | "The Project Gutenberg EBook of Les Misérables, by Victor Hugo\n\nThis eBook is for the use of anyo(...TRUNCATED) |
Dracula | Bram Stoker | "BRAM STOKER \n\n Abraham Stoker was born in Dublin on Nove(...TRUNCATED) |
The Secret Garden | Frances Hodgson Burnett | "The Project Gutenberg EBook of The Secret Garden, by Frances Hodgson Burnett\n\nThis eBook is for t(...TRUNCATED) |
Little Women | Louisa May Alcott | "The Project Gutenberg EBook of Little Women, by Louisa May Alcott\n\nThis eBook is for the use of a(...TRUNCATED) |
Frankenstein: The 1818 Text | Mary Wollstonecraft Shelley | "Frankenstein; \n\n or, the Modern Prometheus \n\n \n\n by Mary Wollstonecraft (Godwin) Shelley \n\(...TRUNCATED) |
The Adventures of Huckleberry Finn | Mark Twain | "# The Adventures of Huckleberry Finn\n\nBy Mark Twain .\n\n\n \nThis(...TRUNCATED) |
A Tale of Two Cities | Charles Dickens | "\n\n\n\n Table of Contents \n FROM THE PAGES OF A TALE OF TWO CITIES Title(...TRUNCATED) |
End of preview.
Dataset Card for Books CoSER-Gutenberg
Dataset Summary
This dataset provides a subset of the source books used in the CoSER project. It contains the full text content of 81 carefully selected books from Project Gutenberg, which are no longer protected by copyright and hence provide open access.
The dataset is released to facilitate future research in role-playing agents and literary analysis.
Languages
The dataset is primarily in English (en).
- Downloads last month
- 13