Datasets:
Update build.ipynb
Browse files- build.ipynb +1 -1
build.ipynb
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"nbformat":4,"nbformat_minor":0,"metadata":{"colab":{"provenance":[],"authorship_tag":"ABX9TyOC8QFA+VVDCKBaC2G/CD2t"},"kernelspec":{"name":"python3","display_name":"Python 3"},"language_info":{"name":"python"},"widgets":{"application/vnd.jupyter.widget-state+json":{"fdb9a9858ffe45d994e7e420d6a0988b":{"model_module":"@jupyter-widgets/controls","model_name":"HBoxModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HBoxModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HBoxView","box_style":"","children":["IPY_MODEL_5ebf6f571d4a4729a3c174fb61140e96","IPY_MODEL_44d1e6e4b0294edd9467d7dd2bd284de","IPY_MODEL_b8550a62079144f2bbaca07d9e7adfcf"],"layout":"IPY_MODEL_9aa15aca20be41b9b09fac0f4b1a710c"}},"5ebf6f571d4a4729a3c174fb61140e96":{"model_module":"@jupyter-widgets/controls","model_name":"HTMLModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_10fc5214411c4c60925fc2aa5d97cb66","placeholder":"","style":"IPY_MODEL_9b93630055fd43adb327f797f1d78a17","value":"Generating train split: "}},"44d1e6e4b0294edd9467d7dd2bd284de":{"model_module":"@jupyter-widgets/controls","model_name":"FloatProgressModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"FloatProgressModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"ProgressView","bar_style":"success","description":"","description_tooltip":null,"layout":"IPY_MODEL_733c2234559443268314c3bc4f77a859","max":1,"min":0,"orientation":"horizontal","style":"IPY_MODEL_e59dab661f8e4f16932a1dd015c4b0ac","value":1}},"b8550a62079144f2bbaca07d9e7adfcf":{"model_module":"@jupyter-widgets/controls","model_name":"HTMLModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_85d3d7d5fa934c429386f03d599090ca","placeholder":"","style":"IPY_MODEL_7f40b4bb839a4fbba344256d30d7a624","value":" 1313525/0 [00:01<00:00, 1178829.50 examples/s]"}},"9aa15aca20be41b9b09fac0f4b1a710c":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"10fc5214411c4c60925fc2aa5d97cb66":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"9b93630055fd43adb327f797f1d78a17":{"model_module":"@jupyter-widgets/controls","model_name":"DescriptionStyleModel","model_module_version":"1.5.0","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"733c2234559443268314c3bc4f77a859":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":"20px"}},"e59dab661f8e4f16932a1dd015c4b0ac":{"model_module":"@jupyter-widgets/controls","model_name":"ProgressStyleModel","model_module_version":"1.5.0","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"ProgressStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","bar_color":null,"description_width":""}},"85d3d7d5fa934c429386f03d599090ca":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"7f40b4bb839a4fbba344256d30d7a624":{"model_module":"@jupyter-widgets/controls","model_name":"DescriptionStyleModel","model_module_version":"1.5.0","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"902b9b25ffe14977bbb31c543a18f9e5":{"model_module":"@jupyter-widgets/controls","model_name":"HBoxModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HBoxModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HBoxView","box_style":"","children":["IPY_MODEL_8bf8f973042c4403bc3189febb2994f6","IPY_MODEL_4e6c085de7ba4f8fbfdf64bf6da0d923","IPY_MODEL_8ef5a77dbed644ec9ccb8ce787fcc1fe"],"layout":"IPY_MODEL_23dfa7a1a74a45eba3301a52784534e5"}},"8bf8f973042c4403bc3189febb2994f6":{"model_module":"@jupyter-widgets/controls","model_name":"HTMLModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_4e300a25b8b4469c9633c3720997c876","placeholder":"","style":"IPY_MODEL_dbb83c4e82544de59e2a3f20fa8026e7","value":"Uploading the dataset shards: 100%"}},"4e6c085de7ba4f8fbfdf64bf6da0d923":{"model_module":"@jupyter-widgets/controls","model_name":"FloatProgressModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"FloatProgressModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"ProgressView","bar_style":"success","description":"","description_tooltip":null,"layout":"IPY_MODEL_f6a71d85794a435cbca17b821bc38287","max":1,"min":0,"orientation":"horizontal","style":"IPY_MODEL_f51a3b7857924006938d56aa1725138e","value":1}},"8ef5a77dbed644ec9ccb8ce787fcc1fe":{"model_module":"@jupyter-widgets/controls","model_name":"HTMLModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_559d15e7c4d3416bb94514a87cd8e7cc","placeholder":"","style":"IPY_MODEL_37a7b88ca3d5492193d7715cce9d2643","value":" 1/1 [00:02<00:00, 2.69s/it]"}},"23dfa7a1a74a45eba3301a52784534e5":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"4e300a25b8b4469c9633c3720997c876":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"dbb83c4e82544de59e2a3f20fa8026e7":{"model_module":"@jupyter-widgets/controls","model_name":"DescriptionStyleModel","model_module_version":"1.5.0","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"f6a71d85794a435cbca17b821bc38287":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"f51a3b7857924006938d56aa1725138e":{"model_module":"@jupyter-widgets/controls","model_name":"ProgressStyleModel","model_module_version":"1.5.0","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"ProgressStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","bar_color":null,"description_width":""}},"559d15e7c4d3416bb94514a87cd8e7cc":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"37a7b88ca3d5492193d7715cce9d2643":{"model_module":"@jupyter-widgets/controls","model_name":"DescriptionStyleModel","model_module_version":"1.5.0","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"e8577a58407e4b24acae911e3fbf2c0a":{"model_module":"@jupyter-widgets/controls","model_name":"HBoxModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HBoxModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HBoxView","box_style":"","children":["IPY_MODEL_6c05e30dae994e6fa6aa4e7258a4cfa2","IPY_MODEL_a6f4b51420354423986c459a129c7766","IPY_MODEL_bf438063dd874afa8ff107c598283f3a"],"layout":"IPY_MODEL_5c40b12536de4b1c88890483682d69c2"}},"6c05e30dae994e6fa6aa4e7258a4cfa2":{"model_module":"@jupyter-widgets/controls","model_name":"HTMLModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_29606359888c45e18c31cbee006f19d6","placeholder":"","style":"IPY_MODEL_ad5db95c13fe419fa5cf5860c1ccfb89","value":"Creating parquet from Arrow format: 100%"}},"a6f4b51420354423986c459a129c7766":{"model_module":"@jupyter-widgets/controls","model_name":"FloatProgressModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"FloatProgressModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"ProgressView","bar_style":"success","description":"","description_tooltip":null,"layout":"IPY_MODEL_066c364ca2f34659a5813e8a8d1a9bf6","max":1314,"min":0,"orientation":"horizontal","style":"IPY_MODEL_be824b2577a041df8d95fee61dd13617","value":1314}},"bf438063dd874afa8ff107c598283f3a":{"model_module":"@jupyter-widgets/controls","model_name":"HTMLModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_813ce4ff18124ffcaab177438760726b","placeholder":"","style":"IPY_MODEL_0ac4e4521298493bbf68ccc35de7f385","value":" 1314/1314 [00:00<00:00, 2075.22ba/s]"}},"5c40b12536de4b1c88890483682d69c2":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"29606359888c45e18c31cbee006f19d6":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"ad5db95c13fe419fa5cf5860c1ccfb89":{"model_module":"@jupyter-widgets/controls","model_name":"DescriptionStyleModel","model_module_version":"1.5.0","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"066c364ca2f34659a5813e8a8d1a9bf6":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"be824b2577a041df8d95fee61dd13617":{"model_module":"@jupyter-widgets/controls","model_name":"ProgressStyleModel","model_module_version":"1.5.0","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"ProgressStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","bar_color":null,"description_width":""}},"813ce4ff18124ffcaab177438760726b":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"0ac4e4521298493bbf68ccc35de7f385":{"model_module":"@jupyter-widgets/controls","model_name":"DescriptionStyleModel","model_module_version":"1.5.0","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}}}}},"cells":[{"cell_type":"markdown","source":["## Install the modified `dom-tokenizers`"],"metadata":{"id":"p4cA_Al2R8Fm"}},{"cell_type":"code","execution_count":null,"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"id":"AxuqwFstR6UD","executionInfo":{"status":"ok","timestamp":1717857783934,"user_tz":-60,"elapsed":935,"user":{"displayName":"Gary Benson","userId":"04610266850028564176"}},"outputId":"a6af92c2-fc12-445c-bdf8-1cdfab35310c"},"outputs":[{"output_type":"stream","name":"stdout","text":["Cloning into 'dom-tokenizers'...\n","remote: Enumerating objects: 505, done.\u001b[K\n","remote: Counting objects: 100% (103/103), done.\u001b[K\n","remote: Compressing objects: 100% (53/53), done.\u001b[K\n","remote: Total 505 (delta 50), reused 80 (delta 43), pack-reused 402\u001b[K\n","Receiving objects: 100% (505/505), 139.21 KiB | 3.31 MiB/s, done.\n","Resolving deltas: 100% (269/269), done.\n"]}],"source":["!git clone https://github.com/gbenson/dom-tokenizers.git -b emit-unique-tokens-0.0.15 --single-branch\n"]},{"cell_type":"code","source":["!cd dom-tokenizers && pip install -e .[train]"],"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"id":"iURZKR40UCxY","executionInfo":{"status":"ok","timestamp":1717858254061,"user_tz":-60,"elapsed":30638,"user":{"displayName":"Gary Benson","userId":"04610266850028564176"}},"outputId":"4bb266d0-e045-46b0-bd0a-a874b9a7c2f8"},"execution_count":null,"outputs":[{"output_type":"stream","name":"stdout","text":["Obtaining file:///content/dom-tokenizers\n"," Installing build dependencies ... \u001b[?25l\u001b[?25hdone\n"," Checking if build backend supports build_editable ... \u001b[?25l\u001b[?25hdone\n"," Getting requirements to build editable ... \u001b[?25l\u001b[?25hdone\n"," Installing backend dependencies ... \u001b[?25l\u001b[?25hdone\n"," Preparing editable metadata (pyproject.toml) ... \u001b[?25l\u001b[?25hdone\n","Requirement already satisfied: python-magic in /usr/local/lib/python3.10/dist-packages (from dom-tokenizers==0.0.15) (0.4.27)\n","Requirement already satisfied: tokenizers in /usr/local/lib/python3.10/dist-packages (from dom-tokenizers==0.0.15) (0.19.1)\n","Requirement already satisfied: unidecode in /usr/local/lib/python3.10/dist-packages (from dom-tokenizers==0.0.15) (1.3.8)\n","Requirement already satisfied: datasets in /usr/local/lib/python3.10/dist-packages (from dom-tokenizers==0.0.15) (2.19.2)\n","Requirement already satisfied: pillow in /usr/local/lib/python3.10/dist-packages (from dom-tokenizers==0.0.15) (9.4.0)\n","Requirement already satisfied: transformers in /usr/local/lib/python3.10/dist-packages (from dom-tokenizers==0.0.15) (4.41.2)\n","Requirement already satisfied: filelock in /usr/local/lib/python3.10/dist-packages (from datasets->dom-tokenizers==0.0.15) (3.14.0)\n","Requirement already satisfied: numpy>=1.17 in /usr/local/lib/python3.10/dist-packages (from datasets->dom-tokenizers==0.0.15) (1.25.2)\n","Requirement already satisfied: pyarrow>=12.0.0 in /usr/local/lib/python3.10/dist-packages (from datasets->dom-tokenizers==0.0.15) (14.0.2)\n","Requirement already satisfied: pyarrow-hotfix in /usr/local/lib/python3.10/dist-packages (from datasets->dom-tokenizers==0.0.15) (0.6)\n","Requirement already satisfied: dill<0.3.9,>=0.3.0 in /usr/local/lib/python3.10/dist-packages (from datasets->dom-tokenizers==0.0.15) (0.3.8)\n","Requirement already satisfied: pandas in /usr/local/lib/python3.10/dist-packages (from datasets->dom-tokenizers==0.0.15) (2.0.3)\n","Collecting requests>=2.32.1 (from datasets->dom-tokenizers==0.0.15)\n"," Using cached requests-2.32.3-py3-none-any.whl (64 kB)\n","Requirement already satisfied: tqdm>=4.62.1 in /usr/local/lib/python3.10/dist-packages (from datasets->dom-tokenizers==0.0.15) (4.66.4)\n","Requirement already satisfied: xxhash in /usr/local/lib/python3.10/dist-packages (from datasets->dom-tokenizers==0.0.15) (3.4.1)\n","Requirement already satisfied: multiprocess in /usr/local/lib/python3.10/dist-packages (from datasets->dom-tokenizers==0.0.15) (0.70.16)\n","Requirement already satisfied: fsspec[http]<=2024.3.1,>=2023.1.0 in /usr/local/lib/python3.10/dist-packages (from datasets->dom-tokenizers==0.0.15) (2023.6.0)\n","Requirement already satisfied: aiohttp in /usr/local/lib/python3.10/dist-packages (from datasets->dom-tokenizers==0.0.15) (3.9.5)\n","Requirement already satisfied: huggingface-hub>=0.21.2 in /usr/local/lib/python3.10/dist-packages (from datasets->dom-tokenizers==0.0.15) (0.23.2)\n","Requirement already satisfied: packaging in /usr/local/lib/python3.10/dist-packages (from datasets->dom-tokenizers==0.0.15) (24.0)\n","Requirement already satisfied: pyyaml>=5.1 in /usr/local/lib/python3.10/dist-packages (from datasets->dom-tokenizers==0.0.15) (6.0.1)\n","Requirement already satisfied: regex!=2019.12.17 in /usr/local/lib/python3.10/dist-packages (from transformers->dom-tokenizers==0.0.15) (2024.5.15)\n","Requirement already satisfied: safetensors>=0.4.1 in /usr/local/lib/python3.10/dist-packages (from transformers->dom-tokenizers==0.0.15) (0.4.3)\n","Requirement already satisfied: aiosignal>=1.1.2 in /usr/local/lib/python3.10/dist-packages (from aiohttp->datasets->dom-tokenizers==0.0.15) (1.3.1)\n","Requirement already satisfied: attrs>=17.3.0 in /usr/local/lib/python3.10/dist-packages (from aiohttp->datasets->dom-tokenizers==0.0.15) (23.2.0)\n","Requirement already satisfied: frozenlist>=1.1.1 in /usr/local/lib/python3.10/dist-packages (from aiohttp->datasets->dom-tokenizers==0.0.15) (1.4.1)\n","Requirement already satisfied: multidict<7.0,>=4.5 in /usr/local/lib/python3.10/dist-packages (from aiohttp->datasets->dom-tokenizers==0.0.15) (6.0.5)\n","Requirement already satisfied: yarl<2.0,>=1.0 in /usr/local/lib/python3.10/dist-packages (from aiohttp->datasets->dom-tokenizers==0.0.15) (1.9.4)\n","Requirement already satisfied: async-timeout<5.0,>=4.0 in /usr/local/lib/python3.10/dist-packages (from aiohttp->datasets->dom-tokenizers==0.0.15) (4.0.3)\n","Requirement already satisfied: typing-extensions>=3.7.4.3 in /usr/local/lib/python3.10/dist-packages (from huggingface-hub>=0.21.2->datasets->dom-tokenizers==0.0.15) (4.12.1)\n","Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.10/dist-packages (from requests>=2.32.1->datasets->dom-tokenizers==0.0.15) (3.3.2)\n","Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.10/dist-packages (from requests>=2.32.1->datasets->dom-tokenizers==0.0.15) (3.7)\n","Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.10/dist-packages (from requests>=2.32.1->datasets->dom-tokenizers==0.0.15) (2.0.7)\n","Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.10/dist-packages (from requests>=2.32.1->datasets->dom-tokenizers==0.0.15) (2024.6.2)\n","Requirement already satisfied: python-dateutil>=2.8.2 in /usr/local/lib/python3.10/dist-packages (from pandas->datasets->dom-tokenizers==0.0.15) (2.8.2)\n","Requirement already satisfied: pytz>=2020.1 in /usr/local/lib/python3.10/dist-packages (from pandas->datasets->dom-tokenizers==0.0.15) (2023.4)\n","Requirement already satisfied: tzdata>=2022.1 in /usr/local/lib/python3.10/dist-packages (from pandas->datasets->dom-tokenizers==0.0.15) (2024.1)\n","Requirement already satisfied: six>=1.5 in /usr/local/lib/python3.10/dist-packages (from python-dateutil>=2.8.2->pandas->datasets->dom-tokenizers==0.0.15) (1.16.0)\n","Building wheels for collected packages: dom-tokenizers\n"," Building editable for dom-tokenizers (pyproject.toml) ... \u001b[?25l\u001b[?25hdone\n"," Created wheel for dom-tokenizers: filename=dom_tokenizers-0.0.15-0.editable-py3-none-any.whl size=7349 sha256=e87f31f7741c31b0699ae906e7eecdec1278eb520c8e7f2110cdec5708464faf\n"," Stored in directory: /tmp/pip-ephem-wheel-cache-tof5n_k9/wheels/ab/e4/d2/9b9419db21d26514602a3dbb7582a3c195f9229169192ca43b\n","Successfully built dom-tokenizers\n","Installing collected packages: requests, dom-tokenizers\n"," Attempting uninstall: requests\n"," Found existing installation: requests 2.31.0\n"," Uninstalling requests-2.31.0:\n"," Successfully uninstalled requests-2.31.0\n"," Attempting uninstall: dom-tokenizers\n"," Found existing installation: dom-tokenizers 0.0.15\n"," Uninstalling dom-tokenizers-0.0.15:\n"," Successfully uninstalled dom-tokenizers-0.0.15\n","\u001b[31mERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.\n","google-colab 1.0.0 requires requests==2.31.0, but you have requests 2.32.3 which is incompatible.\u001b[0m\u001b[31m\n","\u001b[0mSuccessfully installed dom-tokenizers-0.0.15 requests-2.32.3\n"]}]},{"cell_type":"markdown","source":["## Train a tokenizer on `gbenson/webui-dom-snapshots`\n","\n","We don't need the tokenizer, but this `dom-tokenizers` is modified to output every unique token it sees into a file as a side-effect."],"metadata":{"id":"aXQW8CBmVOa4"}},{"cell_type":"code","source":["!train-tokenizer -n30000 -N4536 gbenson/webui-dom-snapshots"],"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"id":"CqHIS-8xVVKe","executionInfo":{"status":"ok","timestamp":1717862039075,"user_tz":-60,"elapsed":3603581,"user":{"displayName":"Gary Benson","userId":"04610266850028564176"}},"outputId":"e56099eb-a734-4859-c7c2-46b683581d1d"},"execution_count":null,"outputs":[{"output_type":"stream","name":"stdout","text":["Output directory: /content/dom-tokenizer-30k\n","\n","Generating up to 30,000 tokens from 4,536 examples:\n","\u001b[2K[00:00:03] Tokenize words ██████████████████ 919164 / 919164\n","\u001b[2K[00:01:18] Count pairs ██████████████████ 919164 / 919164\n","\u001b[2K[00:00:22] Compute merges ██████████████████ 29902 / 29902\n","\n","['training', 'complete']\n","['token', '##izer', 'state', 'saved']\n","['see', 'you', 'soon', '##!', '##!']\n"]}]},{"cell_type":"markdown","source":["## Load the file into a dataset"],"metadata":{"id":"Uo_FraY1W5IK"}},{"cell_type":"code","source":["from datasets import load_dataset\n","dataset = load_dataset(\"text\", data_files={\"train\": [\"unique-tokens\"]})"],"metadata":{"id":"L_oxSzmFW-nL","colab":{"base_uri":"https://localhost:8080/","height":49,"referenced_widgets":["fdb9a9858ffe45d994e7e420d6a0988b","5ebf6f571d4a4729a3c174fb61140e96","44d1e6e4b0294edd9467d7dd2bd284de","b8550a62079144f2bbaca07d9e7adfcf","9aa15aca20be41b9b09fac0f4b1a710c","10fc5214411c4c60925fc2aa5d97cb66","9b93630055fd43adb327f797f1d78a17","733c2234559443268314c3bc4f77a859","e59dab661f8e4f16932a1dd015c4b0ac","85d3d7d5fa934c429386f03d599090ca","7f40b4bb839a4fbba344256d30d7a624"]},"executionInfo":{"status":"ok","timestamp":1717862292658,"user_tz":-60,"elapsed":3125,"user":{"displayName":"Gary Benson","userId":"04610266850028564176"}},"outputId":"d8c3b7b7-596d-4926-ef9f-d7607f4ac69f"},"execution_count":4,"outputs":[{"output_type":"display_data","data":{"text/plain":["Generating train split: 0 examples [00:00, ? examples/s]"],"application/vnd.jupyter.widget-view+json":{"version_major":2,"version_minor":0,"model_id":"fdb9a9858ffe45d994e7e420d6a0988b"}},"metadata":{}}]},{"cell_type":"markdown","source":["## Upload to Hugging Face"],"metadata":{"id":"sqbaaByQYG5q"}},{"cell_type":"code","source":["dataset.push_to_hub(\"gbenson/webui-tokens-unlabelled\")"],"metadata":{"id":"ICObGLZvYHRZ","colab":{"base_uri":"https://localhost:8080/","height":240,"referenced_widgets":["902b9b25ffe14977bbb31c543a18f9e5","8bf8f973042c4403bc3189febb2994f6","4e6c085de7ba4f8fbfdf64bf6da0d923","8ef5a77dbed644ec9ccb8ce787fcc1fe","23dfa7a1a74a45eba3301a52784534e5","4e300a25b8b4469c9633c3720997c876","dbb83c4e82544de59e2a3f20fa8026e7","f6a71d85794a435cbca17b821bc38287","f51a3b7857924006938d56aa1725138e","559d15e7c4d3416bb94514a87cd8e7cc","37a7b88ca3d5492193d7715cce9d2643","e8577a58407e4b24acae911e3fbf2c0a","6c05e30dae994e6fa6aa4e7258a4cfa2","a6f4b51420354423986c459a129c7766","bf438063dd874afa8ff107c598283f3a","5c40b12536de4b1c88890483682d69c2","29606359888c45e18c31cbee006f19d6","ad5db95c13fe419fa5cf5860c1ccfb89","066c364ca2f34659a5813e8a8d1a9bf6","be824b2577a041df8d95fee61dd13617","813ce4ff18124ffcaab177438760726b","0ac4e4521298493bbf68ccc35de7f385"]},"executionInfo":{"status":"ok","timestamp":1717862311858,"user_tz":-60,"elapsed":5465,"user":{"displayName":"Gary Benson","userId":"04610266850028564176"}},"outputId":"4f091737-1deb-42a7-faf6-0b715cd5fd04"},"execution_count":5,"outputs":[{"output_type":"display_data","data":{"text/plain":["Uploading the dataset shards: 0%| | 0/1 [00:00<?, ?it/s]"],"application/vnd.jupyter.widget-view+json":{"version_major":2,"version_minor":0,"model_id":"902b9b25ffe14977bbb31c543a18f9e5"}},"metadata":{}},{"output_type":"display_data","data":{"text/plain":["Creating parquet from Arrow format: 0%| | 0/1314 [00:00<?, ?ba/s]"],"application/vnd.jupyter.widget-view+json":{"version_major":2,"version_minor":0,"model_id":"e8577a58407e4b24acae911e3fbf2c0a"}},"metadata":{}},{"output_type":"execute_result","data":{"text/plain":["CommitInfo(commit_url='https://huggingface.co/datasets/gbenson/webui-tokens-unlabelled/commit/523f24603953004750da736f083dfdc7264c7da7', commit_message='Upload dataset', commit_description='', oid='523f24603953004750da736f083dfdc7264c7da7', pr_url=None, pr_revision=None, pr_num=None)"],"application/vnd.google.colaboratory.intrinsic+json":{"type":"string"}},"metadata":{},"execution_count":5}]}]}
|
|
|
1 |
+
{"nbformat":4,"nbformat_minor":0,"metadata":{"colab":{"provenance":[{"file_id":"https://huggingface.co/datasets/gbenson/webui-tokens-unlabelled/blob/main/build.ipynb","timestamp":1717977518988}],"authorship_tag":"ABX9TyNSvEpphDneWpO+fSTGzu/V"},"kernelspec":{"name":"python3","display_name":"Python 3"},"language_info":{"name":"python"},"widgets":{"application/vnd.jupyter.widget-state+json":{"c250ed32eba5416a9b6de7724fc11adf":{"model_module":"@jupyter-widgets/controls","model_name":"HBoxModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HBoxModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HBoxView","box_style":"","children":["IPY_MODEL_112b31e00d4746ee9b30020ed10d8c65","IPY_MODEL_c8f40b2d40c249faaac08496c267f9de","IPY_MODEL_af027229486f408d8b8b52b8be4d88d9"],"layout":"IPY_MODEL_33bca37575474c3b90f6a7873a7447c9"}},"112b31e00d4746ee9b30020ed10d8c65":{"model_module":"@jupyter-widgets/controls","model_name":"HTMLModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_826c4dacc55a4f1da517bf871d523f93","placeholder":"","style":"IPY_MODEL_72a031e964d04adabefdad0e00001ad4","value":"Generating train split: "}},"c8f40b2d40c249faaac08496c267f9de":{"model_module":"@jupyter-widgets/controls","model_name":"FloatProgressModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"FloatProgressModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"ProgressView","bar_style":"success","description":"","description_tooltip":null,"layout":"IPY_MODEL_d76a94323eb442fcb0bb71f233d40173","max":1,"min":0,"orientation":"horizontal","style":"IPY_MODEL_fdfc57324e3848d8b5d12222c77ee910","value":1}},"af027229486f408d8b8b52b8be4d88d9":{"model_module":"@jupyter-widgets/controls","model_name":"HTMLModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_0eeed2677e9a42888cd1e9b6b24b44c2","placeholder":"","style":"IPY_MODEL_c8fc272ed97c4fdc91cd6281b97c3ab3","value":" 1193248/0 [00:00<00:00, 1203483.39 examples/s]"}},"33bca37575474c3b90f6a7873a7447c9":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"826c4dacc55a4f1da517bf871d523f93":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"72a031e964d04adabefdad0e00001ad4":{"model_module":"@jupyter-widgets/controls","model_name":"DescriptionStyleModel","model_module_version":"1.5.0","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"d76a94323eb442fcb0bb71f233d40173":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":"20px"}},"fdfc57324e3848d8b5d12222c77ee910":{"model_module":"@jupyter-widgets/controls","model_name":"ProgressStyleModel","model_module_version":"1.5.0","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"ProgressStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","bar_color":null,"description_width":""}},"0eeed2677e9a42888cd1e9b6b24b44c2":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"c8fc272ed97c4fdc91cd6281b97c3ab3":{"model_module":"@jupyter-widgets/controls","model_name":"DescriptionStyleModel","model_module_version":"1.5.0","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"4aac91b1b50b4f549267176f18e1ea73":{"model_module":"@jupyter-widgets/controls","model_name":"HBoxModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HBoxModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HBoxView","box_style":"","children":["IPY_MODEL_67675428d5ea46fdac388fde3b4f16cf","IPY_MODEL_94f49f03c7b44bebb55e50aa11c80c26","IPY_MODEL_1150c2973e934f668fa0d1bb161f817f"],"layout":"IPY_MODEL_c70733b0e16f4b31abfc2a2181a1af63"}},"67675428d5ea46fdac388fde3b4f16cf":{"model_module":"@jupyter-widgets/controls","model_name":"HTMLModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_94f3754ff10448cf90fd2ac5d0a3103f","placeholder":"","style":"IPY_MODEL_e930274a88004b0399d7244b48bed6ec","value":"Uploading the dataset shards: 100%"}},"94f49f03c7b44bebb55e50aa11c80c26":{"model_module":"@jupyter-widgets/controls","model_name":"FloatProgressModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"FloatProgressModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"ProgressView","bar_style":"success","description":"","description_tooltip":null,"layout":"IPY_MODEL_2ddeb8c5f7f24caa9ffda2766ee8b25b","max":1,"min":0,"orientation":"horizontal","style":"IPY_MODEL_8852d0be83244a5caaf393679e56054b","value":1}},"1150c2973e934f668fa0d1bb161f817f":{"model_module":"@jupyter-widgets/controls","model_name":"HTMLModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_539a48f7182b42d19605089ee1e99fee","placeholder":"","style":"IPY_MODEL_2f5a404c6faa4c5695cbf383914479aa","value":" 1/1 [00:02<00:00, 2.55s/it]"}},"c70733b0e16f4b31abfc2a2181a1af63":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"94f3754ff10448cf90fd2ac5d0a3103f":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"e930274a88004b0399d7244b48bed6ec":{"model_module":"@jupyter-widgets/controls","model_name":"DescriptionStyleModel","model_module_version":"1.5.0","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"2ddeb8c5f7f24caa9ffda2766ee8b25b":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"8852d0be83244a5caaf393679e56054b":{"model_module":"@jupyter-widgets/controls","model_name":"ProgressStyleModel","model_module_version":"1.5.0","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"ProgressStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","bar_color":null,"description_width":""}},"539a48f7182b42d19605089ee1e99fee":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"2f5a404c6faa4c5695cbf383914479aa":{"model_module":"@jupyter-widgets/controls","model_name":"DescriptionStyleModel","model_module_version":"1.5.0","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"863e9aab70d545a9806c7bca26a377bb":{"model_module":"@jupyter-widgets/controls","model_name":"HBoxModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HBoxModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HBoxView","box_style":"","children":["IPY_MODEL_27162d34254849f18ed798ab3ad332e7","IPY_MODEL_c6b3eaf465ee429fbf8d4ed2b2946ae7","IPY_MODEL_f7a7a81efdf74392951fe4d09f9fd6ff"],"layout":"IPY_MODEL_1a959cdefae1454fb2d1d97a57f89d8f"}},"27162d34254849f18ed798ab3ad332e7":{"model_module":"@jupyter-widgets/controls","model_name":"HTMLModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_f8987399a34b43698fcd686c15627709","placeholder":"","style":"IPY_MODEL_8fb627c83a3f402183b6b2a2c03c56fb","value":"Creating parquet from Arrow format: 100%"}},"c6b3eaf465ee429fbf8d4ed2b2946ae7":{"model_module":"@jupyter-widgets/controls","model_name":"FloatProgressModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"FloatProgressModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"ProgressView","bar_style":"success","description":"","description_tooltip":null,"layout":"IPY_MODEL_da1eed065e504e198e615a8a99b1b458","max":1194,"min":0,"orientation":"horizontal","style":"IPY_MODEL_2c5e29f239ff4ea48e40b1ebc9c136aa","value":1194}},"f7a7a81efdf74392951fe4d09f9fd6ff":{"model_module":"@jupyter-widgets/controls","model_name":"HTMLModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_61542c8d0a854157b14f4909797335ae","placeholder":"","style":"IPY_MODEL_af1419ec01dc4545abea1eabcf2ec5ad","value":" 1194/1194 [00:00<00:00, 2390.05ba/s]"}},"1a959cdefae1454fb2d1d97a57f89d8f":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"f8987399a34b43698fcd686c15627709":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"8fb627c83a3f402183b6b2a2c03c56fb":{"model_module":"@jupyter-widgets/controls","model_name":"DescriptionStyleModel","model_module_version":"1.5.0","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"da1eed065e504e198e615a8a99b1b458":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"2c5e29f239ff4ea48e40b1ebc9c136aa":{"model_module":"@jupyter-widgets/controls","model_name":"ProgressStyleModel","model_module_version":"1.5.0","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"ProgressStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","bar_color":null,"description_width":""}},"61542c8d0a854157b14f4909797335ae":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"af1419ec01dc4545abea1eabcf2ec5ad":{"model_module":"@jupyter-widgets/controls","model_name":"DescriptionStyleModel","model_module_version":"1.5.0","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"0ee65a2d66f84c80aad96dfb94780481":{"model_module":"@jupyter-widgets/controls","model_name":"HBoxModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HBoxModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HBoxView","box_style":"","children":["IPY_MODEL_67d3fae06d674b0581bc015acf76336b","IPY_MODEL_40a02713161840d7a341b8fa1b668dd0","IPY_MODEL_d7f10db7974e438b8d40f5cc377cf065"],"layout":"IPY_MODEL_6fc9e5fff1ef46b5bcd1171b4d802bac"}},"67d3fae06d674b0581bc015acf76336b":{"model_module":"@jupyter-widgets/controls","model_name":"HTMLModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_3bac146b416140da9c81c8af408cab57","placeholder":"","style":"IPY_MODEL_fcfb20b6a0d440d08376b343c258da64","value":"README.md: 100%"}},"40a02713161840d7a341b8fa1b668dd0":{"model_module":"@jupyter-widgets/controls","model_name":"FloatProgressModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"FloatProgressModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"ProgressView","bar_style":"success","description":"","description_tooltip":null,"layout":"IPY_MODEL_9f934ab4a6c44abe830abebca3497e23","max":1120,"min":0,"orientation":"horizontal","style":"IPY_MODEL_06d3c75c8e174391b6cbdedc928c48a1","value":1120}},"d7f10db7974e438b8d40f5cc377cf065":{"model_module":"@jupyter-widgets/controls","model_name":"HTMLModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_b4ea76ca44bd4de98bae7e0bb50db70e","placeholder":"","style":"IPY_MODEL_19597b32135d4f5180e2c0789e781960","value":" 1.12k/1.12k [00:00<00:00, 77.9kB/s]"}},"6fc9e5fff1ef46b5bcd1171b4d802bac":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"3bac146b416140da9c81c8af408cab57":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"fcfb20b6a0d440d08376b343c258da64":{"model_module":"@jupyter-widgets/controls","model_name":"DescriptionStyleModel","model_module_version":"1.5.0","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"9f934ab4a6c44abe830abebca3497e23":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"06d3c75c8e174391b6cbdedc928c48a1":{"model_module":"@jupyter-widgets/controls","model_name":"ProgressStyleModel","model_module_version":"1.5.0","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"ProgressStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","bar_color":null,"description_width":""}},"b4ea76ca44bd4de98bae7e0bb50db70e":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"19597b32135d4f5180e2c0789e781960":{"model_module":"@jupyter-widgets/controls","model_name":"DescriptionStyleModel","model_module_version":"1.5.0","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}}}}},"cells":[{"cell_type":"markdown","source":["## Install the modified `dom-tokenizers`"],"metadata":{"id":"p4cA_Al2R8Fm"}},{"cell_type":"code","execution_count":1,"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"id":"AxuqwFstR6UD","executionInfo":{"status":"ok","timestamp":1717977539000,"user_tz":-60,"elapsed":723,"user":{"displayName":"Gary Benson","userId":"04610266850028564176"}},"outputId":"3418c458-2dc8-422b-a67c-2d77ab475e20"},"outputs":[{"output_type":"stream","name":"stdout","text":["Cloning into 'dom-tokenizers'...\n","remote: Enumerating objects: 527, done.\u001b[K\n","remote: Counting objects: 100% (125/125), done.\u001b[K\n","remote: Compressing objects: 100% (59/59), done.\u001b[K\n","remote: Total 527 (delta 62), reused 101 (delta 54), pack-reused 402\u001b[K\n","Receiving objects: 100% (527/527), 143.05 KiB | 4.33 MiB/s, done.\n","Resolving deltas: 100% (281/281), done.\n"]}],"source":["!git clone https://github.com/gbenson/dom-tokenizers.git -b emit-unique-tokens-0.0.16 --single-branch\n"]},{"cell_type":"code","source":["!cd dom-tokenizers && pip install -e .[train]"],"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"id":"iURZKR40UCxY","executionInfo":{"status":"ok","timestamp":1717977577130,"user_tz":-60,"elapsed":26692,"user":{"displayName":"Gary Benson","userId":"04610266850028564176"}},"outputId":"56364a76-0ac7-42a9-d98d-805d2f700f45"},"execution_count":2,"outputs":[{"output_type":"stream","name":"stdout","text":["Obtaining file:///content/dom-tokenizers\n"," Installing build dependencies ... \u001b[?25l\u001b[?25hdone\n"," Checking if build backend supports build_editable ... \u001b[?25l\u001b[?25hdone\n"," Getting requirements to build editable ... \u001b[?25l\u001b[?25hdone\n"," Installing backend dependencies ... \u001b[?25l\u001b[?25hdone\n"," Preparing editable metadata (pyproject.toml) ... \u001b[?25l\u001b[?25hdone\n","Collecting python-magic (from dom-tokenizers==0.0.16)\n"," Downloading python_magic-0.4.27-py2.py3-none-any.whl (13 kB)\n","Requirement already satisfied: tokenizers in /usr/local/lib/python3.10/dist-packages (from dom-tokenizers==0.0.16) (0.19.1)\n","Collecting unidecode (from dom-tokenizers==0.0.16)\n"," Downloading Unidecode-1.3.8-py3-none-any.whl (235 kB)\n","\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m235.5/235.5 kB\u001b[0m \u001b[31m5.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n","\u001b[?25hCollecting datasets (from dom-tokenizers==0.0.16)\n"," Downloading datasets-2.19.2-py3-none-any.whl (542 kB)\n","\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m542.1/542.1 kB\u001b[0m \u001b[31m26.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n","\u001b[?25hRequirement already satisfied: pillow in /usr/local/lib/python3.10/dist-packages (from dom-tokenizers==0.0.16) (9.4.0)\n","Requirement already satisfied: transformers in /usr/local/lib/python3.10/dist-packages (from dom-tokenizers==0.0.16) (4.41.2)\n","Requirement already satisfied: filelock in /usr/local/lib/python3.10/dist-packages (from datasets->dom-tokenizers==0.0.16) (3.14.0)\n","Requirement already satisfied: numpy>=1.17 in /usr/local/lib/python3.10/dist-packages (from datasets->dom-tokenizers==0.0.16) (1.25.2)\n","Requirement already satisfied: pyarrow>=12.0.0 in /usr/local/lib/python3.10/dist-packages (from datasets->dom-tokenizers==0.0.16) (14.0.2)\n","Requirement already satisfied: pyarrow-hotfix in /usr/local/lib/python3.10/dist-packages (from datasets->dom-tokenizers==0.0.16) (0.6)\n","Collecting dill<0.3.9,>=0.3.0 (from datasets->dom-tokenizers==0.0.16)\n"," Downloading dill-0.3.8-py3-none-any.whl (116 kB)\n","\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m116.3/116.3 kB\u001b[0m \u001b[31m15.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n","\u001b[?25hRequirement already satisfied: pandas in /usr/local/lib/python3.10/dist-packages (from datasets->dom-tokenizers==0.0.16) (2.0.3)\n","Collecting requests>=2.32.1 (from datasets->dom-tokenizers==0.0.16)\n"," Downloading requests-2.32.3-py3-none-any.whl (64 kB)\n","\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m64.9/64.9 kB\u001b[0m \u001b[31m8.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n","\u001b[?25hRequirement already satisfied: tqdm>=4.62.1 in /usr/local/lib/python3.10/dist-packages (from datasets->dom-tokenizers==0.0.16) (4.66.4)\n","Collecting xxhash (from datasets->dom-tokenizers==0.0.16)\n"," Downloading xxhash-3.4.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (194 kB)\n","\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m194.1/194.1 kB\u001b[0m \u001b[31m21.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n","\u001b[?25hCollecting multiprocess (from datasets->dom-tokenizers==0.0.16)\n"," Downloading multiprocess-0.70.16-py310-none-any.whl (134 kB)\n","\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m134.8/134.8 kB\u001b[0m \u001b[31m15.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n","\u001b[?25hRequirement already satisfied: fsspec[http]<=2024.3.1,>=2023.1.0 in /usr/local/lib/python3.10/dist-packages (from datasets->dom-tokenizers==0.0.16) (2023.6.0)\n","Requirement already satisfied: aiohttp in /usr/local/lib/python3.10/dist-packages (from datasets->dom-tokenizers==0.0.16) (3.9.5)\n","Requirement already satisfied: huggingface-hub>=0.21.2 in /usr/local/lib/python3.10/dist-packages (from datasets->dom-tokenizers==0.0.16) (0.23.2)\n","Requirement already satisfied: packaging in /usr/local/lib/python3.10/dist-packages (from datasets->dom-tokenizers==0.0.16) (24.0)\n","Requirement already satisfied: pyyaml>=5.1 in /usr/local/lib/python3.10/dist-packages (from datasets->dom-tokenizers==0.0.16) (6.0.1)\n","Requirement already satisfied: regex!=2019.12.17 in /usr/local/lib/python3.10/dist-packages (from transformers->dom-tokenizers==0.0.16) (2024.5.15)\n","Requirement already satisfied: safetensors>=0.4.1 in /usr/local/lib/python3.10/dist-packages (from transformers->dom-tokenizers==0.0.16) (0.4.3)\n","Requirement already satisfied: aiosignal>=1.1.2 in /usr/local/lib/python3.10/dist-packages (from aiohttp->datasets->dom-tokenizers==0.0.16) (1.3.1)\n","Requirement already satisfied: attrs>=17.3.0 in /usr/local/lib/python3.10/dist-packages (from aiohttp->datasets->dom-tokenizers==0.0.16) (23.2.0)\n","Requirement already satisfied: frozenlist>=1.1.1 in /usr/local/lib/python3.10/dist-packages (from aiohttp->datasets->dom-tokenizers==0.0.16) (1.4.1)\n","Requirement already satisfied: multidict<7.0,>=4.5 in /usr/local/lib/python3.10/dist-packages (from aiohttp->datasets->dom-tokenizers==0.0.16) (6.0.5)\n","Requirement already satisfied: yarl<2.0,>=1.0 in /usr/local/lib/python3.10/dist-packages (from aiohttp->datasets->dom-tokenizers==0.0.16) (1.9.4)\n","Requirement already satisfied: async-timeout<5.0,>=4.0 in /usr/local/lib/python3.10/dist-packages (from aiohttp->datasets->dom-tokenizers==0.0.16) (4.0.3)\n","Requirement already satisfied: typing-extensions>=3.7.4.3 in /usr/local/lib/python3.10/dist-packages (from huggingface-hub>=0.21.2->datasets->dom-tokenizers==0.0.16) (4.12.1)\n","Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.10/dist-packages (from requests>=2.32.1->datasets->dom-tokenizers==0.0.16) (3.3.2)\n","Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.10/dist-packages (from requests>=2.32.1->datasets->dom-tokenizers==0.0.16) (3.7)\n","Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.10/dist-packages (from requests>=2.32.1->datasets->dom-tokenizers==0.0.16) (2.0.7)\n","Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.10/dist-packages (from requests>=2.32.1->datasets->dom-tokenizers==0.0.16) (2024.6.2)\n","Requirement already satisfied: python-dateutil>=2.8.2 in /usr/local/lib/python3.10/dist-packages (from pandas->datasets->dom-tokenizers==0.0.16) (2.8.2)\n","Requirement already satisfied: pytz>=2020.1 in /usr/local/lib/python3.10/dist-packages (from pandas->datasets->dom-tokenizers==0.0.16) (2023.4)\n","Requirement already satisfied: tzdata>=2022.1 in /usr/local/lib/python3.10/dist-packages (from pandas->datasets->dom-tokenizers==0.0.16) (2024.1)\n","Requirement already satisfied: six>=1.5 in /usr/local/lib/python3.10/dist-packages (from python-dateutil>=2.8.2->pandas->datasets->dom-tokenizers==0.0.16) (1.16.0)\n","Building wheels for collected packages: dom-tokenizers\n"," Building editable for dom-tokenizers (pyproject.toml) ... \u001b[?25l\u001b[?25hdone\n"," Created wheel for dom-tokenizers: filename=dom_tokenizers-0.0.16-0.editable-py3-none-any.whl size=7346 sha256=2be0856300014b90caf35d4136c4823af6b2d7c01cd913228c115cfad2d1ff38\n"," Stored in directory: /tmp/pip-ephem-wheel-cache-f714qj4q/wheels/ab/e4/d2/9b9419db21d26514602a3dbb7582a3c195f9229169192ca43b\n","Successfully built dom-tokenizers\n","Installing collected packages: xxhash, unidecode, requests, python-magic, dill, multiprocess, dom-tokenizers, datasets\n"," Attempting uninstall: requests\n"," Found existing installation: requests 2.31.0\n"," Uninstalling requests-2.31.0:\n"," Successfully uninstalled requests-2.31.0\n","\u001b[31mERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.\n","google-colab 1.0.0 requires requests==2.31.0, but you have requests 2.32.3 which is incompatible.\u001b[0m\u001b[31m\n","\u001b[0mSuccessfully installed datasets-2.19.2 dill-0.3.8 dom-tokenizers-0.0.16 multiprocess-0.70.16 python-magic-0.4.27 requests-2.32.3 unidecode-1.3.8 xxhash-3.4.1\n"]}]},{"cell_type":"markdown","source":["## Train a tokenizer on `gbenson/webui-dom-snapshots`\n","\n","We don't need the tokenizer, but this `dom-tokenizers` is modified to output every unique token it sees into a file as a side-effect."],"metadata":{"id":"aXQW8CBmVOa4"}},{"cell_type":"code","source":["!train-tokenizer -n30000 -N4536 gbenson/webui-dom-snapshots"],"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"id":"CqHIS-8xVVKe","executionInfo":{"status":"ok","timestamp":1717980995326,"user_tz":-60,"elapsed":3398684,"user":{"displayName":"Gary Benson","userId":"04610266850028564176"}},"outputId":"4f571d34-5ebe-4264-998c-60607043a76e"},"execution_count":3,"outputs":[{"output_type":"stream","name":"stdout","text":["Output directory: /content/dom-tokenizer-30k\n","\n","Downloading readme: 100% 9.16k/9.16k [00:00<00:00, 20.8MB/s]\n","tokenizer_config.json: 100% 48.0/48.0 [00:00<00:00, 305kB/s]\n","config.json: 100% 570/570 [00:00<00:00, 2.42MB/s]\n","vocab.txt: 100% 232k/232k [00:00<00:00, 3.63MB/s]\n","tokenizer.json: 100% 466k/466k [00:00<00:00, 12.9MB/s]\n","Generating up to 30,000 tokens from 4,536 examples:\n","\u001b[2K[00:00:03] Tokenize words ██████████████████ 922065 / 922065\n","\u001b[2K[00:01:15] Count pairs ██████████████████ 922065 / 922065\n","\u001b[2K[00:00:17] Compute merges ██████████████████ 23913 / 23913\n","\n","['training', 'complete']\n","['token', '##izer', 'state', 'saved']\n","['see', 'you', 'soon', '##!', '##!']\n"]}]},{"cell_type":"markdown","source":["## Load the file into a dataset"],"metadata":{"id":"Uo_FraY1W5IK"}},{"cell_type":"code","source":["from datasets import load_dataset\n","dataset = load_dataset(\"text\", data_files={\"train\": [\"unique-tokens\"]})"],"metadata":{"id":"L_oxSzmFW-nL","colab":{"base_uri":"https://localhost:8080/","height":49,"referenced_widgets":["c250ed32eba5416a9b6de7724fc11adf","112b31e00d4746ee9b30020ed10d8c65","c8f40b2d40c249faaac08496c267f9de","af027229486f408d8b8b52b8be4d88d9","33bca37575474c3b90f6a7873a7447c9","826c4dacc55a4f1da517bf871d523f93","72a031e964d04adabefdad0e00001ad4","d76a94323eb442fcb0bb71f233d40173","fdfc57324e3848d8b5d12222c77ee910","0eeed2677e9a42888cd1e9b6b24b44c2","c8fc272ed97c4fdc91cd6281b97c3ab3"]},"executionInfo":{"status":"ok","timestamp":1717981003477,"user_tz":-60,"elapsed":3205,"user":{"displayName":"Gary Benson","userId":"04610266850028564176"}},"outputId":"6b931259-785b-423a-9a4e-ebecfe2b3fe4"},"execution_count":4,"outputs":[{"output_type":"display_data","data":{"text/plain":["Generating train split: 0 examples [00:00, ? examples/s]"],"application/vnd.jupyter.widget-view+json":{"version_major":2,"version_minor":0,"model_id":"c250ed32eba5416a9b6de7724fc11adf"}},"metadata":{}}]},{"cell_type":"markdown","source":["## Upload to Hugging Face"],"metadata":{"id":"sqbaaByQYG5q"}},{"cell_type":"code","source":["dataset.push_to_hub(\"gbenson/webui-tokens-unlabelled\")"],"metadata":{"id":"ICObGLZvYHRZ","colab":{"base_uri":"https://localhost:8080/","height":149,"referenced_widgets":["4aac91b1b50b4f549267176f18e1ea73","67675428d5ea46fdac388fde3b4f16cf","94f49f03c7b44bebb55e50aa11c80c26","1150c2973e934f668fa0d1bb161f817f","c70733b0e16f4b31abfc2a2181a1af63","94f3754ff10448cf90fd2ac5d0a3103f","e930274a88004b0399d7244b48bed6ec","2ddeb8c5f7f24caa9ffda2766ee8b25b","8852d0be83244a5caaf393679e56054b","539a48f7182b42d19605089ee1e99fee","2f5a404c6faa4c5695cbf383914479aa","863e9aab70d545a9806c7bca26a377bb","27162d34254849f18ed798ab3ad332e7","c6b3eaf465ee429fbf8d4ed2b2946ae7","f7a7a81efdf74392951fe4d09f9fd6ff","1a959cdefae1454fb2d1d97a57f89d8f","f8987399a34b43698fcd686c15627709","8fb627c83a3f402183b6b2a2c03c56fb","da1eed065e504e198e615a8a99b1b458","2c5e29f239ff4ea48e40b1ebc9c136aa","61542c8d0a854157b14f4909797335ae","af1419ec01dc4545abea1eabcf2ec5ad","0ee65a2d66f84c80aad96dfb94780481","67d3fae06d674b0581bc015acf76336b","40a02713161840d7a341b8fa1b668dd0","d7f10db7974e438b8d40f5cc377cf065","6fc9e5fff1ef46b5bcd1171b4d802bac","3bac146b416140da9c81c8af408cab57","fcfb20b6a0d440d08376b343c258da64","9f934ab4a6c44abe830abebca3497e23","06d3c75c8e174391b6cbdedc928c48a1","b4ea76ca44bd4de98bae7e0bb50db70e","19597b32135d4f5180e2c0789e781960"]},"executionInfo":{"status":"ok","timestamp":1717981014422,"user_tz":-60,"elapsed":5013,"user":{"displayName":"Gary Benson","userId":"04610266850028564176"}},"outputId":"e42b66af-ad14-4782-f5cd-38142dfd6147"},"execution_count":5,"outputs":[{"output_type":"display_data","data":{"text/plain":["Uploading the dataset shards: 0%| | 0/1 [00:00<?, ?it/s]"],"application/vnd.jupyter.widget-view+json":{"version_major":2,"version_minor":0,"model_id":"4aac91b1b50b4f549267176f18e1ea73"}},"metadata":{}},{"output_type":"display_data","data":{"text/plain":["Creating parquet from Arrow format: 0%| | 0/1194 [00:00<?, ?ba/s]"],"application/vnd.jupyter.widget-view+json":{"version_major":2,"version_minor":0,"model_id":"863e9aab70d545a9806c7bca26a377bb"}},"metadata":{}},{"output_type":"display_data","data":{"text/plain":["README.md: 0%| | 0.00/1.12k [00:00<?, ?B/s]"],"application/vnd.jupyter.widget-view+json":{"version_major":2,"version_minor":0,"model_id":"0ee65a2d66f84c80aad96dfb94780481"}},"metadata":{}},{"output_type":"execute_result","data":{"text/plain":["CommitInfo(commit_url='https://huggingface.co/datasets/gbenson/webui-tokens-unlabelled/commit/8707973395b564d16697900f5cc337701d89cd30', commit_message='Upload dataset', commit_description='', oid='8707973395b564d16697900f5cc337701d89cd30', pr_url=None, pr_revision=None, pr_num=None)"],"application/vnd.google.colaboratory.intrinsic+json":{"type":"string"}},"metadata":{},"execution_count":5}]}]}
|