Update README.md
Browse files
README.md
CHANGED
|
@@ -58,4 +58,20 @@ Simply download the dataset as you would with any other Hugging Face dataset:
|
|
| 58 |
from datasets import load_dataset
|
| 59 |
|
| 60 |
dataset = load_dataset("tommasobonomo/ITAGutenberg")
|
| 61 |
-
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
from datasets import load_dataset
|
| 59 |
|
| 60 |
dataset = load_dataset("tommasobonomo/ITAGutenberg")
|
| 61 |
+
```
|
| 62 |
+
|
| 63 |
+
## 📊 Data Schema
|
| 64 |
+
The dataset is organized with the following schema:
|
| 65 |
+
|
| 66 |
+
* **`gutenberg_id`** *(str)* — Project Gutenberg key identifying the book.
|
| 67 |
+
* **`title`** *(str)* — Title of the book.
|
| 68 |
+
* **`text`** *(str)* — Full text of the book from Project Gutenberg.
|
| 69 |
+
* **`tokenized_length`** *(int)* — Length in tokens of the book. Computed through the `cl100k_base` encoding from [`openai/tiktoken`](https://github.com/openai/tiktoken).
|
| 70 |
+
* **`metadata`** *(dict)* — Additional contextual information about the book, including:
|
| 71 |
+
|
| 72 |
+
* **`authors`** *(list[str])* — Name of the book’s author(s).
|
| 73 |
+
* **`bookshelves`** *(list[str])* — Name of bookshelves that include this book, as per Project Gutenberg.
|
| 74 |
+
* **`encoding`** *(str)* — Name of the encoding of the original book source.
|
| 75 |
+
* **`languages`** *(list[str])* — Languages that appear in a specific book.
|
| 76 |
+
* **`summaries`** *(list[str])* — Summaries collected from Project Gutenberg for a specific book.
|
| 77 |
+
* **`url`** *(str)* — URL from which the text of the book was downloaded.
|