{ "nbformat": 4, "nbformat_minor": 0, "metadata": { "colab": { "provenance": [], "gpuType": "T4" }, "kernelspec": { "name": "python3", "display_name": "Python 3" }, "language_info": { "name": "python" }, "accelerator": "GPU", "widgets": { "application/vnd.jupyter.widget-state+json": { "e41f852fca4f4022a589553b70de06f0": { "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_755ad57f9e894245a2ccf0dfe0ddcdb5", "IPY_MODEL_07d1248ce65a4efba14ad4f96a1fdc23", "IPY_MODEL_d6db158920374110917f91279b75eeed" ], "layout": "IPY_MODEL_80eefd02e48e46d0b59d729ba3ce24f1" } }, "755ad57f9e894245a2ccf0dfe0ddcdb5": { "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_9a84d089a5794be0ba18e941cb43c12c", "placeholder": "​", "style": "IPY_MODEL_3adf75c3a88a495ebab5a5b697579c15", "value": "modules.json: 100%" } }, "07d1248ce65a4efba14ad4f96a1fdc23": { "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_0fce4c765f204a2799597f74bb963c11", "max": 349, "min": 0, "orientation": "horizontal", "style": "IPY_MODEL_033578bf0f294108b04c2f175add3b46", "value": 349 } }, "d6db158920374110917f91279b75eeed": { "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_26f6e84f9ef54860a406e656affb010f", "placeholder": "​", "style": "IPY_MODEL_7a5e42eedf4242eba2d045a00202ba98", "value": " 349/349 [00:00<00:00, 28.6kB/s]" } }, "80eefd02e48e46d0b59d729ba3ce24f1": { "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 } }, "9a84d089a5794be0ba18e941cb43c12c": { "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 } }, "3adf75c3a88a495ebab5a5b697579c15": { "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": "" } }, "0fce4c765f204a2799597f74bb963c11": { "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 } }, "033578bf0f294108b04c2f175add3b46": { "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": "" } }, "26f6e84f9ef54860a406e656affb010f": { "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 } }, "7a5e42eedf4242eba2d045a00202ba98": { "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": "" } }, "a6ba1fab68a848a089ac79dfb5dd953c": { "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_a5e2e876f2ba44fe9b7978e48155ef01", "IPY_MODEL_6806a6be939146dda555ac38e6295db1", "IPY_MODEL_fae40aeff14c42489dacce3beea59ea2" ], "layout": "IPY_MODEL_78273dd875b54d2b8d150fa60c3ccae0" } }, "a5e2e876f2ba44fe9b7978e48155ef01": { "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_6a6843880ec7433a8f50e8f792efea0e", "placeholder": "​", "style": "IPY_MODEL_16bfa75c56f945b6953590742df34586", "value": "config_sentence_transformers.json: 100%" } }, "6806a6be939146dda555ac38e6295db1": { "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_7fa8979ce8094df4a0e414e699e987b2", "max": 252, "min": 0, "orientation": "horizontal", "style": "IPY_MODEL_1fdf53187ecb4e0490ccac5f514bdb20", "value": 252 } }, "fae40aeff14c42489dacce3beea59ea2": { "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_f219e7fb6b684a40895d786b3b552703", "placeholder": "​", "style": "IPY_MODEL_dc8376276b9748d2bbd52e050a4d4f86", "value": " 252/252 [00:00<00:00, 24.8kB/s]" } }, "78273dd875b54d2b8d150fa60c3ccae0": { "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 } }, "6a6843880ec7433a8f50e8f792efea0e": { "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 } }, "16bfa75c56f945b6953590742df34586": { "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": "" } }, "7fa8979ce8094df4a0e414e699e987b2": { "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 } }, "1fdf53187ecb4e0490ccac5f514bdb20": { "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": "" } }, "f219e7fb6b684a40895d786b3b552703": { "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 } }, "dc8376276b9748d2bbd52e050a4d4f86": { "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": "" } }, "ca35f9574b8a40c3ab580178b549e6c3": { "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_c53c0130609e445ca24317adf56afccb", "IPY_MODEL_d62141631e8c4cba9e5ddc625c712049", "IPY_MODEL_389aac0916a3499dbd1bce90b97f9e4e" ], "layout": "IPY_MODEL_e2fe88d377114f0db61221c80eecfdfb" } }, "c53c0130609e445ca24317adf56afccb": { "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_deefd78a90b54163bc9d96ca6831881b", "placeholder": "​", "style": "IPY_MODEL_2626c82211da473786b4a2347ca7d445", "value": "README.md: 100%" } }, "d62141631e8c4cba9e5ddc625c712049": { "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_714b85237d404cb8b0b3a05eb1caee8c", "max": 85438, "min": 0, "orientation": "horizontal", "style": "IPY_MODEL_0e97281d0f944b6895af3108a3aa1b5a", "value": 85438 } }, "389aac0916a3499dbd1bce90b97f9e4e": { "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_c8da5b340abd4a1e9f56bf63747a9e46", "placeholder": "​", "style": "IPY_MODEL_bca532949def4f9ab76a13c91785f975", "value": " 85.4k/85.4k [00:00<00:00, 1.09MB/s]" } }, "e2fe88d377114f0db61221c80eecfdfb": { "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 } }, "deefd78a90b54163bc9d96ca6831881b": { "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 } }, "2626c82211da473786b4a2347ca7d445": { "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": "" } }, "714b85237d404cb8b0b3a05eb1caee8c": { "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 } }, "0e97281d0f944b6895af3108a3aa1b5a": { "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": "" } }, "c8da5b340abd4a1e9f56bf63747a9e46": { "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 } }, "bca532949def4f9ab76a13c91785f975": { "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": "" } }, "fa3fc3f3a6f34addbacd84c3e445851a": { "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_300fad95da7949f4aef37048dd333d26", "IPY_MODEL_cfbfb84f965041e69ce37f418e744ff8", "IPY_MODEL_b483c05a19db4e9a882990f6719783dc" ], "layout": "IPY_MODEL_f012e1b939cc490891ab3e9222d018d4" } }, "300fad95da7949f4aef37048dd333d26": { "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_5ab42b6531db452197a1061a53000693", "placeholder": "​", "style": "IPY_MODEL_dc6ed72274a246a4a7deee96611160a2", "value": "sentence_bert_config.json: 100%" } }, "cfbfb84f965041e69ce37f418e744ff8": { "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_59569881f1d540b19f2d6a10f74c5d62", "max": 107, "min": 0, "orientation": "horizontal", "style": "IPY_MODEL_6ec5eabbffe44ad4be1e5b2f1f13c29b", "value": 107 } }, "b483c05a19db4e9a882990f6719783dc": { "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_024c63c48df44cb58509f1fa111c9337", "placeholder": "​", "style": "IPY_MODEL_82f447b5aac44139aa098ff855c69af4", "value": " 107/107 [00:00<00:00, 11.4kB/s]" } }, "f012e1b939cc490891ab3e9222d018d4": { "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 } }, "5ab42b6531db452197a1061a53000693": { "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 } }, "dc6ed72274a246a4a7deee96611160a2": { "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": "" } }, "59569881f1d540b19f2d6a10f74c5d62": { "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 } }, "6ec5eabbffe44ad4be1e5b2f1f13c29b": { "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": "" } }, "024c63c48df44cb58509f1fa111c9337": { "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 } }, "82f447b5aac44139aa098ff855c69af4": { "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": "" } }, "1d5b21815f7f45a0be11bd68cf294c92": { "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_e2084557d420414c80cde41069bbf8af", "IPY_MODEL_57be6a71d5254a6eb1f1cbb1a1f675e9", "IPY_MODEL_7591c09173714aad93a5bcfff305ab1b" ], "layout": "IPY_MODEL_11ab58f6e8a0451c8fa7217e577f6132" } }, "e2084557d420414c80cde41069bbf8af": { "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_e418e636f3d845ce978f766193515b72", "placeholder": "​", "style": "IPY_MODEL_10cd985cfc3445dbacca8f055c4671c9", "value": "config.json: 100%" } }, "57be6a71d5254a6eb1f1cbb1a1f675e9": { "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_6229a52d79094909b9bad47c6bdbe4e7", "max": 704, "min": 0, "orientation": "horizontal", "style": "IPY_MODEL_e9019aeafd0144509d8bbc0940252d7a", "value": 704 } }, "7591c09173714aad93a5bcfff305ab1b": { "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_d625fd4678874ebda6bd2494a0992b33", "placeholder": "​", "style": "IPY_MODEL_388f8c0ef57d4686a3cc033c581b06c1", "value": " 704/704 [00:00<00:00, 46.4kB/s]" } }, "11ab58f6e8a0451c8fa7217e577f6132": { "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 } }, "e418e636f3d845ce978f766193515b72": { "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 } }, "10cd985cfc3445dbacca8f055c4671c9": { "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": "" } }, "6229a52d79094909b9bad47c6bdbe4e7": { "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 } }, "e9019aeafd0144509d8bbc0940252d7a": { "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": "" } }, "d625fd4678874ebda6bd2494a0992b33": { "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 } }, "388f8c0ef57d4686a3cc033c581b06c1": { "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": "" } }, "3c6835249de840118803146695a86197": { "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_932d679560b14636a7ba03440a65b35b", "IPY_MODEL_1b28d088794740e0b2af7cb7f839c7de", "IPY_MODEL_d9864564321a4c8887b575ca48ffb244" ], "layout": "IPY_MODEL_f73cddffd4fd4cb191baf24c3d06eeee" } }, "932d679560b14636a7ba03440a65b35b": { "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_f8edde3737f44c50945237925fdd432d", "placeholder": "​", "style": "IPY_MODEL_869f5b91164a4fd3a630566e0e1f7a69", "value": "model.safetensors: 100%" } }, "1b28d088794740e0b2af7cb7f839c7de": { "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_c6ef9aa1f0a14aa2a1a9bf16b8e0d0e5", "max": 1336413848, "min": 0, "orientation": "horizontal", "style": "IPY_MODEL_8132a3e7acb543d391805483b309494e", "value": 1336413848 } }, "d9864564321a4c8887b575ca48ffb244": { "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_1f2b6982b1d14067a57f26758327b8cc", "placeholder": "​", "style": "IPY_MODEL_0186eb04d57b4faeb771838dbcde5c5c", "value": " 1.34G/1.34G [00:31<00:00, 42.1MB/s]" } }, "f73cddffd4fd4cb191baf24c3d06eeee": { "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 } }, "f8edde3737f44c50945237925fdd432d": { "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 } }, "869f5b91164a4fd3a630566e0e1f7a69": { "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": "" } }, "c6ef9aa1f0a14aa2a1a9bf16b8e0d0e5": { "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 } }, "8132a3e7acb543d391805483b309494e": { "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": "" } }, "1f2b6982b1d14067a57f26758327b8cc": { "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 } }, "0186eb04d57b4faeb771838dbcde5c5c": { "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": "" } }, "1a2c613ed5ed452b893b15984197fb44": { "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_4579338d66b3488288af63b507d77822", "IPY_MODEL_fdc9ad9238744ca3b75de673f0a4d5f6", "IPY_MODEL_db803c9895ca4ddc9efb466ffd3fbd43" ], "layout": "IPY_MODEL_bf66524d95cf425ca9a089ac67985256" } }, "4579338d66b3488288af63b507d77822": { "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_602077a87c3840ef8a9602bf57c1f0cf", "placeholder": "​", "style": "IPY_MODEL_c493a2d120e9466da5d1ed3f9b9dc9c1", "value": "tokenizer_config.json: 100%" } }, "fdc9ad9238744ca3b75de673f0a4d5f6": { "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_bec1b44842bc4a07b270eb044cbc868c", "max": 1381, "min": 0, "orientation": "horizontal", "style": "IPY_MODEL_010a5772e0dc4d4a964fb69e16ee8ace", "value": 1381 } }, "db803c9895ca4ddc9efb466ffd3fbd43": { "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_015a4cf129de4bf89ac0111efbf6d02d", "placeholder": "​", "style": "IPY_MODEL_ad11f9dc65d44baf8ed686b90a81922e", "value": " 1.38k/1.38k [00:00<00:00, 99.5kB/s]" } }, "bf66524d95cf425ca9a089ac67985256": { "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 } }, "602077a87c3840ef8a9602bf57c1f0cf": { "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 } }, "c493a2d120e9466da5d1ed3f9b9dc9c1": { "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": "" } }, "bec1b44842bc4a07b270eb044cbc868c": { "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 } }, "010a5772e0dc4d4a964fb69e16ee8ace": { "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": "" } }, "015a4cf129de4bf89ac0111efbf6d02d": { "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 } }, "ad11f9dc65d44baf8ed686b90a81922e": { "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": "" } }, "fc244b05ad274b5f8645ab07badbeb0f": { "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_c70194da430143b2b5375267bd73a8bb", "IPY_MODEL_816c718d930e4f81a0e2013ab9286bb7", "IPY_MODEL_8cd74a6a80ee401bb4e25895ba8a9bd0" ], "layout": "IPY_MODEL_020f3ebd3c3b41e595e9a53822c7e451" } }, "c70194da430143b2b5375267bd73a8bb": { "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_cd3a713082e7445c99e33ffe3b1f8eb7", "placeholder": "​", "style": "IPY_MODEL_4014e68d6fa74962b57bd3361015d3a0", "value": "vocab.txt: 100%" } }, "816c718d930e4f81a0e2013ab9286bb7": { "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_f8dae37b3c87442d9644523587810a20", "max": 231508, "min": 0, "orientation": "horizontal", "style": "IPY_MODEL_4d05ca333bcc4211a4ee454b5845493f", "value": 231508 } }, "8cd74a6a80ee401bb4e25895ba8a9bd0": { "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_b74e92d61a524a90837ac816069c42b1", "placeholder": "​", "style": "IPY_MODEL_12fe235348f94413a6717d9ad57bd3d1", "value": " 232k/232k [00:00<00:00, 1.43MB/s]" } }, "020f3ebd3c3b41e595e9a53822c7e451": { "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 } }, "cd3a713082e7445c99e33ffe3b1f8eb7": { "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 } }, "4014e68d6fa74962b57bd3361015d3a0": { "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": "" } }, "f8dae37b3c87442d9644523587810a20": { "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 } }, "4d05ca333bcc4211a4ee454b5845493f": { "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": "" } }, "b74e92d61a524a90837ac816069c42b1": { "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 } }, "12fe235348f94413a6717d9ad57bd3d1": { "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": "" } }, "e6660ace868a4732bc7a5b03d03bd755": { "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_4b4eeaa85a12499b8537d68e2822d2ec", "IPY_MODEL_d618c20f7c0b4aae8dbd808206bac52e", "IPY_MODEL_942478715abf4c3a8e7d3701f763eba6" ], "layout": "IPY_MODEL_e7d1b91c299d4a23a3fd45c29795b110" } }, "4b4eeaa85a12499b8537d68e2822d2ec": { "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_aa12fa5afa7744b8b2f1ddd60c03b141", "placeholder": "​", "style": "IPY_MODEL_551d828dd6a846ad851af5fcf3d67323", "value": "tokenizer.json: 100%" } }, "d618c20f7c0b4aae8dbd808206bac52e": { "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_45b3820356ec4f2faff8308522c88efc", "max": 711649, "min": 0, "orientation": "horizontal", "style": "IPY_MODEL_4eff251d4fec41da9359dc797cff12a7", "value": 711649 } }, "942478715abf4c3a8e7d3701f763eba6": { "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_ca9ab470d4674dd58f082a819e305503", "placeholder": "​", "style": "IPY_MODEL_77d32ebefff147f3876dd552b4c76d68", "value": " 712k/712k [00:00<00:00, 2.87MB/s]" } }, "e7d1b91c299d4a23a3fd45c29795b110": { "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 } }, "aa12fa5afa7744b8b2f1ddd60c03b141": { "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 } }, "551d828dd6a846ad851af5fcf3d67323": { "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": "" } }, "45b3820356ec4f2faff8308522c88efc": { "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 } }, "4eff251d4fec41da9359dc797cff12a7": { "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": "" } }, "ca9ab470d4674dd58f082a819e305503": { "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 } }, "77d32ebefff147f3876dd552b4c76d68": { "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": "" } }, "440725bd52ff47af92405eab6f6e3a76": { "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_f7035352e2cc42c28808d512ac828b60", "IPY_MODEL_4d5e4ef5782b4f47b639008aeca18018", "IPY_MODEL_55da87e8821e4da9a142c546054b4632" ], "layout": "IPY_MODEL_385bc4600cda48d99c2c9f68ab8d7e60" } }, "f7035352e2cc42c28808d512ac828b60": { "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_3bf49e31c3ab4dceb9264d2a3eb20b4c", "placeholder": "​", "style": "IPY_MODEL_727ba02b94494aedbce219b872de8c9c", "value": "special_tokens_map.json: 100%" } }, "4d5e4ef5782b4f47b639008aeca18018": { "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_312f3ede8c8345ac95e9c42198a7190a", "max": 695, "min": 0, "orientation": "horizontal", "style": "IPY_MODEL_d5611cbd40be4529bf67a66d31ed77cf", "value": 695 } }, "55da87e8821e4da9a142c546054b4632": { "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_0bb6ea1f57ca4e908215c20988f4148f", "placeholder": "​", "style": "IPY_MODEL_83dcb150f4944f7da933f500405bc72c", "value": " 695/695 [00:00<00:00, 72.4kB/s]" } }, "385bc4600cda48d99c2c9f68ab8d7e60": { "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 } }, "3bf49e31c3ab4dceb9264d2a3eb20b4c": { "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 } }, "727ba02b94494aedbce219b872de8c9c": { "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": "" } }, "312f3ede8c8345ac95e9c42198a7190a": { "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 } }, "d5611cbd40be4529bf67a66d31ed77cf": { "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": "" } }, "0bb6ea1f57ca4e908215c20988f4148f": { "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 } }, "83dcb150f4944f7da933f500405bc72c": { "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": "" } }, "eebcf85577c54d64a21b05ff2390029a": { "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_e482444587dd485b9c890ab6796966e5", "IPY_MODEL_f509d01430dc4c639c9114da2e71229b", "IPY_MODEL_e51896034f3b4afdb44f1901bd5a2ce1" ], "layout": "IPY_MODEL_2d8183d8cef845b5bde291e60d67feab" } }, "e482444587dd485b9c890ab6796966e5": { "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_3e6209a4a7684a0e8803c2753c5d35b7", "placeholder": "​", "style": "IPY_MODEL_bb8321441715437782c6a07c78906f17", "value": "1_Pooling%2Fconfig.json: 100%" } }, "f509d01430dc4c639c9114da2e71229b": { "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_fea9be04d6c74d66b1b5c3dc83500455", "max": 297, "min": 0, "orientation": "horizontal", "style": "IPY_MODEL_756d2462bd3d4acf95089d9b8e2faec9", "value": 297 } }, "e51896034f3b4afdb44f1901bd5a2ce1": { "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_08c4695df1e04ca49f7db5be5d172421", "placeholder": "​", "style": "IPY_MODEL_3056b9890bd148e2b08fbaa0d11fe064", "value": " 297/297 [00:00<00:00, 22.0kB/s]" } }, "2d8183d8cef845b5bde291e60d67feab": { "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 } }, "3e6209a4a7684a0e8803c2753c5d35b7": { "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 } }, "bb8321441715437782c6a07c78906f17": { "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": "" } }, "fea9be04d6c74d66b1b5c3dc83500455": { "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 } }, "756d2462bd3d4acf95089d9b8e2faec9": { "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": "" } }, "08c4695df1e04ca49f7db5be5d172421": { "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 } }, "3056b9890bd148e2b08fbaa0d11fe064": { "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": "" } }, "2205fb2efd2c4e05b4c335f6b56c723d": { "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_b10c86e189bd44e6befa29549bd6028c", "IPY_MODEL_e343a2de0d944126ab693a492a8341b3", "IPY_MODEL_b0fc16c00bbd446b9da9de854e815236" ], "layout": "IPY_MODEL_57c09ad3af6d4030981390f014271dc3" } }, "b10c86e189bd44e6befa29549bd6028c": { "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_9170e7281b804c7caa9f1bd8f5c0dd36", "placeholder": "​", "style": "IPY_MODEL_027e32201420475e975121057662a2b2", "value": "Computing widget examples:   0%" } }, "e343a2de0d944126ab693a492a8341b3": { "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": "", "description": "", "description_tooltip": null, "layout": "IPY_MODEL_728b01f833754953a66f7568d5e01db6", "max": 1, "min": 0, "orientation": "horizontal", "style": "IPY_MODEL_240ea364c919466fa2222cc4eacabcf3", "value": 1 } }, "b0fc16c00bbd446b9da9de854e815236": { "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_e12adbd5aa1f4ff08e1faa62103fd23e", "placeholder": "​", "style": "IPY_MODEL_b1a976d2ba744fae9f49393018bfac6a", "value": " 0/1 [00:00<?, ?example/s]" } }, "57c09ad3af6d4030981390f014271dc3": { "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": "hidden", "width": null } }, "9170e7281b804c7caa9f1bd8f5c0dd36": { "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 } }, "027e32201420475e975121057662a2b2": { "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": "" } }, "728b01f833754953a66f7568d5e01db6": { "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 } }, "240ea364c919466fa2222cc4eacabcf3": { "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": "" } }, "e12adbd5aa1f4ff08e1faa62103fd23e": { "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 } }, "b1a976d2ba744fae9f49393018bfac6a": { "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": "" } }, "0c184caf09d54749914f62ae15960ffa": { "model_module": "@jupyter-widgets/controls", "model_name": "VBoxModel", "model_module_version": "1.5.0", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "VBoxModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", "_view_name": "VBoxView", "box_style": "", "children": [ "IPY_MODEL_29cac182b787409fa7f136d562b54014", "IPY_MODEL_97039cdf986048f78d20933aebc5ca3a", "IPY_MODEL_068f5113385b41ccb646c22764a58bb0", "IPY_MODEL_716437b3d6da45f8920e437b76c36cc5", "IPY_MODEL_ac11b5e67be74fa9ac9fa6524359223d" ], "layout": "IPY_MODEL_a8ecaa2388c64cdc9972bf94166b29c6" } }, "29cac182b787409fa7f136d562b54014": { "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_6ec1dec266a14aa3940cbe2f2cba793a", "placeholder": "​", "style": "IPY_MODEL_430a3c8168e84978b358de54155a06d5", "value": "

Copy a token from your Hugging Face\ntokens page and paste it below.
Immediately click login after copying\nyour token or it might be stored in plain text in this notebook file.
" } }, "97039cdf986048f78d20933aebc5ca3a": { "model_module": "@jupyter-widgets/controls", "model_name": "PasswordModel", "model_module_version": "1.5.0", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "PasswordModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", "_view_name": "PasswordView", "continuous_update": true, "description": "Token:", "description_tooltip": null, "disabled": false, "layout": "IPY_MODEL_ffba7ad044014f399e334375b0db0674", "placeholder": "​", "style": "IPY_MODEL_3d79268fe665435397c605e76b50ba1e", "value": "" } }, "068f5113385b41ccb646c22764a58bb0": { "model_module": "@jupyter-widgets/controls", "model_name": "CheckboxModel", "model_module_version": "1.5.0", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "CheckboxModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", "_view_name": "CheckboxView", "description": "Add token as git credential?", "description_tooltip": null, "disabled": false, "indent": true, "layout": "IPY_MODEL_9dd85f5c584846cb893859762fcfea97", "style": "IPY_MODEL_886f205893d44a05a0997d5de179370b", "value": true } }, "716437b3d6da45f8920e437b76c36cc5": { "model_module": "@jupyter-widgets/controls", "model_name": "ButtonModel", "model_module_version": "1.5.0", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "ButtonModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", "_view_name": "ButtonView", "button_style": "", "description": "Login", "disabled": false, "icon": "", "layout": "IPY_MODEL_72b57e8f5a2e4d978b65746eb9527f37", "style": "IPY_MODEL_8a9a9f2874b640c2be7bafdf96c8d661", "tooltip": "" } }, "ac11b5e67be74fa9ac9fa6524359223d": { "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_ba0fc159bf814775bb31ac6082c12457", "placeholder": "​", "style": "IPY_MODEL_ae7573f845d1407fa0e526b4280996f6", "value": "\nPro Tip: If you don't already have one, you can create a dedicated\n'notebooks' token with 'write' access, that you can then easily reuse for all\nnotebooks. " } }, "a8ecaa2388c64cdc9972bf94166b29c6": { "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": "center", "align_self": null, "border": null, "bottom": null, "display": "flex", "flex": null, "flex_flow": "column", "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": "50%" } }, "6ec1dec266a14aa3940cbe2f2cba793a": { "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 } }, "430a3c8168e84978b358de54155a06d5": { "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": "" } }, "ffba7ad044014f399e334375b0db0674": { "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 } }, "3d79268fe665435397c605e76b50ba1e": { "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": "" } }, "9dd85f5c584846cb893859762fcfea97": { "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 } }, "886f205893d44a05a0997d5de179370b": { "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": "" } }, "72b57e8f5a2e4d978b65746eb9527f37": { "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 } }, "8a9a9f2874b640c2be7bafdf96c8d661": { "model_module": "@jupyter-widgets/controls", "model_name": "ButtonStyleModel", "model_module_version": "1.5.0", "state": { "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "ButtonStyleModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "StyleView", "button_color": null, "font_weight": "" } }, "ba0fc159bf814775bb31ac6082c12457": { "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 } }, "ae7573f845d1407fa0e526b4280996f6": { "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": "" } }, "6ea2c9cc43e24139bdea06c89cbc81d1": { "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_91e4bf915d724a94b7f211dfc4bde883", "IPY_MODEL_5f1393b37c9d442a9b53dfef098fb3c7", "IPY_MODEL_ae377ea3a6544a06907399ed8fb90273" ], "layout": "IPY_MODEL_ecd229508922441fa89864a66cb1f50c" } }, "91e4bf915d724a94b7f211dfc4bde883": { "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_3845f705011d4b5cb0f9df7b19ca1277", "placeholder": "​", "style": "IPY_MODEL_ec0d8ca1eb91456d95b312c2b5bca317", "value": "model.safetensors: 100%" } }, "5f1393b37c9d442a9b53dfef098fb3c7": { "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_c4def919880d4a819c7ffa06248a09d4", "max": 1336413848, "min": 0, "orientation": "horizontal", "style": "IPY_MODEL_c7d04af073924bb88884e4aa9b1f6a1d", "value": 1336413848 } }, "ae377ea3a6544a06907399ed8fb90273": { "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_6575708de5214968b62cc25e130ea450", "placeholder": "​", "style": "IPY_MODEL_5082241236784d11874c39b8956f5791", "value": " 1.34G/1.34G [00:31<00:00, 46.9MB/s]" } }, "ecd229508922441fa89864a66cb1f50c": { "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 } }, "3845f705011d4b5cb0f9df7b19ca1277": { "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 } }, "ec0d8ca1eb91456d95b312c2b5bca317": { "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": "" } }, "c4def919880d4a819c7ffa06248a09d4": { "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 } }, "c7d04af073924bb88884e4aa9b1f6a1d": { "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": "" } }, "6575708de5214968b62cc25e130ea450": { "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 } }, "5082241236784d11874c39b8956f5791": { "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": "code", "source": [ "!pip install -qU langchain_openai langchain_huggingface langchain_core langchain langchain_community langchain-text-splitters unstructured\n" ], "metadata": { "colab": { "base_uri": "https://localhost:8080/" }, "id": "FV82nGOLBxYX", "outputId": "7ae485dc-d376-4a18-9d05-433c94998ee9" }, "execution_count": 1, "outputs": [ { "output_type": "stream", "name": "stdout", "text": [ "\u001b[?25l \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m0.0/981.5 kB\u001b[0m \u001b[31m?\u001b[0m eta \u001b[36m-:--:--\u001b[0m\r\u001b[2K \u001b[91m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[91m╸\u001b[0m \u001b[32m972.8/981.5 kB\u001b[0m \u001b[31m42.3 MB/s\u001b[0m eta \u001b[36m0:00:01\u001b[0m\r\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m981.5/981.5 kB\u001b[0m \u001b[31m18.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25h Preparing metadata (setup.py) ... \u001b[?25l\u001b[?25hdone\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m55.3/55.3 kB\u001b[0m \u001b[31m4.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m414.1/414.1 kB\u001b[0m \u001b[31m24.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m2.5/2.5 MB\u001b[0m \u001b[31m61.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m1.8/1.8 MB\u001b[0m \u001b[31m69.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m1.2/1.2 MB\u001b[0m \u001b[31m57.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m590.6/590.6 kB\u001b[0m \u001b[31m33.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m167.6/167.6 kB\u001b[0m \u001b[31m15.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m3.1/3.1 MB\u001b[0m \u001b[31m77.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m113.6/113.6 kB\u001b[0m \u001b[31m9.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m50.9/50.9 kB\u001b[0m \u001b[31m4.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m300.7/300.7 kB\u001b[0m \u001b[31m21.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m363.4/363.4 MB\u001b[0m \u001b[31m4.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m13.8/13.8 MB\u001b[0m \u001b[31m91.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m24.6/24.6 MB\u001b[0m \u001b[31m81.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m883.7/883.7 kB\u001b[0m \u001b[31m45.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m664.8/664.8 MB\u001b[0m \u001b[31m2.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m211.5/211.5 MB\u001b[0m \u001b[31m5.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m56.3/56.3 MB\u001b[0m \u001b[31m9.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m127.9/127.9 MB\u001b[0m \u001b[31m6.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m207.5/207.5 MB\u001b[0m \u001b[31m6.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m21.1/21.1 MB\u001b[0m \u001b[31m58.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m114.6/114.6 kB\u001b[0m \u001b[31m8.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25h Building wheel for langdetect (setup.py) ... \u001b[?25l\u001b[?25hdone\n" ] } ] }, { "cell_type": "code", "source": [ "!pip install -qU faiss-cpu python-pptx==1.0.2 nltk==3.9.1 pymupdf beautifulsoup4 lxml\n" ], "metadata": { "colab": { "base_uri": "https://localhost:8080/" }, "id": "wyJE_qndBywq", "outputId": "c54d880e-b0a8-4e4a-8034-b4fe89d7305d" }, "execution_count": 2, "outputs": [ { "output_type": "stream", "name": "stdout", "text": [ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m472.8/472.8 kB\u001b[0m \u001b[31m14.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m30.7/30.7 MB\u001b[0m \u001b[31m14.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m20.0/20.0 MB\u001b[0m \u001b[31m27.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m165.1/165.1 kB\u001b[0m \u001b[31m14.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25h" ] } ] }, { "cell_type": "code", "source": [ "import os\n", "import getpass\n", "\n", "os.environ[\"OPENAI_API_KEY\"] = getpass.getpass(\"Enter Your OpenAI API Key: \")" ], "metadata": { "colab": { "base_uri": "https://localhost:8080/" }, "id": "GuRJ1TgaB5PQ", "outputId": "f100c2a9-d533-452d-f154-cd2ed0fbe924" }, "execution_count": 3, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Enter Your OpenAI API Key: ··········\n" ] } ] }, { "cell_type": "code", "execution_count": 4, "metadata": { "id": "CEWxFDu0Blb3" }, "outputs": [], "source": [ "import nest_asyncio\n", "\n", "nest_asyncio.apply()" ] }, { "cell_type": "code", "source": [ "from langchain_community.document_loaders import DirectoryLoader\n", "from langchain_community.document_loaders import UnstructuredMarkdownLoader\n", "from langchain_text_splitters import RecursiveCharacterTextSplitter\n", "\n", "CHUNK_SIZE = 1000\n", "CHUNK_OVERLAP = CHUNK_SIZE // 2\n", "\n", "path = \"sample_data\"\n", "text_loader = DirectoryLoader(path, glob=\"*.txt\", loader_cls=UnstructuredMarkdownLoader)\n", "\n", "text_splitter = RecursiveCharacterTextSplitter(\n", " chunk_size = CHUNK_SIZE,\n", " chunk_overlap = CHUNK_OVERLAP,\n", " length_function = len\n", ")\n", "\n", "training_documents = text_splitter.split_documents(text_loader.load())" ], "metadata": { "id": "A_3XCp5ECx6I" }, "execution_count": 34, "outputs": [] }, { "cell_type": "code", "source": [ "print(len(training_documents))" ], "metadata": { "colab": { "base_uri": "https://localhost:8080/" }, "id": "vQFn8WxlKY3A", "outputId": "921c4f4f-fec1-4184-e96e-3fad99c71c36" }, "execution_count": 35, "outputs": [ { "output_type": "stream", "name": "stdout", "text": [ "106\n" ] } ] }, { "cell_type": "code", "source": [ "import uuid\n", "\n", "id_set = set()\n", "\n", "for document in training_documents:\n", " id = str(uuid.uuid4())\n", " while id in id_set:\n", " id = uuid.uuid4()\n", " id_set.add(id)\n", " document.metadata[\"id\"] = id" ], "metadata": { "id": "1kc-h5uADmoq" }, "execution_count": 36, "outputs": [] }, { "cell_type": "code", "source": [ "TRAINING_DOC_LENGTH = len(training_documents)\n", "BREAK1 = TRAINING_DOC_LENGTH - 24\n", "BREAK2 = TRAINING_DOC_LENGTH - 12\n", "\n", "training_split_documents = training_documents[:TRAINING_DOC_LENGTH - 24]\n", "val_split_documents = training_documents[BREAK1:BREAK2]\n", "test_split_documents = training_documents[BREAK2:]" ], "metadata": { "id": "ah-Sq8c7Dog9" }, "execution_count": 46, "outputs": [] }, { "cell_type": "code", "source": [ "print(len(training_split_documents))\n", "print(len(val_split_documents))\n", "print(len(test_split_documents))" ], "metadata": { "colab": { "base_uri": "https://localhost:8080/" }, "id": "BwRP9IW8LGNn", "outputId": "1d0ee045-fe3b-426a-b187-598740742624" }, "execution_count": 47, "outputs": [ { "output_type": "stream", "name": "stdout", "text": [ "82\n", "12\n", "12\n" ] } ] }, { "cell_type": "code", "source": [ "from langchain_openai import ChatOpenAI\n", "from langchain_core.prompts import ChatPromptTemplate\n", "\n", "qa_chat_model = ChatOpenAI(\n", " model=\"gpt-4o-mini\",\n", " temperature=0\n", ")\n", "\n", "qa_prompt = \"\"\"\\\n", "Given the following context, you must generate questions based on only the provided context.\n", "\n", "You are to generate {n_questions} questions which should be provided in the following format:\n", "\n", "1. QUESTION #1\n", "2. QUESTION #2\n", "...\n", "\n", "Context:\n", "{context}\n", "\"\"\"\n", "\n", "qa_prompt_template = ChatPromptTemplate.from_template(qa_prompt)\n", "\n", "question_generation_chain = qa_prompt_template | qa_chat_model" ], "metadata": { "id": "2VV7V6BWGCd7" }, "execution_count": 48, "outputs": [] }, { "cell_type": "code", "source": [ "import tqdm\n", "import uuid\n", "\n", "async def create_questions(documents, n_questions):\n", " questions = {}\n", " relevant_docs = {}\n", "\n", " for document in tqdm.tqdm(documents):\n", " context = document.page_content\n", "\n", " # get questions by invoking the question generation chain\n", " response = await question_generation_chain.ainvoke(\n", " {\"context\": context, \"n_questions\": n_questions}\n", " )\n", "\n", " # split the response into two questions\n", " [question1, question2] = response.content.split(\"\\n\")\n", "\n", " # generate a unique id for the first question\n", " id1 = str(uuid.uuid4())\n", " while id1 in questions:\n", " id1 = str(uuid.uuid4())\n", " # store the first question\n", " questions[id1] = question1[2:].strip()\n", "\n", " # generate a unique id for the second question\n", " id2 = str(uuid.uuid4())\n", " while id2 in questions:\n", " id2 = str(uuid.uuid4())\n", " # store the second question\n", " questions[id2] = question2[2:].strip()\n", "\n", " # Store the relevant doc for each questions\n", " relevant_docs[id1] = [document.metadata[\"id\"]]\n", " relevant_docs[id2] = [document.metadata[\"id\"]]\n", "\n", " return questions, relevant_docs" ], "metadata": { "id": "03DCtXsiGJfd" }, "execution_count": 49, "outputs": [] }, { "cell_type": "code", "source": [ "training_questions, training_relevant_contexts = await create_questions(training_split_documents, 2)" ], "metadata": { "colab": { "base_uri": "https://localhost:8080/" }, "id": "3MQcWUjgGP92", "outputId": "e44202f0-671a-4f09-ae9c-c63f48a6fd6d" }, "execution_count": 50, "outputs": [ { "output_type": "stream", "name": "stderr", "text": [ "100%|██████████| 82/82 [01:31<00:00, 1.12s/it]\n" ] } ] }, { "cell_type": "code", "source": [ "print(training_questions, training_relevant_contexts)" ], "metadata": { "colab": { "base_uri": "https://localhost:8080/" }, "id": "Huw_-QqVLt0j", "outputId": "25ba8420-d3d1-4339-874d-0b7499181a72" }, "execution_count": 51, "outputs": [ { "output_type": "stream", "name": "stdout", "text": [ "{'de4d625a-2699-4108-955c-98bf64727d99': 'What is the purpose of templates in Shopify Flow?', '55d6816b-df29-428d-8a78-e74f74a61262': 'How can merchants utilize the template library in Shopify Flow?', 'def87f12-ed5d-49f9-86e2-24be1f1af812': 'What is required for the test web server to successfully send information to Shopify Flow?', '39ae4924-5863-4abc-bcd2-56a8d8af9f2c': 'What naming guidelines should be followed when creating a Flow trigger extension?', '6c3941aa-cf3d-49fb-9944-313f84acb849': 'What format should be used for naming a Flow action in Shopify?', 'd355b6c8-0da1-4048-b76d-49facf540bb9': 'What command is used to generate a new extension using Shopify CLI?', '3a1b68a7-1b5c-43ab-8c6b-c2515dcf0ee0': 'What command should you run to generate a new extension in your app directory using Shopify CLI?', 'a3ffe9c3-8873-4c39-b439-585f817e94d7': 'Where can you find the file representation of your generated extension after following the prompts?', '4ccd464a-1cdf-4931-b077-e28baa27665e': 'What steps must be taken to add a Shopify Flow trigger to an app in the Partner Dashboard?', '368618ff-b3fe-4862-980d-68c305175bbd': 'How can a developer obtain the GraphQL endpoint needed for sending POST requests to Shopify Flow?', 'f6df79f2-c250-4897-9939-43462c52c01c': 'What is the format of the GraphQL endpoint used to send POST requests to Shopify Flow?', 'abd3cbe6-a613-4613-9399-3034637cf6a2': 'What changes should be made to the second [[settings.fields]] field in the Flow trigger configuration file?', 'f57f69df-4f89-43d5-9c57-3b79100b4315': 'What is the purpose of updating the description in the flow extension to \"Trigger for auction bids\"?', '0cb94226-532c-4c7a-afa2-1b2b551c29e3': 'How do you enable the draft version of your trigger after making changes to the local files?', '0fcb3d10-3111-4edd-8727-a94ea16c9b66': 'What is the purpose of the \"Auction Bid Placed\" trigger in the context provided?', 'abc5f769-fff4-4d8f-aae3-912b9623bba5': 'How can a developer identify the draft version of a task in their development store?', 'bc23e4f6-4a98-4838-8180-8886b367af96': 'What happens to the draft version of a task when \"Development store preview\" is enabled in the app development process?', '509fa95a-e21d-423e-8257-0e02200c281b': 'How can you view the deployed version of a task in your development store while using the app development features?', '9aa72808-1714-488d-98b3-e5356f45d17f': 'What command should you run to start using draft versions of your extension(s) in your app directory?', '4c415371-5a51-46e7-85b5-60466a6d24eb': 'What is the maximum size limit for the payload when sending a flowTriggerReceive mutation using the Admin GraphQL API?', '69d6217c-5083-4f08-ad0f-94d93c0bdb05': 'What is the maximum size limit for the payload of the trigger in bytes?', '04396d5b-e6fa-475c-860d-41b17e18069a': 'What error message does Shopify return if the properties body exceeds the size limit?', '203ad726-e463-4045-8ea3-c3ef536fdae2': 'What is the purpose of the flowTriggerReceive mutation in the provided context?', 'c29e6671-3fe1-44af-ae4a-47ae8b40d44d': 'How is the flowTriggerReceive mutation sent using a curl request?', '503773a7-e8a0-4675-9c2b-542bf7a44e62': 'What command is used to deploy extensions using Shopify CLI?', '5c3c8e2f-4213-41ec-856a-430c4035fd1d': 'What should you do before deploying changes to a production app?', 'bcb9416c-2627-4aec-919e-9c9832563e11': 'What steps must be taken before an app can receive communication from Flow actions?', '445771d3-962f-4402-bdd3-24b39d75c595': 'What information should be reviewed for each API endpoint to ensure proper functionality?', 'c611d65c-dafa-47c3-be18-a3c8a3782031': \"What is the purpose of the endpoint where the automation tool sends an action's payload?\", 'eb3b6bff-443a-4c1d-bb40-0ca57e73e530': 'What are the general endpoint requirements for Shopify Flow action endpoints?', '86f670f9-f0c9-450f-b4f5-9c7ca52fb3e0': 'What are the security mechanisms required for Shopify Flow action endpoints?', 'f80915b7-105e-479c-b027-52535bf9c91d': 'What type of content format is specified for the API in the general endpoint requirements?', '8da3579d-b7eb-4c1a-9973-3c183f8860ab': 'What is the purpose of configuring a lifecycle callback for triggers in Shopify Flow?', '377524e8-ebc0-4d58-ba27-e1cd634ebeb1': 'What happens if an app does not respond promptly to a lifecycle callback from Shopify Flow?', 'df0ea9a9-f1c2-45ae-a12a-61b46f46fab1': 'What happens if an app does not respond promptly to a lifecycle callback from Shopify Flow?', 'ae5d62e3-5fb4-4fdd-842a-db587fe933d2': 'Why are legacy trigger discovery webhook extensions deprecated and what must be done to edit them?', '668b4b66-5e8c-4276-94e0-5b92a1643e75': 'What is the format of the trigger lifecycle callback HTTP POST request?', 'f90253ec-fcb5-4f2a-9b1f-b7f974b529b1': 'Why must legacy trigger discovery webhook extensions migrate to the CLI?', 'a2a61363-806d-46d4-b9d9-aacc079dbcf8': 'What is the purpose of the `flow_trigger_definition_id` in the context of Shopify Flow?', '9e840eb8-0e18-4e30-9476-573d793f12df': 'How should notifications be handled based on the `timestamp` provided in the payload?', 'fdddd0c5-2cf5-49e6-b501-597e92dc48e0': 'What does the \"has_enabled_flow\" field indicate in the usage notification request from Shopify Flow?', '4daa7a4d-bb64-4d3a-87d6-03d75c42ab3f': 'When does Shopify Flow send a callback with \"has_enabled_flow\": true?', '3dcff2c8-d215-4f74-941f-8f8ba0c20016': 'What information does the callback contain when a merchant activates a workflow that uses a trigger in Shopify Flow?', '6a105f11-e900-4d60-b308-037244edf183': \"What happens if a merchant's web server does not respond within five seconds when trying to enable a workflow?\", '062f4f38-2eaf-408f-8ad9-f1d130db8593': 'What is the purpose of configuring a URL in your web server for Shopify Flow callbacks?', 'a12a0f26-86cc-4552-a4cf-a4f0e310cd3f': 'How can you ensure that you do not overwrite existing entries when storing callback data in a persistent datastore?', '448aafaa-9d08-46a7-9fd3-5a6193ba31e5': 'What is the maximum response time configured for the web server when it receives a trigger lifecycle callback?', 'ede7f790-462f-4436-b4f7-30d4ba97de9f': 'How should the application be edited to ensure triggers are sent only to stores that are using them?', '49dda743-00ea-4f26-ab7c-83f350f56e92': 'What command should be run in the CLI to generate the extension for the callback configuration?', '57c82cec-56c4-4acb-8cba-43e69b0e5967': 'What should be changed in the generated TOML after selecting the Flow trigger lifecycle callback?', '4ddd1ece-be07-4548-9afc-c10582e8f53c': 'What is a trigger in the context of Shopify Flow?', '9bdd0fa5-bb73-4147-998c-7c8e7c22519e': 'What file format is used to specify details about a trigger in a trigger extension?', '0d36fb4e-8fd0-4849-9571-9eddf711ffac': 'What sections and properties of the TOML configuration file are covered in the guide for configuring a new trigger extension using Shopify CLI?', '9bdae842-b464-48a5-8dc4-5014c815f700': 'Why is it important for developers to have the latest version of Shopify CLI when creating Flow extensions?', 'af1d9fe6-25f0-4312-822e-186e7aecbe95': 'What is the purpose of the TOML configuration file structure when creating Flow extensions using Shopify CLI?', '0d1454be-4b4c-4fa4-98eb-81b1535f9ee6': \"What should developers expect regarding the capabilities of Flow's CLI as it continues to evolve?\", 'c71b1056-b75e-4ecc-b5cd-af8f4dddb565': 'What is the purpose of the TOML configuration file structure when creating a new trigger extension using Shopify CLI?', '479a0e0a-b19f-4170-a1d7-54b60927ddcc': 'In the provided TOML example, what type of extension is being defined?', 'fc468efd-8b60-432d-b187-ed414b6569a3': 'What is the required type for an extension property in the Flow triggers?', 'b4572d68-eb31-4a27-af87-ad9847a2dd54': \"What are the rules for the 'handle' property in the extension properties?\", '5d4971a5-bda6-4689-86a5-a65713e95da6': 'What section are trigger extension fields listed under in the configuration?', 'a6e1ca77-2b8a-4cf0-b7e2-fafbd99b9da4': 'What is required for a field to be included in a trigger payload?', 'd33022d1-febf-4369-8b7a-6c37fc40f838': 'What are the two types of fields that can be added when creating a trigger for Shopify Flow?', '6d50a9de-ff71-4eab-844e-0d5a7368cbc5': 'How does a reference field benefit merchants when building workflows in Shopify Flow?', '7306550d-2e46-4ce4-a14d-9abc1b8a4ce6': 'What template variable can merchants include in their actions when using Shopify Flow to reference customer information?', '2e583795-fa52-4792-bbf0-8ada70f9cf47': 'What are the different reference types available for triggers in Shopify Flow, and what do they correspond to?', '8d322935-f13a-49f2-8c33-8f19331b3b8c': 'What is the purpose of the `customer_reference` field in the provided context?', '9e11ca96-36bf-4544-a4ec-4b66a3425daf': 'What are the available custom field types mentioned in the context?', '7c082cca-fbec-448f-bad2-4f72f2fb7f00': 'What is the purpose of including the payload key when making a request to Flow?', '831d6ab9-f0a7-4ea3-b90f-ce41b5ddf5d2': 'What are the available custom field types mentioned in the context?', '608b2a5e-1fd2-4a65-9264-eda791c184a6': 'What are the available custom field types mentioned in the context?', 'adb1fc41-b28d-4234-8af4-a07e29c73d35': 'How should field names be formatted when naming custom fields?', '5cab7ac0-64f3-45aa-b50e-eedeb8b8a95f': 'What format should custom field names follow to ensure they are self-describing and readable?', 'b5cd0b56-9e68-484c-8ee8-faa77ec6caf8': 'How does Shopify Flow convert key properties when used as template variables in the editor?', 'd183703b-3142-4de6-9468-7dd45eb75f91': 'How does Shopify Flow convert key properties when used as template variables in custom fields?', 'a539f209-6bee-4af3-b798-fb9584511bca': \"What is the purpose of the `handle` property in the Flow's mutation API reference?\", '545117be-e712-449f-b80f-475b014741cb': 'What is the purpose of the \"handle\" property in the GraphQL mutation for flowTriggerReceive?', 'cb398a49-7429-4f94-ac05-5bf46cb51576': 'What are the limitations regarding the payload size when sending triggers to Shopify Flow?', 'da492931-c6c9-45e7-9072-6bf78ec92194': 'What is an action in the context of Shopify Flow?', 'f535f0bf-cffd-4611-8cce-21d46e6e83a3': 'How can you connect your app to Shopify Flow?', '2ec54678-6088-45fd-bea9-164caed518c2': 'What information must be included in the action that merchants add to their workflows?', '072265ae-c164-44e3-a0dd-0d086ee1fdc5': 'What are the requirements for setting up a test environment to create an action for Shopify Flow?', 'bb579b6e-0b17-4d52-8266-859fbc8ef19b': 'What guidelines should be followed to give a Flow action a meaningful name?', 'c934a962-84e8-4913-9779-694f449e142a': 'What is the purpose of adding custom validation for action properties in the context of enhancing the merchant experience?', 'd2f4c16c-1149-47de-8e30-0deb9aaa01a6': 'What format should be used for naming a Flow action?', 'f5185665-1bac-4be9-9b9a-6e5dc4471996': 'What command is used to generate a new extension using Shopify CLI?', 'aa325901-1864-4299-9f64-b0187c6a6b26': 'What steps must be followed to generate a new Flow Action extension using Shopify CLI?', 'f4cd3c56-28c5-4274-aa27-bd5000eeb175': 'Where can you find the file representation of your extension after it has been generated?', 'af4425c9-2830-4c89-9a5c-89267daff7d0': 'What steps should you follow to add a Shopify Flow action to your app in the Partner Dashboard?', '2c064ef0-94f5-41a7-a433-b25f2f536262': 'What information is required in the Extension name field when creating a Flow action?', 'c358aedb-dabd-4875-818e-438b278b3c16': 'What should you change the description to when customizing a Flow action configuration file?', 'b1f3e638-87ef-4957-b7a8-d7f462c6efbe': 'What type should the second settings.fields field be updated to in the Flow action configuration?', '54d1fc81-f7fb-47e9-a798-2ab98ed0db95': 'What is the new description for the auction action after the update?', 'b3f12862-73ae-4c57-9ab3-4201d7cdfb1e': 'What type and key are assigned to the second settings.fields field in the configuration?', '82dc4fd8-1ceb-4949-9004-fc8ae04f170d': 'What type of field is required for customer reference in the settings?', 'daaf205d-ee6a-4190-a014-b76cff58df9b': 'What is the purpose of the \"amount\" field in the settings?', '7810a212-53f8-4752-972a-f03d6202d895': \"What is the purpose of the endpoint where the automation tool sends the action's payload in a Shopify Flow action?\", '70851937-7bed-41d6-9ffa-5187d02a905f': 'Why is a custom validation endpoint required when using a custom configuration page in Shopify Flow?', 'd2cb8a1e-9872-4cab-9859-56d96f369ecd': 'What should you refer to in order to learn about the endpoint requirements for your server?', 'd1fca9c0-55c3-411f-9a90-53840cb100e1': 'How can you identify the draft version of a task in your development store?', 'c4f55e88-717b-47e9-9051-4940dd471866': 'What command should you run to start using draft versions of your extension(s) in your app directory?', 'b8fae672-d206-4b17-ba1c-b7f413c74cf1': 'How can you test the action you created in the Partner Dashboard on your development store?', 'f4ece1c7-0c06-4d83-8fb5-748f350db32f': 'What should you ensure about the custom configuration page after creating it?', '953401d9-1c39-4ab3-9cdc-3295569e801a': 'What command is recommended for deploying extensions using Shopify CLI?', '5c4bebf1-73ff-40af-a3ea-f3cfa3a0e8e3': 'What command is used to start deploying your extensions using Shopify CLI?', '77663065-2610-4eba-b9dc-4841726ae8ab': 'Why is it important to verify the HMAC header in each request?', '0e889c66-0995-4b88-9107-07232c41c30c': 'What elements should be verified in each request for security reasons?', '83e526cb-5060-498d-b950-e723c3afd01f': 'How can you connect your app to Shopify Flow to trigger workflows?', '558c3838-af7c-407b-b46c-30197971d239': 'What are some examples of actions that merchants can automate using the Review created trigger in Shopify Flow?', '6b78166a-f9ce-4d3a-969b-fbd6d9b00b2b': 'How can integrating with Shopify Flow increase the value of an app for merchants?', 'b95596c3-7651-42b1-873b-18e23fc783d3': 'How can building for Flow increase the value of an app for merchants?', '613d0a3f-e2bf-4e3d-9f09-1c101d74f225': 'What are the benefits of integrating with Flow instead of creating direct integrations with multiple apps?', 'f05bc758-f489-4878-92a5-fe444ac154e1': 'What benefits does integrating with Flow provide for app developers in terms of development time and visibility?', 'e73f2f4c-ae03-4bc3-89d3-e7919f6a804d': 'How can merchants discover tasks related to an app that is integrated with Flow?', '8ac32b96-88d4-46b1-9ab3-462a38e71086': 'What is an example of a trigger in a workflow as described in the context?', '68f09947-b670-4077-8e69-b71ac5d80d1a': 'What type of plans support the Flow app for Shopify merchants?', '70c22c24-14df-41f6-bded-456f5cf927bc': 'What is the primary difference in Flow features for merchants with custom apps compared to those without?', '537cd37f-131d-43ed-bb49-70613a5e06ab': 'How do templates in Shopify Flow assist merchants in automating workflows?', '9788100b-6de6-43ec-92b1-1a42fcf08812': 'What is the purpose of connecting your app to Shopify Flow in relation to triggers?', 'eb9d5aa3-2ada-46e2-9094-f4b412c74df3': 'How can you create workflow templates in Shopify Flow?', '55bcda56-a928-4c7b-9bd2-767ccce7f9ec': 'What is the purpose of the shopify.extension.toml file in a Flow template extension?', '15873b17-5f4e-48c1-9d5c-4f2ee5a491ae': 'What are the categories specified in the TOML configuration for the Flow template extension?', 'dc0df970-86d4-4bf5-bd6a-4cb3c9644ac3': 'What is the required property that serves as a globally-unique identifier for your extension in a flow template?', '2de67339-3f7c-4a56-9960-a19f78513f46': 'How many categories must be chosen to describe the function of your template, and what is the maximum number of categories recommended?', '00664ac5-bc77-4c8f-85f0-6b8edfc61a5a': 'What are the valid categories that can be used to describe the function of a template?', '066b0a8e-4882-441b-a2e0-df07c885279b': 'Is the \"require_app\" property mandatory for a template\\'s workflow?', '47d3eab1-a5b2-49ec-8335-3648fb7a4636': \"What are the optional parameters that can be set for a template workflow in the extension's folder?\", '6486076e-45e6-4bc4-94b5-7b116abb7cf9': \"What does the 'require_app' parameter determine regarding the visibility of a template?\", 'ab39d79d-44c1-439e-88f2-bfb7dd802546': 'What are the benefits of localizing a template for a wider audience?', 'c5da3946-bddc-484e-9d92-00acaaa3a76c': 'How can you add new locales for a template according to the provided context?', 'f48f3085-c7a6-4036-a949-3ee04873e3a9': 'What is the purpose of adding new .json files prefixed with the locale in the workflow?', '55c51fd7-5ca7-4ba1-90c2-b9d57497d8d6': 'How can you provide translated custom step descriptions in the workflow?', 'f52ee4be-9530-4368-b224-f7df74b5b3f4': 'What is the purpose of adding a translation key in the step description field?', 'db469459-e566-469d-96d2-cee87c2aab68': 'What criteria must be met before submitting a template extension for approval?', '5d17d256-ec6d-471f-a4a9-d092e2b26595': 'What must be disabled in the Shopify Admin before using the template?', '9504839d-5aaa-46c7-841d-db5033f858b9': 'How long does the Flow team take to review submitted templates?', 'db9a0ea7-e9ca-4ae8-8e1d-722030df12a7': 'What is the purpose of embedding a page from an app in the Shopify Flow editor for merchants?', '4a9cf136-16e1-4b19-86c9-5dfed36626b3': 'What resources are required to implement a custom configuration page in Shopify Flow?', 'ff7edb1d-f924-4c0d-8ca7-437162f6cd16': 'What are the prerequisites for implementing a custom configuration page in Shopify Flow?', '4005b0ee-5f93-48e8-ac75-db3896fec8af': 'How can you access step and property information from the custom configuration page context?', 'f7cc9ed7-c180-4220-9cef-0e805bd5980e': 'What is the purpose of using Shopify App Bridge when building a custom configuration page?', '2f57ff89-bff7-41b5-afa7-74e486c82b18': 'How can you access step and property information on the custom configuration page?', '87857e20-b8ca-4d3c-8f26-297f02396a45': 'What is the purpose of the step_reference search parameter in the context of the custom configuration page?', '79f91ce8-ee6e-4c9b-bbab-ecfa170819a9': 'How can you access the property data for the action payload schema when integrating Shopify App Bridge?', 'dcf29162-b215-41d6-ada2-5bfb3f4693f7': 'What is the purpose of the properties in the action payload schema for Shopify App Bridge?', 'c0814cf0-a790-476b-94a9-011f2f49627e': \"How can you register to the Custom Configuration Page's intent using Shopify App Bridge version 4.X.X and up?\", '1a346682-6f0c-4d99-b4c5-84c52c39433e': 'What is the purpose of the `useAppBridge` hook in the provided context?', '67e910ba-3bdd-4685-b908-e60bd2a9738a': 'How does the `finish` method in the intent object function within the Application component?', '900c9c29-467a-4c83-bf76-4d990e6b8393': 'What does the cleanup function returned by the register method do when a component is unmounting?', 'abd4a7dd-8e1b-49c5-b358-0259e874cd92': 'How can you trigger a redirect to the previous page in the custom configuration page?', 'f00e2549-6a88-4e09-b832-eb4a1071395e': 'What elements can be added to the navigation bar using the ui-title-bar element?', 'c114a030-1874-4cf4-8073-31367295a32e': 'How can you access property data in a Shopify app using React?', '249f8b4c-e335-4a2f-ad0e-3bd78d881893': 'What event must you subscribe to in order to access property data?', '2e65fe15-f26a-4968-9b2e-b714d0d058b4': 'In the provided example code, what action is triggered to request the properties after subscribing to the properties event?', 'bb70239c-16e2-4c33-b0ef-fd39afd5774f': 'What is the purpose of the `unsubscribeToPropertiesEvent` function in the `useEffect` hook?', '47990c6b-44ec-41b9-9e1e-166defad8406': 'How can you trigger a redirect to the previous page using the App Bridge?', 'f4c52a3e-ab5e-4cc4-af5f-96f7a640dad3': \"What is the default function of the Exit button on the custom configuration page's title bar?\", 'da76dd15-5db4-4c7f-bd03-aef5a602e5c8': 'How can additional actions be added to the App Bridge title bar using @shopify/app-bridge?', '447f844b-3807-43db-9508-c6361739ad84': 'What is the purpose of keeping a reference to the Titlebar instance after its initialization?', '6c35fe89-5323-479d-b3de-28eb447e3f6f': 'Which actions are supported on the TitleBar when using @shopify/app-bridge-react?', '4755b88e-280c-4ca1-aa6a-d7e13fb879e6': 'What are the labels of the buttons created in the provided context?', '067f0585-fabb-4cf7-81f0-03da0c013cc7': 'How is the title bar updated with new buttons after initialization?', '8eb26e92-638d-4e35-ba7f-a1a701cdd70c': 'What is the purpose of the `newPrimary` button in the context provided?', '784d34f7-721d-4712-91b8-ebebe0b969f6': 'How can you add custom configuration page URLs to your Shopify Flow action configuration?'} {'de4d625a-2699-4108-955c-98bf64727d99': ['1111372e-f1c9-4831-9123-a644f82c9129'], '55d6816b-df29-428d-8a78-e74f74a61262': ['1111372e-f1c9-4831-9123-a644f82c9129'], 'def87f12-ed5d-49f9-86e2-24be1f1af812': ['6e002ed1-2226-4583-b6d1-2b836405cf3d'], '39ae4924-5863-4abc-bcd2-56a8d8af9f2c': ['6e002ed1-2226-4583-b6d1-2b836405cf3d'], '6c3941aa-cf3d-49fb-9944-313f84acb849': ['58fb88c6-9518-4411-afb1-0e8e1fa6809c'], 'd355b6c8-0da1-4048-b76d-49facf540bb9': ['58fb88c6-9518-4411-afb1-0e8e1fa6809c'], '3a1b68a7-1b5c-43ab-8c6b-c2515dcf0ee0': ['37a3a4e7-adfb-46c2-b0ae-7c342f457228'], 'a3ffe9c3-8873-4c39-b439-585f817e94d7': ['37a3a4e7-adfb-46c2-b0ae-7c342f457228'], '4ccd464a-1cdf-4931-b077-e28baa27665e': ['bb07eb40-286f-4221-8d24-78a4e21907c5'], '368618ff-b3fe-4862-980d-68c305175bbd': ['bb07eb40-286f-4221-8d24-78a4e21907c5'], 'f6df79f2-c250-4897-9939-43462c52c01c': ['1a547b8d-e6f9-454c-aa50-112f984affc4'], 'abd3cbe6-a613-4613-9399-3034637cf6a2': ['1a547b8d-e6f9-454c-aa50-112f984affc4'], 'f57f69df-4f89-43d5-9c57-3b79100b4315': ['766fb989-c804-4833-8b0e-df7ce737813a'], '0cb94226-532c-4c7a-afa2-1b2b551c29e3': ['766fb989-c804-4833-8b0e-df7ce737813a'], '0fcb3d10-3111-4edd-8727-a94ea16c9b66': ['8d4be795-e4fe-47d4-9bcf-78b5acb59237'], 'abc5f769-fff4-4d8f-aae3-912b9623bba5': ['8d4be795-e4fe-47d4-9bcf-78b5acb59237'], 'bc23e4f6-4a98-4838-8180-8886b367af96': ['a09d6f63-3c63-4f66-acd4-a686f12d85ed'], '509fa95a-e21d-423e-8257-0e02200c281b': ['a09d6f63-3c63-4f66-acd4-a686f12d85ed'], '9aa72808-1714-488d-98b3-e5356f45d17f': ['05ae8128-2ba1-405e-8e26-af9ae9d0c76a'], '4c415371-5a51-46e7-85b5-60466a6d24eb': ['05ae8128-2ba1-405e-8e26-af9ae9d0c76a'], '69d6217c-5083-4f08-ad0f-94d93c0bdb05': ['f2efb7c8-d35e-4b58-a0f6-fe4904f8a393'], '04396d5b-e6fa-475c-860d-41b17e18069a': ['f2efb7c8-d35e-4b58-a0f6-fe4904f8a393'], '203ad726-e463-4045-8ea3-c3ef536fdae2': ['156fb00b-86bb-494a-988d-6705e359027d'], 'c29e6671-3fe1-44af-ae4a-47ae8b40d44d': ['156fb00b-86bb-494a-988d-6705e359027d'], '503773a7-e8a0-4675-9c2b-542bf7a44e62': ['0db06ca8-fb4e-4bff-96ba-56fcfb116084'], '5c3c8e2f-4213-41ec-856a-430c4035fd1d': ['0db06ca8-fb4e-4bff-96ba-56fcfb116084'], 'bcb9416c-2627-4aec-919e-9c9832563e11': ['79130201-7ff0-43be-a087-d1aa44ac9081'], '445771d3-962f-4402-bdd3-24b39d75c595': ['79130201-7ff0-43be-a087-d1aa44ac9081'], 'c611d65c-dafa-47c3-be18-a3c8a3782031': ['3cfad31f-47be-4cab-9d3f-0e9454c2d9ac'], 'eb3b6bff-443a-4c1d-bb40-0ca57e73e530': ['3cfad31f-47be-4cab-9d3f-0e9454c2d9ac'], '86f670f9-f0c9-450f-b4f5-9c7ca52fb3e0': ['47ebc071-2a5f-48af-86ea-7ebbd65b94fc'], 'f80915b7-105e-479c-b027-52535bf9c91d': ['47ebc071-2a5f-48af-86ea-7ebbd65b94fc'], '8da3579d-b7eb-4c1a-9973-3c183f8860ab': ['f879a341-2035-4550-8520-409a277ae70d'], '377524e8-ebc0-4d58-ba27-e1cd634ebeb1': ['f879a341-2035-4550-8520-409a277ae70d'], 'df0ea9a9-f1c2-45ae-a12a-61b46f46fab1': ['13d08f6d-4b81-4e76-b80e-533703773059'], 'ae5d62e3-5fb4-4fdd-842a-db587fe933d2': ['13d08f6d-4b81-4e76-b80e-533703773059'], '668b4b66-5e8c-4276-94e0-5b92a1643e75': ['ce4dbd8b-bbe0-431a-a9b2-85fa49bfdeae'], 'f90253ec-fcb5-4f2a-9b1f-b7f974b529b1': ['ce4dbd8b-bbe0-431a-a9b2-85fa49bfdeae'], 'a2a61363-806d-46d4-b9d9-aacc079dbcf8': ['379b9c70-aa36-4621-9f28-dc585cd9d3ec'], '9e840eb8-0e18-4e30-9476-573d793f12df': ['379b9c70-aa36-4621-9f28-dc585cd9d3ec'], 'fdddd0c5-2cf5-49e6-b501-597e92dc48e0': ['e9a0f944-c304-489f-8912-2db53dd2f1b2'], '4daa7a4d-bb64-4d3a-87d6-03d75c42ab3f': ['e9a0f944-c304-489f-8912-2db53dd2f1b2'], '3dcff2c8-d215-4f74-941f-8f8ba0c20016': ['5c05ff1a-4dd7-4d52-b743-bcd30280ea2a'], '6a105f11-e900-4d60-b308-037244edf183': ['5c05ff1a-4dd7-4d52-b743-bcd30280ea2a'], '062f4f38-2eaf-408f-8ad9-f1d130db8593': ['16300a92-67fa-49c2-b64c-ac946a76c631'], 'a12a0f26-86cc-4552-a4cf-a4f0e310cd3f': ['16300a92-67fa-49c2-b64c-ac946a76c631'], '448aafaa-9d08-46a7-9fd3-5a6193ba31e5': ['5325f1ad-d582-492b-857c-31294c7b3871'], 'ede7f790-462f-4436-b4f7-30d4ba97de9f': ['5325f1ad-d582-492b-857c-31294c7b3871'], '49dda743-00ea-4f26-ab7c-83f350f56e92': ['43259df6-3bb5-4828-ac1b-d7ebb9ffcbb3'], '57c82cec-56c4-4acb-8cba-43e69b0e5967': ['43259df6-3bb5-4828-ac1b-d7ebb9ffcbb3'], '4ddd1ece-be07-4548-9afc-c10582e8f53c': ['fd4d8a93-495e-4059-b91c-b89d5aecd60b'], '9bdd0fa5-bb73-4147-998c-7c8e7c22519e': ['fd4d8a93-495e-4059-b91c-b89d5aecd60b'], '0d36fb4e-8fd0-4849-9571-9eddf711ffac': ['f1e97bd0-0fce-474c-a97f-ac6892fc6522'], '9bdae842-b464-48a5-8dc4-5014c815f700': ['f1e97bd0-0fce-474c-a97f-ac6892fc6522'], 'af1d9fe6-25f0-4312-822e-186e7aecbe95': ['3776764c-de54-43cc-8cc3-de6c4b59bc74'], '0d1454be-4b4c-4fa4-98eb-81b1535f9ee6': ['3776764c-de54-43cc-8cc3-de6c4b59bc74'], 'c71b1056-b75e-4ecc-b5cd-af8f4dddb565': ['2797a24d-aa52-4313-b18c-b78d80cc26c3'], '479a0e0a-b19f-4170-a1d7-54b60927ddcc': ['2797a24d-aa52-4313-b18c-b78d80cc26c3'], 'fc468efd-8b60-432d-b187-ed414b6569a3': ['fcaec00f-01b9-48d6-b564-bd5a63c717e3'], 'b4572d68-eb31-4a27-af87-ad9847a2dd54': ['fcaec00f-01b9-48d6-b564-bd5a63c717e3'], '5d4971a5-bda6-4689-86a5-a65713e95da6': ['d6cc7975-2aea-452f-9fc3-30f31d4158d9'], 'a6e1ca77-2b8a-4cf0-b7e2-fafbd99b9da4': ['d6cc7975-2aea-452f-9fc3-30f31d4158d9'], 'd33022d1-febf-4369-8b7a-6c37fc40f838': ['312f60bf-0463-4884-a177-376a89ca7c12'], '6d50a9de-ff71-4eab-844e-0d5a7368cbc5': ['312f60bf-0463-4884-a177-376a89ca7c12'], '7306550d-2e46-4ce4-a14d-9abc1b8a4ce6': ['d38595ea-5541-47ef-8e72-dc505c807099'], '2e583795-fa52-4792-bbf0-8ada70f9cf47': ['d38595ea-5541-47ef-8e72-dc505c807099'], '8d322935-f13a-49f2-8c33-8f19331b3b8c': ['be724b1b-934c-4762-ae9c-a341188bf8ad'], '9e11ca96-36bf-4544-a4ec-4b66a3425daf': ['be724b1b-934c-4762-ae9c-a341188bf8ad'], '7c082cca-fbec-448f-bad2-4f72f2fb7f00': ['8344e594-875e-42c8-98f1-20b3c364b258'], '831d6ab9-f0a7-4ea3-b90f-ce41b5ddf5d2': ['8344e594-875e-42c8-98f1-20b3c364b258'], '608b2a5e-1fd2-4a65-9264-eda791c184a6': ['e8ab4fd6-d250-4b03-9366-c4e5cf355f7e'], 'adb1fc41-b28d-4234-8af4-a07e29c73d35': ['e8ab4fd6-d250-4b03-9366-c4e5cf355f7e'], '5cab7ac0-64f3-45aa-b50e-eedeb8b8a95f': ['4dd500a1-3d57-419a-96e1-5149aaaa4a15'], 'b5cd0b56-9e68-484c-8ee8-faa77ec6caf8': ['4dd500a1-3d57-419a-96e1-5149aaaa4a15'], 'd183703b-3142-4de6-9468-7dd45eb75f91': ['9f3b78aa-7e55-4a33-8464-8e70730e1c7b'], 'a539f209-6bee-4af3-b798-fb9584511bca': ['9f3b78aa-7e55-4a33-8464-8e70730e1c7b'], '545117be-e712-449f-b80f-475b014741cb': ['0e27b67b-53d8-4903-8abc-0cc8cef3c9b7'], 'cb398a49-7429-4f94-ac05-5bf46cb51576': ['0e27b67b-53d8-4903-8abc-0cc8cef3c9b7'], 'da492931-c6c9-45e7-9072-6bf78ec92194': ['58dab292-541e-4c18-9a77-d22e199d398f'], 'f535f0bf-cffd-4611-8cce-21d46e6e83a3': ['58dab292-541e-4c18-9a77-d22e199d398f'], '2ec54678-6088-45fd-bea9-164caed518c2': ['b51432c8-cd5a-43ca-8249-7eff302fef29'], '072265ae-c164-44e3-a0dd-0d086ee1fdc5': ['b51432c8-cd5a-43ca-8249-7eff302fef29'], 'bb579b6e-0b17-4d52-8266-859fbc8ef19b': ['f39f2c84-8c11-4880-9b9f-4660580e7855'], 'c934a962-84e8-4913-9779-694f449e142a': ['f39f2c84-8c11-4880-9b9f-4660580e7855'], 'd2f4c16c-1149-47de-8e30-0deb9aaa01a6': ['3772ff90-7c62-44a3-8bfe-02989926783f'], 'f5185665-1bac-4be9-9b9a-6e5dc4471996': ['3772ff90-7c62-44a3-8bfe-02989926783f'], 'aa325901-1864-4299-9f64-b0187c6a6b26': ['f35615dc-5d66-4040-b4d4-a90a1554d8fa'], 'f4cd3c56-28c5-4274-aa27-bd5000eeb175': ['f35615dc-5d66-4040-b4d4-a90a1554d8fa'], 'af4425c9-2830-4c89-9a5c-89267daff7d0': ['eb139ed4-c3ca-4abe-bbd4-dc8f7886f57f'], '2c064ef0-94f5-41a7-a433-b25f2f536262': ['eb139ed4-c3ca-4abe-bbd4-dc8f7886f57f'], 'c358aedb-dabd-4875-818e-438b278b3c16': ['3fbe3699-a130-4827-892f-d4e6b5d5f65c'], 'b1f3e638-87ef-4957-b7a8-d7f462c6efbe': ['3fbe3699-a130-4827-892f-d4e6b5d5f65c'], '54d1fc81-f7fb-47e9-a798-2ab98ed0db95': ['ccb4f29e-f08b-482d-b5ca-099aa6b0487f'], 'b3f12862-73ae-4c57-9ab3-4201d7cdfb1e': ['ccb4f29e-f08b-482d-b5ca-099aa6b0487f'], '82dc4fd8-1ceb-4949-9004-fc8ae04f170d': ['886bda36-615e-4c89-846e-9d5a9844812f'], 'daaf205d-ee6a-4190-a014-b76cff58df9b': ['886bda36-615e-4c89-846e-9d5a9844812f'], '7810a212-53f8-4752-972a-f03d6202d895': ['32e7802d-b973-416b-89e8-302bdd3cb822'], '70851937-7bed-41d6-9ffa-5187d02a905f': ['32e7802d-b973-416b-89e8-302bdd3cb822'], 'd2cb8a1e-9872-4cab-9859-56d96f369ecd': ['ca03cb19-8ad5-4ac1-b951-1b66b69a2572'], 'd1fca9c0-55c3-411f-9a90-53840cb100e1': ['ca03cb19-8ad5-4ac1-b951-1b66b69a2572'], 'c4f55e88-717b-47e9-9051-4940dd471866': ['4d532f74-0017-41b6-aa14-dee76c48fefc'], 'b8fae672-d206-4b17-ba1c-b7f413c74cf1': ['4d532f74-0017-41b6-aa14-dee76c48fefc'], 'f4ece1c7-0c06-4d83-8fb5-748f350db32f': ['96104e6e-cbaf-4a02-a238-de3d0d84dd2c'], '953401d9-1c39-4ab3-9cdc-3295569e801a': ['96104e6e-cbaf-4a02-a238-de3d0d84dd2c'], '5c4bebf1-73ff-40af-a3ea-f3cfa3a0e8e3': ['b12cf13c-8169-43c8-8553-9a6e238f043e'], '77663065-2610-4eba-b9dc-4841726ae8ab': ['b12cf13c-8169-43c8-8553-9a6e238f043e'], '0e889c66-0995-4b88-9107-07232c41c30c': ['dec2f46a-8487-464d-a5ea-ca0cddc1247b'], '83e526cb-5060-498d-b950-e723c3afd01f': ['dec2f46a-8487-464d-a5ea-ca0cddc1247b'], '558c3838-af7c-407b-b46c-30197971d239': ['7d29bb7b-d715-4d82-b37b-c024b0a7821b'], '6b78166a-f9ce-4d3a-969b-fbd6d9b00b2b': ['7d29bb7b-d715-4d82-b37b-c024b0a7821b'], 'b95596c3-7651-42b1-873b-18e23fc783d3': ['37465205-0147-4e01-9d5d-7bf88c4e0592'], '613d0a3f-e2bf-4e3d-9f09-1c101d74f225': ['37465205-0147-4e01-9d5d-7bf88c4e0592'], 'f05bc758-f489-4878-92a5-fe444ac154e1': ['148cd627-3d88-472b-8a8c-a8c3b5248819'], 'e73f2f4c-ae03-4bc3-89d3-e7919f6a804d': ['148cd627-3d88-472b-8a8c-a8c3b5248819'], '8ac32b96-88d4-46b1-9ab3-462a38e71086': ['007921ac-7172-45a2-a902-6e5fc3fd83cd'], '68f09947-b670-4077-8e69-b71ac5d80d1a': ['007921ac-7172-45a2-a902-6e5fc3fd83cd'], '70c22c24-14df-41f6-bded-456f5cf927bc': ['83cf789a-2471-4cc1-ac6a-d54706a11143'], '537cd37f-131d-43ed-bb49-70613a5e06ab': ['83cf789a-2471-4cc1-ac6a-d54706a11143'], '9788100b-6de6-43ec-92b1-1a42fcf08812': ['a2305932-fee5-438d-8844-420aafc264d0'], 'eb9d5aa3-2ada-46e2-9094-f4b412c74df3': ['a2305932-fee5-438d-8844-420aafc264d0'], '55bcda56-a928-4c7b-9bd2-767ccce7f9ec': ['f42e8bf0-6d30-46c5-bfb4-efca1703c495'], '15873b17-5f4e-48c1-9d5c-4f2ee5a491ae': ['f42e8bf0-6d30-46c5-bfb4-efca1703c495'], 'dc0df970-86d4-4bf5-bd6a-4cb3c9644ac3': ['2c57c3ac-5383-4ebb-a25d-221adf31e34d'], '2de67339-3f7c-4a56-9960-a19f78513f46': ['2c57c3ac-5383-4ebb-a25d-221adf31e34d'], '00664ac5-bc77-4c8f-85f0-6b8edfc61a5a': ['f7741d52-a380-4c3f-b2d6-a227b433e371'], '066b0a8e-4882-441b-a2e0-df07c885279b': ['f7741d52-a380-4c3f-b2d6-a227b433e371'], '47d3eab1-a5b2-49ec-8335-3648fb7a4636': ['d5618767-a607-41a0-8e14-2ce4fb1a8a80'], '6486076e-45e6-4bc4-94b5-7b116abb7cf9': ['d5618767-a607-41a0-8e14-2ce4fb1a8a80'], 'ab39d79d-44c1-439e-88f2-bfb7dd802546': ['c4369eda-dc0a-4458-a623-ac794294bf1c'], 'c5da3946-bddc-484e-9d92-00acaaa3a76c': ['c4369eda-dc0a-4458-a623-ac794294bf1c'], 'f48f3085-c7a6-4036-a949-3ee04873e3a9': ['ca4e0781-d1d0-4c79-8ceb-b4e37b999d9f'], '55c51fd7-5ca7-4ba1-90c2-b9d57497d8d6': ['ca4e0781-d1d0-4c79-8ceb-b4e37b999d9f'], 'f52ee4be-9530-4368-b224-f7df74b5b3f4': ['026dae1b-e0cc-4966-adba-1ffa3e65938c'], 'db469459-e566-469d-96d2-cee87c2aab68': ['026dae1b-e0cc-4966-adba-1ffa3e65938c'], '5d17d256-ec6d-471f-a4a9-d092e2b26595': ['1715503c-bec6-4058-9c82-a2ab3ea704e0'], '9504839d-5aaa-46c7-841d-db5033f858b9': ['1715503c-bec6-4058-9c82-a2ab3ea704e0'], 'db9a0ea7-e9ca-4ae8-8e1d-722030df12a7': ['fec586b3-85ee-4388-a773-5392f40ce130'], '4a9cf136-16e1-4b19-86c9-5dfed36626b3': ['fec586b3-85ee-4388-a773-5392f40ce130'], 'ff7edb1d-f924-4c0d-8ca7-437162f6cd16': ['dabafc55-24e7-4ba2-84cd-5397d03a971c'], '4005b0ee-5f93-48e8-ac75-db3896fec8af': ['dabafc55-24e7-4ba2-84cd-5397d03a971c'], 'f7cc9ed7-c180-4220-9cef-0e805bd5980e': ['66ff98bb-b4c3-44f6-abe2-3071e685e03c'], '2f57ff89-bff7-41b5-afa7-74e486c82b18': ['66ff98bb-b4c3-44f6-abe2-3071e685e03c'], '87857e20-b8ca-4d3c-8f26-297f02396a45': ['d72661f2-541a-416f-a323-da6798cbb2fb'], '79f91ce8-ee6e-4c9b-bbab-ecfa170819a9': ['d72661f2-541a-416f-a323-da6798cbb2fb'], 'dcf29162-b215-41d6-ada2-5bfb3f4693f7': ['2c11abc6-1498-47a7-8f14-74c366e899ff'], 'c0814cf0-a790-476b-94a9-011f2f49627e': ['2c11abc6-1498-47a7-8f14-74c366e899ff'], '1a346682-6f0c-4d99-b4c5-84c52c39433e': ['0025f3a2-5b8e-47e2-8080-f5c359677abe'], '67e910ba-3bdd-4685-b908-e60bd2a9738a': ['0025f3a2-5b8e-47e2-8080-f5c359677abe'], '900c9c29-467a-4c83-bf76-4d990e6b8393': ['639c1a84-1d8f-4d61-8784-472e4971ba4a'], 'abd4a7dd-8e1b-49c5-b358-0259e874cd92': ['639c1a84-1d8f-4d61-8784-472e4971ba4a'], 'f00e2549-6a88-4e09-b832-eb4a1071395e': ['c0b9233a-4c87-4986-81ea-aa378d1546b2'], 'c114a030-1874-4cf4-8073-31367295a32e': ['c0b9233a-4c87-4986-81ea-aa378d1546b2'], '249f8b4c-e335-4a2f-ad0e-3bd78d881893': ['f1bf6a7b-d4e7-4f6e-8073-e6ba5be25d86'], '2e65fe15-f26a-4968-9b2e-b714d0d058b4': ['f1bf6a7b-d4e7-4f6e-8073-e6ba5be25d86'], 'bb70239c-16e2-4c33-b0ef-fd39afd5774f': ['044278ed-f226-4b65-97ce-864fd642c866'], '47990c6b-44ec-41b9-9e1e-166defad8406': ['044278ed-f226-4b65-97ce-864fd642c866'], 'f4c52a3e-ab5e-4cc4-af5f-96f7a640dad3': ['a777ba01-19bf-45ef-90e4-a49ce43f0780'], 'da76dd15-5db4-4c7f-bd03-aef5a602e5c8': ['a777ba01-19bf-45ef-90e4-a49ce43f0780'], '447f844b-3807-43db-9508-c6361739ad84': ['4e303a05-7b43-4f0a-aca1-ef33d86bd391'], '6c35fe89-5323-479d-b3de-28eb447e3f6f': ['4e303a05-7b43-4f0a-aca1-ef33d86bd391'], '4755b88e-280c-4ca1-aa6a-d7e13fb879e6': ['dad57725-5014-4365-bf53-d4356b359db9'], '067f0585-fabb-4cf7-81f0-03da0c013cc7': ['dad57725-5014-4365-bf53-d4356b359db9'], '8eb26e92-638d-4e35-ba7f-a1a701cdd70c': ['dba7b885-23b6-4634-98cd-d171431a3396'], '784d34f7-721d-4712-91b8-ebebe0b969f6': ['dba7b885-23b6-4634-98cd-d171431a3396']}\n" ] } ] }, { "cell_type": "code", "source": [ "val_questions, val_relevant_contexts = await create_questions(val_split_documents, 2)" ], "metadata": { "colab": { "base_uri": "https://localhost:8080/" }, "id": "DDtSefFUGUU7", "outputId": "8848504b-435b-40f8-e1cb-96068399437d" }, "execution_count": 42, "outputs": [ { "output_type": "stream", "name": "stderr", "text": [ "100%|██████████| 12/12 [00:21<00:00, 1.81s/it]\n" ] } ] }, { "cell_type": "code", "source": [ "print(val_questions, val_relevant_contexts)" ], "metadata": { "colab": { "base_uri": "https://localhost:8080/" }, "id": "m6BFnhyCLv1J", "outputId": "f5e00198-0010-4f7d-fc69-0b9dda8cc98d" }, "execution_count": 52, "outputs": [ { "output_type": "stream", "name": "stdout", "text": [ "{'d3ce989e-1b7a-4485-9662-649615cfda52': 'What actions are defined for the buttons in the provided function?', 'afe55661-f1d9-40db-b7eb-2fb30737e59d': 'What additional steps are required to configure a custom action in Shopify Flow?', 'addab304-12a6-4984-916a-2298edc02576': 'What is the purpose of the handle property in the context of importing Flow extensions into Shopify CLI?', '754ecd00-b9ab-45e1-8f38-ed7f608f8142': 'What are the requirements for creating a Partner account and using Shopify CLI v3.70.0 or higher?', '9fe5ad96-2951-48db-b298-b225179f74c7': \"What happens to the handle property of extensions in your app's codebase after running the dev or deploy commands?\", 'a3c5ea67-5e44-49cf-85f6-ea4216dac9bf': 'What is the purpose of the import command in relation to Partner Dashboard extensions?', 'ff0f101d-5026-415b-a763-ef68ddfa60ce': 'What command is used to import a Flow extension into your application?', 'dd95bb0f-47e6-4b58-bba5-d83eb2754ede': 'Where can you find the generated file representation of your imported extension?', '7d4172fe-a526-4429-9963-48c0299eec1a': 'What is the first step to import an extension using Shopify CLI?', '554d0d6c-5387-4574-bac0-ea1b4a0f8c9a': 'Where can you find the file representation of the imported extension in your application?', '4e3bae1e-4e60-4998-b418-a7af4707d717': 'What is the purpose of the client_id in the context of importing extensions using Shopify CLI?', '57ef532d-d98a-4265-b8b8-63f7280bc02a': 'What command should you run to deploy your extensions after importing them?', 'b1ddee5e-795f-49bf-9eb3-b6f9b98684cb': 'What command should you run to start deploying your extensions using Shopify CLI?', 'a2e52e95-8f41-4ee3-93f7-a72182850cb2': 'Why is it recommended to test changes using app dev or a test app before deploying to a production app?', '9dc6c91f-acf8-4e42-8fd6-7e48f0ae3852': 'What is the purpose of defining a return type schema in Flow workflows?', '61d270d3-bfb4-48a8-b5f3-a1cbbbefa088': \"How can you link a schema file to your extension's TOML definition?\", 'be10c294-dd09-423c-b293-dc0cb9da7220': 'What types does Flow support when defining complex types in actions and triggers?', 'b42a452f-13cd-4249-a157-17b7fa0479db': 'How does Flow derive the description of the return value for a field in the schema?', '0f99976b-6356-490e-a557-01057830597b': 'What is the purpose of the description placed in double quotes above the field in Flow?', '20fcbd17-bf33-4909-bd7a-30d9705e6c8e': 'How many types can be defined as the return type for an action in the schema?', 'ac880a7f-507a-417c-a5bb-4e83e2e42ac7': 'What information is represented by the `Bid` type in the provided GraphQL schema?', '5677f5d5-1566-48de-bb04-d23439b57d91': 'What are the possible statuses defined in the `Status` enum for an auction?', 'eb5c138e-2f70-40ae-84c2-2fe8fe1f7ec0': 'What is the purpose of the `shopify.extensions.toml` file in the context of an action extension?', 'bf9179ab-f423-4173-865d-3b436ad3fc0a': \"How can a schema file be referenced in an action extension's TOML according to the provided context?\"} {'d3ce989e-1b7a-4485-9662-649615cfda52': ['229030a5-9fd6-496d-bf04-06f5bcc7a173'], 'afe55661-f1d9-40db-b7eb-2fb30737e59d': ['229030a5-9fd6-496d-bf04-06f5bcc7a173'], 'addab304-12a6-4984-916a-2298edc02576': ['d5cfbb44-5f7a-4429-8c96-f0fbabcf15c4'], '754ecd00-b9ab-45e1-8f38-ed7f608f8142': ['d5cfbb44-5f7a-4429-8c96-f0fbabcf15c4'], '9fe5ad96-2951-48db-b298-b225179f74c7': ['1b868747-7679-4634-9c5b-81009d41c400'], 'a3c5ea67-5e44-49cf-85f6-ea4216dac9bf': ['1b868747-7679-4634-9c5b-81009d41c400'], 'ff0f101d-5026-415b-a763-ef68ddfa60ce': ['365b43f8-e5b3-429b-b452-3809e188fa30'], 'dd95bb0f-47e6-4b58-bba5-d83eb2754ede': ['365b43f8-e5b3-429b-b452-3809e188fa30'], '7d4172fe-a526-4429-9963-48c0299eec1a': ['a5ef3e07-f8a7-4913-81a9-ec1f601033ec'], '554d0d6c-5387-4574-bac0-ea1b4a0f8c9a': ['a5ef3e07-f8a7-4913-81a9-ec1f601033ec'], '4e3bae1e-4e60-4998-b418-a7af4707d717': ['f8d3943b-4b9b-41d8-9cb8-0f325fba820e'], '57ef532d-d98a-4265-b8b8-63f7280bc02a': ['f8d3943b-4b9b-41d8-9cb8-0f325fba820e'], 'b1ddee5e-795f-49bf-9eb3-b6f9b98684cb': ['3040f112-b015-4178-ba88-b20d90e8a081'], 'a2e52e95-8f41-4ee3-93f7-a72182850cb2': ['3040f112-b015-4178-ba88-b20d90e8a081'], '9dc6c91f-acf8-4e42-8fd6-7e48f0ae3852': ['45db4573-2886-40ad-aca2-58a023de78f5'], '61d270d3-bfb4-48a8-b5f3-a1cbbbefa088': ['45db4573-2886-40ad-aca2-58a023de78f5'], 'be10c294-dd09-423c-b293-dc0cb9da7220': ['6a2f8133-12c7-4ad5-b840-e1a8e757b30e'], 'b42a452f-13cd-4249-a157-17b7fa0479db': ['6a2f8133-12c7-4ad5-b840-e1a8e757b30e'], '0f99976b-6356-490e-a557-01057830597b': ['27ffcaa8-c531-44a5-9c59-3eddc1a16f69'], '20fcbd17-bf33-4909-bd7a-30d9705e6c8e': ['27ffcaa8-c531-44a5-9c59-3eddc1a16f69'], 'ac880a7f-507a-417c-a5bb-4e83e2e42ac7': ['02416c72-fe22-41c9-b975-1ab2965d74a4'], '5677f5d5-1566-48de-bb04-d23439b57d91': ['02416c72-fe22-41c9-b975-1ab2965d74a4'], 'eb5c138e-2f70-40ae-84c2-2fe8fe1f7ec0': ['11843937-8624-4196-a2f9-2eb6eddeabf8'], 'bf9179ab-f423-4173-865d-3b436ad3fc0a': ['11843937-8624-4196-a2f9-2eb6eddeabf8']}\n" ] } ] }, { "cell_type": "code", "source": [ "test_questions, test_relevant_contexts = await create_questions(test_split_documents, 2)" ], "metadata": { "colab": { "base_uri": "https://localhost:8080/" }, "id": "JWpOt4liGWkp", "outputId": "60d8aace-14ca-48b6-c135-23ed48e13811" }, "execution_count": 54, "outputs": [ { "output_type": "stream", "name": "stderr", "text": [ "100%|██████████| 12/12 [00:14<00:00, 1.19s/it]\n" ] } ] }, { "cell_type": "code", "source": [ "print(test_questions, test_relevant_contexts)" ], "metadata": { "colab": { "base_uri": "https://localhost:8080/" }, "id": "yv4tbpM1J8-V", "outputId": "0deee42a-b8af-4829-b5c2-831c3070ea01" }, "execution_count": 55, "outputs": [ { "output_type": "stream", "name": "stdout", "text": [ "{'a5d7c3ac-3655-44bf-b5d4-12c95bb31aa3': \"How can a schema file be referenced in an action extension's TOML?\", '4bf731c3-2f5c-471a-b623-fd68e2c6edb8': \"What property values need to be set to reference the return type schema in a trigger extension's TOML?\", 'f78de3d5-8643-4e05-bdb1-8383b90982f5': \"How can a schema file be referenced in the trigger extension's TOML?\", '681635d9-6895-4fff-9900-13b0f21a3f62': 'What must the return_value object in the JSON response match in order to respond to an action request from Flow?', '70ba5530-3239-4d2e-a586-4d8343c90301': 'What is the status of the auction identified as \"auction1\"?', 'bbe12077-2a17-409a-82c0-081dd986d2c1': 'How many bids were placed in the auction named \"My first auction\"?', '328c14d9-7224-49ad-8f01-60ec833cffb3': 'What happens if a workflow uses a non-nullable field that is missing from the payload?', 'a199c858-27b2-409c-8f3e-62e0b0208864': 'What is the maximum response size allowed for an action before it results in a transient failure?', '19fa2cee-2e98-4a78-856b-564b0acbcbd1': 'What is the purpose of a template in Shopify Flow?', '16260c4b-7cf2-42cb-9a2c-d17a247a04f6': 'What are the requirements to create a workflow template for Shopify Flow?', '5d904126-add3-4ee3-8166-110911c552ef': 'What are the prerequisites for creating a workflow in Shopify Flow?', '7ce6961c-79d2-48aa-b751-092b61392733': 'How can you tailor your workflow template to appeal to a wider audience?', '3e9283b3-f871-42ac-ad13-390564e63e3d': 'What is the first step in creating a workflow for a Flow template?', 'a23eba33-00ea-44b4-8d5f-2229c3c4a100': 'Why is it important to remove shop-specific test data before exporting the workflow?', '99366f8c-0224-4329-8b7a-0c12317af7fe': 'What command should you run to generate a new Flow template extension using the Shopify CLI?', 'a43a4572-f8a2-4e03-b098-76acf014666f': 'What guidelines should you follow when providing a name for your Flow template extension?', '4525723c-4a5b-4f78-be96-75d47cfc8369': 'What is the purpose of the shopify.extension.toml configuration file in the context of a template extension?', '78239f44-0c67-4ed1-afcf-600724c218fc': 'How many templates can each Flow template extension contain, and what is required to deploy multiple templates?', 'e097678d-a699-47c4-9ce4-0b778e8b4440': 'What command should be run in Shopify CLI to preview the template extension before deployment?', '5cf0297d-935a-4246-b364-c29af7106a41': 'What file needs to be updated to include information describing the function of the template extension for merchants?', '02be98d1-6e9d-46f1-8037-51a541d2deef': 'What command should be run in Shopify CLI to preview the template extension before deployment?', '90c2bc4c-bfd0-45f1-800a-a704019475b6': 'What should you do after updating the filename in the shopify.extension.toml file?', '4e9951cc-23f8-4ca2-b0d3-52ccffe8c4a8': 'What command should you run in the app directory to start deploying your extension(s) using Shopify CLI?', '978f605d-1528-4c29-aaa1-2101ab0012e7': 'What happens after you receive confirmation that the deploy was successful?'} {'a5d7c3ac-3655-44bf-b5d4-12c95bb31aa3': ['be830646-7121-4401-bf4e-c63f47c62c4c'], '4bf731c3-2f5c-471a-b623-fd68e2c6edb8': ['be830646-7121-4401-bf4e-c63f47c62c4c'], 'f78de3d5-8643-4e05-bdb1-8383b90982f5': ['b0697976-6f5c-45fa-a0fb-bb7612d37851'], '681635d9-6895-4fff-9900-13b0f21a3f62': ['b0697976-6f5c-45fa-a0fb-bb7612d37851'], '70ba5530-3239-4d2e-a586-4d8343c90301': ['79043cbc-6579-4a78-847a-7150e52a9df6'], 'bbe12077-2a17-409a-82c0-081dd986d2c1': ['79043cbc-6579-4a78-847a-7150e52a9df6'], '328c14d9-7224-49ad-8f01-60ec833cffb3': ['c5991720-045f-4fe6-b4f2-001eaa324e8c'], 'a199c858-27b2-409c-8f3e-62e0b0208864': ['c5991720-045f-4fe6-b4f2-001eaa324e8c'], '19fa2cee-2e98-4a78-856b-564b0acbcbd1': ['d9276369-12a3-404c-9629-26453ae4aedf'], '16260c4b-7cf2-42cb-9a2c-d17a247a04f6': ['d9276369-12a3-404c-9629-26453ae4aedf'], '5d904126-add3-4ee3-8166-110911c552ef': ['9da35121-a866-4a24-a49a-b13fa1caf096'], '7ce6961c-79d2-48aa-b751-092b61392733': ['9da35121-a866-4a24-a49a-b13fa1caf096'], '3e9283b3-f871-42ac-ad13-390564e63e3d': ['6a6e6e54-9b4c-4c8b-b0be-541458981eab'], 'a23eba33-00ea-44b4-8d5f-2229c3c4a100': ['6a6e6e54-9b4c-4c8b-b0be-541458981eab'], '99366f8c-0224-4329-8b7a-0c12317af7fe': ['3fbd221c-c76e-4d25-9632-86072b12a249'], 'a43a4572-f8a2-4e03-b098-76acf014666f': ['3fbd221c-c76e-4d25-9632-86072b12a249'], '4525723c-4a5b-4f78-be96-75d47cfc8369': ['bea9518c-2ed8-4320-b869-25d4829216d6'], '78239f44-0c67-4ed1-afcf-600724c218fc': ['bea9518c-2ed8-4320-b869-25d4829216d6'], 'e097678d-a699-47c4-9ce4-0b778e8b4440': ['b4f5ce79-9b0a-4d13-ba4a-0004e451c0d7'], '5cf0297d-935a-4246-b364-c29af7106a41': ['b4f5ce79-9b0a-4d13-ba4a-0004e451c0d7'], '02be98d1-6e9d-46f1-8037-51a541d2deef': ['77dbbda0-5a1b-44a2-9162-c503a922e4d8'], '90c2bc4c-bfd0-45f1-800a-a704019475b6': ['77dbbda0-5a1b-44a2-9162-c503a922e4d8'], '4e9951cc-23f8-4ca2-b0d3-52ccffe8c4a8': ['ff0ae56a-16bb-4a06-88e5-05505cbcc57c'], '978f605d-1528-4c29-aaa1-2101ab0012e7': ['ff0ae56a-16bb-4a06-88e5-05505cbcc57c']}\n" ] } ] }, { "cell_type": "code", "source": [ "import json\n", "\n", "training_corpus = {train_item.metadata[\"id\"] : train_item.page_content for train_item in training_split_documents}\n", "train_dataset = {\n", " \"questions\" : training_questions,\n", " \"relevant_contexts\" : training_relevant_contexts,\n", " \"corpus\" : training_corpus\n", "}\n", "with open(\"training_dataset.jsonl\", \"w\") as f:\n", " json.dump(train_dataset, f)\n", "\n", "#####\n", "\n", "val_corpus = {val_item.metadata[\"id\"] : val_item.page_content for val_item in val_split_documents}\n", "val_dataset = {\n", " \"questions\" : val_questions,\n", " \"relevant_contexts\" : val_relevant_contexts,\n", " \"corpus\" : val_corpus\n", "}\n", "with open(\"val_dataset.jsonl\", \"w\") as f:\n", " json.dump(val_dataset, f)\n", "\n", "#####\n", "\n", "train_corpus = {test_item.metadata[\"id\"] : test_item.page_content for test_item in test_split_documents}\n", "test_dataset = {\n", " \"questions\" : test_questions,\n", " \"relevant_contexts\" : test_relevant_contexts,\n", " \"corpus\" : train_corpus\n", "}\n", "with open(\"test_dataset.jsonl\", \"w\") as f:\n", " json.dump(test_dataset, f)" ], "metadata": { "id": "fHrIYdIVGbk9" }, "execution_count": 56, "outputs": [] }, { "cell_type": "markdown", "source": [ "## Fine-tuning snowflake-arctic-embed-l" ], "metadata": { "id": "rz11tAU-GrLr" } }, { "cell_type": "code", "source": [ "!pip install -qU sentence_transformers datasets pyarrow==15.0.2" ], "metadata": { "colab": { "base_uri": "https://localhost:8080/" }, "id": "71wlOTH2GwnD", "outputId": "5404271a-e781-49b9-e035-47e08637c203" }, "execution_count": 15, "outputs": [ { "output_type": "stream", "name": "stdout", "text": [ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m38.3/38.3 MB\u001b[0m \u001b[31m25.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m485.4/485.4 kB\u001b[0m \u001b[31m36.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m116.3/116.3 kB\u001b[0m \u001b[31m10.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m143.5/143.5 kB\u001b[0m \u001b[31m12.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m194.8/194.8 kB\u001b[0m \u001b[31m17.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25h" ] } ] }, { "cell_type": "code", "source": [ "from sentence_transformers import SentenceTransformer\n", "\n", "model_id = \"Snowflake/snowflake-arctic-embed-l\"\n", "model = SentenceTransformer(model_id)" ], "metadata": { "colab": { "base_uri": "https://localhost:8080/", "height": 496, "referenced_widgets": [ "e41f852fca4f4022a589553b70de06f0", "755ad57f9e894245a2ccf0dfe0ddcdb5", "07d1248ce65a4efba14ad4f96a1fdc23", "d6db158920374110917f91279b75eeed", "80eefd02e48e46d0b59d729ba3ce24f1", "9a84d089a5794be0ba18e941cb43c12c", "3adf75c3a88a495ebab5a5b697579c15", "0fce4c765f204a2799597f74bb963c11", "033578bf0f294108b04c2f175add3b46", "26f6e84f9ef54860a406e656affb010f", "7a5e42eedf4242eba2d045a00202ba98", "a6ba1fab68a848a089ac79dfb5dd953c", "a5e2e876f2ba44fe9b7978e48155ef01", "6806a6be939146dda555ac38e6295db1", "fae40aeff14c42489dacce3beea59ea2", "78273dd875b54d2b8d150fa60c3ccae0", "6a6843880ec7433a8f50e8f792efea0e", "16bfa75c56f945b6953590742df34586", "7fa8979ce8094df4a0e414e699e987b2", "1fdf53187ecb4e0490ccac5f514bdb20", "f219e7fb6b684a40895d786b3b552703", "dc8376276b9748d2bbd52e050a4d4f86", "ca35f9574b8a40c3ab580178b549e6c3", "c53c0130609e445ca24317adf56afccb", "d62141631e8c4cba9e5ddc625c712049", "389aac0916a3499dbd1bce90b97f9e4e", "e2fe88d377114f0db61221c80eecfdfb", "deefd78a90b54163bc9d96ca6831881b", "2626c82211da473786b4a2347ca7d445", "714b85237d404cb8b0b3a05eb1caee8c", "0e97281d0f944b6895af3108a3aa1b5a", "c8da5b340abd4a1e9f56bf63747a9e46", "bca532949def4f9ab76a13c91785f975", "fa3fc3f3a6f34addbacd84c3e445851a", "300fad95da7949f4aef37048dd333d26", "cfbfb84f965041e69ce37f418e744ff8", "b483c05a19db4e9a882990f6719783dc", "f012e1b939cc490891ab3e9222d018d4", "5ab42b6531db452197a1061a53000693", "dc6ed72274a246a4a7deee96611160a2", "59569881f1d540b19f2d6a10f74c5d62", "6ec5eabbffe44ad4be1e5b2f1f13c29b", "024c63c48df44cb58509f1fa111c9337", "82f447b5aac44139aa098ff855c69af4", "1d5b21815f7f45a0be11bd68cf294c92", "e2084557d420414c80cde41069bbf8af", "57be6a71d5254a6eb1f1cbb1a1f675e9", "7591c09173714aad93a5bcfff305ab1b", "11ab58f6e8a0451c8fa7217e577f6132", "e418e636f3d845ce978f766193515b72", "10cd985cfc3445dbacca8f055c4671c9", "6229a52d79094909b9bad47c6bdbe4e7", "e9019aeafd0144509d8bbc0940252d7a", "d625fd4678874ebda6bd2494a0992b33", "388f8c0ef57d4686a3cc033c581b06c1", "3c6835249de840118803146695a86197", "932d679560b14636a7ba03440a65b35b", "1b28d088794740e0b2af7cb7f839c7de", "d9864564321a4c8887b575ca48ffb244", "f73cddffd4fd4cb191baf24c3d06eeee", "f8edde3737f44c50945237925fdd432d", "869f5b91164a4fd3a630566e0e1f7a69", "c6ef9aa1f0a14aa2a1a9bf16b8e0d0e5", "8132a3e7acb543d391805483b309494e", "1f2b6982b1d14067a57f26758327b8cc", "0186eb04d57b4faeb771838dbcde5c5c", "1a2c613ed5ed452b893b15984197fb44", "4579338d66b3488288af63b507d77822", "fdc9ad9238744ca3b75de673f0a4d5f6", "db803c9895ca4ddc9efb466ffd3fbd43", "bf66524d95cf425ca9a089ac67985256", "602077a87c3840ef8a9602bf57c1f0cf", "c493a2d120e9466da5d1ed3f9b9dc9c1", "bec1b44842bc4a07b270eb044cbc868c", "010a5772e0dc4d4a964fb69e16ee8ace", "015a4cf129de4bf89ac0111efbf6d02d", "ad11f9dc65d44baf8ed686b90a81922e", "fc244b05ad274b5f8645ab07badbeb0f", "c70194da430143b2b5375267bd73a8bb", "816c718d930e4f81a0e2013ab9286bb7", "8cd74a6a80ee401bb4e25895ba8a9bd0", "020f3ebd3c3b41e595e9a53822c7e451", "cd3a713082e7445c99e33ffe3b1f8eb7", "4014e68d6fa74962b57bd3361015d3a0", "f8dae37b3c87442d9644523587810a20", "4d05ca333bcc4211a4ee454b5845493f", "b74e92d61a524a90837ac816069c42b1", "12fe235348f94413a6717d9ad57bd3d1", "e6660ace868a4732bc7a5b03d03bd755", "4b4eeaa85a12499b8537d68e2822d2ec", "d618c20f7c0b4aae8dbd808206bac52e", "942478715abf4c3a8e7d3701f763eba6", "e7d1b91c299d4a23a3fd45c29795b110", "aa12fa5afa7744b8b2f1ddd60c03b141", "551d828dd6a846ad851af5fcf3d67323", "45b3820356ec4f2faff8308522c88efc", "4eff251d4fec41da9359dc797cff12a7", "ca9ab470d4674dd58f082a819e305503", "77d32ebefff147f3876dd552b4c76d68", "440725bd52ff47af92405eab6f6e3a76", "f7035352e2cc42c28808d512ac828b60", "4d5e4ef5782b4f47b639008aeca18018", "55da87e8821e4da9a142c546054b4632", "385bc4600cda48d99c2c9f68ab8d7e60", "3bf49e31c3ab4dceb9264d2a3eb20b4c", "727ba02b94494aedbce219b872de8c9c", "312f3ede8c8345ac95e9c42198a7190a", "d5611cbd40be4529bf67a66d31ed77cf", "0bb6ea1f57ca4e908215c20988f4148f", "83dcb150f4944f7da933f500405bc72c", "eebcf85577c54d64a21b05ff2390029a", "e482444587dd485b9c890ab6796966e5", "f509d01430dc4c639c9114da2e71229b", "e51896034f3b4afdb44f1901bd5a2ce1", "2d8183d8cef845b5bde291e60d67feab", "3e6209a4a7684a0e8803c2753c5d35b7", "bb8321441715437782c6a07c78906f17", "fea9be04d6c74d66b1b5c3dc83500455", "756d2462bd3d4acf95089d9b8e2faec9", "08c4695df1e04ca49f7db5be5d172421", "3056b9890bd148e2b08fbaa0d11fe064" ] }, "id": "-sCFVHQhGz9q", "outputId": "a73729c0-07d3-4285-f849-a8f9d0f4580f" }, "execution_count": 16, "outputs": [ { "output_type": "stream", "name": "stderr", "text": [ "/usr/local/lib/python3.11/dist-packages/huggingface_hub/utils/_auth.py:94: UserWarning: \n", "The secret `HF_TOKEN` does not exist in your Colab secrets.\n", "To authenticate with the Hugging Face Hub, create a token in your settings tab (https://huggingface.co/settings/tokens), set it as secret in your Google Colab and restart your session.\n", "You will be able to reuse this secret in all of your notebooks.\n", "Please note that authentication is recommended but still optional to access public models or datasets.\n", " warnings.warn(\n" ] }, { "output_type": "display_data", "data": { "text/plain": [ "modules.json: 0%| | 0.00/349 [00:00 can be any type defined in the provided schema. Learn more about defining complex types . { \"foo\": \"bar\", \"baz\": 123 }\\n\\nNaming custom fields', 'e8ab4fd6-d250-4b03-9366-c4e5cf355f7e': 'The following are the available custom field types:\\n\\nField type Description Example boolean A Boolean value. true , false email An email formatted string. \"email@example.com\" single_line_text_field A string. \"Hello world.\" number_decimal A number with a decimal point. 1.0 url A URL formatted string. \"https://example/com\" schema. can be any type defined in the provided schema. Learn more about defining complex types . { \"foo\": \"bar\", \"baz\": 123 }\\n\\nNaming custom fields\\n\\nField names need to be self-describing and readable. Use sentence case and separate words with spaces (not underscores or hyphens). These names can contain only alphabetical characters (a-z, A-Z) and spaces.\\n\\nWhen you refer to these fields in the payload that you send to Shopify Flow, enter the names verbatim . For example, { \"City location\": \"Ottawa\" } }. Don\\'t use shortened versions.\\n\\nCustom fields in the Shopify Flow editor', '4dd500a1-3d57-419a-96e1-5149aaaa4a15': 'Naming custom fields\\n\\nField names need to be self-describing and readable. Use sentence case and separate words with spaces (not underscores or hyphens). These names can contain only alphabetical characters (a-z, A-Z) and spaces.\\n\\nWhen you refer to these fields in the payload that you send to Shopify Flow, enter the names verbatim . For example, { \"City location\": \"Ottawa\" } }. Don\\'t use shortened versions.\\n\\nCustom fields in the Shopify Flow editor\\n\\nFields can be used in the Shopify Flow editor either in conditions or in actions as template variables. When used as template variables, Shopify Flow converts your key property to camelCase such as {{ customerEmail }}.\\n\\nMutation API reference\\n\\nOnce your extension is defined, published, and activated in a workflow according to this guide, you can call Flow\\'s mutation with an event, which will start the workflow(s).', '9f3b78aa-7e55-4a33-8464-8e70730e1c7b': 'Custom fields in the Shopify Flow editor\\n\\nFields can be used in the Shopify Flow editor either in conditions or in actions as template variables. When used as template variables, Shopify Flow converts your key property to camelCase such as {{ customerEmail }}.\\n\\nMutation API reference\\n\\nOnce your extension is defined, published, and activated in a workflow according to this guide, you can call Flow\\'s mutation with an event, which will start the workflow(s).\\n\\ngraphql mutation { flowTriggerReceive( handle: \"auction-bid-placed\", payload: { \"Amount\": \"30\", \"customer_id\": 12345 }) { userErrors {field, message} } }\\n\\nProperty name Property usage handle The extension’s handle. payload The fields that you selected for your payload schema in the action configuration. These should be serialized in a key-value pair format where the keys are equal to your field\\'s “key” properties.', '0e27b67b-53d8-4903-8abc-0cc8cef3c9b7': 'graphql mutation { flowTriggerReceive( handle: \"auction-bid-placed\", payload: { \"Amount\": \"30\", \"customer_id\": 12345 }) { userErrors {field, message} } }\\n\\nProperty name Property usage handle The extension’s handle. payload The fields that you selected for your payload schema in the action configuration. These should be serialized in a key-value pair format where the keys are equal to your field\\'s “key” properties.\\n\\nNote: If you are using a Shopify admin API version of 2023-07 or earlier the mutation won\\'t support the handle and payload properties. For information on that mutation shape you can rely on the flowTriggerReceive documentation.\\n\\nConsiderations\\n\\nWhen you create a trigger, the payload that you send to Shopify Flow needs to be less than 1 MB and contain specific content in the body.\\n\\nTriggers have the same API rate limits as the Shopify API.', '58dab292-541e-4c18-9a77-d22e199d398f': \"How actions work\\n\\nAn action is a workflow component in Shopify Flow. It represents a task that's executed in a store or in an app when certain conditions are met. You can connect your app to Shopify Flow so that your app receives data when a workflow action runs.\\n\\nThis guide shows you how to add an action to your app so that merchants can use it in their workflows.\\n\\nNext steps\\n\\nFollow our step by step guide on how to create and test a Flow action.\\n\\nCheck out our action endpoint guide for more information on how to setup an execution endpoint, a custom configuration page preview endpoint and custom validation.\\n\\nLearn more about how to return complex data in a Flow action.\\n\\nInterested in building a custom configuration page? Follow this guide to learn more.\", 'b51432c8-cd5a-43ca-8249-7eff302fef29': 'To create an action that merchants can use in their workflows, you need to add the action to your app. The action needs to contain the following information:\\n\\nThe fields that the merchant needs to complete when they add the action to their workflows\\n\\nThe URL that Shopify Flow uses to send (POST) the contents (JSON payload) of the action to your app\\n\\nYou also need to configure your app to process the data from the POST request when it arrives and to send status codes back to Shopify Flow.\\n\\nTo enhance the merchant experience and more closely integrate external systems, you can also build a custom configuration page. To improve the reliability of your action, you can add custom validation for action properties.\\n\\nRequirements\\n\\nYou have the following:\\n\\nA test web server that has access to the Internet, so that it can receive POST requests from Shopify Flow\\n\\nA test app that works with the test web server\\n\\nA development store that has Shopify Flow and the test app installed', 'f39f2c84-8c11-4880-9b9f-4660580e7855': \"To enhance the merchant experience and more closely integrate external systems, you can also build a custom configuration page. To improve the reliability of your action, you can add custom validation for action properties.\\n\\nRequirements\\n\\nYou have the following:\\n\\nA test web server that has access to the Internet, so that it can receive POST requests from Shopify Flow\\n\\nA test app that works with the test web server\\n\\nA development store that has Shopify Flow and the test app installed\\n\\nStep 1: Create a Flow Action\\n\\nTo give your Flow action a meaningful name, use the following guidelines:\\n\\nUse a present-tense verb + object acted on format. For example, Place auction bid.\\n\\nUse sentence case.\\n\\nDon't use punctuation.\\n\\nSeparate words using spaces.\\n\\nUsing Shopify CLI\\n\\nUse the Shopify CLI to generate a new extension:\\n\\nNavigate to your app directory.\\n\\nRun the following command:\\n\\n```bash\\n\\n!/bin/bash\\n\\nshopify app generate extension ```\\n\\nSelect the Flow Action as the type of extension.\", '3772ff90-7c62-44a3-8bfe-02989926783f': \"Step 1: Create a Flow Action\\n\\nTo give your Flow action a meaningful name, use the following guidelines:\\n\\nUse a present-tense verb + object acted on format. For example, Place auction bid.\\n\\nUse sentence case.\\n\\nDon't use punctuation.\\n\\nSeparate words using spaces.\\n\\nUsing Shopify CLI\\n\\nUse the Shopify CLI to generate a new extension:\\n\\nNavigate to your app directory.\\n\\nRun the following command:\\n\\n```bash\\n\\n!/bin/bash\\n\\nshopify app generate extension ```\\n\\nSelect the Flow Action as the type of extension.\\n\\nProvide a meaningful name for your extension.\\n\\nAfter you've followed the prompts, Shopify CLI generates the extension’s file representation in your app's /extensions directory and gives you a success message. You can then go into your app's /extensions directory and start editing your new extension.\\n\\nThe file structure of your extension should look like the following:\\n\\n/place-auction-bid shopify.extension.toml\", 'f35615dc-5d66-4040-b4d4-a90a1554d8fa': \"Select the Flow Action as the type of extension.\\n\\nProvide a meaningful name for your extension.\\n\\nAfter you've followed the prompts, Shopify CLI generates the extension’s file representation in your app's /extensions directory and gives you a success message. You can then go into your app's /extensions directory and start editing your new extension.\\n\\nThe file structure of your extension should look like the following:\\n\\n/place-auction-bid shopify.extension.toml\\n\\nTo learn more about the extensions file structure, refer to App structure and the documentation for your extension type.\\n\\nUsing the Partner Dashboard\\n\\nIn your Partner Dashboard, click Apps.\\n\\nSelect the app that you want to add your Shopify Flow action to.\\n\\nClick Extensions, then click Create or Create extension.\\n\\nUnder the Flow tab, click Flow/Actions.\\n\\nIn the Extension name field, name your action, such as Place auction bid. This name is used only for internal purposes.\", 'eb139ed4-c3ca-4abe-bbd4-dc8f7886f57f': \"To learn more about the extensions file structure, refer to App structure and the documentation for your extension type.\\n\\nUsing the Partner Dashboard\\n\\nIn your Partner Dashboard, click Apps.\\n\\nSelect the app that you want to add your Shopify Flow action to.\\n\\nClick Extensions, then click Create or Create extension.\\n\\nUnder the Flow tab, click Flow/Actions.\\n\\nIn the Extension name field, name your action, such as Place auction bid. This name is used only for internal purposes.\\n\\nEnter a title and description for the action. In the Action Preview area, you can see how the title and action display to merchants when they're choosing actions in Shopify Flow.\\n\\nEnter the URL for the action execution endpoint that you created. Shopify Flow sends the action's JSON payload to this endpoint when it's about to execute your action.\\n\\nStep 2: Customize a Flow action configuration file\", '3fbe3699-a130-4827-892f-d4e6b5d5f65c': \"Enter a title and description for the action. In the Action Preview area, you can see how the title and action display to merchants when they're choosing actions in Shopify Flow.\\n\\nEnter the URL for the action execution endpoint that you created. Shopify Flow sends the action's JSON payload to this endpoint when it's about to execute your action.\\n\\nStep 2: Customize a Flow action configuration file\\n\\nIn this section you'll use the default action template and update it to be a functional extension example. Once you have generated a Flow extension using Shopify CLI, follow the instructions below:\\n\\nChange the description to Place a bid on an auction.\\n\\nUpdate the extensions.runtime_url to an endpoint where you can receive the runtime request.\\n\\nOn the second settings.fields field, update the following values:\\n\\ntype to number_decimal\\n\\nkey to amount\\n\\nname to Bid Amount\\n\\nAdd a description property and set it to The amount of the bid\", 'ccb4f29e-f08b-482d-b5ca-099aa6b0487f': 'Change the description to Place a bid on an auction.\\n\\nUpdate the extensions.runtime_url to an endpoint where you can receive the runtime request.\\n\\nOn the second settings.fields field, update the following values:\\n\\ntype to number_decimal\\n\\nkey to amount\\n\\nname to Bid Amount\\n\\nAdd a description property and set it to The amount of the bid\\n\\n```bash [[extensions]] name = \"Place Auction Bid\" type = \"flow_action\" handle = \"place-bid\" description = \"Place a bid on an auction\" runtime_url = \"https://your-server-domain/path/to/action/handler\"\\n\\n[settings]\\n\\n[[settings.fields]] type = \"customer_reference\" required = true\\n\\n[[settings.fields]] type = \"number_decimal\" key = \"amount\" name = \"Bid Amount\" description = \"The amount of the bid\" required = true ```\\n\\nStep 3: Configure your web server\\n\\nTo build a Shopify Flow action, you need to add a service to your web server to listen for the JSON payload that Shopify Flow sends when the action runs.\\n\\nOptionally, you can also add the following:', '886bda36-615e-4c89-846e-9d5a9844812f': '[settings]\\n\\n[[settings.fields]] type = \"customer_reference\" required = true\\n\\n[[settings.fields]] type = \"number_decimal\" key = \"amount\" name = \"Bid Amount\" description = \"The amount of the bid\" required = true ```\\n\\nStep 3: Configure your web server\\n\\nTo build a Shopify Flow action, you need to add a service to your web server to listen for the JSON payload that Shopify Flow sends when the action runs.\\n\\nOptionally, you can also add the following:\\n\\nAn endpoint to validate actions\\n\\nA custom configuration page, and an endpoint that lets merchants preview your custom configuration page\\n\\nAdd the following API endpoints to your server:', '32e7802d-b973-416b-89e8-302bdd3cb822': \"To build a Shopify Flow action, you need to add a service to your web server to listen for the JSON payload that Shopify Flow sends when the action runs.\\n\\nOptionally, you can also add the following:\\n\\nAn endpoint to validate actions\\n\\nA custom configuration page, and an endpoint that lets merchants preview your custom configuration page\\n\\nAdd the following API endpoints to your server:\\n\\nEndpoint Purpose Flow action execution The endpoint where the automation tool sends your action's payload. The payload contains data that you can use to execute the action in your app. Custom configuration page preview An endpoint that provides data about your custom configuration page to display in the automation tool. This endpoint is required if you want to use a custom configuration page. Custom validation An endpoint that validates the contents of merchant-configurable properties in an action payload when an action is saved. This endpoint is required if you want to use a custom configuration page.\", 'ca03cb19-8ad5-4ac1-b951-1b66b69a2572': 'To learn more about the endpoint requirements for your server, refer to Action endpoints.\\n\\nTo learn how to create a custom configuration page, refer to Build a custom configuration page.\\n\\nStep 4: Enable the draft version of your action\\n\\nRunning app dev allows changes made to local files to update the draft version of your Flow task extensions. The draft version is only available in your development store.\\n\\nNote: When app dev is running and \"Development store preview\" is enabled, the draft version of a task will appear in your development store in place of the deployed version. Other shops will continue to see the deployed version of your task (if one exists). Draft versions can be identified by the \"draft\" badge. To see the deployed version of the task in your development store, turn off \"Development store preview\" in the \"Extensions\" section of your app in Shopify Partners.\\n\\nNavigate to your app directory.', '4d532f74-0017-41b6-aa14-dee76c48fefc': \"Navigate to your app directory.\\n\\nRun the following command to start using draft versions of your extension(s):\\n\\n```bash\\n\\n!/bin/bash\\n\\nshopify app dev ```\\n\\nFollow the prompts.\\n\\nStep 5: Test the action\\n\\nAfter you've created an action in the Partner Dashboard and added support for it in your web server, you can test the action in Shopify Flow on your development store.\\n\\nIn your development store, create a workflow that uses the action. For example, add the trigger that you created in the Triggers guide and this action to a workflow.\\n\\nIf you created a custom configuration page, then ensure that the preview displays and that the custom configuration page is accessible.\\n\\nIf you added any custom validation, then ensure that it works as expected.\\n\\nTrigger the workflow. For example, in your web server, run the event that sends the trigger information to Shopify Flow.\", '96104e6e-cbaf-4a02-a238-de3d0d84dd2c': 'If you created a custom configuration page, then ensure that the preview displays and that the custom configuration page is accessible.\\n\\nIf you added any custom validation, then ensure that it works as expected.\\n\\nTrigger the workflow. For example, in your web server, run the event that sends the trigger information to Shopify Flow.\\n\\nWhen the workflow completes, your web server has sent data to Shopify Flow because of the trigger. Shopify Flow has sent this data to a web server that logged the information to its console because of the action.\\n\\nStep 6: Deploy your extension\\n\\nNote: Deploying extensions using the app deploy command also publishes the extensions. We recommend testing changes by using app dev or deploying to a test app before deploying them to a production app.\\n\\nUse Shopify CLI to deploy your extensions:\\n\\nNavigate to your app directory.\\n\\nRun the following command to start deploying your extension(s):\\n\\n```bash\\n\\n!/bin/bash\\n\\nshopify app deploy ```\\n\\nFollow the prompts.', 'b12cf13c-8169-43c8-8553-9a6e238f043e': \"Step 6: Deploy your extension\\n\\nNote: Deploying extensions using the app deploy command also publishes the extensions. We recommend testing changes by using app dev or deploying to a test app before deploying them to a production app.\\n\\nUse Shopify CLI to deploy your extensions:\\n\\nNavigate to your app directory.\\n\\nRun the following command to start deploying your extension(s):\\n\\n```bash\\n\\n!/bin/bash\\n\\nshopify app deploy ```\\n\\nFollow the prompts.\\n\\nWhen you receive confirmation that the deploy was successful, your extensions have been released.\\n\\nVerifying requests\\n\\nFor security reasons, make sure that you verify the following elements in each request:\\n\\nThe POST request's HMAC header (either x-shopify-hmac-sha256 or http-x-shopify-hmac-sha256). The HMAC header should be verified before you process the payload. For more information, refer to Verifying requests.\\n\\nThe payload handle. This ID should match the handle of the action that you created, and can be retrieved from the payload preview.\", 'dec2f46a-8487-464d-a5ea-ca0cddc1247b': \"Verifying requests\\n\\nFor security reasons, make sure that you verify the following elements in each request:\\n\\nThe POST request's HMAC header (either x-shopify-hmac-sha256 or http-x-shopify-hmac-sha256). The HMAC header should be verified before you process the payload. For more information, refer to Verifying requests.\\n\\nThe payload handle. This ID should match the handle of the action that you created, and can be retrieved from the payload preview.\\n\\nNext steps\\n\\nConnect your app to Shopify Flow so that events that occur in your app can trigger workflows.\\n\\nLearn how to receive lifecycle events from Shopify Flow about the stores that are using your triggers in enabled workflows.\\n\\nLearn more about how to return complex data in a Flow action.\", '7d29bb7b-d715-4d82-b37b-c024b0a7821b': 'Shopify Flow is an app that allows merchants to customize their store through automation. As a developer, you can integrate your app with the Flow platform through custom tasks, such as triggers and actions.\\n\\nThis guide introduces you to the different extensions you can create, building a Flow trigger and action, and considerations when making changes to your extensions.\\n\\nWhy build for Flow\\n\\nBuilding for Flow can help you to increase the value of your app by allowing merchants to automate their business processes. For example, suppose that you have a review app. After a review is created, merchants might want to send a notification (using email, Slack, or SMS), award loyalty points, and more. If you build the Review created trigger, Flow allows merchants to do any of those actions with your app. By integrating with Flow, you can:', '37465205-0147-4e01-9d5d-7bf88c4e0592': 'Why build for Flow\\n\\nBuilding for Flow can help you to increase the value of your app by allowing merchants to automate their business processes. For example, suppose that you have a review app. After a review is created, merchants might want to send a notification (using email, Slack, or SMS), award loyalty points, and more. If you build the Review created trigger, Flow allows merchants to do any of those actions with your app. By integrating with Flow, you can:\\n\\nImprove integrations between your app, Shopify, and other apps: Any task you build can be used with the triggers and actions that Flow already provides, which immediately connects your app to thousands of new features.\\n\\nSave development time: Rather than building and maintaining direct integrations with many other apps, you can integrate with Flow and provide similar value to your merchants.', '148cd627-3d88-472b-8a8c-a8c3b5248819': \"Improve integrations between your app, Shopify, and other apps: Any task you build can be used with the triggers and actions that Flow already provides, which immediately connects your app to thousands of new features.\\n\\nSave development time: Rather than building and maintaining direct integrations with many other apps, you can integrate with Flow and provide similar value to your merchants.\\n\\nImproved visibility: Merchants can discover your templates or tasks in Flow, even if they don't have your app installed. Additionally, when you integrate with Flow, you receive a Works with Flow badge on your listing in the Shopify App Store. Your app will also be listed in the Flow app directory.\\n\\nWhat you can build\\n\\nAs a Partner you can build one or more tasks related to your app for your merchants to use. These merchants need to have both your app and Shopify Flow installed. Shopify Flow includes the following task types:\", '007921ac-7172-45a2-a902-6e5fc3fd83cd': \"Extension type Description Example Trigger An event that starts a workflow, and can be something that happens in a store or in an app. A new order is created in a merchant's online store. Condition A rule that determines whether an action will be taken. As a developer you cannot create a condition task. A condition is set to check whether the total amount paid for the order is over $200.00. Action A task that's executed in a store or in an app when certain conditions are met. If the total amount paid for the order is over $200.00, then a tag is added to the customer account that placed the order. Template An example that demonstrates how your task works for a key use case. Templates are available through Flow's template library. A workflow that sends an internal email when your trigger runs.\\n\\nPlans supported\\n\\nFlow is an optional app that's available to Shopify merchants on any paid plan. Flow is widely adopted by Shopify merchants, especially those with stores on Shopify Plus.\", '83cf789a-2471-4cc1-ac6a-d54706a11143': \"Plans supported\\n\\nFlow is an optional app that's available to Shopify merchants on any paid plan. Flow is widely adopted by Shopify merchants, especially those with stores on Shopify Plus.\\n\\nFlow features differ by plan. For apps, the primary difference is that if you have a custom app, your Flow app extensions are available only to a Shopify Plus store that has your app installed.\\n\\nTemplates\\n\\nA template in Shopify Flow is an example workflow that can be copied into a merchant's shop. Templates help merchants automate a specific use case with minimal or no additional configuration. Flow's template library offers hundreds of templates with features to filter, browse, and search. You can create a template for Shopify Flow that showcases your custom triggers and actions and help merchants do more.\\n\\nGetting started\\n\\nLearn more about triggers\\n\\nConnect your app to Shopify Flow so that your app can send an event that starts a workflow.\\n\\nLearn more about actions\", 'a2305932-fee5-438d-8844-420aafc264d0': 'Getting started\\n\\nLearn more about triggers\\n\\nConnect your app to Shopify Flow so that your app can send an event that starts a workflow.\\n\\nLearn more about actions\\n\\nConnect your app to Shopify Flow so that your app receives data when a workflow action runs.\\n\\nLearn more about Flow templates\\n\\nCreate workflow templates to showcase your triggers and actions.\\n\\nLifecycle events\\n\\nGet notified about events related to your Flow triggers and actions.\\n\\nMigrate legacy Flow extensions\\n\\nLearn how to migrate your existing extensions from the Partner Dashboard to CLI-managed.', 'f42e8bf0-6d30-46c5-bfb4-efca1703c495': 'This guide provides explanations of key topics for building and deploying a Flow template extension. This includes the TOML configuration file, localization, and the template approval process.\\n\\nTOML\\n\\nWhen you first create a new Flow template extensions through Shopify CLI, you get a basic version of the shopify.extension.toml file structure that looks like the following example:\\n\\n```toml [[extensions]] name = \"t:name\" type = \"flow_template\" handle = \"example-name\" description = \"t:description\"\\n\\n[extensions.template]\\n\\ncategories = [\"orders\", \"risk\"]\\n\\nmodule = \"./template.flow\"\\n\\nrequire_app = false\\n\\ndiscoverable = true\\n\\nenabled = true ```\\n\\nFlow template extension fields', '2c57c3ac-5383-4ebb-a25d-221adf31e34d': \"Property Description Rules name Required The title of the template. This property is translatable and will use the value for the key name in the translation files. type Required The type of your extension. This should always be set to flow_template for Flow templates. - Value must be flow_template . handle Required A globally-unique identifier for your extension. This property can't be changed after you’ve run the app dev or deploy command. - Can't exceed 30 characters. - Must only contain alphanumeric characters and hyphens. description Optional The description of your template's workflow. This property is translatable and will use the value for the key description in the translation files. categories Required The categories that best describe the function of your template. - Must be an array containing only strings of valid categories. - Must choose at least one category. Max 2 recommended. - Valid categories are: buyer_experience , customers , inventory_and_merch , loyalty ,\", 'f7741d52-a380-4c3f-b2d6-a227b433e371': \"alphanumeric characters and hyphens. description Optional The description of your template's workflow. This property is translatable and will use the value for the key description in the translation files. categories Required The categories that best describe the function of your template. - Must be an array containing only strings of valid categories. - Must choose at least one category. Max 2 recommended. - Valid categories are: buyer_experience , customers , inventory_and_merch , loyalty , orders , promotions , risk , fulfillment , b2b , payment_reminders , custom_data , and error_monitoring . module Required The file path of the template workflow in the extension's folder. require_app Optional Whether your template is visible only to merchants who have your app installed. - Defaults to false . discoverable Optional Whether your template should be displayed in the template browser. When false , the template is accessible only through a deep link. - Defaults to true . enabled\", 'd5618767-a607-41a0-8e14-2ce4fb1a8a80': \", orders , promotions , risk , fulfillment , b2b , payment_reminders , custom_data , and error_monitoring . module Required The file path of the template workflow in the extension's folder. require_app Optional Whether your template is visible only to merchants who have your app installed. - Defaults to false . discoverable Optional Whether your template should be displayed in the template browser. When false , the template is accessible only through a deep link. - Defaults to true . enabled Optional Whether you template should be published and made available after being approved. - Defaults to true .\", 'c4369eda-dc0a-4458-a623-ac794294bf1c': \"Localization\\n\\nLocalizing your template by providing translated text allows a wider audience to understand your template better and can increase adoption.\\n\\nYou can provide translations for the following fields:\\n\\nname: Title of the template.\\n\\ndescription: Description of the template and it's purpose.\\n\\npreInstallNote: (Optional): Instructions for merchants to complete before activating the workflow. This field should only be included if setup is required before the template can be turned on.\\n\\nCustom step descriptions added within the workflow.\\n\\nAdding additional locales\\n\\nAdd new .json files prefixed with the locale, for example es.json.\\n\\nAdd default to one of the locales to make it the fallback if a merchant's locale isn't in the locales you have provided. Example: en.default.json.\\n\\nStep descriptions\", 'ca4e0781-d1d0-4c79-8ceb-b4e37b999d9f': \"Custom step descriptions added within the workflow.\\n\\nAdding additional locales\\n\\nAdd new .json files prefixed with the locale, for example es.json.\\n\\nAdd default to one of the locales to make it the fallback if a merchant's locale isn't in the locales you have provided. Example: en.default.json.\\n\\nStep descriptions\\n\\nYou can provide translated custom step descriptions by adding a translation key wrapped by curly braces in the step description field. For example, {expressShippingCondition}. Ensure there's no other characters before or after {yourKey}. After adding this to your workflow, you can update the translation files to include the step description.\\n\\nThe following is an example:\", '026dae1b-e0cc-4966-adba-1ffa3e65938c': 'Step descriptions\\n\\nYou can provide translated custom step descriptions by adding a translation key wrapped by curly braces in the step description field. For example, {expressShippingCondition}. Ensure there\\'s no other characters before or after {yourKey}. After adding this to your workflow, you can update the translation files to include the step description.\\n\\nThe following is an example:\\n\\njson { \"name\": \"My Awesome Template!\", \"description\": \"A template that helps increase merchant productivity\", \"preInstallNote\": \"You must disable automatic payment capture in the Shopify Admin before using this template\", \"expressShippingCondition\": \"This step will check if the order uses express shipping\" }\\n\\nApproval process\\n\\nBefore submitting your template extension for approval ensure that it meets the following criteria:\\n\\nWorkflow\\n\\n### TOML\\n\\n### Localization\\n\\n### Access\\n\\n### Limitations', '1715503c-bec6-4058-9c82-a2ab3ea704e0': 'json { \"name\": \"My Awesome Template!\", \"description\": \"A template that helps increase merchant productivity\", \"preInstallNote\": \"You must disable automatic payment capture in the Shopify Admin before using this template\", \"expressShippingCondition\": \"This step will check if the order uses express shipping\" }\\n\\nApproval process\\n\\nBefore submitting your template extension for approval ensure that it meets the following criteria:\\n\\nWorkflow\\n\\n### TOML\\n\\n### Localization\\n\\n### Access\\n\\n### Limitations\\n\\n### Submitting your extension for approval After you\\'re satisfied with your template extension, [`deploy`](/docs/api/shopify-cli/app/app-deploy) a new app version from Shopify CLI. The Flow team will review your templates within three business days. Template reviews don\\'t block your app version from releasing, but template changes won\\'t be reflected until the approval process is complete. If we require changes, then we\\'ll reject the review and follow up through email with feedback.', 'fec586b3-85ee-4388-a773-5392f40ce130': \"To give merchants a more seamless action configuration experience, and to allow them to manage resources that are external to Shopify Flow, you can embed a page from your app in the Shopify Flow editor.\\n\\nIn your Shopify Flow action configuration, merchants see a preview with an image and text that's fetched from your custom configuration page preview URL. Merchants can click the button to access the custom configuration page.\\n\\nYour custom configuration page is then displayed in a frame in the Shopify admin.\\n\\nIn this tutorial, you'll learn how to render a custom configuration page in Shopify Flow, customize the page frame, and access data relevant to your action in the custom configuration page context.\\n\\nRequirements\\n\\nYou've created a Partner account.\\n\\nYou've created an app.\\n\\nResources\\n\\nTo implement this feature, you'll use the following:\\n\\nShopify App Bridge\\n\\nApp Bridge components\\n\\nApp Bridge actions specific to the custom configuration page\\n\\nImplementing a custom configuration page\", 'dabafc55-24e7-4ba2-84cd-5397d03a971c': \"In this tutorial, you'll learn how to render a custom configuration page in Shopify Flow, customize the page frame, and access data relevant to your action in the custom configuration page context.\\n\\nRequirements\\n\\nYou've created a Partner account.\\n\\nYou've created an app.\\n\\nResources\\n\\nTo implement this feature, you'll use the following:\\n\\nShopify App Bridge\\n\\nApp Bridge components\\n\\nApp Bridge actions specific to the custom configuration page\\n\\nImplementing a custom configuration page\\n\\nTo build a custom configuration page, you'll use Shopify App Bridge to render a page from your app page in Shopify Flow.\\n\\nFrom the context of the custom configuration page, you can then access step and property information that you can use to display the appropriate information.\\n\\nYou can also add additional buttons to the App Bridge title bar, or trigger a redirect to the previous page.\\n\\nUse Shopify App Bridge to render your app page\", '66ff98bb-b4c3-44f6-abe2-3071e685e03c': \"Implementing a custom configuration page\\n\\nTo build a custom configuration page, you'll use Shopify App Bridge to render a page from your app page in Shopify Flow.\\n\\nFrom the context of the custom configuration page, you can then access step and property information that you can use to display the appropriate information.\\n\\nYou can also add additional buttons to the App Bridge title bar, or trigger a redirect to the previous page.\\n\\nUse Shopify App Bridge to render your app page\\n\\nNote: The specifics of the Custom Configuration Page integration varies between Shopify App Bridge versions. Make sure you implement the integration specific to your Shopify App Bridge version.\\n\\nTo render your custom configuration page, you need to integrate Shopify App Bridge on the route that you want to render. To learn about setting up Shopify App Bridge, refer to one of the following pages:\\n\\nGetting started with Shopify App Bridge\\n\\nGetting started with App Bridge React\\n\\nAccess action information\", 'd72661f2-541a-416f-a323-da6798cbb2fb': \"To render your custom configuration page, you need to integrate Shopify App Bridge on the route that you want to render. To learn about setting up Shopify App Bridge, refer to one of the following pages:\\n\\nGetting started with Shopify App Bridge\\n\\nGetting started with App Bridge React\\n\\nAccess action information\\n\\nIn the context of the custom configuration page, Shopify Flow makes the following action information available:\\n\\nA step_reference search parameter: step_reference is a unique ID for the step within a workflow, and can be used to identify the resource that the merchant is requesting.\\n\\nProperty data: Properties contains the extension fields data that make up your action payload schema. The properties are passed as an object containing the properties as key-value pairs:\\n\\njson { : }\\n\\nShopify App Bridge integration for versions 4.X.X and up\\n\\nRegister to the Custom Configuration Page's intent\", '2c11abc6-1498-47a7-8f14-74c366e899ff': \"Property data: Properties contains the extension fields data that make up your action payload schema. The properties are passed as an object containing the properties as key-value pairs:\\n\\njson { : }\\n\\nShopify App Bridge integration for versions 4.X.X and up\\n\\nRegister to the Custom Configuration Page's intent\\n\\nTo access property data with Shopify App Bridge version 4.X.X and up, you will need to use the shopify.intents API. The following example code allows you to register to the Custom Configuration Page's intent:\\n\\n```jsx import { useAppBridge } from '@shopify/app-bridge-react'\\n\\nconst Application = () => { const shopify = useAppBridge() const [intent, setIntent] = useState({})\\n\\nuseEffect(() => { const cleanup = shopify.intents.register((intent) => { setIntent(intent) })\\n\\nreturn () => cleanup()\\n\\n}, []);\\n\\nreturn <>... } ```\\n\\nThe intent object will contain the following data:\", '0025f3a2-5b8e-47e2-8080-f5c359677abe': \"```jsx import { useAppBridge } from '@shopify/app-bridge-react'\\n\\nconst Application = () => { const shopify = useAppBridge() const [intent, setIntent] = useState({})\\n\\nuseEffect(() => { const cleanup = shopify.intents.register((intent) => { setIntent(intent) })\\n\\nreturn () => cleanup()\\n\\n}, []);\\n\\nreturn <>... } ```\\n\\nThe intent object will contain the following data:\\n\\nField Data Type Description action string The action that has been registered for. In the case of the Custom Configuration Page, it will always be set to configure . type string A GID with the following structure: gid://flow/stepReference/ . data object An object that contains the properties data. finish method A function that allows you to navigate to the previous page.\\n\\nThe register method also returns a cleanup function, which you can use to unregister from the intent when your component is unmounting.\\n\\nReturn to the previous page\", '639c1a84-1d8f-4d61-8784-472e4971ba4a': 'The register method also returns a cleanup function, which you can use to unregister from the intent when your component is unmounting.\\n\\nReturn to the previous page\\n\\nBy default, the title bar of the custom configuration page includes an Exit button that the user can use to return to the previous page. You can choose to trigger a redirect to the previous page using the intent.finish() method:\\n\\n```jsx\\n\\nGo back to Flow ```\\n\\nAdd buttons to the App Bridge title bar\\n\\nYou can add more actions to the navigation bar by using the ui-title-bar element. Only primary and secondary actions are supported.\\n\\njsx function Page() { return }\\n\\nShopify App Bridge integration for versions 3.X.X and down\\n\\nRequest property data', 'c0b9233a-4c87-4986-81ea-aa378d1546b2': 'You can add more actions to the navigation bar by using the ui-title-bar element. Only primary and secondary actions are supported.\\n\\njsx function Page() { return }\\n\\nShopify App Bridge integration for versions 3.X.X and down\\n\\nRequest property data\\n\\nTo access property data, you need to subscribe to APP::APP_FRAME::PROPERTIES_EVENT, and then request the properties by triggering the APP::APP_FRAME::REQUEST_PROPERTIES event. The following example code subscribes to the properties event and requests the action properties in React:\\n\\n```jsx import { useAppBridge } from \\'@shopify/app-bridge-react\\'\\n\\nconst Application = () => { const app = useAppBridge() const [propertiesData, setPropertiesData] = useState({})', 'f1bf6a7b-d4e7-4f6e-8073-e6ba5be25d86': \"Request property data\\n\\nTo access property data, you need to subscribe to APP::APP_FRAME::PROPERTIES_EVENT, and then request the properties by triggering the APP::APP_FRAME::REQUEST_PROPERTIES event. The following example code subscribes to the properties event and requests the action properties in React:\\n\\n```jsx import { useAppBridge } from '@shopify/app-bridge-react'\\n\\nconst Application = () => { const app = useAppBridge() const [propertiesData, setPropertiesData] = useState({})\\n\\nuseEffect(() => { const unsubscribeToPropertiesEvent = app.subscribe( 'APP::APP_FRAME::PROPERTIES_EVENT', payload => { setPropertiesData(payload['properties']) }, )\\n\\nreturn unsubscribeToPropertiesEvent\\n\\n}, [app])\\n\\nuseEffect(() => { app.dispatch({ type: 'APP::APP_FRAME::REQUEST_PROPERTIES', group: 'AppFrame', }) }, [])\\n\\nreturn (...) } ```\\n\\nReturn to the previous page\", '044278ed-f226-4b65-97ce-864fd642c866': \"const Application = () => { const app = useAppBridge() const [propertiesData, setPropertiesData] = useState({})\\n\\nuseEffect(() => { const unsubscribeToPropertiesEvent = app.subscribe( 'APP::APP_FRAME::PROPERTIES_EVENT', payload => { setPropertiesData(payload['properties']) }, )\\n\\nreturn unsubscribeToPropertiesEvent\\n\\n}, [app])\\n\\nuseEffect(() => { app.dispatch({ type: 'APP::APP_FRAME::REQUEST_PROPERTIES', group: 'AppFrame', }) }, [])\\n\\nreturn (...) } ```\\n\\nReturn to the previous page\\n\\nBy default, the title bar of the custom configuration page includes an Exit button that the user can use to return to the previous page. This might be the Shopify Flow editor. However, you can choose to trigger a redirect to the previous page using APP::APP_FRAME::NAVIGATE_BACK:\\n\\n```jsx app.dispatch({ type: 'APP::APP_FRAME::NAVIGATE_BACK', group: 'AppFrame', })\\n\\n```\\n\\nAdd buttons to the App Bridge title bar\\n\\nYou can add more actions to the App Bridge title bar in one of two ways:\", 'a777ba01-19bf-45ef-90e4-a49ce43f0780': \"By default, the title bar of the custom configuration page includes an Exit button that the user can use to return to the previous page. This might be the Shopify Flow editor. However, you can choose to trigger a redirect to the previous page using APP::APP_FRAME::NAVIGATE_BACK:\\n\\n```jsx app.dispatch({ type: 'APP::APP_FRAME::NAVIGATE_BACK', group: 'AppFrame', })\\n\\n```\\n\\nAdd buttons to the App Bridge title bar\\n\\nYou can add more actions to the App Bridge title bar in one of two ways:\\n\\nUsing @shopify/app-bridge: Use the Button.create initializer to create the buttons, then pass them to the Titlebar.create initializer to set the buttons. You need to keep a reference to the Titlebar instance if you wish to do additional updates after the initialization.\\n\\nUsing @shopify/app-bridge-react: Pass the primary and secondary actions to the TitleBar React component.\\n\\nOnly primary and secondary actions on the TitleBar are supported. Other App Bridge actions are ignored.\", '4e303a05-7b43-4f0a-aca1-ef33d86bd391': \"Using @shopify/app-bridge: Use the Button.create initializer to create the buttons, then pass them to the Titlebar.create initializer to set the buttons. You need to keep a reference to the Titlebar instance if you wish to do additional updates after the initialization.\\n\\nUsing @shopify/app-bridge-react: Pass the primary and secondary actions to the TitleBar React component.\\n\\nOnly primary and secondary actions on the TitleBar are supported. Other App Bridge actions are ignored.\\n\\n```js import { TitleBar, Button } from '@shopify/app-bridge/actions'\\n\\n// create the buttons const primaryBtn = Button.create(app, { label: 'Button 1', }) const secondaryBtn = Button.create(app, { label: 'Button 2', })\\n\\n// add click handlers primaryBtn.subscribe(Button.Action.CLICK, () => { console.log('button 1 clicked') }) secondaryBtn.subscribe(Button.Action.CLICK, () => { console.log('button 2 clicked') })\", 'dad57725-5014-4365-bf53-d4356b359db9': \"```js import { TitleBar, Button } from '@shopify/app-bridge/actions'\\n\\n// create the buttons const primaryBtn = Button.create(app, { label: 'Button 1', }) const secondaryBtn = Button.create(app, { label: 'Button 2', })\\n\\n// add click handlers primaryBtn.subscribe(Button.Action.CLICK, () => { console.log('button 1 clicked') }) secondaryBtn.subscribe(Button.Action.CLICK, () => { console.log('button 2 clicked') })\\n\\nconst titleBar = TitleBar.create(app, { title: '', buttons: { primary: primaryBtn, secondary: [secondaryBtn], }, })\\n\\n// update buttons after initialization const newPrimary = Button.create(app, { label: 'New button', }) newPrimary.subscribe(Button.Action.CLICK, () => { console.log('new primary button clicked') })\\n\\ntitleBar.set({ buttons: { primary: newPrimary, secondary: [secondaryBtn], }, })\\n\\njsx import { TitleBar } from '@shopify/app-bridge-react'\", 'dba7b885-23b6-4634-98cd-d171431a3396': \"const titleBar = TitleBar.create(app, { title: '', buttons: { primary: primaryBtn, secondary: [secondaryBtn], }, })\\n\\n// update buttons after initialization const newPrimary = Button.create(app, { label: 'New button', }) newPrimary.subscribe(Button.Action.CLICK, () => { console.log('new primary button clicked') })\\n\\ntitleBar.set({ buttons: { primary: newPrimary, secondary: [secondaryBtn], }, })\\n\\njsx import { TitleBar } from '@shopify/app-bridge-react'\\n\\nfunction Page() { const buttons = { primaryAction: { content: 'Button 1', onAction: () => { console.log('button 1 clicked') }, }, secondaryActions: [ { content: 'Button 2', onAction: () => { console.log('button 2 clicked') }, }, ], }\\n\\nreturn } ```\\n\\nNext steps\\n\\nAdd custom configuration page preview URL and custom validation endpoints to your app.\\n\\nAdd your custom configuration page preview URL, custom configuration page URL, and custom validation URL to your Shopify Flow action configuration.\"}}\n" ] } ] }, { "cell_type": "code", "source": [ "from sentence_transformers.losses import MatryoshkaLoss, MultipleNegativesRankingLoss\n", "\n", "matryoshka_dimensions = [768, 512, 256, 128, 64]\n", "inner_train_loss = MultipleNegativesRankingLoss(model)\n", "train_loss = MatryoshkaLoss(\n", " model, inner_train_loss, matryoshka_dims=matryoshka_dimensions\n", ")" ], "metadata": { "id": "CvJex4CaHAv5" }, "execution_count": 59, "outputs": [] }, { "cell_type": "code", "source": [ "from sentence_transformers.evaluation import InformationRetrievalEvaluator\n", "\n", "corpus = val_dataset['corpus']\n", "queries = val_dataset['questions']\n", "relevant_docs = val_dataset['relevant_contexts']\n", "\n", "evaluator = InformationRetrievalEvaluator(queries, corpus, relevant_docs)" ], "metadata": { "id": "fLzwaXM8Hiy0" }, "execution_count": 60, "outputs": [] }, { "cell_type": "code", "source": [ "import wandb\n", "wandb.init(mode=\"disabled\")" ], "metadata": { "colab": { "base_uri": "https://localhost:8080/", "height": 73 }, "id": "T753LgWlHmPM", "outputId": "26103748-cc0a-40e9-9b00-5c4fe659340d" }, "execution_count": 61, "outputs": [ { "output_type": "display_data", "data": { "text/plain": [ "" ], "text/html": [ "Changes to your `wandb` environment variables will be ignored because your `wandb` session has already started. For more information on how to modify your settings with `wandb.init()` arguments, please refer to the W&B docs." ] }, "metadata": {} }, { "output_type": "execute_result", "data": { "text/html": [ "" ], "text/plain": [ "" ] }, "metadata": {}, "execution_count": 61 } ] }, { "cell_type": "code", "source": [ "EPOCHS = 10\n", "warmup_steps = int(len(loader) * EPOCHS * 0.1)\n", "\n", "model.fit(\n", " train_objectives=[(loader, train_loss)],\n", " epochs=EPOCHS,\n", " warmup_steps=warmup_steps,\n", " output_path='AIE5-MidTerm-finetuned-embeddings',\n", " show_progress_bar=True,\n", " evaluator=evaluator,\n", " evaluation_steps=50\n", ")" ], "metadata": { "colab": { "base_uri": "https://localhost:8080/", "height": 520, "referenced_widgets": [ "2205fb2efd2c4e05b4c335f6b56c723d", "b10c86e189bd44e6befa29549bd6028c", "e343a2de0d944126ab693a492a8341b3", "b0fc16c00bbd446b9da9de854e815236", "57c09ad3af6d4030981390f014271dc3", "9170e7281b804c7caa9f1bd8f5c0dd36", "027e32201420475e975121057662a2b2", "728b01f833754953a66f7568d5e01db6", "240ea364c919466fa2222cc4eacabcf3", "e12adbd5aa1f4ff08e1faa62103fd23e", "b1a976d2ba744fae9f49393018bfac6a" ] }, "id": "oFOWU2l6Hn67", "outputId": "92cd7a0a-befb-47cc-9f31-1cebff0ae70c" }, "execution_count": 62, "outputs": [ { "output_type": "display_data", "data": { "text/plain": [ "Computing widget examples: 0%| | 0/1 [00:00" ], "text/html": [ "\n", "
\n", " \n", " \n", " [170/170 05:18, Epoch 10/10]\n", "
\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
StepTraining LossValidation LossCosine Accuracy@1Cosine Accuracy@3Cosine Accuracy@5Cosine Accuracy@10Cosine Precision@1Cosine Precision@3Cosine Precision@5Cosine Precision@10Cosine Recall@1Cosine Recall@3Cosine Recall@5Cosine Recall@10Cosine Ndcg@10Cosine Mrr@10Cosine Map@100
17No logNo log0.5833331.0000001.0000001.0000000.5833330.3333330.2000000.1000000.5833331.0000001.0000001.0000000.8353100.7777780.777778
34No logNo log0.5833331.0000001.0000001.0000000.5833330.3333330.2000000.1000000.5833331.0000001.0000001.0000000.8298550.7708330.770833
50No logNo log0.6250001.0000001.0000001.0000000.6250000.3333330.2000000.1000000.6250001.0000001.0000001.0000000.8506880.7986110.798611
51No logNo log0.6250001.0000001.0000001.0000000.6250000.3333330.2000000.1000000.6250001.0000001.0000001.0000000.8506880.7986110.798611
68No logNo log0.5833331.0000001.0000001.0000000.5833330.3333330.2000000.1000000.5833331.0000001.0000001.0000000.8353100.7777780.777778
85No logNo log0.6250001.0000001.0000001.0000000.6250000.3333330.2000000.1000000.6250001.0000001.0000001.0000000.8452320.7916670.791667
100No logNo log0.6666671.0000001.0000001.0000000.6666670.3333330.2000000.1000000.6666671.0000001.0000001.0000000.8606100.8125000.812500
102No logNo log0.6666671.0000001.0000001.0000000.6666670.3333330.2000000.1000000.6666671.0000001.0000001.0000000.8606100.8125000.812500
119No logNo log0.5833331.0000001.0000001.0000000.5833330.3333330.2000000.1000000.5833331.0000001.0000001.0000000.8298550.7708330.770833
136No logNo log0.5416671.0000001.0000001.0000000.5416670.3333330.2000000.1000000.5416671.0000001.0000001.0000000.8144770.7500000.750000
150No logNo log0.5416671.0000001.0000001.0000000.5416670.3333330.2000000.1000000.5416671.0000001.0000001.0000000.8144770.7500000.750000
153No logNo log0.5416671.0000001.0000001.0000000.5416670.3333330.2000000.1000000.5416671.0000001.0000001.0000000.8144770.7500000.750000
170No logNo log0.5416671.0000001.0000001.0000000.5416670.3333330.2000000.1000000.5416671.0000001.0000001.0000000.8144770.7500000.750000

" ] }, "metadata": {} } ] }, { "cell_type": "code", "source": [ "from huggingface_hub import notebook_login\n", "\n", "notebook_login()\n", "hf_username = \"thomfoolery\"\n", "model.push_to_hub(f\"{hf_username}/AIE5-MidTerm-finetuned-embeddings\")" ], "metadata": { "colab": { "base_uri": "https://localhost:8080/", "height": 381, "referenced_widgets": [ "0c184caf09d54749914f62ae15960ffa", "29cac182b787409fa7f136d562b54014", "97039cdf986048f78d20933aebc5ca3a", "068f5113385b41ccb646c22764a58bb0", "716437b3d6da45f8920e437b76c36cc5", "ac11b5e67be74fa9ac9fa6524359223d", "a8ecaa2388c64cdc9972bf94166b29c6", "6ec1dec266a14aa3940cbe2f2cba793a", "430a3c8168e84978b358de54155a06d5", "ffba7ad044014f399e334375b0db0674", "3d79268fe665435397c605e76b50ba1e", "9dd85f5c584846cb893859762fcfea97", "886f205893d44a05a0997d5de179370b", "72b57e8f5a2e4d978b65746eb9527f37", "8a9a9f2874b640c2be7bafdf96c8d661", "ba0fc159bf814775bb31ac6082c12457", "ae7573f845d1407fa0e526b4280996f6", "6ea2c9cc43e24139bdea06c89cbc81d1", "91e4bf915d724a94b7f211dfc4bde883", "5f1393b37c9d442a9b53dfef098fb3c7", "ae377ea3a6544a06907399ed8fb90273", "ecd229508922441fa89864a66cb1f50c", "3845f705011d4b5cb0f9df7b19ca1277", "ec0d8ca1eb91456d95b312c2b5bca317", "c4def919880d4a819c7ffa06248a09d4", "c7d04af073924bb88884e4aa9b1f6a1d", "6575708de5214968b62cc25e130ea450", "5082241236784d11874c39b8956f5791" ] }, "id": "X_yB8zo1Hp24", "outputId": "b2344506-803c-46e8-87b5-bd9f511cfe86" }, "execution_count": 64, "outputs": [ { "output_type": "display_data", "data": { "text/plain": [ "VBox(children=(HTML(value='