{ "cells": [ { "cell_type": "code", "execution_count": null, "metadata": { "id": "-pcSZJqCB8qn" }, "outputs": [], "source": [ "!pip install huggingface_hub datasets" ] }, { "cell_type": "code", "execution_count": 2, "metadata": { "executionInfo": { "elapsed": 4264, "status": "ok", "timestamp": 1736020137690, "user": { "displayName": "Ruedi Steinmann", "userId": "06668216725139701947" }, "user_tz": -60 }, "id": "M098ur2wEBkj" }, "outputs": [], "source": [ "from datasets import load_dataset\n", "\n", "ds = load_dataset(\"codeparrot/github-code\", split=\"train\", streaming=True,trust_remote_code=True)" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "colab": { "base_uri": "https://localhost:8080/" }, "executionInfo": { "elapsed": 492, "status": "ok", "timestamp": 1736013861782, "user": { "displayName": "Ruedi Steinmann", "userId": "06668216725139701947" }, "user_tz": -60 }, "id": "Hqn_Jn04fONN", "outputId": "f86724d0-e4c3-4d89-cd93-10888b2c8712" }, "outputs": [], "source": [ "languagesOrig={\n", " \"Assembly\": [\".asm\"],\n", " \"Batchfile\": [\".bat\", \".cmd\"],\n", " \"C\": [\".c\", \".h\"],\n", " \"C#\": [\".cs\"],\n", " \"C++\": [\".cpp\", \".hpp\", \".c++\", \".h++\", \".cc\", \".hh\", \".C\", \".H\"],\n", " \"CMake\": [\".cmake\"],\n", " \"CSS\": [\".css\"],\n", " \"Dockerfile\": [\".dockerfile\", \"Dockerfile\"],\n", " \"FORTRAN\": ['.f90', '.f', '.f03', '.f08', '.f77', '.f95', '.for', '.fpp'],\n", " \"GO\": [\".go\"],\n", " \"Haskell\": [\".hs\"],\n", " \"HTML\":[\".html\"],\n", " \"Java\": [\".java\"],\n", " \"JavaScript\": [\".js\"],\n", " \"Julia\": [\".jl\"],\n", " \"Lua\": [\".lua\"],\n", " \"Makefile\": [\"Makefile\"],\n", " \"Markdown\": [\".md\", \".markdown\"],\n", " \"PHP\": [\".php\", \".php3\", \".php4\", \".php5\", \".phps\", \".phpt\"],\n", " \"Perl\": [\".pl\", \".pm\", \".pod\", \".perl\"],\n", " \"PowerShell\": ['.ps1', '.psd1', '.psm1'],\n", " \"Python\": [\".py\"],\n", " \"Ruby\": [\".rb\"],\n", " \"Rust\": [\".rs\"],\n", " \"SQL\": [\".sql\"],\n", " \"Scala\": [\".scala\"],\n", " \"Shell\": [\".sh\", \".bash\", \".command\", \".zsh\"],\n", " \"TypeScript\": [\".ts\", \".tsx\"],\n", " \"TeX\": [\".tex\"],\n", " \"Visual Basic\": [\".vb\"]\n", "};" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "colab": { "base_uri": "https://localhost:8080/" }, "executionInfo": { "elapsed": 385, "status": "ok", "timestamp": 1736020152638, "user": { "displayName": "Ruedi Steinmann", "userId": "06668216725139701947" }, "user_tz": -60 }, "id": "kTOf2NnKkCUI", "outputId": "6dd96a1b-be4b-4c7e-c31c-e6ebde93a24b" }, "outputs": [], "source": [ "import pyarrow.parquet as pq\n", "import pyarrow as pa\n", "\n", "writerPerLanguage = {}\n", "remainingSizePerLanguage = {}\n", "batches = {}\n", "\n", "languages = {\n", " 'HTML': 'html',\n", " 'Java': 'java',\n", " 'JavaScript': 'js',\n", " 'CSS': 'css',\n", " 'C#': 'cs',\n", " 'TypeScript': 'ts',\n", " \"Assembly\": \"asm\",\n", " \"Batchfile\": \"bat\",\n", " \"C\": 'c',\n", " \"C++\": 'cpp',\n", " \"CMake\": \"cmake\",\n", " \"Dockerfile\": \"dockerfile\",\n", " \"FORTRAN\": 'f',\n", " \"GO\": \"go\",\n", " \"Haskell\": \"hs\",\n", " \"Julia\": \"jl\",\n", " \"Lua\": \"lua\",\n", " \"Makefile\": \"makefile\",\n", " \"Markdown\": \"md\",\n", " \"PHP\": \"php\",\n", " \"Perl\": \"perl\",\n", " \"PowerShell\": 'ps1',\n", " \"Python\": \"py\",\n", " \"Ruby\": \"rb\",\n", " \"Rust\": \"rs\",\n", " \"SQL\": \"sql\",\n", " \"Scala\": \"scala\",\n", " \"Shell\": \"sh\",\n", " \"TeX\": \"tex\",\n", " \"Visual Basic\": \"vb\"\n", "}\n", "\n", "batchSize=1024\n", "\n", "schema = pa.schema([\n", " pa.field(\"code\", pa.string()),\n", " pa.field(\"repo_name\", pa.string()),\n", " pa.field(\"path\", pa.string()),\n", " pa.field(\"language\", pa.string()),\n", " pa.field(\"license\", pa.string()),\n", " pa.field(\"size\", pa.int32())\n", "])\n", "for language in languages.keys():\n", " print('Creating writer for '+language)\n", " writerPerLanguage[language] = pq.ParquetWriter(languages[language]+'.parquet', schema=schema)\n", " remainingSizePerLanguage[language] = 10*1024*1024*1024;\n", " batches[language] = []" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "colab": { "base_uri": "https://localhost:8080/", "height": 391 }, "executionInfo": { "elapsed": 144963, "status": "error", "timestamp": 1736020917723, "user": { "displayName": "Ruedi Steinmann", "userId": "06668216725139701947" }, "user_tz": -60 }, "id": "9MyaoY5uljr2", "outputId": "f977b9d5-2aac-42bc-90fa-655cbc93d26a" }, "outputs": [], "source": [ "for row in ds:\n", " language=row[\"language\"]\n", " if language in writerPerLanguage.keys():\n", " batch=batches[language]\n", " row[\"language\"]=languages[language]\n", " batch.append(row)\n", " remainingSizePerLanguage[language] -= row[\"size\"]\n", " if len(batch)>batchSize:\n", " writerPerLanguage[language].write_batch(pa.RecordBatch.from_pylist(batch, schema=schema))\n", " batches[language] = []\n", " batch=[]\n", " if remainingSizePerLanguage[language] < 0:\n", " print('completed '+language)\n", " writerPerLanguage[language].write_batch(pa.RecordBatch.from_pylist(batch, schema=schema))\n", " writerPerLanguage[language].close()\n", " del writerPerLanguage[language]\n", " del remainingSizePerLanguage[language]\n", " del batches[language]\n", " if len(writerPerLanguage)==0:\n", " break\n", "\n", "for language in writerPerLanguage.keys():\n", " batch=batches[language]\n", " writerPerLanguage[language].write_batch(pa.RecordBatch.from_pylist(batch, schema=schema))\n", " writerPerLanguage[language].close()" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "colab": { "base_uri": "https://localhost:8080/", "height": 130, "referenced_widgets": [ "2f72ab1685684a0d91c7ea4f84fb5f15", "912d2bffbbf54e86bad077425f530609", "a8c8bdfa8caa42cb850f2c02fa861edc", "f737a383374843f28042865ceafb4a5e", "65f72fa2c0d84125be5356fe003cb9ee", "5c2e51261f5d418db3232b4bd6c8ef90", "36377f4f84e448fe9eca7f1b4e157a5d", "1d5915d794634d0589429c512caea30b", "d0ef36296eae47beb753ce63ef9dcf77", "58908d2094e84d64b20da8eaa22b3fee", "b8187001b40a41ad88819c0399106383", "7a98af6df3ae494fa68ae5ff44c0b83e", "7fee6dd431804efa9b8c4d1507367ac3", "497397fabc834673b4c72f2892db289e", "df470c6b791d4e429cd27a4b3016d737", "7635a39c2dc64e86b90eb5bfa930e7a8", "fac0fe0e91b9458593246ca8f2fa672d", "7b9abe4c126c47308ef872736019996c", "cbdb2d6998804a408d28a62680386a4e", "e4c92db03df34d0489a426282dfb378d", "da20c99456e54d16b9140000231dc050", "9b7fe26167a245658a13442a6a866e6f", "547f8629aaa3474c99d267568078c492", "ef6fa9adeff84619a2f226d1e5ed6530", "af79814543784c78b933383350092a36", "004d7a6197da49fe96a83d4613868dad", "eff2a84ca9854e5696dabf55286888c7", "04bc51efe2734c308109e9c84d12be0a", "e4b11afe53034934992cec2fdd953c0f", "17d56a812c7a4051a2de3d15b7ba9269", "a823a29929c64431b6460f3600736b23", "7051cb0213d7446c8aa22cace52b6067", "c771caf9a37e4b4a8a6618f1c1598370" ] }, "executionInfo": { "elapsed": 7372, "status": "ok", "timestamp": 1736019998026, "user": { "displayName": "Ruedi Steinmann", "userId": "06668216725139701947" }, "user_tz": -60 }, "id": "8Nf35EXSz1lO", "outputId": "205204d7-5034-4b7b-f71c-dcef59c86b06" }, "outputs": [], "source": [ "from datasets import load_dataset\n", "for language in languages.keys():\n", " print('Uploading '+language)\n", " langDs=load_dataset('parquet',data_files=[languages[language]+'.parquet'])\n", " langDs.push_to_hub('ruediste/codeparrot-github-code',languages[language])" ] } ], "metadata": { "colab": { "authorship_tag": "ABX9TyMcMRF4yH51aVZTSSQ4uMuD", "provenance": [] }, "kernelspec": { "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.12.3" }, "widgets": { "application/vnd.jupyter.widget-state+json": { "004d7a6197da49fe96a83d4613868dad": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "HTMLModel", "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_7051cb0213d7446c8aa22cace52b6067", "placeholder": "​", "style": "IPY_MODEL_c771caf9a37e4b4a8a6618f1c1598370", "value": " 70.0/70.0 [00:00<00:00, 4.21kB/s]" } }, "04bc51efe2734c308109e9c84d12be0a": { "model_module": "@jupyter-widgets/base", "model_module_version": "1.2.0", "model_name": "LayoutModel", "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 } }, "17d56a812c7a4051a2de3d15b7ba9269": { "model_module": "@jupyter-widgets/base", "model_module_version": "1.2.0", "model_name": "LayoutModel", "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 } }, "1d5915d794634d0589429c512caea30b": { "model_module": "@jupyter-widgets/base", "model_module_version": "1.2.0", "model_name": "LayoutModel", "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 } }, "2f72ab1685684a0d91c7ea4f84fb5f15": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "HBoxModel", "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_912d2bffbbf54e86bad077425f530609", "IPY_MODEL_a8c8bdfa8caa42cb850f2c02fa861edc", "IPY_MODEL_f737a383374843f28042865ceafb4a5e" ], "layout": "IPY_MODEL_65f72fa2c0d84125be5356fe003cb9ee" } }, "36377f4f84e448fe9eca7f1b4e157a5d": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "DescriptionStyleModel", "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": "" } }, "497397fabc834673b4c72f2892db289e": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "FloatProgressModel", "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_cbdb2d6998804a408d28a62680386a4e", "max": 1, "min": 0, "orientation": "horizontal", "style": "IPY_MODEL_e4c92db03df34d0489a426282dfb378d", "value": 1 } }, "547f8629aaa3474c99d267568078c492": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "HBoxModel", "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_ef6fa9adeff84619a2f226d1e5ed6530", "IPY_MODEL_af79814543784c78b933383350092a36", "IPY_MODEL_004d7a6197da49fe96a83d4613868dad" ], "layout": "IPY_MODEL_eff2a84ca9854e5696dabf55286888c7" } }, "58908d2094e84d64b20da8eaa22b3fee": { "model_module": "@jupyter-widgets/base", "model_module_version": "1.2.0", "model_name": "LayoutModel", "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 } }, "5c2e51261f5d418db3232b4bd6c8ef90": { "model_module": "@jupyter-widgets/base", "model_module_version": "1.2.0", "model_name": "LayoutModel", "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 } }, "65f72fa2c0d84125be5356fe003cb9ee": { "model_module": "@jupyter-widgets/base", "model_module_version": "1.2.0", "model_name": "LayoutModel", "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 } }, "7051cb0213d7446c8aa22cace52b6067": { "model_module": "@jupyter-widgets/base", "model_module_version": "1.2.0", "model_name": "LayoutModel", "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 } }, "7635a39c2dc64e86b90eb5bfa930e7a8": { "model_module": "@jupyter-widgets/base", "model_module_version": "1.2.0", "model_name": "LayoutModel", "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 } }, "7a98af6df3ae494fa68ae5ff44c0b83e": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "HBoxModel", "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_7fee6dd431804efa9b8c4d1507367ac3", "IPY_MODEL_497397fabc834673b4c72f2892db289e", "IPY_MODEL_df470c6b791d4e429cd27a4b3016d737" ], "layout": "IPY_MODEL_7635a39c2dc64e86b90eb5bfa930e7a8" } }, "7b9abe4c126c47308ef872736019996c": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "DescriptionStyleModel", "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": "" } }, "7fee6dd431804efa9b8c4d1507367ac3": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "HTMLModel", "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_fac0fe0e91b9458593246ca8f2fa672d", "placeholder": "​", "style": "IPY_MODEL_7b9abe4c126c47308ef872736019996c", "value": "Creating parquet from Arrow format: 100%" } }, "912d2bffbbf54e86bad077425f530609": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "HTMLModel", "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_5c2e51261f5d418db3232b4bd6c8ef90", "placeholder": "​", "style": "IPY_MODEL_36377f4f84e448fe9eca7f1b4e157a5d", "value": "Uploading the dataset shards: 100%" } }, "9b7fe26167a245658a13442a6a866e6f": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "DescriptionStyleModel", "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": "" } }, "a823a29929c64431b6460f3600736b23": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "ProgressStyleModel", "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": "" } }, "a8c8bdfa8caa42cb850f2c02fa861edc": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "FloatProgressModel", "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_1d5915d794634d0589429c512caea30b", "max": 1, "min": 0, "orientation": "horizontal", "style": "IPY_MODEL_d0ef36296eae47beb753ce63ef9dcf77", "value": 1 } }, "af79814543784c78b933383350092a36": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "FloatProgressModel", "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_17d56a812c7a4051a2de3d15b7ba9269", "max": 70, "min": 0, "orientation": "horizontal", "style": "IPY_MODEL_a823a29929c64431b6460f3600736b23", "value": 70 } }, "b8187001b40a41ad88819c0399106383": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "DescriptionStyleModel", "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": "" } }, "c771caf9a37e4b4a8a6618f1c1598370": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "DescriptionStyleModel", "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": "" } }, "cbdb2d6998804a408d28a62680386a4e": { "model_module": "@jupyter-widgets/base", "model_module_version": "1.2.0", "model_name": "LayoutModel", "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 } }, "d0ef36296eae47beb753ce63ef9dcf77": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "ProgressStyleModel", "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": "" } }, "da20c99456e54d16b9140000231dc050": { "model_module": "@jupyter-widgets/base", "model_module_version": "1.2.0", "model_name": "LayoutModel", "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 } }, "df470c6b791d4e429cd27a4b3016d737": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "HTMLModel", "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_da20c99456e54d16b9140000231dc050", "placeholder": "​", "style": "IPY_MODEL_9b7fe26167a245658a13442a6a866e6f", "value": " 1/1 [00:00<00:00, 24.42ba/s]" } }, "e4b11afe53034934992cec2fdd953c0f": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "DescriptionStyleModel", "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": "" } }, "e4c92db03df34d0489a426282dfb378d": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "ProgressStyleModel", "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": "" } }, "ef6fa9adeff84619a2f226d1e5ed6530": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "HTMLModel", "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_04bc51efe2734c308109e9c84d12be0a", "placeholder": "​", "style": "IPY_MODEL_e4b11afe53034934992cec2fdd953c0f", "value": "README.md: 100%" } }, "eff2a84ca9854e5696dabf55286888c7": { "model_module": "@jupyter-widgets/base", "model_module_version": "1.2.0", "model_name": "LayoutModel", "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 } }, "f737a383374843f28042865ceafb4a5e": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "HTMLModel", "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_58908d2094e84d64b20da8eaa22b3fee", "placeholder": "​", "style": "IPY_MODEL_b8187001b40a41ad88819c0399106383", "value": " 1/1 [00:01<00:00,  1.68s/it]" } }, "fac0fe0e91b9458593246ca8f2fa672d": { "model_module": "@jupyter-widgets/base", "model_module_version": "1.2.0", "model_name": "LayoutModel", "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 } } } } }, "nbformat": 4, "nbformat_minor": 4 }