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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"nbformat": 4,
|
| 3 |
+
"nbformat_minor": 0,
|
| 4 |
+
"metadata": {
|
| 5 |
+
"colab": {
|
| 6 |
+
"provenance": []
|
| 7 |
+
},
|
| 8 |
+
"kernelspec": {
|
| 9 |
+
"name": "python3",
|
| 10 |
+
"display_name": "Python 3"
|
| 11 |
+
},
|
| 12 |
+
"language_info": {
|
| 13 |
+
"name": "python"
|
| 14 |
+
},
|
| 15 |
+
"widgets": {
|
| 16 |
+
"application/vnd.jupyter.widget-state+json": {
|
| 17 |
+
"version_major": 2,
|
| 18 |
+
"version_minor": 0,
|
| 19 |
+
"state": {
|
| 20 |
+
"7e344e19706b458e80a2d977bb291bf6": {
|
| 21 |
+
"model_module": "@jupyter-widgets/controls",
|
| 22 |
+
"model_name": "HBoxModel",
|
| 23 |
+
"model_module_version": "1.5.0",
|
| 24 |
+
"state": {
|
| 25 |
+
"_dom_classes": [],
|
| 26 |
+
"_model_module": "@jupyter-widgets/controls",
|
| 27 |
+
"_model_module_version": "1.5.0",
|
| 28 |
+
"_model_name": "HBoxModel",
|
| 29 |
+
"_view_count": null,
|
| 30 |
+
"_view_module": "@jupyter-widgets/controls",
|
| 31 |
+
"_view_module_version": "1.5.0",
|
| 32 |
+
"_view_name": "HBoxView",
|
| 33 |
+
"box_style": "",
|
| 34 |
+
"children": [
|
| 35 |
+
"IPY_MODEL_d63a046797c440b18eedacb2b819c702",
|
| 36 |
+
"IPY_MODEL_89d1143ed7de4a14aa84fa70bf58cb51",
|
| 37 |
+
"IPY_MODEL_613da49307064ae98a9605f35a65404b"
|
| 38 |
+
],
|
| 39 |
+
"layout": "IPY_MODEL_f1fa383e6af84bdcad56645aeafb36ca"
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
"d63a046797c440b18eedacb2b819c702": {
|
| 43 |
+
"model_module": "@jupyter-widgets/controls",
|
| 44 |
+
"model_name": "HTMLModel",
|
| 45 |
+
"model_module_version": "1.5.0",
|
| 46 |
+
"state": {
|
| 47 |
+
"_dom_classes": [],
|
| 48 |
+
"_model_module": "@jupyter-widgets/controls",
|
| 49 |
+
"_model_module_version": "1.5.0",
|
| 50 |
+
"_model_name": "HTMLModel",
|
| 51 |
+
"_view_count": null,
|
| 52 |
+
"_view_module": "@jupyter-widgets/controls",
|
| 53 |
+
"_view_module_version": "1.5.0",
|
| 54 |
+
"_view_name": "HTMLView",
|
| 55 |
+
"description": "",
|
| 56 |
+
"description_tooltip": null,
|
| 57 |
+
"layout": "IPY_MODEL_3a0b14bf429242fd972cc6fd7861ec8e",
|
| 58 |
+
"placeholder": "",
|
| 59 |
+
"style": "IPY_MODEL_29c3938c5b8947b3a34577629d71579f",
|
| 60 |
+
"value": "processed_characters.txt: 100%"
|
| 61 |
+
}
|
| 62 |
+
},
|
| 63 |
+
"89d1143ed7de4a14aa84fa70bf58cb51": {
|
| 64 |
+
"model_module": "@jupyter-widgets/controls",
|
| 65 |
+
"model_name": "FloatProgressModel",
|
| 66 |
+
"model_module_version": "1.5.0",
|
| 67 |
+
"state": {
|
| 68 |
+
"_dom_classes": [],
|
| 69 |
+
"_model_module": "@jupyter-widgets/controls",
|
| 70 |
+
"_model_module_version": "1.5.0",
|
| 71 |
+
"_model_name": "FloatProgressModel",
|
| 72 |
+
"_view_count": null,
|
| 73 |
+
"_view_module": "@jupyter-widgets/controls",
|
| 74 |
+
"_view_module_version": "1.5.0",
|
| 75 |
+
"_view_name": "ProgressView",
|
| 76 |
+
"bar_style": "success",
|
| 77 |
+
"description": "",
|
| 78 |
+
"description_tooltip": null,
|
| 79 |
+
"layout": "IPY_MODEL_ee9a1e981f5b4aaf8f8079428c3fb028",
|
| 80 |
+
"max": 1642,
|
| 81 |
+
"min": 0,
|
| 82 |
+
"orientation": "horizontal",
|
| 83 |
+
"style": "IPY_MODEL_aba8b5a3086e479db4ff31e38024d0a4",
|
| 84 |
+
"value": 1642
|
| 85 |
+
}
|
| 86 |
+
},
|
| 87 |
+
"613da49307064ae98a9605f35a65404b": {
|
| 88 |
+
"model_module": "@jupyter-widgets/controls",
|
| 89 |
+
"model_name": "HTMLModel",
|
| 90 |
+
"model_module_version": "1.5.0",
|
| 91 |
+
"state": {
|
| 92 |
+
"_dom_classes": [],
|
| 93 |
+
"_model_module": "@jupyter-widgets/controls",
|
| 94 |
+
"_model_module_version": "1.5.0",
|
| 95 |
+
"_model_name": "HTMLModel",
|
| 96 |
+
"_view_count": null,
|
| 97 |
+
"_view_module": "@jupyter-widgets/controls",
|
| 98 |
+
"_view_module_version": "1.5.0",
|
| 99 |
+
"_view_name": "HTMLView",
|
| 100 |
+
"description": "",
|
| 101 |
+
"description_tooltip": null,
|
| 102 |
+
"layout": "IPY_MODEL_7c11d678c816436ab117b786c336099c",
|
| 103 |
+
"placeholder": "",
|
| 104 |
+
"style": "IPY_MODEL_82753f6a58244bd0942e9157ceb468ee",
|
| 105 |
+
"value": " 1.64k/1.64k [00:00<00:00, 112kB/s]"
|
| 106 |
+
}
|
| 107 |
+
},
|
| 108 |
+
"f1fa383e6af84bdcad56645aeafb36ca": {
|
| 109 |
+
"model_module": "@jupyter-widgets/base",
|
| 110 |
+
"model_name": "LayoutModel",
|
| 111 |
+
"model_module_version": "1.2.0",
|
| 112 |
+
"state": {
|
| 113 |
+
"_model_module": "@jupyter-widgets/base",
|
| 114 |
+
"_model_module_version": "1.2.0",
|
| 115 |
+
"_model_name": "LayoutModel",
|
| 116 |
+
"_view_count": null,
|
| 117 |
+
"_view_module": "@jupyter-widgets/base",
|
| 118 |
+
"_view_module_version": "1.2.0",
|
| 119 |
+
"_view_name": "LayoutView",
|
| 120 |
+
"align_content": null,
|
| 121 |
+
"align_items": null,
|
| 122 |
+
"align_self": null,
|
| 123 |
+
"border": null,
|
| 124 |
+
"bottom": null,
|
| 125 |
+
"display": null,
|
| 126 |
+
"flex": null,
|
| 127 |
+
"flex_flow": null,
|
| 128 |
+
"grid_area": null,
|
| 129 |
+
"grid_auto_columns": null,
|
| 130 |
+
"grid_auto_flow": null,
|
| 131 |
+
"grid_auto_rows": null,
|
| 132 |
+
"grid_column": null,
|
| 133 |
+
"grid_gap": null,
|
| 134 |
+
"grid_row": null,
|
| 135 |
+
"grid_template_areas": null,
|
| 136 |
+
"grid_template_columns": null,
|
| 137 |
+
"grid_template_rows": null,
|
| 138 |
+
"height": null,
|
| 139 |
+
"justify_content": null,
|
| 140 |
+
"justify_items": null,
|
| 141 |
+
"left": null,
|
| 142 |
+
"margin": null,
|
| 143 |
+
"max_height": null,
|
| 144 |
+
"max_width": null,
|
| 145 |
+
"min_height": null,
|
| 146 |
+
"min_width": null,
|
| 147 |
+
"object_fit": null,
|
| 148 |
+
"object_position": null,
|
| 149 |
+
"order": null,
|
| 150 |
+
"overflow": null,
|
| 151 |
+
"overflow_x": null,
|
| 152 |
+
"overflow_y": null,
|
| 153 |
+
"padding": null,
|
| 154 |
+
"right": null,
|
| 155 |
+
"top": null,
|
| 156 |
+
"visibility": null,
|
| 157 |
+
"width": null
|
| 158 |
+
}
|
| 159 |
+
},
|
| 160 |
+
"3a0b14bf429242fd972cc6fd7861ec8e": {
|
| 161 |
+
"model_module": "@jupyter-widgets/base",
|
| 162 |
+
"model_name": "LayoutModel",
|
| 163 |
+
"model_module_version": "1.2.0",
|
| 164 |
+
"state": {
|
| 165 |
+
"_model_module": "@jupyter-widgets/base",
|
| 166 |
+
"_model_module_version": "1.2.0",
|
| 167 |
+
"_model_name": "LayoutModel",
|
| 168 |
+
"_view_count": null,
|
| 169 |
+
"_view_module": "@jupyter-widgets/base",
|
| 170 |
+
"_view_module_version": "1.2.0",
|
| 171 |
+
"_view_name": "LayoutView",
|
| 172 |
+
"align_content": null,
|
| 173 |
+
"align_items": null,
|
| 174 |
+
"align_self": null,
|
| 175 |
+
"border": null,
|
| 176 |
+
"bottom": null,
|
| 177 |
+
"display": null,
|
| 178 |
+
"flex": null,
|
| 179 |
+
"flex_flow": null,
|
| 180 |
+
"grid_area": null,
|
| 181 |
+
"grid_auto_columns": null,
|
| 182 |
+
"grid_auto_flow": null,
|
| 183 |
+
"grid_auto_rows": null,
|
| 184 |
+
"grid_column": null,
|
| 185 |
+
"grid_gap": null,
|
| 186 |
+
"grid_row": null,
|
| 187 |
+
"grid_template_areas": null,
|
| 188 |
+
"grid_template_columns": null,
|
| 189 |
+
"grid_template_rows": null,
|
| 190 |
+
"height": null,
|
| 191 |
+
"justify_content": null,
|
| 192 |
+
"justify_items": null,
|
| 193 |
+
"left": null,
|
| 194 |
+
"margin": null,
|
| 195 |
+
"max_height": null,
|
| 196 |
+
"max_width": null,
|
| 197 |
+
"min_height": null,
|
| 198 |
+
"min_width": null,
|
| 199 |
+
"object_fit": null,
|
| 200 |
+
"object_position": null,
|
| 201 |
+
"order": null,
|
| 202 |
+
"overflow": null,
|
| 203 |
+
"overflow_x": null,
|
| 204 |
+
"overflow_y": null,
|
| 205 |
+
"padding": null,
|
| 206 |
+
"right": null,
|
| 207 |
+
"top": null,
|
| 208 |
+
"visibility": null,
|
| 209 |
+
"width": null
|
| 210 |
+
}
|
| 211 |
+
},
|
| 212 |
+
"29c3938c5b8947b3a34577629d71579f": {
|
| 213 |
+
"model_module": "@jupyter-widgets/controls",
|
| 214 |
+
"model_name": "DescriptionStyleModel",
|
| 215 |
+
"model_module_version": "1.5.0",
|
| 216 |
+
"state": {
|
| 217 |
+
"_model_module": "@jupyter-widgets/controls",
|
| 218 |
+
"_model_module_version": "1.5.0",
|
| 219 |
+
"_model_name": "DescriptionStyleModel",
|
| 220 |
+
"_view_count": null,
|
| 221 |
+
"_view_module": "@jupyter-widgets/base",
|
| 222 |
+
"_view_module_version": "1.2.0",
|
| 223 |
+
"_view_name": "StyleView",
|
| 224 |
+
"description_width": ""
|
| 225 |
+
}
|
| 226 |
+
},
|
| 227 |
+
"ee9a1e981f5b4aaf8f8079428c3fb028": {
|
| 228 |
+
"model_module": "@jupyter-widgets/base",
|
| 229 |
+
"model_name": "LayoutModel",
|
| 230 |
+
"model_module_version": "1.2.0",
|
| 231 |
+
"state": {
|
| 232 |
+
"_model_module": "@jupyter-widgets/base",
|
| 233 |
+
"_model_module_version": "1.2.0",
|
| 234 |
+
"_model_name": "LayoutModel",
|
| 235 |
+
"_view_count": null,
|
| 236 |
+
"_view_module": "@jupyter-widgets/base",
|
| 237 |
+
"_view_module_version": "1.2.0",
|
| 238 |
+
"_view_name": "LayoutView",
|
| 239 |
+
"align_content": null,
|
| 240 |
+
"align_items": null,
|
| 241 |
+
"align_self": null,
|
| 242 |
+
"border": null,
|
| 243 |
+
"bottom": null,
|
| 244 |
+
"display": null,
|
| 245 |
+
"flex": null,
|
| 246 |
+
"flex_flow": null,
|
| 247 |
+
"grid_area": null,
|
| 248 |
+
"grid_auto_columns": null,
|
| 249 |
+
"grid_auto_flow": null,
|
| 250 |
+
"grid_auto_rows": null,
|
| 251 |
+
"grid_column": null,
|
| 252 |
+
"grid_gap": null,
|
| 253 |
+
"grid_row": null,
|
| 254 |
+
"grid_template_areas": null,
|
| 255 |
+
"grid_template_columns": null,
|
| 256 |
+
"grid_template_rows": null,
|
| 257 |
+
"height": null,
|
| 258 |
+
"justify_content": null,
|
| 259 |
+
"justify_items": null,
|
| 260 |
+
"left": null,
|
| 261 |
+
"margin": null,
|
| 262 |
+
"max_height": null,
|
| 263 |
+
"max_width": null,
|
| 264 |
+
"min_height": null,
|
| 265 |
+
"min_width": null,
|
| 266 |
+
"object_fit": null,
|
| 267 |
+
"object_position": null,
|
| 268 |
+
"order": null,
|
| 269 |
+
"overflow": null,
|
| 270 |
+
"overflow_x": null,
|
| 271 |
+
"overflow_y": null,
|
| 272 |
+
"padding": null,
|
| 273 |
+
"right": null,
|
| 274 |
+
"top": null,
|
| 275 |
+
"visibility": null,
|
| 276 |
+
"width": null
|
| 277 |
+
}
|
| 278 |
+
},
|
| 279 |
+
"aba8b5a3086e479db4ff31e38024d0a4": {
|
| 280 |
+
"model_module": "@jupyter-widgets/controls",
|
| 281 |
+
"model_name": "ProgressStyleModel",
|
| 282 |
+
"model_module_version": "1.5.0",
|
| 283 |
+
"state": {
|
| 284 |
+
"_model_module": "@jupyter-widgets/controls",
|
| 285 |
+
"_model_module_version": "1.5.0",
|
| 286 |
+
"_model_name": "ProgressStyleModel",
|
| 287 |
+
"_view_count": null,
|
| 288 |
+
"_view_module": "@jupyter-widgets/base",
|
| 289 |
+
"_view_module_version": "1.2.0",
|
| 290 |
+
"_view_name": "StyleView",
|
| 291 |
+
"bar_color": null,
|
| 292 |
+
"description_width": ""
|
| 293 |
+
}
|
| 294 |
+
},
|
| 295 |
+
"7c11d678c816436ab117b786c336099c": {
|
| 296 |
+
"model_module": "@jupyter-widgets/base",
|
| 297 |
+
"model_name": "LayoutModel",
|
| 298 |
+
"model_module_version": "1.2.0",
|
| 299 |
+
"state": {
|
| 300 |
+
"_model_module": "@jupyter-widgets/base",
|
| 301 |
+
"_model_module_version": "1.2.0",
|
| 302 |
+
"_model_name": "LayoutModel",
|
| 303 |
+
"_view_count": null,
|
| 304 |
+
"_view_module": "@jupyter-widgets/base",
|
| 305 |
+
"_view_module_version": "1.2.0",
|
| 306 |
+
"_view_name": "LayoutView",
|
| 307 |
+
"align_content": null,
|
| 308 |
+
"align_items": null,
|
| 309 |
+
"align_self": null,
|
| 310 |
+
"border": null,
|
| 311 |
+
"bottom": null,
|
| 312 |
+
"display": null,
|
| 313 |
+
"flex": null,
|
| 314 |
+
"flex_flow": null,
|
| 315 |
+
"grid_area": null,
|
| 316 |
+
"grid_auto_columns": null,
|
| 317 |
+
"grid_auto_flow": null,
|
| 318 |
+
"grid_auto_rows": null,
|
| 319 |
+
"grid_column": null,
|
| 320 |
+
"grid_gap": null,
|
| 321 |
+
"grid_row": null,
|
| 322 |
+
"grid_template_areas": null,
|
| 323 |
+
"grid_template_columns": null,
|
| 324 |
+
"grid_template_rows": null,
|
| 325 |
+
"height": null,
|
| 326 |
+
"justify_content": null,
|
| 327 |
+
"justify_items": null,
|
| 328 |
+
"left": null,
|
| 329 |
+
"margin": null,
|
| 330 |
+
"max_height": null,
|
| 331 |
+
"max_width": null,
|
| 332 |
+
"min_height": null,
|
| 333 |
+
"min_width": null,
|
| 334 |
+
"object_fit": null,
|
| 335 |
+
"object_position": null,
|
| 336 |
+
"order": null,
|
| 337 |
+
"overflow": null,
|
| 338 |
+
"overflow_x": null,
|
| 339 |
+
"overflow_y": null,
|
| 340 |
+
"padding": null,
|
| 341 |
+
"right": null,
|
| 342 |
+
"top": null,
|
| 343 |
+
"visibility": null,
|
| 344 |
+
"width": null
|
| 345 |
+
}
|
| 346 |
+
},
|
| 347 |
+
"82753f6a58244bd0942e9157ceb468ee": {
|
| 348 |
+
"model_module": "@jupyter-widgets/controls",
|
| 349 |
+
"model_name": "DescriptionStyleModel",
|
| 350 |
+
"model_module_version": "1.5.0",
|
| 351 |
+
"state": {
|
| 352 |
+
"_model_module": "@jupyter-widgets/controls",
|
| 353 |
+
"_model_module_version": "1.5.0",
|
| 354 |
+
"_model_name": "DescriptionStyleModel",
|
| 355 |
+
"_view_count": null,
|
| 356 |
+
"_view_module": "@jupyter-widgets/base",
|
| 357 |
+
"_view_module_version": "1.2.0",
|
| 358 |
+
"_view_name": "StyleView",
|
| 359 |
+
"description_width": ""
|
| 360 |
+
}
|
| 361 |
+
}
|
| 362 |
+
}
|
| 363 |
+
}
|
| 364 |
+
}
|
| 365 |
+
},
|
| 366 |
+
"cells": [
|
| 367 |
+
{
|
| 368 |
+
"cell_type": "code",
|
| 369 |
+
"source": [
|
| 370 |
+
"\n",
|
| 371 |
+
"# =============================================================================\n",
|
| 372 |
+
"# CHARACTER PARQUET GENERATOR – MINIMUM NULL VERSION\n",
|
| 373 |
+
"#\n",
|
| 374 |
+
"# SOURCE:\n",
|
| 375 |
+
"# codeShare/e621-sections-split/sections/\n",
|
| 376 |
+
"#\n",
|
| 377 |
+
"# OUTPUT:\n",
|
| 378 |
+
"# characters/<character_name>.parquet\n",
|
| 379 |
+
"# processed_characters.txt\n",
|
| 380 |
+
"#\n",
|
| 381 |
+
"# OUTPUT COLUMNS:\n",
|
| 382 |
+
"# safe | questionable | explicit\n",
|
| 383 |
+
"#\n",
|
| 384 |
+
"# IMPORTANT:\n",
|
| 385 |
+
"# Each rating is accumulated independently on disk.\n",
|
| 386 |
+
"# Final columns are aligned only AFTER all descriptions are counted.\n",
|
| 387 |
+
"# NULL values occur ONLY at the ends of shorter columns.\n",
|
| 388 |
+
"#\n",
|
| 389 |
+
"# MEMORY:\n",
|
| 390 |
+
"# - Source Parquets remain on disk.\n",
|
| 391 |
+
"# - Source files are read in 25,000-row batches.\n",
|
| 392 |
+
"# - Rating descriptions are spooled to temporary Parquets.\n",
|
| 393 |
+
"# - Final output is assembled in 25,000-row batches.\n",
|
| 394 |
+
"# - No complete source or character dataset is loaded into RAM.\n",
|
| 395 |
+
"#\n",
|
| 396 |
+
"# =============================================================================\n",
|
| 397 |
+
"\n",
|
| 398 |
+
"\n",
|
| 399 |
+
"#@markdown ## Hugging Face configuration\n",
|
| 400 |
+
"\n",
|
| 401 |
+
"REPO_ID = \"codeShare/e621-sections-split\"\n",
|
| 402 |
+
"\n",
|
| 403 |
+
"SOURCE_FOLDER = \"sections\"\n",
|
| 404 |
+
"OUTPUT_FOLDER = \"characters\"\n",
|
| 405 |
+
"\n",
|
| 406 |
+
"PROCESSED_FILE = \"processed_characters.txt\"\n",
|
| 407 |
+
"\n",
|
| 408 |
+
"\n",
|
| 409 |
+
"#@markdown ## Processing configuration\n",
|
| 410 |
+
"\n",
|
| 411 |
+
"CHARACTERS_PER_ITERATION = 50\n",
|
| 412 |
+
"\n",
|
| 413 |
+
"DOWNLOAD_BATCH_SIZE = 5\n",
|
| 414 |
+
"\n",
|
| 415 |
+
"ARROW_BATCH_SIZE = 25000\n",
|
| 416 |
+
"\n",
|
| 417 |
+
"MAX_SECTIONS = 0\n",
|
| 418 |
+
"\n",
|
| 419 |
+
"KEEP_SECTION_CACHE = True\n",
|
| 420 |
+
"\n",
|
| 421 |
+
"WORK_DIR = \"/content/character_pipeline\"\n",
|
| 422 |
+
"\n",
|
| 423 |
+
"\n",
|
| 424 |
+
"# =============================================================================\n",
|
| 425 |
+
"# INSTALL DEPENDENCIES\n",
|
| 426 |
+
"# =============================================================================\n",
|
| 427 |
+
"\n",
|
| 428 |
+
"import os\n",
|
| 429 |
+
"import re\n",
|
| 430 |
+
"import gc\n",
|
| 431 |
+
"import sys\n",
|
| 432 |
+
"import random\n",
|
| 433 |
+
"import hashlib\n",
|
| 434 |
+
"import shutil\n",
|
| 435 |
+
"import subprocess\n",
|
| 436 |
+
"import traceback\n",
|
| 437 |
+
"\n",
|
| 438 |
+
"subprocess.check_call([\n",
|
| 439 |
+
" sys.executable,\n",
|
| 440 |
+
" \"-m\",\n",
|
| 441 |
+
" \"pip\",\n",
|
| 442 |
+
" \"install\",\n",
|
| 443 |
+
" \"-q\",\n",
|
| 444 |
+
" \"-U\",\n",
|
| 445 |
+
" \"huggingface_hub\",\n",
|
| 446 |
+
" \"pyarrow\"\n",
|
| 447 |
+
"])\n",
|
| 448 |
+
"\n",
|
| 449 |
+
"import pyarrow as pa\n",
|
| 450 |
+
"import pyarrow.parquet as pq\n",
|
| 451 |
+
"import pyarrow.compute as pc\n",
|
| 452 |
+
"\n",
|
| 453 |
+
"from huggingface_hub import HfApi, hf_hub_download\n",
|
| 454 |
+
"from huggingface_hub.utils import EntryNotFoundError\n",
|
| 455 |
+
"from google.colab import userdata\n",
|
| 456 |
+
"\n",
|
| 457 |
+
"\n",
|
| 458 |
+
"# =============================================================================\n",
|
| 459 |
+
"# AUTHENTICATION\n",
|
| 460 |
+
"# =============================================================================\n",
|
| 461 |
+
"\n",
|
| 462 |
+
"HF_TOKEN = userdata.get(\"HF_TOKEN\")\n",
|
| 463 |
+
"\n",
|
| 464 |
+
"if not HF_TOKEN:\n",
|
| 465 |
+
" raise ValueError(\"HF_TOKEN missing from Colab Secrets.\")\n",
|
| 466 |
+
"\n",
|
| 467 |
+
"api = HfApi(token=HF_TOKEN)\n",
|
| 468 |
+
"\n",
|
| 469 |
+
"\n",
|
| 470 |
+
"# =============================================================================\n",
|
| 471 |
+
"# DIRECTORIES\n",
|
| 472 |
+
"# =============================================================================\n",
|
| 473 |
+
"\n",
|
| 474 |
+
"SOURCE_DIR = os.path.join(WORK_DIR, \"source\")\n",
|
| 475 |
+
"OUTPUT_DIR = os.path.join(WORK_DIR, \"output\")\n",
|
| 476 |
+
"SPOOL_DIR = os.path.join(WORK_DIR, \"spool\")\n",
|
| 477 |
+
"\n",
|
| 478 |
+
"for directory in [\n",
|
| 479 |
+
" SOURCE_DIR,\n",
|
| 480 |
+
" OUTPUT_DIR,\n",
|
| 481 |
+
" SPOOL_DIR\n",
|
| 482 |
+
"]:\n",
|
| 483 |
+
" os.makedirs(directory, exist_ok=True)\n",
|
| 484 |
+
"\n",
|
| 485 |
+
"\n",
|
| 486 |
+
"# =============================================================================\n",
|
| 487 |
+
"# CONFIGURATION\n",
|
| 488 |
+
"# =============================================================================\n",
|
| 489 |
+
"\n",
|
| 490 |
+
"RATING_MAP = {\n",
|
| 491 |
+
" \"s\": \"safe\",\n",
|
| 492 |
+
" \"q\": \"questionable\",\n",
|
| 493 |
+
" \"e\": \"explicit\"\n",
|
| 494 |
+
"}\n",
|
| 495 |
+
"\n",
|
| 496 |
+
"OUTPUT_COLUMNS = [\n",
|
| 497 |
+
" \"safe\",\n",
|
| 498 |
+
" \"questionable\",\n",
|
| 499 |
+
" \"explicit\"\n",
|
| 500 |
+
"]\n",
|
| 501 |
+
"\n",
|
| 502 |
+
"SPOOL_SCHEMA = pa.schema([\n",
|
| 503 |
+
" pa.field(\"description\", pa.string())\n",
|
| 504 |
+
"])\n",
|
| 505 |
+
"\n",
|
| 506 |
+
"OUTPUT_SCHEMA = pa.schema([\n",
|
| 507 |
+
" pa.field(\"safe\", pa.string()),\n",
|
| 508 |
+
" pa.field(\"questionable\", pa.string()),\n",
|
| 509 |
+
" pa.field(\"explicit\", pa.string())\n",
|
| 510 |
+
"])\n",
|
| 511 |
+
"\n",
|
| 512 |
+
"\n",
|
| 513 |
+
"print(\"=\" * 80)\n",
|
| 514 |
+
"print(\"CHARACTER PARQUET GENERATOR – MINIMUM NULL VERSION\")\n",
|
| 515 |
+
"print(\"=\" * 80)\n",
|
| 516 |
+
"\n",
|
| 517 |
+
"\n",
|
| 518 |
+
"# =============================================================================\n",
|
| 519 |
+
"# LOAD PROCESSED CHARACTER HISTORY\n",
|
| 520 |
+
"# =============================================================================\n",
|
| 521 |
+
"\n",
|
| 522 |
+
"print(\"\\nLoading processed character history...\")\n",
|
| 523 |
+
"\n",
|
| 524 |
+
"processed_path = os.path.join(WORK_DIR, PROCESSED_FILE)\n",
|
| 525 |
+
"\n",
|
| 526 |
+
"try:\n",
|
| 527 |
+
"\n",
|
| 528 |
+
" downloaded_history = hf_hub_download(\n",
|
| 529 |
+
" repo_id=REPO_ID,\n",
|
| 530 |
+
" filename=PROCESSED_FILE,\n",
|
| 531 |
+
" repo_type=\"dataset\",\n",
|
| 532 |
+
" token=HF_TOKEN,\n",
|
| 533 |
+
" local_dir=WORK_DIR\n",
|
| 534 |
+
" )\n",
|
| 535 |
+
"\n",
|
| 536 |
+
" with open(\n",
|
| 537 |
+
" downloaded_history,\n",
|
| 538 |
+
" \"r\",\n",
|
| 539 |
+
" encoding=\"utf-8\"\n",
|
| 540 |
+
" ) as f:\n",
|
| 541 |
+
"\n",
|
| 542 |
+
" processed_characters = set(\n",
|
| 543 |
+
" line.strip()\n",
|
| 544 |
+
" for line in f\n",
|
| 545 |
+
" if line.strip()\n",
|
| 546 |
+
" )\n",
|
| 547 |
+
"\n",
|
| 548 |
+
"except EntryNotFoundError:\n",
|
| 549 |
+
"\n",
|
| 550 |
+
" processed_characters = set()\n",
|
| 551 |
+
"\n",
|
| 552 |
+
"print(\n",
|
| 553 |
+
" f\"Previously processed characters: \"\n",
|
| 554 |
+
" f\"{len(processed_characters):,}\"\n",
|
| 555 |
+
")\n",
|
| 556 |
+
"\n",
|
| 557 |
+
"\n",
|
| 558 |
+
"# =============================================================================\n",
|
| 559 |
+
"# LIST SOURCE PARQUETS\n",
|
| 560 |
+
"# =============================================================================\n",
|
| 561 |
+
"\n",
|
| 562 |
+
"print(\"\\nListing source Parquets...\")\n",
|
| 563 |
+
"\n",
|
| 564 |
+
"repo_files = api.list_repo_files(\n",
|
| 565 |
+
" repo_id=REPO_ID,\n",
|
| 566 |
+
" repo_type=\"dataset\"\n",
|
| 567 |
+
")\n",
|
| 568 |
+
"\n",
|
| 569 |
+
"source_files = sorted([\n",
|
| 570 |
+
" filename\n",
|
| 571 |
+
" for filename in repo_files\n",
|
| 572 |
+
" if filename.startswith(SOURCE_FOLDER + \"/\")\n",
|
| 573 |
+
" and filename.endswith(\".parquet\")\n",
|
| 574 |
+
"])\n",
|
| 575 |
+
"\n",
|
| 576 |
+
"if MAX_SECTIONS > 0:\n",
|
| 577 |
+
" source_files = source_files[:MAX_SECTIONS]\n",
|
| 578 |
+
"\n",
|
| 579 |
+
"if not source_files:\n",
|
| 580 |
+
" raise RuntimeError(\"No source Parquets found.\")\n",
|
| 581 |
+
"\n",
|
| 582 |
+
"print(f\"Available sections: {len(source_files)}\")\n",
|
| 583 |
+
"\n",
|
| 584 |
+
"\n",
|
| 585 |
+
"# =============================================================================\n",
|
| 586 |
+
"# DISK CACHE\n",
|
| 587 |
+
"# =============================================================================\n",
|
| 588 |
+
"\n",
|
| 589 |
+
"def cache_path_for(filename):\n",
|
| 590 |
+
"\n",
|
| 591 |
+
" return os.path.join(\n",
|
| 592 |
+
" SOURCE_DIR,\n",
|
| 593 |
+
" filename\n",
|
| 594 |
+
" )\n",
|
| 595 |
+
"\n",
|
| 596 |
+
"\n",
|
| 597 |
+
"def get_cached_section(filename):\n",
|
| 598 |
+
"\n",
|
| 599 |
+
" path = cache_path_for(filename)\n",
|
| 600 |
+
"\n",
|
| 601 |
+
" if os.path.isfile(path):\n",
|
| 602 |
+
" return path\n",
|
| 603 |
+
"\n",
|
| 604 |
+
" return None\n",
|
| 605 |
+
"\n",
|
| 606 |
+
"\n",
|
| 607 |
+
"def download_section(filename):\n",
|
| 608 |
+
"\n",
|
| 609 |
+
" local_path = cache_path_for(filename)\n",
|
| 610 |
+
"\n",
|
| 611 |
+
" if os.path.isfile(local_path):\n",
|
| 612 |
+
" return local_path\n",
|
| 613 |
+
"\n",
|
| 614 |
+
" print(f\"Downloading: {filename}\")\n",
|
| 615 |
+
"\n",
|
| 616 |
+
" downloaded_path = hf_hub_download(\n",
|
| 617 |
+
" repo_id=REPO_ID,\n",
|
| 618 |
+
" filename=filename,\n",
|
| 619 |
+
" repo_type=\"dataset\",\n",
|
| 620 |
+
" token=HF_TOKEN,\n",
|
| 621 |
+
" local_dir=SOURCE_DIR\n",
|
| 622 |
+
" )\n",
|
| 623 |
+
"\n",
|
| 624 |
+
" # Verify downloaded Parquet.\n",
|
| 625 |
+
" parquet = pq.ParquetFile(downloaded_path)\n",
|
| 626 |
+
"\n",
|
| 627 |
+
" row_count = parquet.metadata.num_rows\n",
|
| 628 |
+
"\n",
|
| 629 |
+
" del parquet\n",
|
| 630 |
+
"\n",
|
| 631 |
+
" # Normalize the cache location.\n",
|
| 632 |
+
" # huggingface_hub preserves repository subdirectories.\n",
|
| 633 |
+
" if downloaded_path != local_path:\n",
|
| 634 |
+
"\n",
|
| 635 |
+
" os.makedirs(\n",
|
| 636 |
+
" os.path.dirname(local_path),\n",
|
| 637 |
+
" exist_ok=True\n",
|
| 638 |
+
" )\n",
|
| 639 |
+
"\n",
|
| 640 |
+
" if not os.path.exists(local_path):\n",
|
| 641 |
+
" shutil.copy2(\n",
|
| 642 |
+
" downloaded_path,\n",
|
| 643 |
+
" local_path\n",
|
| 644 |
+
" )\n",
|
| 645 |
+
"\n",
|
| 646 |
+
" print(\n",
|
| 647 |
+
" f\"Cached: {filename} \"\n",
|
| 648 |
+
" f\"({row_count:,} rows)\"\n",
|
| 649 |
+
" )\n",
|
| 650 |
+
"\n",
|
| 651 |
+
" return local_path\n",
|
| 652 |
+
"\n",
|
| 653 |
+
"\n",
|
| 654 |
+
"# =============================================================================\n",
|
| 655 |
+
"# FIND EXISTING CACHED SECTIONS\n",
|
| 656 |
+
"# =============================================================================\n",
|
| 657 |
+
"\n",
|
| 658 |
+
"cached_sections = {}\n",
|
| 659 |
+
"\n",
|
| 660 |
+
"for filename in source_files:\n",
|
| 661 |
+
"\n",
|
| 662 |
+
" cached = get_cached_section(filename)\n",
|
| 663 |
+
"\n",
|
| 664 |
+
" if cached:\n",
|
| 665 |
+
" cached_sections[filename] = cached\n",
|
| 666 |
+
"\n",
|
| 667 |
+
"print(\n",
|
| 668 |
+
" f\"\\nCached sections: \"\n",
|
| 669 |
+
" f\"{len(cached_sections)}/{len(source_files)}\"\n",
|
| 670 |
+
")\n",
|
| 671 |
+
"\n",
|
| 672 |
+
"\n",
|
| 673 |
+
"# =============================================================================\n",
|
| 674 |
+
"# RANDOMLY SELECT UNPROCESSED CHARACTERS\n",
|
| 675 |
+
"# =============================================================================\n",
|
| 676 |
+
"\n",
|
| 677 |
+
"print(\"\\nDiscovering characters...\")\n",
|
| 678 |
+
"\n",
|
| 679 |
+
"candidate_characters = set()\n",
|
| 680 |
+
"\n",
|
| 681 |
+
"randomized_files = source_files.copy()\n",
|
| 682 |
+
"random.shuffle(randomized_files)\n",
|
| 683 |
+
"\n",
|
| 684 |
+
"for group_start in range(\n",
|
| 685 |
+
" 0,\n",
|
| 686 |
+
" len(randomized_files),\n",
|
| 687 |
+
" DOWNLOAD_BATCH_SIZE\n",
|
| 688 |
+
"):\n",
|
| 689 |
+
"\n",
|
| 690 |
+
" group = randomized_files[\n",
|
| 691 |
+
" group_start:group_start + DOWNLOAD_BATCH_SIZE\n",
|
| 692 |
+
" ]\n",
|
| 693 |
+
"\n",
|
| 694 |
+
" # Download missing sections in groups of three.\n",
|
| 695 |
+
" for filename in group:\n",
|
| 696 |
+
"\n",
|
| 697 |
+
" if filename not in cached_sections:\n",
|
| 698 |
+
"\n",
|
| 699 |
+
" cached_sections[filename] = download_section(\n",
|
| 700 |
+
" filename\n",
|
| 701 |
+
" )\n",
|
| 702 |
+
"\n",
|
| 703 |
+
" # Read only the character column.\n",
|
| 704 |
+
" for filename in group:\n",
|
| 705 |
+
"\n",
|
| 706 |
+
" parquet = pq.ParquetFile(\n",
|
| 707 |
+
" cached_sections[filename]\n",
|
| 708 |
+
" )\n",
|
| 709 |
+
"\n",
|
| 710 |
+
" for batch in parquet.iter_batches(\n",
|
| 711 |
+
" batch_size=ARROW_BATCH_SIZE,\n",
|
| 712 |
+
" columns=[\"character\"]\n",
|
| 713 |
+
" ):\n",
|
| 714 |
+
"\n",
|
| 715 |
+
" for name in batch.column(0).to_pylist():\n",
|
| 716 |
+
"\n",
|
| 717 |
+
" if (\n",
|
| 718 |
+
" name\n",
|
| 719 |
+
" and name not in processed_characters\n",
|
| 720 |
+
" ):\n",
|
| 721 |
+
" candidate_characters.add(name)\n",
|
| 722 |
+
"\n",
|
| 723 |
+
" del batch\n",
|
| 724 |
+
"\n",
|
| 725 |
+
" if len(candidate_characters) >= CHARACTERS_PER_ITERATION:\n",
|
| 726 |
+
" break\n",
|
| 727 |
+
"\n",
|
| 728 |
+
" del parquet\n",
|
| 729 |
+
" gc.collect()\n",
|
| 730 |
+
"\n",
|
| 731 |
+
" if len(candidate_characters) >= CHARACTERS_PER_ITERATION:\n",
|
| 732 |
+
" break\n",
|
| 733 |
+
"\n",
|
| 734 |
+
" if len(candidate_characters) >= CHARACTERS_PER_ITERATION:\n",
|
| 735 |
+
" break\n",
|
| 736 |
+
"\n",
|
| 737 |
+
"\n",
|
| 738 |
+
"if len(candidate_characters) < CHARACTERS_PER_ITERATION:\n",
|
| 739 |
+
"\n",
|
| 740 |
+
" raise RuntimeError(\n",
|
| 741 |
+
" \"Not enough unprocessed characters found.\"\n",
|
| 742 |
+
" )\n",
|
| 743 |
+
"\n",
|
| 744 |
+
"\n",
|
| 745 |
+
"selected_characters = random.sample(\n",
|
| 746 |
+
" list(candidate_characters),\n",
|
| 747 |
+
" CHARACTERS_PER_ITERATION\n",
|
| 748 |
+
")\n",
|
| 749 |
+
"\n",
|
| 750 |
+
"print(\"\\nSelected characters:\")\n",
|
| 751 |
+
"\n",
|
| 752 |
+
"for character in selected_characters:\n",
|
| 753 |
+
" print(\" +\", character)\n",
|
| 754 |
+
"\n",
|
| 755 |
+
"\n",
|
| 756 |
+
"# =============================================================================\n",
|
| 757 |
+
"# CHARACTER IDENTIFIERS AND SPOOL FILES\n",
|
| 758 |
+
"# =============================================================================\n",
|
| 759 |
+
"\n",
|
| 760 |
+
"character_paths = {}\n",
|
| 761 |
+
"\n",
|
| 762 |
+
"character_spools = {}\n",
|
| 763 |
+
"\n",
|
| 764 |
+
"spool_writers = {}\n",
|
| 765 |
+
"\n",
|
| 766 |
+
"character_counts = {}\n",
|
| 767 |
+
"\n",
|
| 768 |
+
"character_destinations = {}\n",
|
| 769 |
+
"\n",
|
| 770 |
+
"for character in selected_characters:\n",
|
| 771 |
+
"\n",
|
| 772 |
+
" slug = re.sub(\n",
|
| 773 |
+
" r\"[^a-zA-Z0-9_-]+\",\n",
|
| 774 |
+
" \"_\",\n",
|
| 775 |
+
" character\n",
|
| 776 |
+
" ).strip(\"_\").lower()\n",
|
| 777 |
+
"\n",
|
| 778 |
+
" suffix = hashlib.sha1(\n",
|
| 779 |
+
" character.encode(\"utf-8\")\n",
|
| 780 |
+
" ).hexdigest()[:8]\n",
|
| 781 |
+
"\n",
|
| 782 |
+
" filename = f\"{slug}_{suffix}.parquet\"\n",
|
| 783 |
+
"\n",
|
| 784 |
+
" character_paths[character] = os.path.join(\n",
|
| 785 |
+
" OUTPUT_DIR,\n",
|
| 786 |
+
" filename\n",
|
| 787 |
+
" )\n",
|
| 788 |
+
"\n",
|
| 789 |
+
" character_destinations[character] = (\n",
|
| 790 |
+
" f\"{OUTPUT_FOLDER}/{filename}\"\n",
|
| 791 |
+
" )\n",
|
| 792 |
+
"\n",
|
| 793 |
+
" character_spools[character] = {}\n",
|
| 794 |
+
"\n",
|
| 795 |
+
" spool_writers[character] = {}\n",
|
| 796 |
+
"\n",
|
| 797 |
+
" character_counts[character] = {\n",
|
| 798 |
+
" \"safe\": 0,\n",
|
| 799 |
+
" \"questionable\": 0,\n",
|
| 800 |
+
" \"explicit\": 0\n",
|
| 801 |
+
" }\n",
|
| 802 |
+
"\n",
|
| 803 |
+
" for category in OUTPUT_COLUMNS:\n",
|
| 804 |
+
"\n",
|
| 805 |
+
" spool_path = os.path.join(\n",
|
| 806 |
+
" SPOOL_DIR,\n",
|
| 807 |
+
" f\"{suffix}_{category}.parquet\"\n",
|
| 808 |
+
" )\n",
|
| 809 |
+
"\n",
|
| 810 |
+
" character_spools[character][category] = spool_path\n",
|
| 811 |
+
"\n",
|
| 812 |
+
" spool_writers[character][category] = None\n",
|
| 813 |
+
"\n",
|
| 814 |
+
"\n",
|
| 815 |
+
"# =============================================================================\n",
|
| 816 |
+
"# PROCESS SOURCE ARROW BATCH\n",
|
| 817 |
+
"#\n",
|
| 818 |
+
"# IMPORTANT:\n",
|
| 819 |
+
"# No padding takes place here.\n",
|
| 820 |
+
"#\n",
|
| 821 |
+
"# Every rating is written to its own temporary Parquet.\n",
|
| 822 |
+
"# This preserves its independent row count.\n",
|
| 823 |
+
"# =============================================================================\n",
|
| 824 |
+
"\n",
|
| 825 |
+
"def process_arrow_batch(batch):\n",
|
| 826 |
+
"\n",
|
| 827 |
+
" character_array = batch.column(\n",
|
| 828 |
+
" batch.schema.get_field_index(\"character\")\n",
|
| 829 |
+
" )\n",
|
| 830 |
+
"\n",
|
| 831 |
+
" rating_array = batch.column(\n",
|
| 832 |
+
" batch.schema.get_field_index(\"rating\")\n",
|
| 833 |
+
" )\n",
|
| 834 |
+
"\n",
|
| 835 |
+
" description_array = batch.column(\n",
|
| 836 |
+
" batch.schema.get_field_index(\"description\")\n",
|
| 837 |
+
" )\n",
|
| 838 |
+
"\n",
|
| 839 |
+
" for character in selected_characters:\n",
|
| 840 |
+
"\n",
|
| 841 |
+
" character_mask = pc.equal(\n",
|
| 842 |
+
" character_array,\n",
|
| 843 |
+
" pa.scalar(character)\n",
|
| 844 |
+
" )\n",
|
| 845 |
+
"\n",
|
| 846 |
+
" for rating, category in RATING_MAP.items():\n",
|
| 847 |
+
"\n",
|
| 848 |
+
" rating_mask = pc.equal(\n",
|
| 849 |
+
" rating_array,\n",
|
| 850 |
+
" pa.scalar(rating)\n",
|
| 851 |
+
" )\n",
|
| 852 |
+
"\n",
|
| 853 |
+
" combined_mask = pc.and_(\n",
|
| 854 |
+
" character_mask,\n",
|
| 855 |
+
" rating_mask\n",
|
| 856 |
+
" )\n",
|
| 857 |
+
"\n",
|
| 858 |
+
" filtered = pc.filter(\n",
|
| 859 |
+
" description_array,\n",
|
| 860 |
+
" combined_mask\n",
|
| 861 |
+
" )\n",
|
| 862 |
+
"\n",
|
| 863 |
+
" count = len(filtered)\n",
|
| 864 |
+
"\n",
|
| 865 |
+
" if count == 0:\n",
|
| 866 |
+
"\n",
|
| 867 |
+
" del filtered\n",
|
| 868 |
+
" continue\n",
|
| 869 |
+
"\n",
|
| 870 |
+
" # Update exact category count.\n",
|
| 871 |
+
" character_counts[character][category] += count\n",
|
| 872 |
+
"\n",
|
| 873 |
+
" # Write only actual descriptions.\n",
|
| 874 |
+
" # NO NULL VALUES ARE INTRODUCED.\n",
|
| 875 |
+
" table = pa.Table.from_arrays(\n",
|
| 876 |
+
" [filtered],\n",
|
| 877 |
+
" schema=SPOOL_SCHEMA\n",
|
| 878 |
+
" )\n",
|
| 879 |
+
"\n",
|
| 880 |
+
" if spool_writers[character][category] is None:\n",
|
| 881 |
+
"\n",
|
| 882 |
+
" spool_writers[character][category] = (\n",
|
| 883 |
+
" pq.ParquetWriter(\n",
|
| 884 |
+
" character_spools[character][category],\n",
|
| 885 |
+
" SPOOL_SCHEMA,\n",
|
| 886 |
+
" compression=\"zstd\",\n",
|
| 887 |
+
" compression_level=3\n",
|
| 888 |
+
" )\n",
|
| 889 |
+
" )\n",
|
| 890 |
+
"\n",
|
| 891 |
+
" spool_writers[character][category].write_table(\n",
|
| 892 |
+
" table\n",
|
| 893 |
+
" )\n",
|
| 894 |
+
"\n",
|
| 895 |
+
" del filtered\n",
|
| 896 |
+
" del table\n",
|
| 897 |
+
"\n",
|
| 898 |
+
"\n",
|
| 899 |
+
"# =============================================================================\n",
|
| 900 |
+
"# PROCESS CACHED SOURCE SECTION\n",
|
| 901 |
+
"# =============================================================================\n",
|
| 902 |
+
"\n",
|
| 903 |
+
"def process_source_file(filename, local_path):\n",
|
| 904 |
+
"\n",
|
| 905 |
+
" print(f\"\\nProcessing: {filename}\")\n",
|
| 906 |
+
"\n",
|
| 907 |
+
" parquet = pq.ParquetFile(local_path)\n",
|
| 908 |
+
"\n",
|
| 909 |
+
" total_rows = 0\n",
|
| 910 |
+
"\n",
|
| 911 |
+
" for batch in parquet.iter_batches(\n",
|
| 912 |
+
" batch_size=ARROW_BATCH_SIZE,\n",
|
| 913 |
+
" columns=[\n",
|
| 914 |
+
" \"character\",\n",
|
| 915 |
+
" \"rating\",\n",
|
| 916 |
+
" \"description\"\n",
|
| 917 |
+
" ]\n",
|
| 918 |
+
" ):\n",
|
| 919 |
+
"\n",
|
| 920 |
+
" process_arrow_batch(batch)\n",
|
| 921 |
+
"\n",
|
| 922 |
+
" total_rows += batch.num_rows\n",
|
| 923 |
+
"\n",
|
| 924 |
+
" del batch\n",
|
| 925 |
+
"\n",
|
| 926 |
+
" print(f\"Rows scanned: {total_rows:,}\")\n",
|
| 927 |
+
"\n",
|
| 928 |
+
" del parquet\n",
|
| 929 |
+
"\n",
|
| 930 |
+
" gc.collect()\n",
|
| 931 |
+
"\n",
|
| 932 |
+
" # Source Parquet remains on disk.\n",
|
| 933 |
+
"\n",
|
| 934 |
+
"\n",
|
| 935 |
+
"# =============================================================================\n",
|
| 936 |
+
"# SCAN ALL SOURCE SECTIONS\n",
|
| 937 |
+
"# =============================================================================\n",
|
| 938 |
+
"\n",
|
| 939 |
+
"print(\"\\n\" + \"=\" * 80)\n",
|
| 940 |
+
"print(\"SCANNING SOURCE SECTIONS\")\n",
|
| 941 |
+
"print(\"=\" * 80)\n",
|
| 942 |
+
"\n",
|
| 943 |
+
"try:\n",
|
| 944 |
+
"\n",
|
| 945 |
+
" for group_start in range(\n",
|
| 946 |
+
" 0,\n",
|
| 947 |
+
" len(source_files),\n",
|
| 948 |
+
" DOWNLOAD_BATCH_SIZE\n",
|
| 949 |
+
" ):\n",
|
| 950 |
+
"\n",
|
| 951 |
+
" group = source_files[\n",
|
| 952 |
+
" group_start:group_start + DOWNLOAD_BATCH_SIZE\n",
|
| 953 |
+
" ]\n",
|
| 954 |
+
"\n",
|
| 955 |
+
" print(\n",
|
| 956 |
+
" f\"\\nSection group \"\n",
|
| 957 |
+
" f\"{group_start // DOWNLOAD_BATCH_SIZE + 1}\"\n",
|
| 958 |
+
" )\n",
|
| 959 |
+
"\n",
|
| 960 |
+
" # Download missing sections.\n",
|
| 961 |
+
" for filename in group:\n",
|
| 962 |
+
"\n",
|
| 963 |
+
" if filename not in cached_sections:\n",
|
| 964 |
+
"\n",
|
| 965 |
+
" cached_sections[filename] = download_section(\n",
|
| 966 |
+
" filename\n",
|
| 967 |
+
" )\n",
|
| 968 |
+
"\n",
|
| 969 |
+
" # Process one file at a time.\n",
|
| 970 |
+
" for filename in group:\n",
|
| 971 |
+
"\n",
|
| 972 |
+
" process_source_file(\n",
|
| 973 |
+
" filename,\n",
|
| 974 |
+
" cached_sections[filename]\n",
|
| 975 |
+
" )\n",
|
| 976 |
+
"\n",
|
| 977 |
+
" gc.collect()\n",
|
| 978 |
+
"\n",
|
| 979 |
+
"\n",
|
| 980 |
+
"except Exception:\n",
|
| 981 |
+
"\n",
|
| 982 |
+
" print(\"\\nSOURCE PROCESSING ERROR\")\n",
|
| 983 |
+
"\n",
|
| 984 |
+
" traceback.print_exc()\n",
|
| 985 |
+
"\n",
|
| 986 |
+
" for character in selected_characters:\n",
|
| 987 |
+
"\n",
|
| 988 |
+
" for writer in spool_writers[character].values():\n",
|
| 989 |
+
"\n",
|
| 990 |
+
" if writer is not None:\n",
|
| 991 |
+
" writer.close()\n",
|
| 992 |
+
"\n",
|
| 993 |
+
" raise\n",
|
| 994 |
+
"\n",
|
| 995 |
+
"\n",
|
| 996 |
+
"# =============================================================================\n",
|
| 997 |
+
"# CLOSE ALL TEMPORARY SPOOL WRITERS\n",
|
| 998 |
+
"# =============================================================================\n",
|
| 999 |
+
"\n",
|
| 1000 |
+
"print(\"\\nClosing temporary rating files...\")\n",
|
| 1001 |
+
"\n",
|
| 1002 |
+
"for character in selected_characters:\n",
|
| 1003 |
+
"\n",
|
| 1004 |
+
" for category in OUTPUT_COLUMNS:\n",
|
| 1005 |
+
"\n",
|
| 1006 |
+
" writer = spool_writers[character][category]\n",
|
| 1007 |
+
"\n",
|
| 1008 |
+
" if writer is not None:\n",
|
| 1009 |
+
"\n",
|
| 1010 |
+
" writer.close()\n",
|
| 1011 |
+
"\n",
|
| 1012 |
+
" spool_writers[character][category] = None\n",
|
| 1013 |
+
"\n",
|
| 1014 |
+
"\n",
|
| 1015 |
+
"# =============================================================================\n",
|
| 1016 |
+
"# STREAMING VALUE READER\n",
|
| 1017 |
+
"#\n",
|
| 1018 |
+
"# Reads descriptions from temporary Parquets without loading\n",
|
| 1019 |
+
"# complete category files into RAM.\n",
|
| 1020 |
+
"# =============================================================================\n",
|
| 1021 |
+
"\n",
|
| 1022 |
+
"def description_generator(path):\n",
|
| 1023 |
+
"\n",
|
| 1024 |
+
" if not os.path.isfile(path):\n",
|
| 1025 |
+
" return\n",
|
| 1026 |
+
"\n",
|
| 1027 |
+
" parquet = pq.ParquetFile(path)\n",
|
| 1028 |
+
"\n",
|
| 1029 |
+
" for batch in parquet.iter_batches(\n",
|
| 1030 |
+
" batch_size=ARROW_BATCH_SIZE,\n",
|
| 1031 |
+
" columns=[\"description\"]\n",
|
| 1032 |
+
" ):\n",
|
| 1033 |
+
"\n",
|
| 1034 |
+
" values = batch.column(0).to_pylist()\n",
|
| 1035 |
+
"\n",
|
| 1036 |
+
" for value in values:\n",
|
| 1037 |
+
" yield value\n",
|
| 1038 |
+
"\n",
|
| 1039 |
+
" del values\n",
|
| 1040 |
+
" del batch\n",
|
| 1041 |
+
"\n",
|
| 1042 |
+
" del parquet\n",
|
| 1043 |
+
"\n",
|
| 1044 |
+
"\n",
|
| 1045 |
+
"def take_values(generator, amount):\n",
|
| 1046 |
+
"\n",
|
| 1047 |
+
" result = []\n",
|
| 1048 |
+
"\n",
|
| 1049 |
+
" for _ in range(amount):\n",
|
| 1050 |
+
"\n",
|
| 1051 |
+
" try:\n",
|
| 1052 |
+
" result.append(next(generator))\n",
|
| 1053 |
+
"\n",
|
| 1054 |
+
" except StopIteration:\n",
|
| 1055 |
+
" break\n",
|
| 1056 |
+
"\n",
|
| 1057 |
+
" return result\n",
|
| 1058 |
+
"\n",
|
| 1059 |
+
"\n",
|
| 1060 |
+
"# =============================================================================\n",
|
| 1061 |
+
"# ASSEMBLE FINAL CHARACTER PARQUETS\n",
|
| 1062 |
+
"#\n",
|
| 1063 |
+
"# Each column is independently streamed.\n",
|
| 1064 |
+
"#\n",
|
| 1065 |
+
"# Output row count:\n",
|
| 1066 |
+
"# max(safe_count, questionable_count, explicit_count)\n",
|
| 1067 |
+
"#\n",
|
| 1068 |
+
"# Nulls:\n",
|
| 1069 |
+
"# Only the remaining positions of shorter columns.\n",
|
| 1070 |
+
"#\n",
|
| 1071 |
+
"# This produces the mathematically minimum possible NULL count.\n",
|
| 1072 |
+
"# =============================================================================\n",
|
| 1073 |
+
"\n",
|
| 1074 |
+
"print(\"\\n\" + \"=\" * 80)\n",
|
| 1075 |
+
"print(\"ASSEMBLING MINIMUM-NULL CHARACTER PARQUETS\")\n",
|
| 1076 |
+
"print(\"=\" * 80)\n",
|
| 1077 |
+
"\n",
|
| 1078 |
+
"for character in selected_characters:\n",
|
| 1079 |
+
"\n",
|
| 1080 |
+
" counts = character_counts[character]\n",
|
| 1081 |
+
"\n",
|
| 1082 |
+
" max_rows = max(counts.values())\n",
|
| 1083 |
+
"\n",
|
| 1084 |
+
" if max_rows == 0:\n",
|
| 1085 |
+
"\n",
|
| 1086 |
+
" raise RuntimeError(\n",
|
| 1087 |
+
" f\"No valid ratings found for {character}.\"\n",
|
| 1088 |
+
" )\n",
|
| 1089 |
+
"\n",
|
| 1090 |
+
" minimum_nulls = (\n",
|
| 1091 |
+
" 3 * max_rows - sum(counts.values())\n",
|
| 1092 |
+
" )\n",
|
| 1093 |
+
"\n",
|
| 1094 |
+
" print(\"\\nCharacter:\", character)\n",
|
| 1095 |
+
"\n",
|
| 1096 |
+
" print(\"Safe:\", f\"{counts['safe']:,}\")\n",
|
| 1097 |
+
" print(\"Questionable:\", f\"{counts['questionable']:,}\")\n",
|
| 1098 |
+
" print(\"Explicit:\", f\"{counts['explicit']:,}\")\n",
|
| 1099 |
+
"\n",
|
| 1100 |
+
" print(\"Output rows:\", f\"{max_rows:,}\")\n",
|
| 1101 |
+
"\n",
|
| 1102 |
+
" print(\"Minimum NULL values:\", f\"{minimum_nulls:,}\")\n",
|
| 1103 |
+
"\n",
|
| 1104 |
+
" generators = {}\n",
|
| 1105 |
+
"\n",
|
| 1106 |
+
" for category in OUTPUT_COLUMNS:\n",
|
| 1107 |
+
"\n",
|
| 1108 |
+
" generators[category] = description_generator(\n",
|
| 1109 |
+
" character_spools[character][category]\n",
|
| 1110 |
+
" )\n",
|
| 1111 |
+
"\n",
|
| 1112 |
+
" output_path = character_paths[character]\n",
|
| 1113 |
+
"\n",
|
| 1114 |
+
" output_writer = pq.ParquetWriter(\n",
|
| 1115 |
+
" output_path,\n",
|
| 1116 |
+
" OUTPUT_SCHEMA,\n",
|
| 1117 |
+
" compression=\"zstd\",\n",
|
| 1118 |
+
" compression_level=3\n",
|
| 1119 |
+
" )\n",
|
| 1120 |
+
"\n",
|
| 1121 |
+
" try:\n",
|
| 1122 |
+
"\n",
|
| 1123 |
+
" rows_written = 0\n",
|
| 1124 |
+
"\n",
|
| 1125 |
+
" while rows_written < max_rows:\n",
|
| 1126 |
+
"\n",
|
| 1127 |
+
" chunk_size = min(\n",
|
| 1128 |
+
" ARROW_BATCH_SIZE,\n",
|
| 1129 |
+
" max_rows - rows_written\n",
|
| 1130 |
+
" )\n",
|
| 1131 |
+
"\n",
|
| 1132 |
+
" columns = {}\n",
|
| 1133 |
+
"\n",
|
| 1134 |
+
" for category in OUTPUT_COLUMNS:\n",
|
| 1135 |
+
"\n",
|
| 1136 |
+
" values = take_values(\n",
|
| 1137 |
+
" generators[category],\n",
|
| 1138 |
+
" chunk_size\n",
|
| 1139 |
+
" )\n",
|
| 1140 |
+
"\n",
|
| 1141 |
+
" # Pad ONLY after the actual category data ends.\n",
|
| 1142 |
+
" if len(values) < chunk_size:\n",
|
| 1143 |
+
"\n",
|
| 1144 |
+
" values.extend(\n",
|
| 1145 |
+
" [None] * (chunk_size - len(values))\n",
|
| 1146 |
+
" )\n",
|
| 1147 |
+
"\n",
|
| 1148 |
+
" columns[category] = pa.array(\n",
|
| 1149 |
+
" values,\n",
|
| 1150 |
+
" type=pa.string()\n",
|
| 1151 |
+
" )\n",
|
| 1152 |
+
"\n",
|
| 1153 |
+
" del values\n",
|
| 1154 |
+
"\n",
|
| 1155 |
+
" table = pa.Table.from_pydict(\n",
|
| 1156 |
+
" columns,\n",
|
| 1157 |
+
" schema=OUTPUT_SCHEMA\n",
|
| 1158 |
+
" )\n",
|
| 1159 |
+
"\n",
|
| 1160 |
+
" output_writer.write_table(\n",
|
| 1161 |
+
" table,\n",
|
| 1162 |
+
" row_group_size=chunk_size\n",
|
| 1163 |
+
" )\n",
|
| 1164 |
+
"\n",
|
| 1165 |
+
" rows_written += chunk_size\n",
|
| 1166 |
+
"\n",
|
| 1167 |
+
" del table\n",
|
| 1168 |
+
" del columns\n",
|
| 1169 |
+
"\n",
|
| 1170 |
+
" output_writer.close()\n",
|
| 1171 |
+
"\n",
|
| 1172 |
+
" print(\n",
|
| 1173 |
+
" f\"Finalized: {rows_written:,} rows\"\n",
|
| 1174 |
+
" )\n",
|
| 1175 |
+
"\n",
|
| 1176 |
+
" except Exception:\n",
|
| 1177 |
+
"\n",
|
| 1178 |
+
" output_writer.close()\n",
|
| 1179 |
+
"\n",
|
| 1180 |
+
" raise\n",
|
| 1181 |
+
"\n",
|
| 1182 |
+
" del generators\n",
|
| 1183 |
+
" gc.collect()\n",
|
| 1184 |
+
"\n",
|
| 1185 |
+
"\n",
|
| 1186 |
+
"# =============================================================================\n",
|
| 1187 |
+
"# VERIFY FINAL PARQUET NULL COUNTS\n",
|
| 1188 |
+
"# =============================================================================\n",
|
| 1189 |
+
"\n",
|
| 1190 |
+
"print(\"\\n\" + \"=\" * 80)\n",
|
| 1191 |
+
"print(\"VERIFYING OUTPUT PARQUETS\")\n",
|
| 1192 |
+
"print(\"=\" * 80)\n",
|
| 1193 |
+
"\n",
|
| 1194 |
+
"for character in selected_characters:\n",
|
| 1195 |
+
"\n",
|
| 1196 |
+
" path = character_paths[character]\n",
|
| 1197 |
+
"\n",
|
| 1198 |
+
" parquet = pq.ParquetFile(path)\n",
|
| 1199 |
+
"\n",
|
| 1200 |
+
" actual_rows = parquet.metadata.num_rows\n",
|
| 1201 |
+
"\n",
|
| 1202 |
+
" actual_nulls = {\n",
|
| 1203 |
+
" \"safe\": 0,\n",
|
| 1204 |
+
" \"questionable\": 0,\n",
|
| 1205 |
+
" \"explicit\": 0\n",
|
| 1206 |
+
" }\n",
|
| 1207 |
+
"\n",
|
| 1208 |
+
" for batch in parquet.iter_batches(\n",
|
| 1209 |
+
" batch_size=ARROW_BATCH_SIZE\n",
|
| 1210 |
+
" ):\n",
|
| 1211 |
+
"\n",
|
| 1212 |
+
" for category in OUTPUT_COLUMNS:\n",
|
| 1213 |
+
"\n",
|
| 1214 |
+
" column = batch.column(\n",
|
| 1215 |
+
" batch.schema.get_field_index(category)\n",
|
| 1216 |
+
" )\n",
|
| 1217 |
+
"\n",
|
| 1218 |
+
" actual_nulls[category] += (\n",
|
| 1219 |
+
" column.null_count\n",
|
| 1220 |
+
" )\n",
|
| 1221 |
+
"\n",
|
| 1222 |
+
" del batch\n",
|
| 1223 |
+
"\n",
|
| 1224 |
+
" expected_rows = max(\n",
|
| 1225 |
+
" character_counts[character].values()\n",
|
| 1226 |
+
" )\n",
|
| 1227 |
+
"\n",
|
| 1228 |
+
" expected_nulls = (\n",
|
| 1229 |
+
" 3 * expected_rows\n",
|
| 1230 |
+
" - sum(character_counts[character].values())\n",
|
| 1231 |
+
" )\n",
|
| 1232 |
+
"\n",
|
| 1233 |
+
" total_actual_nulls = sum(\n",
|
| 1234 |
+
" actual_nulls.values()\n",
|
| 1235 |
+
" )\n",
|
| 1236 |
+
"\n",
|
| 1237 |
+
" print(f\"\\n{character}\")\n",
|
| 1238 |
+
"\n",
|
| 1239 |
+
" print(\"Rows:\", actual_rows)\n",
|
| 1240 |
+
"\n",
|
| 1241 |
+
" print(\"NULLs per column:\", actual_nulls)\n",
|
| 1242 |
+
"\n",
|
| 1243 |
+
" print(\"Actual total NULLs:\", total_actual_nulls)\n",
|
| 1244 |
+
"\n",
|
| 1245 |
+
" print(\"Theoretical minimum:\", expected_nulls)\n",
|
| 1246 |
+
"\n",
|
| 1247 |
+
" if actual_rows != expected_rows:\n",
|
| 1248 |
+
"\n",
|
| 1249 |
+
" raise RuntimeError(\n",
|
| 1250 |
+
" f\"Row count verification failed for {character}\"\n",
|
| 1251 |
+
" )\n",
|
| 1252 |
+
"\n",
|
| 1253 |
+
" if total_actual_nulls != expected_nulls:\n",
|
| 1254 |
+
"\n",
|
| 1255 |
+
" raise RuntimeError(\n",
|
| 1256 |
+
" f\"NULL count verification failed for {character}\"\n",
|
| 1257 |
+
" )\n",
|
| 1258 |
+
"\n",
|
| 1259 |
+
" del parquet\n",
|
| 1260 |
+
"\n",
|
| 1261 |
+
"print(\"\\nAll character Parquets passed NULL verification.\")\n",
|
| 1262 |
+
"\n",
|
| 1263 |
+
"\n",
|
| 1264 |
+
"# =============================================================================\n",
|
| 1265 |
+
"# UPLOAD CHARACTER PARQUETS\n",
|
| 1266 |
+
"# =============================================================================\n",
|
| 1267 |
+
"\n",
|
| 1268 |
+
"print(\"\\n\" + \"=\" * 80)\n",
|
| 1269 |
+
"print(\"UPLOADING CHARACTER PARQUETS\")\n",
|
| 1270 |
+
"print(\"=\" * 80)\n",
|
| 1271 |
+
"\n",
|
| 1272 |
+
"uploaded_characters = []\n",
|
| 1273 |
+
"\n",
|
| 1274 |
+
"for character in selected_characters:\n",
|
| 1275 |
+
"\n",
|
| 1276 |
+
" local_path = character_paths[character]\n",
|
| 1277 |
+
"\n",
|
| 1278 |
+
" destination = character_destinations[character]\n",
|
| 1279 |
+
"\n",
|
| 1280 |
+
" print(\"\\nUploading:\", character)\n",
|
| 1281 |
+
"\n",
|
| 1282 |
+
" api.upload_file(\n",
|
| 1283 |
+
" path_or_fileobj=local_path,\n",
|
| 1284 |
+
" path_in_repo=destination,\n",
|
| 1285 |
+
" repo_id=REPO_ID,\n",
|
| 1286 |
+
" repo_type=\"dataset\",\n",
|
| 1287 |
+
" token=HF_TOKEN,\n",
|
| 1288 |
+
" commit_message=(\n",
|
| 1289 |
+
" f\"Add minimum-null character dataset: {character}\"\n",
|
| 1290 |
+
" )\n",
|
| 1291 |
+
" )\n",
|
| 1292 |
+
"\n",
|
| 1293 |
+
" uploaded_characters.append(character)\n",
|
| 1294 |
+
"\n",
|
| 1295 |
+
" print(\"Upload successful:\", destination)\n",
|
| 1296 |
+
"\n",
|
| 1297 |
+
"\n",
|
| 1298 |
+
"# =============================================================================\n",
|
| 1299 |
+
"# UPDATE PROCESSED CHARACTER HISTORY\n",
|
| 1300 |
+
"#\n",
|
| 1301 |
+
"# Only update after every character upload succeeds.\n",
|
| 1302 |
+
"# =============================================================================\n",
|
| 1303 |
+
"\n",
|
| 1304 |
+
"print(\"\\nUpdating processed character history...\")\n",
|
| 1305 |
+
"\n",
|
| 1306 |
+
"processed_characters.update(uploaded_characters)\n",
|
| 1307 |
+
"\n",
|
| 1308 |
+
"with open(\n",
|
| 1309 |
+
" processed_path,\n",
|
| 1310 |
+
" \"w\",\n",
|
| 1311 |
+
" encoding=\"utf-8\"\n",
|
| 1312 |
+
") as f:\n",
|
| 1313 |
+
"\n",
|
| 1314 |
+
" for character in sorted(processed_characters):\n",
|
| 1315 |
+
"\n",
|
| 1316 |
+
" f.write(character + \"\\n\")\n",
|
| 1317 |
+
"\n",
|
| 1318 |
+
"\n",
|
| 1319 |
+
"api.upload_file(\n",
|
| 1320 |
+
" path_or_fileobj=processed_path,\n",
|
| 1321 |
+
" path_in_repo=PROCESSED_FILE,\n",
|
| 1322 |
+
" repo_id=REPO_ID,\n",
|
| 1323 |
+
" repo_type=\"dataset\",\n",
|
| 1324 |
+
" token=HF_TOKEN,\n",
|
| 1325 |
+
" commit_message=\"Update processed character history\"\n",
|
| 1326 |
+
")\n",
|
| 1327 |
+
"\n",
|
| 1328 |
+
"print(\"Processed-character history uploaded.\")\n",
|
| 1329 |
+
"\n",
|
| 1330 |
+
"\n",
|
| 1331 |
+
"# =============================================================================\n",
|
| 1332 |
+
"# CLEAN TEMPORARY OUTPUT AND SPOOL FILES\n",
|
| 1333 |
+
"#\n",
|
| 1334 |
+
"# Retain original downloaded sections.\n",
|
| 1335 |
+
"# =============================================================================\n",
|
| 1336 |
+
"\n",
|
| 1337 |
+
"print(\"\\nCleaning temporary files...\")\n",
|
| 1338 |
+
"\n",
|
| 1339 |
+
"for path in character_paths.values():\n",
|
| 1340 |
+
"\n",
|
| 1341 |
+
" if os.path.exists(path):\n",
|
| 1342 |
+
" os.remove(path)\n",
|
| 1343 |
+
"\n",
|
| 1344 |
+
"for character in selected_characters:\n",
|
| 1345 |
+
"\n",
|
| 1346 |
+
" for category in OUTPUT_COLUMNS:\n",
|
| 1347 |
+
"\n",
|
| 1348 |
+
" path = character_spools[character][category]\n",
|
| 1349 |
+
"\n",
|
| 1350 |
+
" if os.path.exists(path):\n",
|
| 1351 |
+
" os.remove(path)\n",
|
| 1352 |
+
"\n",
|
| 1353 |
+
"\n",
|
| 1354 |
+
"# =============================================================================\n",
|
| 1355 |
+
"# CACHE REPORT\n",
|
| 1356 |
+
"# =============================================================================\n",
|
| 1357 |
+
"\n",
|
| 1358 |
+
"if KEEP_SECTION_CACHE:\n",
|
| 1359 |
+
"\n",
|
| 1360 |
+
" print(\"\\nSource cache retained.\")\n",
|
| 1361 |
+
"\n",
|
| 1362 |
+
" total_size = 0\n",
|
| 1363 |
+
" cached_count = 0\n",
|
| 1364 |
+
"\n",
|
| 1365 |
+
" for filename in source_files:\n",
|
| 1366 |
+
"\n",
|
| 1367 |
+
" path = get_cached_section(filename)\n",
|
| 1368 |
+
"\n",
|
| 1369 |
+
" if path:\n",
|
| 1370 |
+
"\n",
|
| 1371 |
+
" total_size += os.path.getsize(path)\n",
|
| 1372 |
+
" cached_count += 1\n",
|
| 1373 |
+
"\n",
|
| 1374 |
+
" print(\"Cached sections:\", cached_count)\n",
|
| 1375 |
+
"\n",
|
| 1376 |
+
" print(\n",
|
| 1377 |
+
" \"Cache size:\",\n",
|
| 1378 |
+
" round(total_size / (1024 ** 3), 2),\n",
|
| 1379 |
+
" \"GB\"\n",
|
| 1380 |
+
" )\n",
|
| 1381 |
+
"\n",
|
| 1382 |
+
"else:\n",
|
| 1383 |
+
"\n",
|
| 1384 |
+
" print(\"\\nRemoving source cache...\")\n",
|
| 1385 |
+
"\n",
|
| 1386 |
+
" shutil.rmtree(SOURCE_DIR, ignore_errors=True)\n",
|
| 1387 |
+
"\n",
|
| 1388 |
+
" os.makedirs(SOURCE_DIR, exist_ok=True)\n",
|
| 1389 |
+
"\n",
|
| 1390 |
+
"\n",
|
| 1391 |
+
"gc.collect()\n",
|
| 1392 |
+
"\n",
|
| 1393 |
+
"\n",
|
| 1394 |
+
"# =============================================================================\n",
|
| 1395 |
+
"# FINAL REPORT\n",
|
| 1396 |
+
"# =============================================================================\n",
|
| 1397 |
+
"\n",
|
| 1398 |
+
"print(\"\\n\" + \"=\" * 80)\n",
|
| 1399 |
+
"print(\"ITERATION COMPLETE\")\n",
|
| 1400 |
+
"print(\"=\" * 80)\n",
|
| 1401 |
+
"\n",
|
| 1402 |
+
"print(\"Sections scanned:\", len(source_files))\n",
|
| 1403 |
+
"\n",
|
| 1404 |
+
"print(\"Characters uploaded:\", len(uploaded_characters))\n",
|
| 1405 |
+
"\n",
|
| 1406 |
+
"print(\"Processed characters:\", len(processed_characters))\n",
|
| 1407 |
+
"\n",
|
| 1408 |
+
"print(\"\\nUploaded characters:\")\n",
|
| 1409 |
+
"\n",
|
| 1410 |
+
"for character in uploaded_characters:\n",
|
| 1411 |
+
"\n",
|
| 1412 |
+
" print(\" +\", character)\n",
|
| 1413 |
+
"\n",
|
| 1414 |
+
"print(\"\\nHugging Face destinations:\")\n",
|
| 1415 |
+
"\n",
|
| 1416 |
+
"print(f\"{REPO_ID}/{OUTPUT_FOLDER}/\")\n",
|
| 1417 |
+
"\n",
|
| 1418 |
+
"print(f\"{REPO_ID}/{PROCESSED_FILE}\")\n",
|
| 1419 |
+
"\n",
|
| 1420 |
+
"print(\"\\nAll uploaded character Parquets passed NULL verification.\")\n",
|
| 1421 |
+
"\n",
|
| 1422 |
+
"print(\"=\" * 80)\n"
|
| 1423 |
+
],
|
| 1424 |
+
"metadata": {
|
| 1425 |
+
"colab": {
|
| 1426 |
+
"base_uri": "https://localhost:8080/",
|
| 1427 |
+
"height": 1000,
|
| 1428 |
+
"referenced_widgets": [
|
| 1429 |
+
"7e344e19706b458e80a2d977bb291bf6",
|
| 1430 |
+
"d63a046797c440b18eedacb2b819c702",
|
| 1431 |
+
"89d1143ed7de4a14aa84fa70bf58cb51",
|
| 1432 |
+
"613da49307064ae98a9605f35a65404b",
|
| 1433 |
+
"f1fa383e6af84bdcad56645aeafb36ca",
|
| 1434 |
+
"3a0b14bf429242fd972cc6fd7861ec8e",
|
| 1435 |
+
"29c3938c5b8947b3a34577629d71579f",
|
| 1436 |
+
"ee9a1e981f5b4aaf8f8079428c3fb028",
|
| 1437 |
+
"aba8b5a3086e479db4ff31e38024d0a4",
|
| 1438 |
+
"7c11d678c816436ab117b786c336099c",
|
| 1439 |
+
"82753f6a58244bd0942e9157ceb468ee"
|
| 1440 |
+
]
|
| 1441 |
+
},
|
| 1442 |
+
"id": "9S-CTt625jy-",
|
| 1443 |
+
"outputId": "dca1f22f-3631-4e89-8997-db8db109e2f9"
|
| 1444 |
+
},
|
| 1445 |
+
"execution_count": null,
|
| 1446 |
+
"outputs": [
|
| 1447 |
+
{
|
| 1448 |
+
"output_type": "stream",
|
| 1449 |
+
"name": "stdout",
|
| 1450 |
+
"text": [
|
| 1451 |
+
"================================================================================\n",
|
| 1452 |
+
"CHARACTER PARQUET GENERATOR – MINIMUM NULL VERSION\n",
|
| 1453 |
+
"================================================================================\n",
|
| 1454 |
+
"\n",
|
| 1455 |
+
"Loading processed character history...\n"
|
| 1456 |
+
]
|
| 1457 |
+
},
|
| 1458 |
+
{
|
| 1459 |
+
"output_type": "display_data",
|
| 1460 |
+
"data": {
|
| 1461 |
+
"text/plain": [
|
| 1462 |
+
"processed_characters.txt: 0%| | 0.00/1.64k [00:00<?, ?B/s]"
|
| 1463 |
+
],
|
| 1464 |
+
"application/vnd.jupyter.widget-view+json": {
|
| 1465 |
+
"version_major": 2,
|
| 1466 |
+
"version_minor": 0,
|
| 1467 |
+
"model_id": "7e344e19706b458e80a2d977bb291bf6"
|
| 1468 |
+
}
|
| 1469 |
+
},
|
| 1470 |
+
"metadata": {}
|
| 1471 |
+
},
|
| 1472 |
+
{
|
| 1473 |
+
"output_type": "stream",
|
| 1474 |
+
"name": "stdout",
|
| 1475 |
+
"text": [
|
| 1476 |
+
"Previously processed characters: 103\n",
|
| 1477 |
+
"\n",
|
| 1478 |
+
"Listing source Parquets...\n",
|
| 1479 |
+
"Available sections: 287\n",
|
| 1480 |
+
"\n",
|
| 1481 |
+
"Cached sections: 287/287\n",
|
| 1482 |
+
"\n",
|
| 1483 |
+
"Discovering characters...\n",
|
| 1484 |
+
"\n",
|
| 1485 |
+
"Selected characters:\n",
|
| 1486 |
+
" + jenny_wakeman\n",
|
| 1487 |
+
" + audie_(animal_crossing)\n",
|
| 1488 |
+
" + lanolin_the_sheep_(sonic)\n",
|
| 1489 |
+
" + elora\n",
|
| 1490 |
+
" + pearl_(splatoon)\n",
|
| 1491 |
+
" + nala_(the_lion_king)\n",
|
| 1492 |
+
" + wave_the_swallow\n",
|
| 1493 |
+
" + minerva_mink\n",
|
| 1494 |
+
" + cynder\n",
|
| 1495 |
+
" + squirrel_girl_(marvel)\n",
|
| 1496 |
+
" + may_(pokemon)\n",
|
| 1497 |
+
" + twilight_sparkle_(mlp)\n",
|
| 1498 |
+
" + mina_mongoose\n",
|
| 1499 |
+
" + holo_(spice_and_wolf)\n",
|
| 1500 |
+
" + toy_chica_(fnaf)\n",
|
| 1501 |
+
" + kiara_(the_lion_king)\n",
|
| 1502 |
+
" + charlie_morningstar\n",
|
| 1503 |
+
" + lord_dominator\n",
|
| 1504 |
+
" + mrs._cake_(mlp)\n",
|
| 1505 |
+
" + skye_(zootopia)\n",
|
| 1506 |
+
" + sticks_the_jungle_badger\n",
|
| 1507 |
+
" + sable_able\n",
|
| 1508 |
+
" + vex_(lol)\n",
|
| 1509 |
+
" + carrot_(one_piece)\n",
|
| 1510 |
+
" + derpy_hooves_(mlp)\n",
|
| 1511 |
+
" + rebecca_cunningham\n",
|
| 1512 |
+
" + kuromi\n",
|
| 1513 |
+
" + princess_ember_(mlp)\n",
|
| 1514 |
+
" + lammy_lamb\n",
|
| 1515 |
+
" + fifi_la_fume\n",
|
| 1516 |
+
" + brandy_harrington\n",
|
| 1517 |
+
" + felicia_(darkstalkers)\n",
|
| 1518 |
+
" + fang_(gvh)\n",
|
| 1519 |
+
" + haru_(beastars)\n",
|
| 1520 |
+
" + mia_moretti\n",
|
| 1521 |
+
" + sunset_shimmer_(eg)\n",
|
| 1522 |
+
" + amaterasu_(okami)\n",
|
| 1523 |
+
" + kathrin_vaughan\n",
|
| 1524 |
+
" + lace_(hollow_knight:_silksong)\n",
|
| 1525 |
+
" + roxanne_wolf\n",
|
| 1526 |
+
" + flora_(twokinds)\n",
|
| 1527 |
+
" + ashido_mina\n",
|
| 1528 |
+
" + rainbow_dash_(mlp)\n",
|
| 1529 |
+
" + roxanne_rover\n",
|
| 1530 |
+
" + taokaka\n",
|
| 1531 |
+
" + ran_yakumo\n",
|
| 1532 |
+
" + porsha_crystal\n",
|
| 1533 |
+
" + callie_(splatoon)\n",
|
| 1534 |
+
" + princess_cadance_(mlp)\n",
|
| 1535 |
+
" + peg_pete\n",
|
| 1536 |
+
"\n",
|
| 1537 |
+
"================================================================================\n",
|
| 1538 |
+
"SCANNING SOURCE SECTIONS\n",
|
| 1539 |
+
"================================================================================\n",
|
| 1540 |
+
"\n",
|
| 1541 |
+
"Section group 1\n",
|
| 1542 |
+
"\n",
|
| 1543 |
+
"Processing: sections/section_0000.parquet\n",
|
| 1544 |
+
"Rows scanned: 200,006\n",
|
| 1545 |
+
"\n",
|
| 1546 |
+
"Processing: sections/section_0001.parquet\n",
|
| 1547 |
+
"Rows scanned: 200,004\n",
|
| 1548 |
+
"\n",
|
| 1549 |
+
"Processing: sections/section_0002.parquet\n",
|
| 1550 |
+
"Rows scanned: 200,009\n",
|
| 1551 |
+
"\n",
|
| 1552 |
+
"Processing: sections/section_0003.parquet\n",
|
| 1553 |
+
"Rows scanned: 200,006\n",
|
| 1554 |
+
"\n",
|
| 1555 |
+
"Processing: sections/section_0004.parquet\n",
|
| 1556 |
+
"Rows scanned: 200,011\n",
|
| 1557 |
+
"\n",
|
| 1558 |
+
"Section group 2\n",
|
| 1559 |
+
"\n",
|
| 1560 |
+
"Processing: sections/section_0005.parquet\n",
|
| 1561 |
+
"Rows scanned: 200,013\n",
|
| 1562 |
+
"\n",
|
| 1563 |
+
"Processing: sections/section_0006.parquet\n",
|
| 1564 |
+
"Rows scanned: 200,013\n",
|
| 1565 |
+
"\n",
|
| 1566 |
+
"Processing: sections/section_0007.parquet\n",
|
| 1567 |
+
"Rows scanned: 200,000\n",
|
| 1568 |
+
"\n",
|
| 1569 |
+
"Processing: sections/section_0008.parquet\n",
|
| 1570 |
+
"Rows scanned: 200,000\n",
|
| 1571 |
+
"\n",
|
| 1572 |
+
"Processing: sections/section_0009.parquet\n",
|
| 1573 |
+
"Rows scanned: 200,001\n",
|
| 1574 |
+
"\n",
|
| 1575 |
+
"Section group 3\n",
|
| 1576 |
+
"\n",
|
| 1577 |
+
"Processing: sections/section_0010.parquet\n",
|
| 1578 |
+
"Rows scanned: 200,009\n",
|
| 1579 |
+
"\n",
|
| 1580 |
+
"Processing: sections/section_0011.parquet\n",
|
| 1581 |
+
"Rows scanned: 200,004\n",
|
| 1582 |
+
"\n",
|
| 1583 |
+
"Processing: sections/section_0012.parquet\n",
|
| 1584 |
+
"Rows scanned: 200,002\n",
|
| 1585 |
+
"\n",
|
| 1586 |
+
"Processing: sections/section_0013.parquet\n",
|
| 1587 |
+
"Rows scanned: 200,016\n",
|
| 1588 |
+
"\n",
|
| 1589 |
+
"Processing: sections/section_0014.parquet\n",
|
| 1590 |
+
"Rows scanned: 200,001\n",
|
| 1591 |
+
"\n",
|
| 1592 |
+
"Section group 4\n",
|
| 1593 |
+
"\n",
|
| 1594 |
+
"Processing: sections/section_0015.parquet\n",
|
| 1595 |
+
"Rows scanned: 200,009\n",
|
| 1596 |
+
"\n",
|
| 1597 |
+
"Processing: sections/section_0016.parquet\n",
|
| 1598 |
+
"Rows scanned: 200,013\n",
|
| 1599 |
+
"\n",
|
| 1600 |
+
"Processing: sections/section_0017.parquet\n",
|
| 1601 |
+
"Rows scanned: 200,008\n",
|
| 1602 |
+
"\n",
|
| 1603 |
+
"Processing: sections/section_0018.parquet\n",
|
| 1604 |
+
"Rows scanned: 200,010\n",
|
| 1605 |
+
"\n",
|
| 1606 |
+
"Processing: sections/section_0019.parquet\n",
|
| 1607 |
+
"Rows scanned: 200,002\n",
|
| 1608 |
+
"\n",
|
| 1609 |
+
"Section group 5\n",
|
| 1610 |
+
"\n",
|
| 1611 |
+
"Processing: sections/section_0020.parquet\n",
|
| 1612 |
+
"Rows scanned: 200,009\n",
|
| 1613 |
+
"\n",
|
| 1614 |
+
"Processing: sections/section_0021.parquet\n",
|
| 1615 |
+
"Rows scanned: 200,009\n",
|
| 1616 |
+
"\n",
|
| 1617 |
+
"Processing: sections/section_0022.parquet\n",
|
| 1618 |
+
"Rows scanned: 200,002\n",
|
| 1619 |
+
"\n",
|
| 1620 |
+
"Processing: sections/section_0023.parquet\n",
|
| 1621 |
+
"Rows scanned: 200,003\n",
|
| 1622 |
+
"\n",
|
| 1623 |
+
"Processing: sections/section_0024.parquet\n",
|
| 1624 |
+
"Rows scanned: 200,004\n",
|
| 1625 |
+
"\n",
|
| 1626 |
+
"Section group 6\n",
|
| 1627 |
+
"\n",
|
| 1628 |
+
"Processing: sections/section_0025.parquet\n",
|
| 1629 |
+
"Rows scanned: 200,007\n",
|
| 1630 |
+
"\n",
|
| 1631 |
+
"Processing: sections/section_0026.parquet\n",
|
| 1632 |
+
"Rows scanned: 200,008\n",
|
| 1633 |
+
"\n",
|
| 1634 |
+
"Processing: sections/section_0027.parquet\n",
|
| 1635 |
+
"Rows scanned: 200,003\n",
|
| 1636 |
+
"\n",
|
| 1637 |
+
"Processing: sections/section_0028.parquet\n",
|
| 1638 |
+
"Rows scanned: 200,011\n",
|
| 1639 |
+
"\n",
|
| 1640 |
+
"Processing: sections/section_0029.parquet\n",
|
| 1641 |
+
"Rows scanned: 200,008\n",
|
| 1642 |
+
"\n",
|
| 1643 |
+
"Section group 7\n",
|
| 1644 |
+
"\n",
|
| 1645 |
+
"Processing: sections/section_0030.parquet\n",
|
| 1646 |
+
"Rows scanned: 200,014\n",
|
| 1647 |
+
"\n",
|
| 1648 |
+
"Processing: sections/section_0031.parquet\n",
|
| 1649 |
+
"Rows scanned: 200,006\n",
|
| 1650 |
+
"\n",
|
| 1651 |
+
"Processing: sections/section_0032.parquet\n",
|
| 1652 |
+
"Rows scanned: 200,011\n",
|
| 1653 |
+
"\n",
|
| 1654 |
+
"Processing: sections/section_0033.parquet\n",
|
| 1655 |
+
"Rows scanned: 200,004\n",
|
| 1656 |
+
"\n",
|
| 1657 |
+
"Processing: sections/section_0034.parquet\n",
|
| 1658 |
+
"Rows scanned: 200,000\n",
|
| 1659 |
+
"\n",
|
| 1660 |
+
"Section group 8\n",
|
| 1661 |
+
"\n",
|
| 1662 |
+
"Processing: sections/section_0035.parquet\n",
|
| 1663 |
+
"Rows scanned: 200,001\n",
|
| 1664 |
+
"\n",
|
| 1665 |
+
"Processing: sections/section_0036.parquet\n",
|
| 1666 |
+
"Rows scanned: 200,007\n",
|
| 1667 |
+
"\n",
|
| 1668 |
+
"Processing: sections/section_0037.parquet\n",
|
| 1669 |
+
"Rows scanned: 200,000\n",
|
| 1670 |
+
"\n",
|
| 1671 |
+
"Processing: sections/section_0038.parquet\n",
|
| 1672 |
+
"Rows scanned: 200,008\n",
|
| 1673 |
+
"\n",
|
| 1674 |
+
"Processing: sections/section_0039.parquet\n",
|
| 1675 |
+
"Rows scanned: 200,001\n",
|
| 1676 |
+
"\n",
|
| 1677 |
+
"Section group 9\n",
|
| 1678 |
+
"\n",
|
| 1679 |
+
"Processing: sections/section_0040.parquet\n",
|
| 1680 |
+
"Rows scanned: 200,010\n",
|
| 1681 |
+
"\n",
|
| 1682 |
+
"Processing: sections/section_0041.parquet\n",
|
| 1683 |
+
"Rows scanned: 200,004\n",
|
| 1684 |
+
"\n",
|
| 1685 |
+
"Processing: sections/section_0042.parquet\n",
|
| 1686 |
+
"Rows scanned: 200,007\n",
|
| 1687 |
+
"\n",
|
| 1688 |
+
"Processing: sections/section_0043.parquet\n",
|
| 1689 |
+
"Rows scanned: 200,007\n",
|
| 1690 |
+
"\n",
|
| 1691 |
+
"Processing: sections/section_0044.parquet\n",
|
| 1692 |
+
"Rows scanned: 200,000\n",
|
| 1693 |
+
"\n",
|
| 1694 |
+
"Section group 10\n",
|
| 1695 |
+
"\n",
|
| 1696 |
+
"Processing: sections/section_0045.parquet\n",
|
| 1697 |
+
"Rows scanned: 200,002\n",
|
| 1698 |
+
"\n",
|
| 1699 |
+
"Processing: sections/section_0046.parquet\n",
|
| 1700 |
+
"Rows scanned: 200,012\n",
|
| 1701 |
+
"\n",
|
| 1702 |
+
"Processing: sections/section_0047.parquet\n",
|
| 1703 |
+
"Rows scanned: 200,002\n",
|
| 1704 |
+
"\n",
|
| 1705 |
+
"Processing: sections/section_0048.parquet\n",
|
| 1706 |
+
"Rows scanned: 200,007\n",
|
| 1707 |
+
"\n",
|
| 1708 |
+
"Processing: sections/section_0049.parquet\n",
|
| 1709 |
+
"Rows scanned: 200,005\n",
|
| 1710 |
+
"\n",
|
| 1711 |
+
"Section group 11\n",
|
| 1712 |
+
"\n",
|
| 1713 |
+
"Processing: sections/section_0050.parquet\n",
|
| 1714 |
+
"Rows scanned: 200,006\n",
|
| 1715 |
+
"\n",
|
| 1716 |
+
"Processing: sections/section_0051.parquet\n",
|
| 1717 |
+
"Rows scanned: 200,007\n",
|
| 1718 |
+
"\n",
|
| 1719 |
+
"Processing: sections/section_0052.parquet\n",
|
| 1720 |
+
"Rows scanned: 200,005\n",
|
| 1721 |
+
"\n",
|
| 1722 |
+
"Processing: sections/section_0053.parquet\n",
|
| 1723 |
+
"Rows scanned: 200,007\n",
|
| 1724 |
+
"\n",
|
| 1725 |
+
"Processing: sections/section_0054.parquet\n",
|
| 1726 |
+
"Rows scanned: 200,001\n",
|
| 1727 |
+
"\n",
|
| 1728 |
+
"Section group 12\n",
|
| 1729 |
+
"\n",
|
| 1730 |
+
"Processing: sections/section_0055.parquet\n",
|
| 1731 |
+
"Rows scanned: 200,006\n",
|
| 1732 |
+
"\n",
|
| 1733 |
+
"Processing: sections/section_0056.parquet\n",
|
| 1734 |
+
"Rows scanned: 200,010\n",
|
| 1735 |
+
"\n",
|
| 1736 |
+
"Processing: sections/section_0057.parquet\n",
|
| 1737 |
+
"Rows scanned: 200,007\n",
|
| 1738 |
+
"\n",
|
| 1739 |
+
"Processing: sections/section_0058.parquet\n",
|
| 1740 |
+
"Rows scanned: 200,004\n",
|
| 1741 |
+
"\n",
|
| 1742 |
+
"Processing: sections/section_0059.parquet\n",
|
| 1743 |
+
"Rows scanned: 200,011\n",
|
| 1744 |
+
"\n",
|
| 1745 |
+
"Section group 13\n",
|
| 1746 |
+
"\n",
|
| 1747 |
+
"Processing: sections/section_0060.parquet\n",
|
| 1748 |
+
"Rows scanned: 200,009\n",
|
| 1749 |
+
"\n",
|
| 1750 |
+
"Processing: sections/section_0061.parquet\n",
|
| 1751 |
+
"Rows scanned: 200,009\n",
|
| 1752 |
+
"\n",
|
| 1753 |
+
"Processing: sections/section_0062.parquet\n",
|
| 1754 |
+
"Rows scanned: 200,002\n",
|
| 1755 |
+
"\n",
|
| 1756 |
+
"Processing: sections/section_0063.parquet\n",
|
| 1757 |
+
"Rows scanned: 200,015\n",
|
| 1758 |
+
"\n",
|
| 1759 |
+
"Processing: sections/section_0064.parquet\n",
|
| 1760 |
+
"Rows scanned: 200,003\n",
|
| 1761 |
+
"\n",
|
| 1762 |
+
"Section group 14\n",
|
| 1763 |
+
"\n",
|
| 1764 |
+
"Processing: sections/section_0065.parquet\n",
|
| 1765 |
+
"Rows scanned: 200,006\n",
|
| 1766 |
+
"\n",
|
| 1767 |
+
"Processing: sections/section_0066.parquet\n",
|
| 1768 |
+
"Rows scanned: 200,005\n",
|
| 1769 |
+
"\n",
|
| 1770 |
+
"Processing: sections/section_0067.parquet\n",
|
| 1771 |
+
"Rows scanned: 200,008\n",
|
| 1772 |
+
"\n",
|
| 1773 |
+
"Processing: sections/section_0068.parquet\n",
|
| 1774 |
+
"Rows scanned: 200,007\n",
|
| 1775 |
+
"\n",
|
| 1776 |
+
"Processing: sections/section_0069.parquet\n",
|
| 1777 |
+
"Rows scanned: 200,006\n",
|
| 1778 |
+
"\n",
|
| 1779 |
+
"Section group 15\n",
|
| 1780 |
+
"\n",
|
| 1781 |
+
"Processing: sections/section_0070.parquet\n",
|
| 1782 |
+
"Rows scanned: 200,012\n",
|
| 1783 |
+
"\n",
|
| 1784 |
+
"Processing: sections/section_0071.parquet\n",
|
| 1785 |
+
"Rows scanned: 200,002\n",
|
| 1786 |
+
"\n",
|
| 1787 |
+
"Processing: sections/section_0072.parquet\n",
|
| 1788 |
+
"Rows scanned: 200,008\n",
|
| 1789 |
+
"\n",
|
| 1790 |
+
"Processing: sections/section_0073.parquet\n",
|
| 1791 |
+
"Rows scanned: 200,008\n",
|
| 1792 |
+
"\n",
|
| 1793 |
+
"Processing: sections/section_0074.parquet\n",
|
| 1794 |
+
"Rows scanned: 200,003\n",
|
| 1795 |
+
"\n",
|
| 1796 |
+
"Section group 16\n",
|
| 1797 |
+
"\n",
|
| 1798 |
+
"Processing: sections/section_0075.parquet\n",
|
| 1799 |
+
"Rows scanned: 200,015\n",
|
| 1800 |
+
"\n",
|
| 1801 |
+
"Processing: sections/section_0076.parquet\n",
|
| 1802 |
+
"Rows scanned: 200,007\n",
|
| 1803 |
+
"\n",
|
| 1804 |
+
"Processing: sections/section_0077.parquet\n",
|
| 1805 |
+
"Rows scanned: 200,009\n",
|
| 1806 |
+
"\n",
|
| 1807 |
+
"Processing: sections/section_0078.parquet\n",
|
| 1808 |
+
"Rows scanned: 200,002\n",
|
| 1809 |
+
"\n",
|
| 1810 |
+
"Processing: sections/section_0079.parquet\n",
|
| 1811 |
+
"Rows scanned: 200,005\n",
|
| 1812 |
+
"\n",
|
| 1813 |
+
"Section group 17\n",
|
| 1814 |
+
"\n",
|
| 1815 |
+
"Processing: sections/section_0080.parquet\n",
|
| 1816 |
+
"Rows scanned: 200,009\n",
|
| 1817 |
+
"\n",
|
| 1818 |
+
"Processing: sections/section_0081.parquet\n",
|
| 1819 |
+
"Rows scanned: 200,011\n",
|
| 1820 |
+
"\n",
|
| 1821 |
+
"Processing: sections/section_0082.parquet\n",
|
| 1822 |
+
"Rows scanned: 200,005\n",
|
| 1823 |
+
"\n",
|
| 1824 |
+
"Processing: sections/section_0083.parquet\n",
|
| 1825 |
+
"Rows scanned: 200,004\n",
|
| 1826 |
+
"\n",
|
| 1827 |
+
"Processing: sections/section_0084.parquet\n",
|
| 1828 |
+
"Rows scanned: 200,003\n",
|
| 1829 |
+
"\n",
|
| 1830 |
+
"Section group 18\n",
|
| 1831 |
+
"\n",
|
| 1832 |
+
"Processing: sections/section_0085.parquet\n",
|
| 1833 |
+
"Rows scanned: 200,013\n",
|
| 1834 |
+
"\n",
|
| 1835 |
+
"Processing: sections/section_0086.parquet\n",
|
| 1836 |
+
"Rows scanned: 200,008\n",
|
| 1837 |
+
"\n",
|
| 1838 |
+
"Processing: sections/section_0087.parquet\n",
|
| 1839 |
+
"Rows scanned: 200,010\n",
|
| 1840 |
+
"\n",
|
| 1841 |
+
"Processing: sections/section_0088.parquet\n",
|
| 1842 |
+
"Rows scanned: 200,008\n",
|
| 1843 |
+
"\n",
|
| 1844 |
+
"Processing: sections/section_0089.parquet\n",
|
| 1845 |
+
"Rows scanned: 200,010\n",
|
| 1846 |
+
"\n",
|
| 1847 |
+
"Section group 19\n",
|
| 1848 |
+
"\n",
|
| 1849 |
+
"Processing: sections/section_0090.parquet\n",
|
| 1850 |
+
"Rows scanned: 200,006\n",
|
| 1851 |
+
"\n",
|
| 1852 |
+
"Processing: sections/section_0091.parquet\n",
|
| 1853 |
+
"Rows scanned: 200,008\n",
|
| 1854 |
+
"\n",
|
| 1855 |
+
"Processing: sections/section_0092.parquet\n",
|
| 1856 |
+
"Rows scanned: 200,004\n",
|
| 1857 |
+
"\n",
|
| 1858 |
+
"Processing: sections/section_0093.parquet\n",
|
| 1859 |
+
"Rows scanned: 200,009\n",
|
| 1860 |
+
"\n",
|
| 1861 |
+
"Processing: sections/section_0094.parquet\n",
|
| 1862 |
+
"Rows scanned: 200,009\n",
|
| 1863 |
+
"\n",
|
| 1864 |
+
"Section group 20\n",
|
| 1865 |
+
"\n",
|
| 1866 |
+
"Processing: sections/section_0095.parquet\n",
|
| 1867 |
+
"Rows scanned: 200,012\n",
|
| 1868 |
+
"\n",
|
| 1869 |
+
"Processing: sections/section_0096.parquet\n",
|
| 1870 |
+
"Rows scanned: 200,005\n",
|
| 1871 |
+
"\n",
|
| 1872 |
+
"Processing: sections/section_0097.parquet\n",
|
| 1873 |
+
"Rows scanned: 200,006\n",
|
| 1874 |
+
"\n",
|
| 1875 |
+
"Processing: sections/section_0098.parquet\n",
|
| 1876 |
+
"Rows scanned: 200,002\n",
|
| 1877 |
+
"\n",
|
| 1878 |
+
"Processing: sections/section_0099.parquet\n",
|
| 1879 |
+
"Rows scanned: 200,005\n",
|
| 1880 |
+
"\n",
|
| 1881 |
+
"Section group 21\n",
|
| 1882 |
+
"\n",
|
| 1883 |
+
"Processing: sections/section_0100.parquet\n",
|
| 1884 |
+
"Rows scanned: 200,011\n",
|
| 1885 |
+
"\n",
|
| 1886 |
+
"Processing: sections/section_0101.parquet\n",
|
| 1887 |
+
"Rows scanned: 200,004\n",
|
| 1888 |
+
"\n",
|
| 1889 |
+
"Processing: sections/section_0102.parquet\n",
|
| 1890 |
+
"Rows scanned: 200,012\n",
|
| 1891 |
+
"\n",
|
| 1892 |
+
"Processing: sections/section_0103.parquet\n",
|
| 1893 |
+
"Rows scanned: 200,002\n",
|
| 1894 |
+
"\n",
|
| 1895 |
+
"Processing: sections/section_0104.parquet\n",
|
| 1896 |
+
"Rows scanned: 200,010\n",
|
| 1897 |
+
"\n",
|
| 1898 |
+
"Section group 22\n",
|
| 1899 |
+
"\n",
|
| 1900 |
+
"Processing: sections/section_0105.parquet\n",
|
| 1901 |
+
"Rows scanned: 200,004\n",
|
| 1902 |
+
"\n",
|
| 1903 |
+
"Processing: sections/section_0106.parquet\n",
|
| 1904 |
+
"Rows scanned: 200,013\n",
|
| 1905 |
+
"\n",
|
| 1906 |
+
"Processing: sections/section_0107.parquet\n",
|
| 1907 |
+
"Rows scanned: 200,006\n",
|
| 1908 |
+
"\n",
|
| 1909 |
+
"Processing: sections/section_0108.parquet\n",
|
| 1910 |
+
"Rows scanned: 200,002\n",
|
| 1911 |
+
"\n",
|
| 1912 |
+
"Processing: sections/section_0109.parquet\n",
|
| 1913 |
+
"Rows scanned: 200,005\n",
|
| 1914 |
+
"\n",
|
| 1915 |
+
"Section group 23\n",
|
| 1916 |
+
"\n",
|
| 1917 |
+
"Processing: sections/section_0110.parquet\n",
|
| 1918 |
+
"Rows scanned: 200,007\n",
|
| 1919 |
+
"\n",
|
| 1920 |
+
"Processing: sections/section_0111.parquet\n",
|
| 1921 |
+
"Rows scanned: 200,002\n",
|
| 1922 |
+
"\n",
|
| 1923 |
+
"Processing: sections/section_0112.parquet\n",
|
| 1924 |
+
"Rows scanned: 200,000\n",
|
| 1925 |
+
"\n",
|
| 1926 |
+
"Processing: sections/section_0113.parquet\n",
|
| 1927 |
+
"Rows scanned: 200,004\n",
|
| 1928 |
+
"\n",
|
| 1929 |
+
"Processing: sections/section_0114.parquet\n",
|
| 1930 |
+
"Rows scanned: 200,001\n",
|
| 1931 |
+
"\n",
|
| 1932 |
+
"Section group 24\n",
|
| 1933 |
+
"\n",
|
| 1934 |
+
"Processing: sections/section_0115.parquet\n",
|
| 1935 |
+
"Rows scanned: 200,002\n",
|
| 1936 |
+
"\n",
|
| 1937 |
+
"Processing: sections/section_0116.parquet\n",
|
| 1938 |
+
"Rows scanned: 200,009\n",
|
| 1939 |
+
"\n",
|
| 1940 |
+
"Processing: sections/section_0117.parquet\n",
|
| 1941 |
+
"Rows scanned: 200,002\n",
|
| 1942 |
+
"\n",
|
| 1943 |
+
"Processing: sections/section_0118.parquet\n",
|
| 1944 |
+
"Rows scanned: 200,002\n",
|
| 1945 |
+
"\n",
|
| 1946 |
+
"Processing: sections/section_0119.parquet\n",
|
| 1947 |
+
"Rows scanned: 200,005\n",
|
| 1948 |
+
"\n",
|
| 1949 |
+
"Section group 25\n",
|
| 1950 |
+
"\n",
|
| 1951 |
+
"Processing: sections/section_0120.parquet\n",
|
| 1952 |
+
"Rows scanned: 200,008\n",
|
| 1953 |
+
"\n",
|
| 1954 |
+
"Processing: sections/section_0121.parquet\n",
|
| 1955 |
+
"Rows scanned: 200,011\n",
|
| 1956 |
+
"\n",
|
| 1957 |
+
"Processing: sections/section_0122.parquet\n",
|
| 1958 |
+
"Rows scanned: 200,008\n",
|
| 1959 |
+
"\n",
|
| 1960 |
+
"Processing: sections/section_0123.parquet\n",
|
| 1961 |
+
"Rows scanned: 200,004\n",
|
| 1962 |
+
"\n",
|
| 1963 |
+
"Processing: sections/section_0124.parquet\n",
|
| 1964 |
+
"Rows scanned: 200,001\n",
|
| 1965 |
+
"\n",
|
| 1966 |
+
"Section group 26\n",
|
| 1967 |
+
"\n",
|
| 1968 |
+
"Processing: sections/section_0125.parquet\n",
|
| 1969 |
+
"Rows scanned: 200,006\n",
|
| 1970 |
+
"\n",
|
| 1971 |
+
"Processing: sections/section_0126.parquet\n",
|
| 1972 |
+
"Rows scanned: 200,008\n",
|
| 1973 |
+
"\n",
|
| 1974 |
+
"Processing: sections/section_0127.parquet\n",
|
| 1975 |
+
"Rows scanned: 200,007\n",
|
| 1976 |
+
"\n",
|
| 1977 |
+
"Processing: sections/section_0128.parquet\n",
|
| 1978 |
+
"Rows scanned: 200,011\n",
|
| 1979 |
+
"\n",
|
| 1980 |
+
"Processing: sections/section_0129.parquet\n",
|
| 1981 |
+
"Rows scanned: 200,009\n",
|
| 1982 |
+
"\n",
|
| 1983 |
+
"Section group 27\n",
|
| 1984 |
+
"\n",
|
| 1985 |
+
"Processing: sections/section_0130.parquet\n",
|
| 1986 |
+
"Rows scanned: 200,014\n",
|
| 1987 |
+
"\n",
|
| 1988 |
+
"Processing: sections/section_0131.parquet\n",
|
| 1989 |
+
"Rows scanned: 200,017\n",
|
| 1990 |
+
"\n",
|
| 1991 |
+
"Processing: sections/section_0132.parquet\n",
|
| 1992 |
+
"Rows scanned: 200,006\n",
|
| 1993 |
+
"\n",
|
| 1994 |
+
"Processing: sections/section_0133.parquet\n",
|
| 1995 |
+
"Rows scanned: 200,002\n",
|
| 1996 |
+
"\n",
|
| 1997 |
+
"Processing: sections/section_0134.parquet\n",
|
| 1998 |
+
"Rows scanned: 200,006\n",
|
| 1999 |
+
"\n",
|
| 2000 |
+
"Section group 28\n",
|
| 2001 |
+
"\n",
|
| 2002 |
+
"Processing: sections/section_0135.parquet\n",
|
| 2003 |
+
"Rows scanned: 200,004\n",
|
| 2004 |
+
"\n",
|
| 2005 |
+
"Processing: sections/section_0136.parquet\n",
|
| 2006 |
+
"Rows scanned: 200,004\n",
|
| 2007 |
+
"\n",
|
| 2008 |
+
"Processing: sections/section_0137.parquet\n",
|
| 2009 |
+
"Rows scanned: 200,003\n",
|
| 2010 |
+
"\n",
|
| 2011 |
+
"Processing: sections/section_0138.parquet\n",
|
| 2012 |
+
"Rows scanned: 200,004\n",
|
| 2013 |
+
"\n",
|
| 2014 |
+
"Processing: sections/section_0139.parquet\n",
|
| 2015 |
+
"Rows scanned: 200,014\n",
|
| 2016 |
+
"\n",
|
| 2017 |
+
"Section group 29\n",
|
| 2018 |
+
"\n",
|
| 2019 |
+
"Processing: sections/section_0140.parquet\n",
|
| 2020 |
+
"Rows scanned: 200,006\n",
|
| 2021 |
+
"\n",
|
| 2022 |
+
"Processing: sections/section_0141.parquet\n",
|
| 2023 |
+
"Rows scanned: 200,007\n",
|
| 2024 |
+
"\n",
|
| 2025 |
+
"Processing: sections/section_0142.parquet\n",
|
| 2026 |
+
"Rows scanned: 200,002\n",
|
| 2027 |
+
"\n",
|
| 2028 |
+
"Processing: sections/section_0143.parquet\n",
|
| 2029 |
+
"Rows scanned: 200,010\n",
|
| 2030 |
+
"\n",
|
| 2031 |
+
"Processing: sections/section_0144.parquet\n",
|
| 2032 |
+
"Rows scanned: 200,004\n",
|
| 2033 |
+
"\n",
|
| 2034 |
+
"Section group 30\n",
|
| 2035 |
+
"\n",
|
| 2036 |
+
"Processing: sections/section_0145.parquet\n",
|
| 2037 |
+
"Rows scanned: 200,015\n",
|
| 2038 |
+
"\n",
|
| 2039 |
+
"Processing: sections/section_0146.parquet\n",
|
| 2040 |
+
"Rows scanned: 200,009\n",
|
| 2041 |
+
"\n",
|
| 2042 |
+
"Processing: sections/section_0147.parquet\n",
|
| 2043 |
+
"Rows scanned: 200,002\n",
|
| 2044 |
+
"\n",
|
| 2045 |
+
"Processing: sections/section_0148.parquet\n",
|
| 2046 |
+
"Rows scanned: 200,006\n",
|
| 2047 |
+
"\n",
|
| 2048 |
+
"Processing: sections/section_0149.parquet\n",
|
| 2049 |
+
"Rows scanned: 200,002\n",
|
| 2050 |
+
"\n",
|
| 2051 |
+
"Section group 31\n",
|
| 2052 |
+
"\n",
|
| 2053 |
+
"Processing: sections/section_0150.parquet\n",
|
| 2054 |
+
"Rows scanned: 200,003\n",
|
| 2055 |
+
"\n",
|
| 2056 |
+
"Processing: sections/section_0151.parquet\n",
|
| 2057 |
+
"Rows scanned: 200,005\n",
|
| 2058 |
+
"\n",
|
| 2059 |
+
"Processing: sections/section_0152.parquet\n",
|
| 2060 |
+
"Rows scanned: 200,000\n",
|
| 2061 |
+
"\n",
|
| 2062 |
+
"Processing: sections/section_0153.parquet\n",
|
| 2063 |
+
"Rows scanned: 200,007\n",
|
| 2064 |
+
"\n",
|
| 2065 |
+
"Processing: sections/section_0154.parquet\n",
|
| 2066 |
+
"Rows scanned: 200,003\n",
|
| 2067 |
+
"\n",
|
| 2068 |
+
"Section group 32\n",
|
| 2069 |
+
"\n",
|
| 2070 |
+
"Processing: sections/section_0155.parquet\n",
|
| 2071 |
+
"Rows scanned: 200,008\n",
|
| 2072 |
+
"\n",
|
| 2073 |
+
"Processing: sections/section_0156.parquet\n",
|
| 2074 |
+
"Rows scanned: 200,005\n",
|
| 2075 |
+
"\n",
|
| 2076 |
+
"Processing: sections/section_0157.parquet\n",
|
| 2077 |
+
"Rows scanned: 200,002\n",
|
| 2078 |
+
"\n",
|
| 2079 |
+
"Processing: sections/section_0158.parquet\n",
|
| 2080 |
+
"Rows scanned: 200,010\n",
|
| 2081 |
+
"\n",
|
| 2082 |
+
"Processing: sections/section_0159.parquet\n",
|
| 2083 |
+
"Rows scanned: 200,003\n",
|
| 2084 |
+
"\n",
|
| 2085 |
+
"Section group 33\n",
|
| 2086 |
+
"\n",
|
| 2087 |
+
"Processing: sections/section_0160.parquet\n",
|
| 2088 |
+
"Rows scanned: 200,010\n",
|
| 2089 |
+
"\n",
|
| 2090 |
+
"Processing: sections/section_0161.parquet\n",
|
| 2091 |
+
"Rows scanned: 200,005\n",
|
| 2092 |
+
"\n",
|
| 2093 |
+
"Processing: sections/section_0162.parquet\n",
|
| 2094 |
+
"Rows scanned: 200,006\n",
|
| 2095 |
+
"\n",
|
| 2096 |
+
"Processing: sections/section_0163.parquet\n",
|
| 2097 |
+
"Rows scanned: 200,003\n",
|
| 2098 |
+
"\n",
|
| 2099 |
+
"Processing: sections/section_0164.parquet\n",
|
| 2100 |
+
"Rows scanned: 200,003\n",
|
| 2101 |
+
"\n",
|
| 2102 |
+
"Section group 34\n",
|
| 2103 |
+
"\n",
|
| 2104 |
+
"Processing: sections/section_0165.parquet\n",
|
| 2105 |
+
"Rows scanned: 200,005\n",
|
| 2106 |
+
"\n",
|
| 2107 |
+
"Processing: sections/section_0166.parquet\n",
|
| 2108 |
+
"Rows scanned: 200,003\n",
|
| 2109 |
+
"\n",
|
| 2110 |
+
"Processing: sections/section_0167.parquet\n",
|
| 2111 |
+
"Rows scanned: 200,012\n",
|
| 2112 |
+
"\n",
|
| 2113 |
+
"Processing: sections/section_0168.parquet\n",
|
| 2114 |
+
"Rows scanned: 200,013\n",
|
| 2115 |
+
"\n",
|
| 2116 |
+
"Processing: sections/section_0169.parquet\n",
|
| 2117 |
+
"Rows scanned: 200,000\n",
|
| 2118 |
+
"\n",
|
| 2119 |
+
"Section group 35\n",
|
| 2120 |
+
"\n",
|
| 2121 |
+
"Processing: sections/section_0170.parquet\n",
|
| 2122 |
+
"Rows scanned: 200,001\n",
|
| 2123 |
+
"\n",
|
| 2124 |
+
"Processing: sections/section_0171.parquet\n",
|
| 2125 |
+
"Rows scanned: 200,002\n",
|
| 2126 |
+
"\n",
|
| 2127 |
+
"Processing: sections/section_0172.parquet\n",
|
| 2128 |
+
"Rows scanned: 200,009\n",
|
| 2129 |
+
"\n",
|
| 2130 |
+
"Processing: sections/section_0173.parquet\n",
|
| 2131 |
+
"Rows scanned: 200,013\n",
|
| 2132 |
+
"\n",
|
| 2133 |
+
"Processing: sections/section_0174.parquet\n",
|
| 2134 |
+
"Rows scanned: 200,002\n",
|
| 2135 |
+
"\n",
|
| 2136 |
+
"Section group 36\n",
|
| 2137 |
+
"\n",
|
| 2138 |
+
"Processing: sections/section_0175.parquet\n",
|
| 2139 |
+
"Rows scanned: 200,005\n",
|
| 2140 |
+
"\n",
|
| 2141 |
+
"Processing: sections/section_0176.parquet\n",
|
| 2142 |
+
"Rows scanned: 200,001\n",
|
| 2143 |
+
"\n",
|
| 2144 |
+
"Processing: sections/section_0177.parquet\n",
|
| 2145 |
+
"Rows scanned: 200,012\n",
|
| 2146 |
+
"\n",
|
| 2147 |
+
"Processing: sections/section_0178.parquet\n",
|
| 2148 |
+
"Rows scanned: 200,008\n",
|
| 2149 |
+
"\n",
|
| 2150 |
+
"Processing: sections/section_0179.parquet\n",
|
| 2151 |
+
"Rows scanned: 200,002\n",
|
| 2152 |
+
"\n",
|
| 2153 |
+
"Section group 37\n",
|
| 2154 |
+
"\n",
|
| 2155 |
+
"Processing: sections/section_0180.parquet\n",
|
| 2156 |
+
"Rows scanned: 200,002\n",
|
| 2157 |
+
"\n",
|
| 2158 |
+
"Processing: sections/section_0181.parquet\n",
|
| 2159 |
+
"Rows scanned: 200,010\n",
|
| 2160 |
+
"\n",
|
| 2161 |
+
"Processing: sections/section_0182.parquet\n",
|
| 2162 |
+
"Rows scanned: 200,012\n",
|
| 2163 |
+
"\n",
|
| 2164 |
+
"Processing: sections/section_0183.parquet\n",
|
| 2165 |
+
"Rows scanned: 200,002\n",
|
| 2166 |
+
"\n",
|
| 2167 |
+
"Processing: sections/section_0184.parquet\n",
|
| 2168 |
+
"Rows scanned: 200,006\n",
|
| 2169 |
+
"\n",
|
| 2170 |
+
"Section group 38\n",
|
| 2171 |
+
"\n",
|
| 2172 |
+
"Processing: sections/section_0185.parquet\n",
|
| 2173 |
+
"Rows scanned: 200,008\n",
|
| 2174 |
+
"\n",
|
| 2175 |
+
"Processing: sections/section_0186.parquet\n",
|
| 2176 |
+
"Rows scanned: 200,008\n",
|
| 2177 |
+
"\n",
|
| 2178 |
+
"Processing: sections/section_0187.parquet\n",
|
| 2179 |
+
"Rows scanned: 200,006\n",
|
| 2180 |
+
"\n",
|
| 2181 |
+
"Processing: sections/section_0188.parquet\n",
|
| 2182 |
+
"Rows scanned: 200,007\n",
|
| 2183 |
+
"\n",
|
| 2184 |
+
"Processing: sections/section_0189.parquet\n",
|
| 2185 |
+
"Rows scanned: 200,009\n",
|
| 2186 |
+
"\n",
|
| 2187 |
+
"Section group 39\n",
|
| 2188 |
+
"\n",
|
| 2189 |
+
"Processing: sections/section_0190.parquet\n",
|
| 2190 |
+
"Rows scanned: 200,013\n",
|
| 2191 |
+
"\n",
|
| 2192 |
+
"Processing: sections/section_0191.parquet\n",
|
| 2193 |
+
"Rows scanned: 200,004\n",
|
| 2194 |
+
"\n",
|
| 2195 |
+
"Processing: sections/section_0192.parquet\n",
|
| 2196 |
+
"Rows scanned: 200,004\n",
|
| 2197 |
+
"\n",
|
| 2198 |
+
"Processing: sections/section_0193.parquet\n",
|
| 2199 |
+
"Rows scanned: 200,016\n",
|
| 2200 |
+
"\n",
|
| 2201 |
+
"Processing: sections/section_0194.parquet\n",
|
| 2202 |
+
"Rows scanned: 200,000\n",
|
| 2203 |
+
"\n",
|
| 2204 |
+
"Section group 40\n",
|
| 2205 |
+
"\n",
|
| 2206 |
+
"Processing: sections/section_0195.parquet\n",
|
| 2207 |
+
"Rows scanned: 200,005\n",
|
| 2208 |
+
"\n",
|
| 2209 |
+
"Processing: sections/section_0196.parquet\n"
|
| 2210 |
+
]
|
| 2211 |
+
}
|
| 2212 |
+
]
|
| 2213 |
+
}
|
| 2214 |
+
]
|
| 2215 |
+
}
|