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