Update README.md
Browse files
README.md
CHANGED
|
@@ -14,6 +14,10 @@ configs:
|
|
| 14 |
data_files:
|
| 15 |
- split: train
|
| 16 |
path: data/train-*
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
---
|
| 18 |
|
| 19 |
# 2K Book Titles Dataset
|
|
@@ -68,8 +72,7 @@ The dataset contains a single split with 2,000 examples:
|
|
| 68 |
"items": {
|
| 69 |
"type": "string"
|
| 70 |
},
|
| 71 |
-
"minItems": 1
|
| 72 |
-
"uniqueItems": true
|
| 73 |
},
|
| 74 |
"is_available": {
|
| 75 |
"description": "A boolean indicating if the book is currently available.",
|
|
@@ -92,144 +95,4 @@ The dataset contains a single split with 2,000 examples:
|
|
| 92 |
"isbn"
|
| 93 |
]
|
| 94 |
}
|
| 95 |
-
```
|
| 96 |
-
|
| 97 |
-
more complex version
|
| 98 |
-
```json
|
| 99 |
-
{
|
| 100 |
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
| 101 |
-
"$id": "https://example.com/schemas/complex-book.json",
|
| 102 |
-
"title": "Book Schema",
|
| 103 |
-
"description": "A comprehensive schema for a book, including detailed author information, publication history, and subject classifications.",
|
| 104 |
-
"type": "object",
|
| 105 |
-
"properties": {
|
| 106 |
-
"title": {
|
| 107 |
-
"description": "The primary title of the book.",
|
| 108 |
-
"type": "string",
|
| 109 |
-
"minLength": 1,
|
| 110 |
-
"maxLength": 255
|
| 111 |
-
},
|
| 112 |
-
"subtitle": {
|
| 113 |
-
"description": "The secondary title of the book, if applicable.",
|
| 114 |
-
"type": "string"
|
| 115 |
-
},
|
| 116 |
-
"authors": {
|
| 117 |
-
"description": "A list of authors, with detailed information for each.",
|
| 118 |
-
"type": "array",
|
| 119 |
-
"items": {
|
| 120 |
-
"type": "object",
|
| 121 |
-
"properties": {
|
| 122 |
-
"name": {
|
| 123 |
-
"type": "string",
|
| 124 |
-
"description": "The full name of the author."
|
| 125 |
-
},
|
| 126 |
-
"birth_year": {
|
| 127 |
-
"type": "integer",
|
| 128 |
-
"minimum": 0,
|
| 129 |
-
"maximum": 2025
|
| 130 |
-
},
|
| 131 |
-
"nationality": {
|
| 132 |
-
"type": "string"
|
| 133 |
-
}
|
| 134 |
-
},
|
| 135 |
-
"required": [
|
| 136 |
-
"name"
|
| 137 |
-
]
|
| 138 |
-
},
|
| 139 |
-
"minItems": 1
|
| 140 |
-
},
|
| 141 |
-
"publication_info": {
|
| 142 |
-
"description": "Detailed information about the book's publication history.",
|
| 143 |
-
"type": "object",
|
| 144 |
-
"properties": {
|
| 145 |
-
"publisher": {
|
| 146 |
-
"type": "string",
|
| 147 |
-
"minLength": 1
|
| 148 |
-
},
|
| 149 |
-
"publication_date": {
|
| 150 |
-
"type": "string",
|
| 151 |
-
"format": "date",
|
| 152 |
-
"description": "The original publication date in YYYY-MM-DD format."
|
| 153 |
-
},
|
| 154 |
-
"edition": {
|
| 155 |
-
"type": "integer",
|
| 156 |
-
"minimum": 1
|
| 157 |
-
}
|
| 158 |
-
},
|
| 159 |
-
"required": [
|
| 160 |
-
"publisher",
|
| 161 |
-
"publication_date"
|
| 162 |
-
]
|
| 163 |
-
},
|
| 164 |
-
"identifiers": {
|
| 165 |
-
"description": "Standard identifiers for the book.",
|
| 166 |
-
"type": "object",
|
| 167 |
-
"properties": {
|
| 168 |
-
"isbn_13": {
|
| 169 |
-
"type": "string",
|
| 170 |
-
"pattern": "^(978|979)-\\d{1,5}-\\d{1,7}-\\d{1,6}-\\d$",
|
| 171 |
-
"description": "The ISBN-13 of the book."
|
| 172 |
-
},
|
| 173 |
-
"isbn_10": {
|
| 174 |
-
"type": "string",
|
| 175 |
-
"pattern": "^\\d{1}-\\d{3}-\\d{5}-\\d$",
|
| 176 |
-
"description": "The ISBN-10 of the book."
|
| 177 |
-
}
|
| 178 |
-
},
|
| 179 |
-
"required": [
|
| 180 |
-
"isbn_13"
|
| 181 |
-
]
|
| 182 |
-
},
|
| 183 |
-
"categories": {
|
| 184 |
-
"description": "A hierarchical classification of the book's subjects.",
|
| 185 |
-
"type": "array",
|
| 186 |
-
"items": {
|
| 187 |
-
"type": "object",
|
| 188 |
-
"properties": {
|
| 189 |
-
"main_category": {
|
| 190 |
-
"type": "string"
|
| 191 |
-
},
|
| 192 |
-
"sub_categories": {
|
| 193 |
-
"type": "array",
|
| 194 |
-
"items": {
|
| 195 |
-
"type": "string"
|
| 196 |
-
}
|
| 197 |
-
}
|
| 198 |
-
},
|
| 199 |
-
"required": [
|
| 200 |
-
"main_category"
|
| 201 |
-
]
|
| 202 |
-
}
|
| 203 |
-
},
|
| 204 |
-
"stock_info": {
|
| 205 |
-
"description": "Current stock and availability information.",
|
| 206 |
-
"type": "object",
|
| 207 |
-
"properties": {
|
| 208 |
-
"quantity_in_stock": {
|
| 209 |
-
"type": "integer",
|
| 210 |
-
"minimum": 0
|
| 211 |
-
},
|
| 212 |
-
"on_sale": {
|
| 213 |
-
"type": "boolean",
|
| 214 |
-
"default": false
|
| 215 |
-
}
|
| 216 |
-
},
|
| 217 |
-
"required": [
|
| 218 |
-
"quantity_in_stock"
|
| 219 |
-
]
|
| 220 |
-
},
|
| 221 |
-
"summary": {
|
| 222 |
-
"description": "A brief synopsis of the book's plot or content.",
|
| 223 |
-
"type": "string",
|
| 224 |
-
"minLength": 50,
|
| 225 |
-
"maxLength": 300
|
| 226 |
-
}
|
| 227 |
-
},
|
| 228 |
-
"required": [
|
| 229 |
-
"title",
|
| 230 |
-
"authors",
|
| 231 |
-
"publication_info",
|
| 232 |
-
"identifiers"
|
| 233 |
-
]
|
| 234 |
-
}
|
| 235 |
```
|
|
|
|
| 14 |
data_files:
|
| 15 |
- split: train
|
| 16 |
path: data/train-*
|
| 17 |
+
language:
|
| 18 |
+
- en
|
| 19 |
+
size_categories:
|
| 20 |
+
- 1K<n<10K
|
| 21 |
---
|
| 22 |
|
| 23 |
# 2K Book Titles Dataset
|
|
|
|
| 72 |
"items": {
|
| 73 |
"type": "string"
|
| 74 |
},
|
| 75 |
+
"minItems": 1
|
|
|
|
| 76 |
},
|
| 77 |
"is_available": {
|
| 78 |
"description": "A boolean indicating if the book is currently available.",
|
|
|
|
| 95 |
"isbn"
|
| 96 |
]
|
| 97 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 98 |
```
|