Datasets:
File size: 9,619 Bytes
4f09c07 24baa80 4f09c07 3c4affa 381c0a6 3c4affa 24baa80 c2621a8 24baa80 326acda 24baa80 326acda 24baa80 326acda 24baa80 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 |
---
license: mit
task_categories:
- question-answering
language:
- en
configs:
- config_name: semantic
data_files:
- split: semantic_chunks
path: GutenQA_semantic.parquet
---
# 📚 GutenQA-Semantic
GutenQA-Semantic consists on the same 100 Public Domain Narrative Books used in [GutenQA](https://huggingface.co/datasets/LumberChunker/GutenQA) (the proposed benchmark to the paper [LumberChunker: Long-Form Narrative Document Segmentation](https://github.com/joaodsmarques/LumberChunker), and serves as one of the baseline chunking approaches utilized on the [LumberChunker](https://github.com/joaodsmarques/LumberChunker) paper.<br>
In this version, passages are segmented with Semantic Chunking, which utilizes embeddings to cluster semantically similar text segments.
The dataset is organized into the following columns:
- `Book Name`: The title of the book from which the passage is extracted.
- `Book ID`: A unique integer identifier assigned to each book.
- `Chunk ID`: An integer identifier for each chunk of the book. Chunks are listed in the sequence they appear in the book.
- `Chunk`: Each row contains a group of book passages which, in this dataset, are chunks that result from applying [Semantic Chunking](https://github.com/FullStackRetrieval-com/RetrievalTutorials/blob/main/tutorials/LevelsOfTextSplitting/5_Levels_Of_Text_Splitting.ipynb) on [GutenQA-Paragraphs](https://huggingface.co/datasets/LumberChunker/GutenQA_Paragraphs).
<br>
# 🔧 Loading the Dataset.
```python
import pandas as pd
dataset = pd.read_parquet("hf://datasets/LumberChunker/GutenQA_Semantic/GutenQA_semantic.parquet")
# Filter the DataFrame to show only rows with the specified book name
single_book_chunks = dataset[dataset['Book Name'] == 'A_Christmas_Carol_-_Charles_Dickens'].reset_index(drop=True)
```
<br>
# 💬 Citation
```bibtex
@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},
}
```
<details>
<summary> 📖 Book References</summary>
[1] Twain, M. (2004). Adventures of Huckleberry Finn. Project Gutenberg.<br>
[2] Carroll, L. (2008). Alice's Adventures in Wonderland. Project Gutenberg.<br>
[3] Tolstoy, L. (1998). Anna Karenina. Project Gutenberg.<br>
[4] Montgomery, L. (2008). Anne of Green Gables. Project Gutenberg.<br>
[5] Verne, J. (1994). Around the World in Eighty Days. Project Gutenberg.<br>
[6] Dickens, C. (2004). A Christmas Carol. Project Gutenberg.<br>
[7] Twain, M. (2004). A Connecticut Yankee in King Arthur's Court. Project Gutenberg.<br>
[8] Hudson, W. (2005). A Crystal Age. Project Gutenberg.<br>
[9] Scott, S. (2006). A Legend Of Montrose. Project Gutenberg.<br>
[10] Joyce, J. (2003). A Portrait of the Artist as a Young Man. Project Gutenberg.<br>
[11] Forster, E. (2001). A Room with a View. Project Gutenberg.<br>
[12] Doyle, A. (1995). A Study in Scarlet. Project Gutenberg.<br>
[13] Dickens, C. (1994). A Tale of Two Cities. Project Gutenberg.<br>
[14] Nietzsche, F. (2003). Beyond Good and Evil. Project Gutenberg.<br>
[15] Le Fanu, J. (2003). Carmilla. Project Gutenberg.<br>
[16] Gaskell, E. (1996). Cranford. Project Gutenberg.<br>
[17] Dostoyevsky, F. (2006). Crime and Punishment. Project Gutenberg.<br>
[18] Garis, H. (2005). Daddy takes us to the Garden. Project Gutenberg.<br>
[19] Dickens, C. (1996). David Copperfield. Project Gutenberg.<br>
[20] Stoker, B. (1995). Dracula. Project Gutenberg.<br>
[21] Joyce, J. (2001). Dubliners. Project Gutenberg.<br>
[22] Austen, J. (1994). Emma. Project Gutenberg.<br>
[23] Shelley, M. (1993). Frankenstein Or The Modern Prometheus. Project Gutenberg.<br>
[24] Dickens, C. (1998). Great Expectations. Project Gutenberg.<br>
[25] Brothers, G. (2001). Grimms' Fairy Tales. Project Gutenberg.<br>
[26] Swift, J. (1997). Gulliver's Travels into Several Remote Nations of the World. Project Gutenberg.<br>
[27] Conrad, J. (2006). Heart of Darkness. Project Gutenberg.<br>
[28] Jacobs, H. (2004). Incidents in the Life of a Slave Girl. Project Gutenberg.<br>
[29] Bronte, C. (1998). Jane Eyre. Project Gutenberg.<br>
[30] Hugo, V. (2008). Les Miserables. Project Gutenberg.<br>
[31] Alcott, L. (1996). Little Women. Project Gutenberg.<br>
[32] Dumas, A. (2001). Louise de la Valliere. Project Gutenberg.<br>
[33] Flaubert, G. (2006). Madame Bovary. Project Gutenberg.<br>
[34] Aurelius, E. (2001). Meditations. Project Gutenberg.<br>
[35] Eliot, G. (1994). Middlemarch. Project Gutenberg.<br>
[36] Melville, H. (2001). Moby Dick Or The Whale. Project Gutenberg.<br>
[37] Wagner, R. (2004). My Life. Project Gutenberg.<br>
[38] Douglass, F. (2006). Narrative of the Life of Frederick Douglass, an American Slave. Project Gutenberg.<br>
[39] Dickens, C. (1996). Oliver Twist. Project Gutenberg.<br>
[40] Austen, J. (1994). Persuasion. Project Gutenberg.<br>
[41] Barrie, J. (2008). Peter Pan. Project Gutenberg.<br>
[42] Austen, J. (1998). Pride and Prejudice. Project Gutenberg.<br>
[43] Brand, M. (2006). Riders Of The Silences. Project Gutenberg.<br>
[44] Locke, J. (2005). Second Treatise of Government. Project Gutenberg.<br>
[45] Austen, J. (1994). Sense and Sensibility. Project Gutenberg.<br>
[46] Dumas, A. (2001). Ten Years Later. Project Gutenberg.<br>
[47] Smollett, T. (2004). The Adventures of Ferdinand Count Fathom. Project Gutenberg.<br>
[48] Smollett, T. (2003). The Adventures of Roderick Random. Project Gutenberg.<br>
[49] Doyle, A. (1999). The Adventures of Sherlock Holmes. Project Gutenberg.<br>
[50] Twain, M. (2004). The Adventures of Tom Sawyer. Project Gutenberg.<br>
[51] Dumas, A. (1997). The Black Tulip. Project Gutenberg.<br>
[52] Montgomery, L. (2022). The Blue Castle. Project Gutenberg.<br>
[53] Couch, A. (2006). The Blue Pavilions. Project Gutenberg.<br>
[54] Dostoyevsky, F. (2009). The Brothers Karamazov. Project Gutenberg.<br>
[55] London, J. (2008). The Call of the Wild. Project Gutenberg.<br>
[56] Augustine, B. (2002). The Confessions of St. Augustine. Project Gutenberg.<br>
[57] Dumas, A. (1998). The Count of Monte Cristo. Project Gutenberg.<br>
[58] Arnim, E. (2005). The Enchanted April. Project Gutenberg.<br>
[59] Leblanc, M. (2004). The Extraordinary Adventures of Arsene Lupin. Project Gutenberg.<br>
[60] Dostoyevsky, F. (2000). The Gambler. Project Gutenberg.<br>
[61] Fitzgerald, F. (2021). The Great Gatsby. Project Gutenberg.<br>
[62] Doyle, A. (2001). The Hound of the Baskervilles. Project Gutenberg.<br>
[63] Chambers, R. (2005). The King in Yellow. Project Gutenberg.<br>
[64] Defoe, D. (1996). The Life and Adventures of Robinson Crusoe. Project Gutenberg.<br>
[65] Dumas, A. (2001). The Man in the Iron Mask. Project Gutenberg.<br>
[66] Christie, A. (2022). The Murder of Roger Ackroyd. Project Gutenberg.<br>
[67] Christie, A. (2019). The Murder on the Links. Project Gutenberg.<br>
[68] Homer, H. (1999). The Odyssey. Project Gutenberg.<br>
[69] Wilde, O. (1994). The Picture of Dorian Gray. Project Gutenberg.<br>
[70] Machiavelli, N. (2006). The Prince. Project Gutenberg.<br>
[71] Twain, M. (2004). The Prince and the Pauper. Project Gutenberg.<br>
[72] Russell, B. (2004). The Problems of Philosophy. Project Gutenberg.<br>
[73] Gibran, K. (2019). The Prophet. Project Gutenberg.<br>
[74] Rizal, J. (2004). The Reign of Greed. Project Gutenberg.<br>
[75] Plato, P. (1998). The Republic. Project Gutenberg.<br>
[76] Anonymous, A. (2009). The Romance of Lust. Project Gutenberg.<br>
[77] Hawthorne, N. (2008). The Scarlet Letter. Project Gutenberg.<br>
[78] Doyle, A. (2000). The Sign of the Four. Project Gutenberg.<br>
[79] Bois, W. (1996). The Souls of Black Folk. Project Gutenberg.<br>
[80] Stevenson, R. (2008). The Strange Case of Dr. Jekyll and Mr. Hyde. Project Gutenberg.<br>
[81] Hemingway, E. (2022). The Sun Also Rises. Project Gutenberg.<br>
[82] Dumas, A. (1998). The Three Musketeers. Project Gutenberg.<br>
[83] Wells, H. (2004). The Time Machine. Project Gutenberg.<br>
[84] Kafka, F. (2005). The Trial. Project Gutenberg.<br>
[85] James, H. (1995). The Turn of the Screw. Project Gutenberg.<br>
[86] Dumas, A. (2001). The Vicomte de Bragelonne. Project Gutenberg.<br>
[87] Wells, H. (2004). The War of the Worlds. Project Gutenberg.<br>
[88] Baum, L. (1993). The Wonderful Wizard of Oz. Project Gutenberg.<br>
[89] Nietzsche, F. (1999). Thus Spake Zarathustra. Project Gutenberg.<br>
[90] Stevenson, R. (2006). Treasure Island. Project Gutenberg.<br>
[91] Verne, J. (1994). Twenty Thousand Leagues under the Sea. Project Gutenberg.<br>
[92] Dumas, A. (1998). Twenty Years After. Project Gutenberg.<br>
[93] Joyce, J. (2003). Ulysses. Project Gutenberg.<br>
[94] Stowe, H. (2006). Uncle Tom’s Cabin or Life among the Lowly. Project Gutenberg.<br>
[95] Thoreau, H. (1995). Walden, and On The Duty Of Civil Disobedience. Project Gutenberg.<br>
[96] Tolstoy, L. (2001). War and Peace. Project Gutenberg.<br>
[97] Brand, M. (2006). Way Of The Lawless. Project Gutenberg.<br>
[98] Dostoyevsky, F. (2011). White Nights and Other Stories. Project Gutenberg.<br>
[99] Milne, A. (2022). Winnie the Pooh. Project Gutenberg.<br>
[100] Bronte, E. (1996). Wuthering Heights. Project Gutenberg.<br>
</details> |