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