Last active
April 16, 2024 16:36
-
-
Save firmai/20ee53d3dd37eb622183c14d0ab6e90b to your computer and use it in GitHub Desktop.
FinBERT Sentiment Test.ipynb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"nbformat": 4, | |
"nbformat_minor": 0, | |
"metadata": { | |
"colab": { | |
"name": "FinBERT Sentiment Test.ipynb", | |
"provenance": [], | |
"machine_shape": "hm", | |
"include_colab_link": true | |
}, | |
"kernelspec": { | |
"name": "python3", | |
"display_name": "Python 3" | |
}, | |
"language_info": { | |
"name": "python" | |
}, | |
"accelerator": "GPU", | |
"widgets": { | |
"application/vnd.jupyter.widget-state+json": { | |
"d49a6807286348199f16f4fbaa89041c": { | |
"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_8c76846e1a2f4aac84980b1e92cc4f0b", | |
"IPY_MODEL_755c099a9f9b4bf4a54bab32f710bcdc", | |
"IPY_MODEL_1300449b64b14ea5b1857017d8e8b41c" | |
], | |
"layout": "IPY_MODEL_a98f82b21a6740ea95708d014e7977cb" | |
} | |
}, | |
"8c76846e1a2f4aac84980b1e92cc4f0b": { | |
"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_16f15e3e144441f2a31022d807c863b3", | |
"placeholder": "", | |
"style": "IPY_MODEL_c03c3058f0db433a8803d78f984f9fa4", | |
"value": "tokenizer_config.json: 100%" | |
} | |
}, | |
"755c099a9f9b4bf4a54bab32f710bcdc": { | |
"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_64acf8e85b824117b0f82e6001c7c2c5", | |
"max": 252, | |
"min": 0, | |
"orientation": "horizontal", | |
"style": "IPY_MODEL_97044ab3ddbb4dc7af46b555a710b60e", | |
"value": 252 | |
} | |
}, | |
"1300449b64b14ea5b1857017d8e8b41c": { | |
"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_e54dbb6e9b60448eb250f7caea1196b8", | |
"placeholder": "", | |
"style": "IPY_MODEL_0dc074a4dda94e19848f50e2ff677373", | |
"value": " 252/252 [00:00<00:00, 18.2kB/s]" | |
} | |
}, | |
"a98f82b21a6740ea95708d014e7977cb": { | |
"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 | |
} | |
}, | |
"16f15e3e144441f2a31022d807c863b3": { | |
"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 | |
} | |
}, | |
"c03c3058f0db433a8803d78f984f9fa4": { | |
"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": "" | |
} | |
}, | |
"64acf8e85b824117b0f82e6001c7c2c5": { | |
"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 | |
} | |
}, | |
"97044ab3ddbb4dc7af46b555a710b60e": { | |
"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": "" | |
} | |
}, | |
"e54dbb6e9b60448eb250f7caea1196b8": { | |
"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 | |
} | |
}, | |
"0dc074a4dda94e19848f50e2ff677373": { | |
"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": "" | |
} | |
}, | |
"b255b6fe4a7e41c89b17769523c88f2e": { | |
"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_6d7adee17b714ad6ad16cc90437e82a0", | |
"IPY_MODEL_14f6dc806b1c44439a95dd00c07afd7e", | |
"IPY_MODEL_7526f4fc282a44ff9d1bfdc73e1cd8b7" | |
], | |
"layout": "IPY_MODEL_dddabaea9bf04665bbed44ae91510919" | |
} | |
}, | |
"6d7adee17b714ad6ad16cc90437e82a0": { | |
"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_b89bc4d39876426b9375a12de32faf9b", | |
"placeholder": "", | |
"style": "IPY_MODEL_8c95440c3367493bafd6e035f0b59c06", | |
"value": "config.json: 100%" | |
} | |
}, | |
"14f6dc806b1c44439a95dd00c07afd7e": { | |
"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_ae281b801c3d49da9e0b8e745cf287da", | |
"max": 758, | |
"min": 0, | |
"orientation": "horizontal", | |
"style": "IPY_MODEL_c729c271fd3540ae8d3ffda054dfa95f", | |
"value": 758 | |
} | |
}, | |
"7526f4fc282a44ff9d1bfdc73e1cd8b7": { | |
"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_096de512417849af89dde6cd949e3bff", | |
"placeholder": "", | |
"style": "IPY_MODEL_42b7445d1c8b44e9b0b785f44f38e839", | |
"value": " 758/758 [00:00<00:00, 61.6kB/s]" | |
} | |
}, | |
"dddabaea9bf04665bbed44ae91510919": { | |
"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 | |
} | |
}, | |
"b89bc4d39876426b9375a12de32faf9b": { | |
"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 | |
} | |
}, | |
"8c95440c3367493bafd6e035f0b59c06": { | |
"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": "" | |
} | |
}, | |
"ae281b801c3d49da9e0b8e745cf287da": { | |
"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 | |
} | |
}, | |
"c729c271fd3540ae8d3ffda054dfa95f": { | |
"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": "" | |
} | |
}, | |
"096de512417849af89dde6cd949e3bff": { | |
"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 | |
} | |
}, | |
"42b7445d1c8b44e9b0b785f44f38e839": { | |
"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": "" | |
} | |
}, | |
"52402160d8d44afc8d66ad8e610896fa": { | |
"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_bf49410b8b0748899c66732dcf3ea048", | |
"IPY_MODEL_ac770bd34c664b708ec9d22bc5f700dd", | |
"IPY_MODEL_16d9003a47374c97b92747bb503bf915" | |
], | |
"layout": "IPY_MODEL_c996323be1e144209f241c8a30485894" | |
} | |
}, | |
"bf49410b8b0748899c66732dcf3ea048": { | |
"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_3cce828fd60e410d92892734dbb32a41", | |
"placeholder": "", | |
"style": "IPY_MODEL_ca4e8f3a456b4bbbac0a4cb4f149be8a", | |
"value": "vocab.txt: 100%" | |
} | |
}, | |
"ac770bd34c664b708ec9d22bc5f700dd": { | |
"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_4af485ea9f8a46b4999dbdaabb6a6f5f", | |
"max": 231508, | |
"min": 0, | |
"orientation": "horizontal", | |
"style": "IPY_MODEL_4aa01cbada2e4da4a75ef4514c44a52d", | |
"value": 231508 | |
} | |
}, | |
"16d9003a47374c97b92747bb503bf915": { | |
"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_16a1aacc8c91407f8c8ef76bf66783dc", | |
"placeholder": "", | |
"style": "IPY_MODEL_1aac064333244961948d36c2e5cf7843", | |
"value": " 232k/232k [00:00<00:00, 935kB/s]" | |
} | |
}, | |
"c996323be1e144209f241c8a30485894": { | |
"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 | |
} | |
}, | |
"3cce828fd60e410d92892734dbb32a41": { | |
"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 | |
} | |
}, | |
"ca4e8f3a456b4bbbac0a4cb4f149be8a": { | |
"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": "" | |
} | |
}, | |
"4af485ea9f8a46b4999dbdaabb6a6f5f": { | |
"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 | |
} | |
}, | |
"4aa01cbada2e4da4a75ef4514c44a52d": { | |
"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": "" | |
} | |
}, | |
"16a1aacc8c91407f8c8ef76bf66783dc": { | |
"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 | |
} | |
}, | |
"1aac064333244961948d36c2e5cf7843": { | |
"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": "" | |
} | |
}, | |
"a4ea9c2615c149d5bd5596acfbb9bd3c": { | |
"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_cf58cd1aef2143d4a1af9100c36e17bd", | |
"IPY_MODEL_d4f563f3e1af4de3ba58f5a6fd880f1f", | |
"IPY_MODEL_68d4c5a0fc0441a7a76cf01cfeed48d7" | |
], | |
"layout": "IPY_MODEL_4b085c5520e54a7696ec782597ba66a4" | |
} | |
}, | |
"cf58cd1aef2143d4a1af9100c36e17bd": { | |
"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_a1edc32235a449948adf996e4654201b", | |
"placeholder": "", | |
"style": "IPY_MODEL_18b30cd410464935b900d54246c8c571", | |
"value": "special_tokens_map.json: 100%" | |
} | |
}, | |
"d4f563f3e1af4de3ba58f5a6fd880f1f": { | |
"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_578be505b6254ff0bd632c201e559289", | |
"max": 112, | |
"min": 0, | |
"orientation": "horizontal", | |
"style": "IPY_MODEL_05924cfc923f4844bcd04c9809c576ab", | |
"value": 112 | |
} | |
}, | |
"68d4c5a0fc0441a7a76cf01cfeed48d7": { | |
"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_5a08b8e0183943d2a0d55b85d57bbf42", | |
"placeholder": "", | |
"style": "IPY_MODEL_295b1f28b37449c28fcc1ab5f0f275df", | |
"value": " 112/112 [00:00<00:00, 6.92kB/s]" | |
} | |
}, | |
"4b085c5520e54a7696ec782597ba66a4": { | |
"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 | |
} | |
}, | |
"a1edc32235a449948adf996e4654201b": { | |
"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 | |
} | |
}, | |
"18b30cd410464935b900d54246c8c571": { | |
"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": "" | |
} | |
}, | |
"578be505b6254ff0bd632c201e559289": { | |
"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 | |
} | |
}, | |
"05924cfc923f4844bcd04c9809c576ab": { | |
"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": "" | |
} | |
}, | |
"5a08b8e0183943d2a0d55b85d57bbf42": { | |
"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 | |
} | |
}, | |
"295b1f28b37449c28fcc1ab5f0f275df": { | |
"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": "" | |
} | |
}, | |
"0f5958a3451044dba163872cefcf4ca2": { | |
"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_cb9b83ee3bae4eb8aad188097b4f2a30", | |
"IPY_MODEL_86af667865cb4350ac875bbbb357faae", | |
"IPY_MODEL_c1ed79b6602e40fc9afcc24ce2197b4d" | |
], | |
"layout": "IPY_MODEL_eae3d1cf5c85438498ad4118647a7b64" | |
} | |
}, | |
"cb9b83ee3bae4eb8aad188097b4f2a30": { | |
"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_bfc4ee4a89a84cf491b035b108e1879b", | |
"placeholder": "", | |
"style": "IPY_MODEL_1c26de2a17c14744917b097fb877b96f", | |
"value": "pytorch_model.bin: 100%" | |
} | |
}, | |
"86af667865cb4350ac875bbbb357faae": { | |
"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_02df0e877f8d4b2fbd8c6ab702b1d8b0", | |
"max": 437992753, | |
"min": 0, | |
"orientation": "horizontal", | |
"style": "IPY_MODEL_e36ba88c17554174b9c2fa201f1719de", | |
"value": 437992753 | |
} | |
}, | |
"c1ed79b6602e40fc9afcc24ce2197b4d": { | |
"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_1b8a44ea65044711b8b5f3cde4eb827b", | |
"placeholder": "", | |
"style": "IPY_MODEL_acba57af1c4b48a9ac6d00a571befa5f", | |
"value": " 438M/438M [00:01<00:00, 389MB/s]" | |
} | |
}, | |
"eae3d1cf5c85438498ad4118647a7b64": { | |
"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 | |
} | |
}, | |
"bfc4ee4a89a84cf491b035b108e1879b": { | |
"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 | |
} | |
}, | |
"1c26de2a17c14744917b097fb877b96f": { | |
"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": "" | |
} | |
}, | |
"02df0e877f8d4b2fbd8c6ab702b1d8b0": { | |
"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 | |
} | |
}, | |
"e36ba88c17554174b9c2fa201f1719de": { | |
"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": "" | |
} | |
}, | |
"1b8a44ea65044711b8b5f3cde4eb827b": { | |
"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 | |
} | |
}, | |
"acba57af1c4b48a9ac6d00a571befa5f": { | |
"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": "" | |
} | |
}, | |
"d6486a98f8fe4c84a2b8e29fce838f5e": { | |
"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_92012e9c5a984aa89f7fe6ff33091186", | |
"IPY_MODEL_2c552c48691042d39914b568561a2812", | |
"IPY_MODEL_228d1f526edd4edbae5e2fe78984de71" | |
], | |
"layout": "IPY_MODEL_da46363a318b4126b3eca0aa9d76ac9b" | |
} | |
}, | |
"92012e9c5a984aa89f7fe6ff33091186": { | |
"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_e24fc10b6ac94681a85da100d2d79d1d", | |
"placeholder": "", | |
"style": "IPY_MODEL_7ee04c87a0844dbe9a1f24fcc05d9e82", | |
"value": "config.json: 100%" | |
} | |
}, | |
"2c552c48691042d39914b568561a2812": { | |
"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_97cca571e126417db7fd74a36e388047", | |
"max": 1154, | |
"min": 0, | |
"orientation": "horizontal", | |
"style": "IPY_MODEL_a9f69ade0c884c1abfb405c17cb5c2d1", | |
"value": 1154 | |
} | |
}, | |
"228d1f526edd4edbae5e2fe78984de71": { | |
"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_4ad7e4c6dec64cbdaf9eda8310b4067d", | |
"placeholder": "", | |
"style": "IPY_MODEL_585511fc9dfd4cb79e7dfeb94407db54", | |
"value": " 1.15k/1.15k [00:00<00:00, 84.4kB/s]" | |
} | |
}, | |
"da46363a318b4126b3eca0aa9d76ac9b": { | |
"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 | |
} | |
}, | |
"e24fc10b6ac94681a85da100d2d79d1d": { | |
"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 | |
} | |
}, | |
"7ee04c87a0844dbe9a1f24fcc05d9e82": { | |
"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": "" | |
} | |
}, | |
"97cca571e126417db7fd74a36e388047": { | |
"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 | |
} | |
}, | |
"a9f69ade0c884c1abfb405c17cb5c2d1": { | |
"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": "" | |
} | |
}, | |
"4ad7e4c6dec64cbdaf9eda8310b4067d": { | |
"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 | |
} | |
}, | |
"585511fc9dfd4cb79e7dfeb94407db54": { | |
"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": "" | |
} | |
}, | |
"200743a7f8d6487a84260b109419ab81": { | |
"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_7f8f517fcc6440019761b95e3ffd0916", | |
"IPY_MODEL_1751f5b6c45d45d1931c02aa3b357eb0", | |
"IPY_MODEL_fd358cfb5608455d8efc2af34e444ed4" | |
], | |
"layout": "IPY_MODEL_dc21fa62c98c49999194bb3df413e739" | |
} | |
}, | |
"7f8f517fcc6440019761b95e3ffd0916": { | |
"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_389e49c2a6744e5d9bbe1f3243f001cf", | |
"placeholder": "", | |
"style": "IPY_MODEL_b822fb971ae54250b81452ed00630d7a", | |
"value": "model.safetensors: 100%" | |
} | |
}, | |
"1751f5b6c45d45d1931c02aa3b357eb0": { | |
"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_b72acc5dfce34dec93c48ef289b25e2a", | |
"max": 1629437147, | |
"min": 0, | |
"orientation": "horizontal", | |
"style": "IPY_MODEL_944f0ce3a1cf481eb226aeb9def7299a", | |
"value": 1629437147 | |
} | |
}, | |
"fd358cfb5608455d8efc2af34e444ed4": { | |
"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_2844ca716f164ec097c02049116f41b9", | |
"placeholder": "", | |
"style": "IPY_MODEL_592b12ddbfca45ebb8eb41253dd6e173", | |
"value": " 1.63G/1.63G [00:06<00:00, 257MB/s]" | |
} | |
}, | |
"dc21fa62c98c49999194bb3df413e739": { | |
"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 | |
} | |
}, | |
"389e49c2a6744e5d9bbe1f3243f001cf": { | |
"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 | |
} | |
}, | |
"b822fb971ae54250b81452ed00630d7a": { | |
"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": "" | |
} | |
}, | |
"b72acc5dfce34dec93c48ef289b25e2a": { | |
"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 | |
} | |
}, | |
"944f0ce3a1cf481eb226aeb9def7299a": { | |
"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": "" | |
} | |
}, | |
"2844ca716f164ec097c02049116f41b9": { | |
"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 | |
} | |
}, | |
"592b12ddbfca45ebb8eb41253dd6e173": { | |
"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": "" | |
} | |
}, | |
"6a2fcb78fe1041b6bb380200a625e282": { | |
"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_f1bb3981a6b44f54a745761427ea7f14", | |
"IPY_MODEL_ba5ead51c74645fd9a758d024eeaad2b", | |
"IPY_MODEL_25523b22e9a24ee88d04bbff11b5faaf" | |
], | |
"layout": "IPY_MODEL_537558361c674874b5bdd4a15a64c62e" | |
} | |
}, | |
"f1bb3981a6b44f54a745761427ea7f14": { | |
"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_0451b51d2794408b949e66408fa650dd", | |
"placeholder": "", | |
"style": "IPY_MODEL_2312509b12a147b99e78e02a1f1768e5", | |
"value": "tokenizer_config.json: 100%" | |
} | |
}, | |
"ba5ead51c74645fd9a758d024eeaad2b": { | |
"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_228813ea636f4c529c0e706bef6a390c", | |
"max": 26, | |
"min": 0, | |
"orientation": "horizontal", | |
"style": "IPY_MODEL_3a44a615a4bf47d79e1223a9302ea291", | |
"value": 26 | |
} | |
}, | |
"25523b22e9a24ee88d04bbff11b5faaf": { | |
"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_739220f9769544418666991882ea43fe", | |
"placeholder": "", | |
"style": "IPY_MODEL_04764c0c7a974d47b9459174ef399c6d", | |
"value": " 26.0/26.0 [00:00<00:00, 2.25kB/s]" | |
} | |
}, | |
"537558361c674874b5bdd4a15a64c62e": { | |
"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 | |
} | |
}, | |
"0451b51d2794408b949e66408fa650dd": { | |
"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 | |
} | |
}, | |
"2312509b12a147b99e78e02a1f1768e5": { | |
"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": "" | |
} | |
}, | |
"228813ea636f4c529c0e706bef6a390c": { | |
"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 | |
} | |
}, | |
"3a44a615a4bf47d79e1223a9302ea291": { | |
"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": "" | |
} | |
}, | |
"739220f9769544418666991882ea43fe": { | |
"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 | |
} | |
}, | |
"04764c0c7a974d47b9459174ef399c6d": { | |
"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": "" | |
} | |
}, | |
"e7441c7254e84e45b0877c737f9f74a8": { | |
"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_fcf17c7bb15648b892063c58bf73fef7", | |
"IPY_MODEL_9060bfc7c63d45cdaed709cee2f2fa46", | |
"IPY_MODEL_b299617790554e6b9375886e57f328b8" | |
], | |
"layout": "IPY_MODEL_f034ac050eea4fb5837e5b398e769a9d" | |
} | |
}, | |
"fcf17c7bb15648b892063c58bf73fef7": { | |
"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_92d16356b51a441e821313b3f6058308", | |
"placeholder": "", | |
"style": "IPY_MODEL_f280f8b3017943f9a1d0546d3477f47a", | |
"value": "vocab.json: 100%" | |
} | |
}, | |
"9060bfc7c63d45cdaed709cee2f2fa46": { | |
"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_7d4b0200eb21498da9cc03513dd23582", | |
"max": 898822, | |
"min": 0, | |
"orientation": "horizontal", | |
"style": "IPY_MODEL_7f72663c3a7647dcaf0f7363a37297e0", | |
"value": 898822 | |
} | |
}, | |
"b299617790554e6b9375886e57f328b8": { | |
"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_c61480e4d4bb4eeba3b7ba3a4a1074b0", | |
"placeholder": "", | |
"style": "IPY_MODEL_7d47af20bcb54db687db74d6f30b5a9e", | |
"value": " 899k/899k [00:00<00:00, 1.27MB/s]" | |
} | |
}, | |
"f034ac050eea4fb5837e5b398e769a9d": { | |
"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 | |
} | |
}, | |
"92d16356b51a441e821313b3f6058308": { | |
"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 | |
} | |
}, | |
"f280f8b3017943f9a1d0546d3477f47a": { | |
"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": "" | |
} | |
}, | |
"7d4b0200eb21498da9cc03513dd23582": { | |
"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 | |
} | |
}, | |
"7f72663c3a7647dcaf0f7363a37297e0": { | |
"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": "" | |
} | |
}, | |
"c61480e4d4bb4eeba3b7ba3a4a1074b0": { | |
"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 | |
} | |
}, | |
"7d47af20bcb54db687db74d6f30b5a9e": { | |
"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": "" | |
} | |
}, | |
"22c699e57761442194d52e033e4cac33": { | |
"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_594ea8126a114f3ea4b2e0f2785d3cab", | |
"IPY_MODEL_2dbce5f77ac846fc9faa4ad630de4853", | |
"IPY_MODEL_5f8ce585ba1f446487cf706d7c4708af" | |
], | |
"layout": "IPY_MODEL_635e6db878d849be8914d393f086d27c" | |
} | |
}, | |
"594ea8126a114f3ea4b2e0f2785d3cab": { | |
"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_dd6908adeb894bcab6d93a6432cbc3a7", | |
"placeholder": "", | |
"style": "IPY_MODEL_ac969bdd26f746109a91396f711875fa", | |
"value": "merges.txt: 100%" | |
} | |
}, | |
"2dbce5f77ac846fc9faa4ad630de4853": { | |
"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_6951eae1342c4ac99353a18f15a6d5a3", | |
"max": 456318, | |
"min": 0, | |
"orientation": "horizontal", | |
"style": "IPY_MODEL_5f26089634064fdba365279458aeca3a", | |
"value": 456318 | |
} | |
}, | |
"5f8ce585ba1f446487cf706d7c4708af": { | |
"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_7e48c3a4e77a4bb689080098fb09c83d", | |
"placeholder": "", | |
"style": "IPY_MODEL_f374552cbc7b458586738762af40373d", | |
"value": " 456k/456k [00:00<00:00, 1.85MB/s]" | |
} | |
}, | |
"635e6db878d849be8914d393f086d27c": { | |
"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 | |
} | |
}, | |
"dd6908adeb894bcab6d93a6432cbc3a7": { | |
"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 | |
} | |
}, | |
"ac969bdd26f746109a91396f711875fa": { | |
"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": "" | |
} | |
}, | |
"6951eae1342c4ac99353a18f15a6d5a3": { | |
"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 | |
} | |
}, | |
"5f26089634064fdba365279458aeca3a": { | |
"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": "" | |
} | |
}, | |
"7e48c3a4e77a4bb689080098fb09c83d": { | |
"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 | |
} | |
}, | |
"f374552cbc7b458586738762af40373d": { | |
"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": "" | |
} | |
}, | |
"ab22383930614e9f8d9df51b7b635dae": { | |
"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_afecc7318fef48e197f08704c9106d1b", | |
"IPY_MODEL_93a435ae6e40453ba8c4563773d08d0a", | |
"IPY_MODEL_f72ac79841d645a4a5b445f6415c6686" | |
], | |
"layout": "IPY_MODEL_579cf36ae88e4ec2a54a29a9589c39f8" | |
} | |
}, | |
"afecc7318fef48e197f08704c9106d1b": { | |
"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_e03fa717934345cdab8abc537d269a56", | |
"placeholder": "", | |
"style": "IPY_MODEL_ab787e8bc12d4c8e87a8c8cec53ae02c", | |
"value": "tokenizer.json: 100%" | |
} | |
}, | |
"93a435ae6e40453ba8c4563773d08d0a": { | |
"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_d2415f4e54b9453e90b723659b5649c4", | |
"max": 1355863, | |
"min": 0, | |
"orientation": "horizontal", | |
"style": "IPY_MODEL_67ec812a35e74ff69982f49a9e29a7cd", | |
"value": 1355863 | |
} | |
}, | |
"f72ac79841d645a4a5b445f6415c6686": { | |
"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_860c12fc0bb2498c8654b22ada3b62d0", | |
"placeholder": "", | |
"style": "IPY_MODEL_a935e766ad5d4840a9d0dbe395232bfe", | |
"value": " 1.36M/1.36M [00:00<00:00, 2.72MB/s]" | |
} | |
}, | |
"579cf36ae88e4ec2a54a29a9589c39f8": { | |
"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 | |
} | |
}, | |
"e03fa717934345cdab8abc537d269a56": { | |
"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 | |
} | |
}, | |
"ab787e8bc12d4c8e87a8c8cec53ae02c": { | |
"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": "" | |
} | |
}, | |
"d2415f4e54b9453e90b723659b5649c4": { | |
"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 | |
} | |
}, | |
"67ec812a35e74ff69982f49a9e29a7cd": { | |
"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": "" | |
} | |
}, | |
"860c12fc0bb2498c8654b22ada3b62d0": { | |
"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 | |
} | |
}, | |
"a935e766ad5d4840a9d0dbe395232bfe": { | |
"model_module": "@jupyter-widgets/controls", | |
"model_name": "DescriptionStyleModel", | |
"model_module_version": "1.5.0", | |
"state": { | |
"_model_module": "@jupyter-widgets/controls", | |
"_model_module_version": "1.5.0", | |
"_model_name": "DescriptionStyleModel", | |
"_view_count": null, | |
"_view_module": "@jupyter-widgets/base", | |
"_view_module_version": "1.2.0", | |
"_view_name": "StyleView", | |
"description_width": "" | |
} | |
} | |
} | |
} | |
}, | |
"cells": [ | |
{ | |
"cell_type": "markdown", | |
"metadata": { | |
"id": "view-in-github", | |
"colab_type": "text" | |
}, | |
"source": [ | |
"<a href=\"https://colab.research.google.com/gist/firmai/20ee53d3dd37eb622183c14d0ab6e90b/finbert-wandb.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"metadata": { | |
"colab": { | |
"base_uri": "https://localhost:8080/" | |
}, | |
"id": "HsNw7kzrWKA9", | |
"outputId": "9b2c724f-dfff-4488-9f8e-00d148e580de" | |
}, | |
"source": [ | |
"!git clone https://gist.github.com/c1a8c0359fbde2f6dcb92065b8ffc5e3.git" | |
], | |
"execution_count": 1, | |
"outputs": [ | |
{ | |
"output_type": "stream", | |
"name": "stdout", | |
"text": [ | |
"Cloning into 'c1a8c0359fbde2f6dcb92065b8ffc5e3'...\n", | |
"remote: Enumerating objects: 3, done.\u001b[K\n", | |
"remote: Total 3 (delta 0), reused 0 (delta 0), pack-reused 3\u001b[K\n", | |
"Receiving objects: 100% (3/3), 17.91 KiB | 17.91 MiB/s, done.\n" | |
] | |
} | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"metadata": { | |
"id": "UcIdpwL4DABS", | |
"colab": { | |
"base_uri": "https://localhost:8080/", | |
"height": 310 | |
}, | |
"outputId": "7185ebf6-f991-4061-d4d9-aed100a29bf3" | |
}, | |
"source": [ | |
"import pandas\n", | |
"\n", | |
"headlines_df = pandas.read_csv('c1a8c0359fbde2f6dcb92065b8ffc5e3/300_stock_headlines.csv')\n", | |
"headlines_df.head(5)" | |
], | |
"execution_count": 2, | |
"outputs": [ | |
{ | |
"output_type": "execute_result", | |
"data": { | |
"text/plain": [ | |
" Unnamed: 0.1 Unnamed: 0 \\\n", | |
"0 0 2 \n", | |
"1 1 3 \n", | |
"2 2 4 \n", | |
"3 3 5 \n", | |
"4 4 6 \n", | |
"\n", | |
" headline \\\n", | |
"0 Agilent Technologies Announces Pricing of $5……... \n", | |
"1 Agilent (A) Gears Up for Q2 Earnings: What's i... \n", | |
"2 J.P. Morgan Asset Management Announces Liquida... \n", | |
"3 Pershing Square Capital Management, L.P. Buys ... \n", | |
"4 Agilent Awards Trilogy Sciences with a Golden ... \n", | |
"\n", | |
" url publisher \\\n", | |
"0 http://www.gurufocus.com/news/1153187/agilent-... GuruFocus \n", | |
"1 http://www.zacks.com/stock/news/931205/agilent... Zacks \n", | |
"2 http://www.gurufocus.com/news/1138923/jp-morga... GuruFocus \n", | |
"3 http://www.gurufocus.com/news/1138704/pershing... GuruFocus \n", | |
"4 http://www.gurufocus.com/news/1134012/agilent-... GuruFocus \n", | |
"\n", | |
" date stock \n", | |
"0 2020-06-01 00:00:00 A \n", | |
"1 2020-05-18 00:00:00 A \n", | |
"2 2020-05-15 00:00:00 A \n", | |
"3 2020-05-15 00:00:00 A \n", | |
"4 2020-05-12 00:00:00 A " | |
], | |
"text/html": [ | |
"\n", | |
" <div id=\"df-a4d06713-b7fb-4688-a3cd-598e79a29269\" class=\"colab-df-container\">\n", | |
" <div>\n", | |
"<style scoped>\n", | |
" .dataframe tbody tr th:only-of-type {\n", | |
" vertical-align: middle;\n", | |
" }\n", | |
"\n", | |
" .dataframe tbody tr th {\n", | |
" vertical-align: top;\n", | |
" }\n", | |
"\n", | |
" .dataframe thead th {\n", | |
" text-align: right;\n", | |
" }\n", | |
"</style>\n", | |
"<table border=\"1\" class=\"dataframe\">\n", | |
" <thead>\n", | |
" <tr style=\"text-align: right;\">\n", | |
" <th></th>\n", | |
" <th>Unnamed: 0.1</th>\n", | |
" <th>Unnamed: 0</th>\n", | |
" <th>headline</th>\n", | |
" <th>url</th>\n", | |
" <th>publisher</th>\n", | |
" <th>date</th>\n", | |
" <th>stock</th>\n", | |
" </tr>\n", | |
" </thead>\n", | |
" <tbody>\n", | |
" <tr>\n", | |
" <th>0</th>\n", | |
" <td>0</td>\n", | |
" <td>2</td>\n", | |
" <td>Agilent Technologies Announces Pricing of $5……...</td>\n", | |
" <td>http://www.gurufocus.com/news/1153187/agilent-...</td>\n", | |
" <td>GuruFocus</td>\n", | |
" <td>2020-06-01 00:00:00</td>\n", | |
" <td>A</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>1</th>\n", | |
" <td>1</td>\n", | |
" <td>3</td>\n", | |
" <td>Agilent (A) Gears Up for Q2 Earnings: What's i...</td>\n", | |
" <td>http://www.zacks.com/stock/news/931205/agilent...</td>\n", | |
" <td>Zacks</td>\n", | |
" <td>2020-05-18 00:00:00</td>\n", | |
" <td>A</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>2</th>\n", | |
" <td>2</td>\n", | |
" <td>4</td>\n", | |
" <td>J.P. Morgan Asset Management Announces Liquida...</td>\n", | |
" <td>http://www.gurufocus.com/news/1138923/jp-morga...</td>\n", | |
" <td>GuruFocus</td>\n", | |
" <td>2020-05-15 00:00:00</td>\n", | |
" <td>A</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>3</th>\n", | |
" <td>3</td>\n", | |
" <td>5</td>\n", | |
" <td>Pershing Square Capital Management, L.P. Buys ...</td>\n", | |
" <td>http://www.gurufocus.com/news/1138704/pershing...</td>\n", | |
" <td>GuruFocus</td>\n", | |
" <td>2020-05-15 00:00:00</td>\n", | |
" <td>A</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>4</th>\n", | |
" <td>4</td>\n", | |
" <td>6</td>\n", | |
" <td>Agilent Awards Trilogy Sciences with a Golden ...</td>\n", | |
" <td>http://www.gurufocus.com/news/1134012/agilent-...</td>\n", | |
" <td>GuruFocus</td>\n", | |
" <td>2020-05-12 00:00:00</td>\n", | |
" <td>A</td>\n", | |
" </tr>\n", | |
" </tbody>\n", | |
"</table>\n", | |
"</div>\n", | |
" <div class=\"colab-df-buttons\">\n", | |
"\n", | |
" <div class=\"colab-df-container\">\n", | |
" <button class=\"colab-df-convert\" onclick=\"convertToInteractive('df-a4d06713-b7fb-4688-a3cd-598e79a29269')\"\n", | |
" title=\"Convert this dataframe to an interactive table.\"\n", | |
" style=\"display:none;\">\n", | |
"\n", | |
" <svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24px\" viewBox=\"0 -960 960 960\">\n", | |
" <path d=\"M120-120v-720h720v720H120Zm60-500h600v-160H180v160Zm220 220h160v-160H400v160Zm0 220h160v-160H400v160ZM180-400h160v-160H180v160Zm440 0h160v-160H620v160ZM180-180h160v-160H180v160Zm440 0h160v-160H620v160Z\"/>\n", | |
" </svg>\n", | |
" </button>\n", | |
"\n", | |
" <style>\n", | |
" .colab-df-container {\n", | |
" display:flex;\n", | |
" gap: 12px;\n", | |
" }\n", | |
"\n", | |
" .colab-df-convert {\n", | |
" background-color: #E8F0FE;\n", | |
" border: none;\n", | |
" border-radius: 50%;\n", | |
" cursor: pointer;\n", | |
" display: none;\n", | |
" fill: #1967D2;\n", | |
" height: 32px;\n", | |
" padding: 0 0 0 0;\n", | |
" width: 32px;\n", | |
" }\n", | |
"\n", | |
" .colab-df-convert:hover {\n", | |
" background-color: #E2EBFA;\n", | |
" box-shadow: 0px 1px 2px rgba(60, 64, 67, 0.3), 0px 1px 3px 1px rgba(60, 64, 67, 0.15);\n", | |
" fill: #174EA6;\n", | |
" }\n", | |
"\n", | |
" .colab-df-buttons div {\n", | |
" margin-bottom: 4px;\n", | |
" }\n", | |
"\n", | |
" [theme=dark] .colab-df-convert {\n", | |
" background-color: #3B4455;\n", | |
" fill: #D2E3FC;\n", | |
" }\n", | |
"\n", | |
" [theme=dark] .colab-df-convert:hover {\n", | |
" background-color: #434B5C;\n", | |
" box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.15);\n", | |
" filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.3));\n", | |
" fill: #FFFFFF;\n", | |
" }\n", | |
" </style>\n", | |
"\n", | |
" <script>\n", | |
" const buttonEl =\n", | |
" document.querySelector('#df-a4d06713-b7fb-4688-a3cd-598e79a29269 button.colab-df-convert');\n", | |
" buttonEl.style.display =\n", | |
" google.colab.kernel.accessAllowed ? 'block' : 'none';\n", | |
"\n", | |
" async function convertToInteractive(key) {\n", | |
" const element = document.querySelector('#df-a4d06713-b7fb-4688-a3cd-598e79a29269');\n", | |
" const dataTable =\n", | |
" await google.colab.kernel.invokeFunction('convertToInteractive',\n", | |
" [key], {});\n", | |
" if (!dataTable) return;\n", | |
"\n", | |
" const docLinkHtml = 'Like what you see? Visit the ' +\n", | |
" '<a target=\"_blank\" href=https://colab.research.google.com/notebooks/data_table.ipynb>data table notebook</a>'\n", | |
" + ' to learn more about interactive tables.';\n", | |
" element.innerHTML = '';\n", | |
" dataTable['output_type'] = 'display_data';\n", | |
" await google.colab.output.renderOutput(dataTable, element);\n", | |
" const docLink = document.createElement('div');\n", | |
" docLink.innerHTML = docLinkHtml;\n", | |
" element.appendChild(docLink);\n", | |
" }\n", | |
" </script>\n", | |
" </div>\n", | |
"\n", | |
"\n", | |
"<div id=\"df-2534dd5e-37de-42cc-8e29-69c097892056\">\n", | |
" <button class=\"colab-df-quickchart\" onclick=\"quickchart('df-2534dd5e-37de-42cc-8e29-69c097892056')\"\n", | |
" title=\"Suggest charts\"\n", | |
" style=\"display:none;\">\n", | |
"\n", | |
"<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24px\"viewBox=\"0 0 24 24\"\n", | |
" width=\"24px\">\n", | |
" <g>\n", | |
" <path d=\"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 17H7v-7h2v7zm4 0h-2V7h2v10zm4 0h-2v-4h2v4z\"/>\n", | |
" </g>\n", | |
"</svg>\n", | |
" </button>\n", | |
"\n", | |
"<style>\n", | |
" .colab-df-quickchart {\n", | |
" --bg-color: #E8F0FE;\n", | |
" --fill-color: #1967D2;\n", | |
" --hover-bg-color: #E2EBFA;\n", | |
" --hover-fill-color: #174EA6;\n", | |
" --disabled-fill-color: #AAA;\n", | |
" --disabled-bg-color: #DDD;\n", | |
" }\n", | |
"\n", | |
" [theme=dark] .colab-df-quickchart {\n", | |
" --bg-color: #3B4455;\n", | |
" --fill-color: #D2E3FC;\n", | |
" --hover-bg-color: #434B5C;\n", | |
" --hover-fill-color: #FFFFFF;\n", | |
" --disabled-bg-color: #3B4455;\n", | |
" --disabled-fill-color: #666;\n", | |
" }\n", | |
"\n", | |
" .colab-df-quickchart {\n", | |
" background-color: var(--bg-color);\n", | |
" border: none;\n", | |
" border-radius: 50%;\n", | |
" cursor: pointer;\n", | |
" display: none;\n", | |
" fill: var(--fill-color);\n", | |
" height: 32px;\n", | |
" padding: 0;\n", | |
" width: 32px;\n", | |
" }\n", | |
"\n", | |
" .colab-df-quickchart:hover {\n", | |
" background-color: var(--hover-bg-color);\n", | |
" box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);\n", | |
" fill: var(--button-hover-fill-color);\n", | |
" }\n", | |
"\n", | |
" .colab-df-quickchart-complete:disabled,\n", | |
" .colab-df-quickchart-complete:disabled:hover {\n", | |
" background-color: var(--disabled-bg-color);\n", | |
" fill: var(--disabled-fill-color);\n", | |
" box-shadow: none;\n", | |
" }\n", | |
"\n", | |
" .colab-df-spinner {\n", | |
" border: 2px solid var(--fill-color);\n", | |
" border-color: transparent;\n", | |
" border-bottom-color: var(--fill-color);\n", | |
" animation:\n", | |
" spin 1s steps(1) infinite;\n", | |
" }\n", | |
"\n", | |
" @keyframes spin {\n", | |
" 0% {\n", | |
" border-color: transparent;\n", | |
" border-bottom-color: var(--fill-color);\n", | |
" border-left-color: var(--fill-color);\n", | |
" }\n", | |
" 20% {\n", | |
" border-color: transparent;\n", | |
" border-left-color: var(--fill-color);\n", | |
" border-top-color: var(--fill-color);\n", | |
" }\n", | |
" 30% {\n", | |
" border-color: transparent;\n", | |
" border-left-color: var(--fill-color);\n", | |
" border-top-color: var(--fill-color);\n", | |
" border-right-color: var(--fill-color);\n", | |
" }\n", | |
" 40% {\n", | |
" border-color: transparent;\n", | |
" border-right-color: var(--fill-color);\n", | |
" border-top-color: var(--fill-color);\n", | |
" }\n", | |
" 60% {\n", | |
" border-color: transparent;\n", | |
" border-right-color: var(--fill-color);\n", | |
" }\n", | |
" 80% {\n", | |
" border-color: transparent;\n", | |
" border-right-color: var(--fill-color);\n", | |
" border-bottom-color: var(--fill-color);\n", | |
" }\n", | |
" 90% {\n", | |
" border-color: transparent;\n", | |
" border-bottom-color: var(--fill-color);\n", | |
" }\n", | |
" }\n", | |
"</style>\n", | |
"\n", | |
" <script>\n", | |
" async function quickchart(key) {\n", | |
" const quickchartButtonEl =\n", | |
" document.querySelector('#' + key + ' button');\n", | |
" quickchartButtonEl.disabled = true; // To prevent multiple clicks.\n", | |
" quickchartButtonEl.classList.add('colab-df-spinner');\n", | |
" try {\n", | |
" const charts = await google.colab.kernel.invokeFunction(\n", | |
" 'suggestCharts', [key], {});\n", | |
" } catch (error) {\n", | |
" console.error('Error during call to suggestCharts:', error);\n", | |
" }\n", | |
" quickchartButtonEl.classList.remove('colab-df-spinner');\n", | |
" quickchartButtonEl.classList.add('colab-df-quickchart-complete');\n", | |
" }\n", | |
" (() => {\n", | |
" let quickchartButtonEl =\n", | |
" document.querySelector('#df-2534dd5e-37de-42cc-8e29-69c097892056 button');\n", | |
" quickchartButtonEl.style.display =\n", | |
" google.colab.kernel.accessAllowed ? 'block' : 'none';\n", | |
" })();\n", | |
" </script>\n", | |
"</div>\n", | |
"\n", | |
" </div>\n", | |
" </div>\n" | |
], | |
"application/vnd.google.colaboratory.intrinsic+json": { | |
"type": "dataframe", | |
"variable_name": "headlines_df", | |
"summary": "{\n \"name\": \"headlines_df\",\n \"rows\": 300,\n \"fields\": [\n {\n \"column\": \"Unnamed: 0.1\",\n \"properties\": {\n \"dtype\": \"number\",\n \"std\": 86,\n \"min\": 0,\n \"max\": 299,\n \"num_unique_values\": 300,\n \"samples\": [\n 203,\n 266,\n 152\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"Unnamed: 0\",\n \"properties\": {\n \"dtype\": \"number\",\n \"std\": 86,\n \"min\": 2,\n \"max\": 301,\n \"num_unique_values\": 300,\n \"samples\": [\n 205,\n 268,\n 154\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"headline\",\n \"properties\": {\n \"dtype\": \"string\",\n \"num_unique_values\": 287,\n \"samples\": [\n \"Teacher Retirement System Of Texas Buys Hologic Inc, Vanguard Total Stock Market, Agilent ...\",\n \"Tracking William Von Mueffling's Cantillon Capital Management Portfolio - Q4 2018 Update\",\n \"Wall Street Tumbles Following Yield Curve Inversion\"\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"url\",\n \"properties\": {\n \"dtype\": \"string\",\n \"num_unique_values\": 298,\n \"samples\": [\n \"https://seekingalpha.com/article/4278541-tracking-william-von-muefflings-cantillon-capital-management-portfolio-q2-2019-update?source=partner_benzinga\",\n \"https://www.benzinga.com/node/13011151\",\n \"https://seekingalpha.com/news/3435290-agilent-fq1-non-gaap-earnings-13-percent-soft-guidance-pressures-shares-4-percent-hours?source=partner_benzinga\"\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"publisher\",\n \"properties\": {\n \"dtype\": \"category\",\n \"num_unique_values\": 5,\n \"samples\": [\n \"Zacks\",\n \"Seeking Alpha\",\n \"Investor's Business Daily\"\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"date\",\n \"properties\": {\n \"dtype\": \"object\",\n \"num_unique_values\": 183,\n \"samples\": [\n \"2020-03-19 00:00:00\",\n \"2019-12-13 00:00:00\",\n \"2019-02-17 00:00:00\"\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"stock\",\n \"properties\": {\n \"dtype\": \"category\",\n \"num_unique_values\": 1,\n \"samples\": [\n \"A\"\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n }\n ]\n}" | |
} | |
}, | |
"metadata": {}, | |
"execution_count": 2 | |
} | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"metadata": { | |
"id": "ADwlnmtmHBxp", | |
"colab": { | |
"base_uri": "https://localhost:8080/" | |
}, | |
"outputId": "cd697d21-40cf-4d49-e549-1f245f8763b6" | |
}, | |
"source": [ | |
"import numpy as np\n", | |
"\n", | |
"headlines_array = np.array(headlines_df)\n", | |
"np.random.shuffle(headlines_array)\n", | |
"headlines_list = list(headlines_array[:,2])\n", | |
"\n", | |
"print(headlines_list)" | |
], | |
"execution_count": 3, | |
"outputs": [ | |
{ | |
"output_type": "stream", | |
"name": "stdout", | |
"text": [ | |
"[\"Square (SQ) to Report Q1 Earnings: What's in the Offing?\", '6 Stocks Beating the Market', 'Fortive (FTV) Earnings & Revenues Surpass Estimates in Q4', 'Agilent declares $0.164 dividend', 'Agilent Technologies (A) Q2 Earnings and Revenues Miss Estimates', \"Agilent (A) Upgraded to Buy: Here's Why\", 'Dividend Challenger Highlights: Week Of November 24', 'Agilent FQ4 top line up 9%; earnings up 10%', 'A, CSCO, NTAP and WPG among after hour movers', 'Stocks With Rising Relative Strength: Agilent Technologies', 'Dean Capital Investments Management, LLC Buys The Chemours Co, Delek US Holdings Inc, Alcoa ...', 'When Does Market Timing Actually Work? - November 01, 2019', 'Lgt Capital Partners Ltd. Buys UnitedHealth Group Inc, Alphabet Inc, Agilent Technologies Inc, ...', 'Parnassus Fund Buys KLA Corp, Agilent Technologies Inc, Square Inc, Sells Alliance Data Systems ...', 'Agilent Technologies Announces Pricing of $5…… Million of Senior Notes', \"Top Research Reports for McDonald's, CVS Health & Celgene\", \"John Templeton's Investment Philosophy\", 'Parnassus Endeavor Fund Buys FedEx Corp, VF Corp, Expeditors International of Washington Inc, ...', 'Cookson Peirce & Co Inc Buys Eli Lilly and Co, Vertex Pharmaceuticals Inc, Netflix Inc, ...', 'Agilent Technologies Inc. 2019 Q1 - Results - Earnings Call Slides', 'MercadoLibre (MELI) Q1 Earnings & Revenues Beat Estimates', 'Wall Street Breakfast: Trade Deadline And Fed Meeting', \"Alibaba (BABA) Gears Up for Q4 Earnings: What's in Store?\", \"Factors Likely to Decide JD.com's (JD) Fate in Q1 Earnings\", \"Etsy (ETSY) to Report Q1 Earnings: What's in the Cards?\", 'Agilent Announces Receipt of FDA Approval for pharmDX Assay', 'Agilent to acquire BioTek for $1.165B', 'Krueger & Catalano Capital Partners, LLC Buys Bristol-Myers Squibb Company, Agilent ...', 'Bessemer Securities Llc Buys Facebook Inc, Texas Instruments Inc, Bank of America Corporation, ...', 'Tiemann Investment Advisors, Llc Buys SPDR Barclays Convertible Securities ETF, D.R. ...', 'Eyes On Cyber Monday, Argentina And Mars (Stocks To Watch Podcast)', 'Agilent declares $0.164 dividend', 'Agilent misses by $0.01, misses on revenue', 'Agilent Technologies Inc. 2018 Q4 - Results - Earnings Call Slides', 'Stock Futures Plunge as Recession Fears Intensify', \"Tracking William Von Mueffling's Cantillon Capital Management Portfolio - Q3 2018 Update\", \"Pegasystems (PEGA) to Report Q1 Earnings: What's in Store?\", 'Mechanics Bank Trust Department Buys SPDR Wells Fargo Preferred Stock ETF, Huntington ...', \"Fiber Optic Sensor Market - The Mastermind Behind Today's Technology\", \"Trimble's (TRMB) Q1 Earnings Miss Estimates, Revenues Up Y/Y\", 'Earnings Heat Check (Stocks To Watch Podcast)', 'Agilent to Acquire BioTek, Cell Analysis Portfolio to Expand', 'Trimble Strengthens Forestry Division With 3LOG Acquisition', 'Beaconlight Capital, Llc Buys Fortune Brands Home & Security Inc, Hasbro Inc, KAR Auction ...', 'Epoch Investment Partners, Inc. Buys KKR Inc, Coca-Cola Co, Huntington Ingalls Industries Inc, ...', 'Agilent (A) Surpasses Earnings and Revenue Estimates in Q1', 'Agilent Technologies Inc (A) CEO and President Michael R. Mcmullen Sold $–.– million of Shares', 'Royal London Asset Management Ltd Buys Apple Inc, Amazon. ...', \"The Dow Jones Industrial Average Will Lose 400 Points On Today's Inverted Yield Curve\", \"What's in Store for The Meet Group (MEET) in Q1 Earnings?\", 'Agilent Technologies (A) Earnings Expected to Grow: Should You Buy?', 'Agilent Q2 2019 Earnings Preview', 'Private Bank & Trust Co Buys Agilent Technologies Inc, Alibaba Group Holding, Icon PLC, ...', 'Clean Yield Group Buys Healthcare Trust of America Inc, Lakeland Financial Corp, U.S. ...', 'Wunderlich Capital Managemnt Buys ServiceNow Inc, Truist Financial Corp, Agilent Technologies ...', 'Top Ranked Momentum Stocks to Buy for February 25th', 'Morning Call For Tuesday, Nov. 20', 'Retailers, Dubai Airshow And Cybertrucks (Stocks To Watch Podcast)', 'Agilent Technologies, Inc. (A) CEO Mike McMullen on Q4 2019 Results - Earnings Call Transcript', 'Agilent launches debt offering', 'Eaton Vance Exits Celgene, Trims Amgen Position', 'Agilent Q4 2019 Earnings Preview', 'Twin Capital Management Inc Buys Agilent Technologies Inc, Fortinet Inc, Cboe Global Markets ...', 'Agilent Q3 2019 Earnings Preview', 'Dividend Challenger Highlights: Week Of October 20', 'Bill Ackman on Agilent Technologies', 'Agilent Technologies (A) Earnings Expected to Grow: Should You Buy?', 'Stocks To Watch: Paint It Black', 'Top Five Weekend Stock Stories - Jan. 20', 'What Makes Agilent (A) a New Buy Stock', 'Stocks To Watch: Retailers, Dubai Airshow And Cybertrucks', 'Agilent: 2 Decades Of Portfolio Moves Left Investors With A Good Business', 'Agilent Technologies Inc (A) CEO and President Michael R. Mcmullen Sold $–.4 million of Shares', \"Acquisition Boosts Exact Sciences' Role in Cancer Diagnostics\", 'Itron (ITRI) Earnings and Revenues Surpass Estimates in Q1', 'Hendley & Co Inc Buys American Electric Power Co Inc, Agilent Technologies Inc, Paychex ...', \"Agilent (A) Gears Up for Q1 Earnings: What's in the Cards?\", \"What's in the Offing for Mettler-Toledo's (MTD) Q1 Earnings?\", 'Agilent completes BioTek buy', 'Week In Review: CStone Pharma, A Suzhou Oncology Company, Files For Hong Kong IPO', 'Thermo Fisher: Stellar Results Year After Year', 'Agilent (A) Surpasses Earnings and Revenue Estimates in Q4', 'Stocks Rise Along with the Tariffs. Go Figure!', 'Lgt Capital Partners Ltd. Buys Microsoft Corp, Stryker Corp, The Estee Lauder Inc, Sells ...', 'BMO likes Amgen and Gilead in premarket analyst action', 'Dividend Increases: November 18-22, 2019', 'Parnassus Endeavor Fund Buys Alaska Air Group Inc, Arista Networks Inc, Charles Schwab Corp, ...', 'Fairpointe Capital LLC Buys Agilent Technologies Inc, Magna International Inc, iShares MSCI ...', 'Market-Beating Sector ETFs Year to Date', 'TD Asset Management Inc Buys TC Energy Corp, iShares iBoxx $ High Yield Corporate Bond ETF, ...', \"Tracking William von Mueffling's Cantillon Capital Management Portfolio - Q2 2019 Update\", \"Parnassus Endeavor Fund Buys 4 Stocks in 'rd Quarter\", \"What's in the Cards for Zillow Group (ZG) in Q1 Earnings?\", 'How to Time the Markets Like an Investing Pro - October 10, 2019', \"Pegasystems (PEGA) to Report Q1 Earnings: What's in Store?\", 'Stocks To Watch: Walmart And Alibaba Step To The Plate', 'Agilent Technologies, Inc. 2019 Q4 - Results - Earnings Call Presentation', 'Electronics Testing Equipment Outlook: Solid Demand Ahead', 'Oppenheimer likes Millendo Therapeutics in premarket analyst action', 'Agilent: An Excellent Company At Average Price', \"Needham sees 27% upside in Thermo Fisher in today's analyst action\", '5G Wireless Networks Give This Communications Test Gear Maker A Lift', \"Top –st-Quarter Buys of Jerome Dodson's Parnassus Fund\", 'Lgt Capital Partners Ltd. Buys UnitedHealth Group Inc, Alphabet Inc, Ross Stores Inc, Sells ...', 'Agilent EPS beats by $0.04, beats on revenue', 'Barclays bearish on Teva, sees 14% downside risk in premarket analyst action', \"Notable earnings after Tuesday's close\", 'Agilent Introduces CrossLab Connect Services for Lab-wide Asset Monitoring', 'Timing the Market, Is it Possible? - January 10, 2020', \"What To Expect From Agilent's Earnings\", 'Agilent (A) Withdraws Q2 & FY20 View Amid Coronavirus Crisis', 'Stock Upgrades: Agilent Technologies Shows Rising Relative Strength', \"Bill Ackman's Pershing Square Releases Letter to Investors\", 'Agilent Technologies Sees RS Rating Improve To 76', 'BlueSpruce Investments, LP Buys Ross Stores Inc, TJX Inc, Comcast Corp, Sells Constellation ...', 'Agilent (A) Hikes Quarterly Dividend, Rewards Shareholders', 'IBD Stock Of The Day: This Company Gets A Lift From Its 5G Rollout', 'Agilent Technologies Hitting Lower Rail Of Upwardly Sloped Trend Channel Ahead Of Earnings', 'Stocks With Rising Relative Strength: Agilent Technologies', 'The Top Large-Cap Sectors, Industries, And Stocks To Buy Now', \"Dropbox (DBX) to Report Q1 Earnings: What's in the Offing?\", \"Tencent (TCEHY) to Report Q4 Earnings: What's in the Cards?\", \"Bill Ackman's Pershing Square —…–9 Annual Letter to Shareholders\", 'Agilent Technologies (A) Gains As Market Dips: What You Should Know', \"Factors to Consider Ahead of eGain's (EGAN) Q3 Earnings\", 'Agilent declares $0.18 dividend', 'GoDaddy (GDDY) Q4 Earnings Miss Estimates, Revenues Beat', 'Healthcare And Biotechnology Dashboard - Update', 'Paint It Black (Stocks To Watch Podcast)', '33 Firms Going Ex-Dividend Next Week, Including Comcast, JP Morgan And Cisco Systems', 'Catalyst Capital Advisors LLC Buys Aflac Inc, Agilent Technologies Inc, Cree Inc, Sells Amgen ...', 'How to Time the Markets Like an Investing Pro - February 20, 2020', 'Spotlight On Alibaba, Best Buy And DuPont (Stocks To Watch Podcast)', \"Agilent Technologies, Inc.'s (A) CEO Mike McMullen on Q1 2019 Results - Earnings Call Transcript\", 'Wells sees 33% upside in Gilead in premarket analyst action', 'Agilent Technologies Inc (A) CEO and President Michael R. Mcmullen Sold $4 million of Shares', \"Illumina's Growth Shows No Signs of Slowing Down\", 'Investor Expectations to Drive Momentum within Entercom Communications, PPL, Clean Energy ...', \"Bill Ackman's Pershing Square Packs Into Agilent\", 'Agilent Technologies, Inc. (A) CEO Mike McMullen on Q2 2019 Results - Earnings Call Transcript', 'Bullish Quintet', 'Why Is Agilent (A) Down 19.3% Since Last Earnings Report?', \"What's in Store for AMETEK (AME) This Earnings Season?\", 'Stocks For You To Swing-Trade: TTWO, A, ROP', 'Stock Chart Breakdown Alert: Agilent Tech (A)', 'Agilent on watch after positive EU drug development', 'Why the Earnings Surprise Streak Could Continue for Agilent (A)', 'Why Is Agilent (A) Up 5.3% Since Last Earnings Report?', 'Pershing Square Capital Management, L.P. Buys Agilent Technologies Inc, The Howard Hughes Corp, ...', 'Stocks To Watch: Spotlight On Alibaba, Best Buy And DuPont', 'Agilent declares $0.164 dividend', '4 Stocks to Focus on Global Biotechnology Reagents Market', 'Pershing Square Capital Management, L.P. Buys Agilent Technologies Inc, Sells Automatic Data ...', 'Troy Asset Management Ltd Buys Agilent Technologies Inc, Mastercard Inc, Cisco Systems Inc, ...', \"The Zacks Analyst Blog Highlights: McDonald's, CVS Health, Celgene, Coca-Cola and Agilent\", 'Agilent (A) Earnings and Revenues Surpass Estimates in Q4', 'Stonehage Fleming Financial Services Holdings Ltd Buys Autoliv Inc, Walmart Inc, Uber ...', 'Spotlight On Walmart, Samsung And CAGNY (Stocks To Watch Podcast)', 'Agilent down 8% after hours on FQ2 miss, revenue guidance cut', \"TE Connectivity (TEL) Q1 Earnings: What's in the Cards?\", 'Will Agilent (A) Beat Estimates Again in Its Next Earnings Report?', 'Calamos Wealth Management Llc Buys Amazon. ...', \"Tracking William Von Mueffling's Cantillon Capital Management Portfolio - Q3 2019 Update\", '21 Upcoming Dividend Increases To Round Out 2018', 'Clearfield Capital Management Lp Buys Insperity Inc, Square Inc, Agilent Technologies Inc, ...', 'Agilent (A) Earnings and Revenues Beat Estimates in Q3', 'Why Is Agilent (A) Up 3.9% Since Last Earnings Report?', 'Agilent declares $0.164 dividend', 'Twist Bio down 14% on expanded Agilent complaint over alleged theft of trade secrets', 'Mettler-Toledo (MTD) Earnings & Revenues Top Estimates in Q1', \"Notable earnings after Monday's close\", 'Synaptics (SYNA) Q3 Earnings: Will the Stock Disappoint?', \"Notable earnings after Monday's close\", 'Expedia Group (EXPE) Q1 Earnings Top, Revenues Lag Estimates', 'AMETEK (AME) Q1 Earnings and Revenues Surpass Estimates', '6 Guru Stocks Trading With Low Price-Sales Ratios', \"Agilent (A) Gears Up for Q2 Earnings: What's in the Cards?\", \"Pareteum (TEUM) to Post Q1 Earnings: What's in the Cards?\", 'Why Is Agilent (A) Up 5.4% Since Last Earnings Report?', \"Bruker To Buy Freiberg Instruments' Magnettech EPR Business\", 'Agilent FQ1 non-GAAP earnings up 13%; soft guidance pressures shares, down 4% after hours', 'Agilent launches new QC system for next-gen sequencing', 'Agilent Awards Trilogy Sciences with a Golden Ticket at LabCentral', 'Agilent Technologies (A) Surpasses Q4 Earnings and Revenue Estimates', 'Cypress Looks to Gain Traction With New USB-C Controller', 'Earnings Watch: PANW Stock Rallies Ahead Of Results; Retail Leader Forms Bullish Base', 'Walmart And Alibaba Step To The Plate (Stocks To Watch Podcast)', 'Agilent up 5% on FQ3 beat, lower end of guidance raise', 'Advanced Energy (AEIS) Q1 Earnings Beat, Revenues Down Y/Y', 'Cypress Asset Management Inc Buys Verizon Communications Inc, United Parcel Service Inc, ...', 'Oxford Asset Management Buys Federal Street Acquisition Corp, Tesaro Inc, BHP Group PLC, Sells ...', 'Tense About Trade War? Follow Goldman With 5 ETF Strategies', 'ACB and A among premarket losers', 'J.P. Morgan Asset Management Announces Liquidation of Six Exchange-Traded Funds', 'Dividend Challenger Highlights: Week Of July 21', 'Agilent Technologies Meets 80-Plus Relative Strength Rating Benchmark', 'Agilent Technologies (A) CEO Mike McMullen on Q4 2018 Results - Earnings Call Transcript', 'Square (SQ) Surpasses Q4 Earnings and Revenue Estimates', 'Agilent Technologies to Change Location of Annual Meeting', \"What's in Store for The Meet Group (MEET) in Q1 Earnings?\", 'The Market Timing Secrets No One Talks About - December 17, 2019', 'Simple Market Timing Strategies That Work - September 17, 2019', '3 Things to Know About Q4 Earnings Season', 'MACOM (MTSI) Q2 Loss Wider Than Expected, Revenues Fall Y/Y', 'Agilent Technologies (A) Earnings Expected to Grow: Should You Buy?', 'Top 5 Buys of the Signature Select Canadian Fund', 'Agilent (A) Up 11.5% Since Last Earnings Report: Can It Continue?', 'IBD Stock Of The Day Keysight Technologies Hits Buy Zone As Wall Street Cheers 5G-Driven Growth', \"Bill Ackman's Pershing Square: 4th-Quarter Update\", \"Can New Offerings & Buyouts Aid Cisco's (CSCO) Q3 Earnings?\", 'Applied Materials (AMAT) Q1 Earnings & Sales Top Estimates', 'Best Large-Cap Stocks To Buy Now', 'Booking Holdings (BKNG) Q4 Earnings & Revenues Beat Estimates', 'Stocks To Watch: Earnings Heat Check', 'Agilent Technologies (A) is a Great Momentum Stock: Should You Buy?', 'Agilent Technologies Sees RS Rating Climb To 74', 'Will Lower Revenues Affect CommScope (COMM) Q1 Earnings?', 'Agilent launches new water quality analyzer', 'Stock Upgrades: Agilent Technologies Shows Rising Relative Strength', \"Parnassus Endeavor Fund Adds ' Stocks to Portfolio in –st Quarter\", 'Agilent EPS beats by $0.03, misses on revenue', 'Trimble Strengthens Agriculture Portfolio with Weedseeker 2', 'Agilent Technologies to Adjourn Annual Meeting Until April –7, —…—…', \"Tracking William Von Mueffling's Cantillon Capital Management Portfolio - Q4 2018 Update\", 'Agilent Technologies (A) Tops Q3 Earnings and Revenue Estimates', 'Stifel likes Illumina in premarket analyst action', 'Amtek (AME) Hits Fresh High: Is There Still Room to Run?', 'Agilent Technologies, Inc. (A) CEO Michael McMullen on Q3 2019 Results - Earnings Call Transcript', 'Sit Investment Associates Inc Buys United Technologies Corp, Corning Inc, Comcast Corp, Sells ...', 'Hedge Funds Have Never Been This Bullish On Xilinx, Inc.', 'Agilent Technologies Inc (A) CEO and President Michael R. Mcmullen Sold $67–,6—7 of Shares', 'FDA OKs Agilent companion diagnostic for Keytruda in HNSCC', 'Stock Upgrades: Agilent Technologies Shows Rising Relative Strength', 'Wall Street Tumbles Following Yield Curve Inversion', \"Napier Park Global Capital LLC Buys Invesco Senior Loan, Agilent Technologies Inc, Lowe's Inc, ...\", '50 Firms Going Ex-Dividend Next Week, Including Cardinal Health, JP Morgan Chase And Comcast', 'Agilent Technologies (A) Reports Next Week: Wall Street Expects Earnings Growth', '29 Firms Going Ex-Dividend Next Week, Including Comcast, Cisco And JP Morgan', 'Parnassus Endeavor Fund Invests in Insurance and Logistics in 4th Quarter', 'Stocks To Watch: Spotlight On Walmart, Samsung And CAGNY', 'Timing the Market, Is it Possible? - April 07, 2020', 'Stocks Flashing Renewed Technical Strength: Agilent Technologies', 'Dividend Challenger Highlights: Week Of September 22', 'Parnassus Endeavor Fund Adds to Cisco, Alphabet', 'Agilent: Some Bolt-On M&A To Rejuvenate Growth', 'TDAM USA Inc. Buys Phillips 66, DuPont de Nemours Inc, Agilent Technologies Inc, Sells Apple ...', \"Avid Technology (AVID) to Post Q1 Earnings: What's in Store?\", \"Tracking Dan Loeb's Third Point Portfolio - Q3 2018 Update\", 'Oakmark Equity And Income Fund: Third Quarter 2019', 'Agilent readies debt offering', 'Agilent Prices Public Offering of $500M Senior Notes Due 2029', 'Will New Technologies Benefit Agilent (A) in Q1 Earnings?', \"Agilent Technologies (A) Earnings Expected to Grow: What to Know Ahead of Next Week's Release\", 'Stocks To Watch: Agilent Technologies Sees Relative Strength Rating Jump To 84', \"Turtle Beach (HEAR) to Report Q1 Earnings: What's in Store?\", 'Agilent Is Up Almost 20% Since Its Last Earnings Report: Assessing If The Momentum Continues', 'Dividend Growth Stocks Of Tomorrow: Agilent Technologies Inc.', 'Agilent Technologies Announces Cash Dividend of –8 Cents Per Share', 'Agilent Technologies Inc (A) Presents at The 31st Annual Piper Jaffray Healthcare Conference (Transcript)', 'Agilent Technologies: Buy For Great Growth In The Pharmaceutical Development Business', 'Agilent up 4% after hours on Pershing stake', 'Earnings related companies tops after hour movers', 'Meridian Management Co Buys CVS Health Corp, Boeing Co, LiveRamp Holdings Inc, Sells iShares ...', \"' Stocks Growing Their Earnings Fast\", 'Stock Upgrades: Agilent Technologies Shows Rising Relative Strength', 'Global Stock Markets Red on Tuesday', 'A, ACB, EGHT and TLRY among notable after hour movers', 'Agilent (A) Q1 Earnings In Line With Estimates, Revenues Top', \"Agilent (A) Gears Up for Q3 Earnings: What's in the Cards?\", 'Impax Asset Management Group plc Buys Pentair PLC, Agilent Technologies Inc, IQVIA Holdings ...', 'Top Ranked Momentum Stocks to Buy for February 26th', \"Tracking William Von Mueffling's Cantillon Capital Management Portfolio - Q1 2019 Update\", 'Agilent Technologies, Inc. 2019 Q2 - Results - Earnings Call Slides', 'PerkinElmer: An Excellent Opportunity', 'S.E.E.D. Planning Group LLC Buys VanEck Vectors Morningstar Wide Moat, PepsiCo Inc, Ecolab Inc, ...', 'The Truth About Market Timing - July 30, 2019', \"Notable earnings after Wednesday's close\", 'Fairpointe Capital LLC Buys Adtalem Global Education Inc, Corning Inc, Agilent Technologies ...', 'Dividend Challenger Highlights: Week Of June 23', \"What's in Store for Booking Holdings' (BKNG) Q1 Earnings?\", 'Stocks Showing Rising Market Leadership: Agilent Technologies Earns 82 RS Rating', 'KraneShares Joins with Nasdaq Dorsey Wright to Launch KraneShares China Rotation Model', 'Findlay Park Partners LLP Buys Agilent Technologies Inc, Fiserv Inc, Analog Devices Inc, Sells ...', 'Agilent beats by $0.07, beats on revenue', 'Dow Jones Futures: Stock Market Fear Gauge Hits New Low; Palo Alto Networks, Nutanix, Ambarella, Hewlett Packard Enterprise, ChemoCentryx Are Big Movers Late', 'Will New Technologies Benefit Agilent (A) in Q4 Earnings?', 'Fitbit (FIT) Q4 Loss Wider Than Estimated, Revenues Lag', 'Live Nation Entertainment, Zebra Technologies, STERIS Set to Join S&P 5……; Others to ...', 'Teacher Retirement System Of Texas Buys Hologic Inc, Vanguard Total Stock Market, Agilent ...', 'Stocks To Watch: Eyes On Cyber Monday, Argentina And Mars', 'Nomura Holdings Inc Buys Aramark, AT&T Inc, Emerson Electric Co, Sells Amazon. ...', \"What's in the Offing for TripAdvisor's (TRIP) Q1 Earnings?\", 'Yes, You Can Time the Market. Find out How - November 21, 2019', 'Agilent Technologies, Inc. (A) Management Presents at Evercore ISI HealthCONx Conference (Transcript)', 'Stock Upgrades: Agilent Technologies Shows Rising Relative Strength', \"Can Strong Cloud Growth Propel Alibaba's (BABA) Q3 Earnings?\", 'Harvey Investment Co Llc Buys Fastenal Co, Agilent Technologies Inc, CarMax Inc, Sells Croda ...', 'Silicon Valley Pioneer Keysight Just Moved Into The Buy Zone — But Can It Stay There?', 'Waters Q1 miss and lower guidance pressures life sciences kit makers', 'Agilent Technologies: Buy For Total Return And Potential Technology Growth']\n" | |
] | |
} | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"metadata": { | |
"colab": { | |
"base_uri": "https://localhost:8080/", | |
"height": 623, | |
"referenced_widgets": [ | |
"d49a6807286348199f16f4fbaa89041c", | |
"8c76846e1a2f4aac84980b1e92cc4f0b", | |
"755c099a9f9b4bf4a54bab32f710bcdc", | |
"1300449b64b14ea5b1857017d8e8b41c", | |
"a98f82b21a6740ea95708d014e7977cb", | |
"16f15e3e144441f2a31022d807c863b3", | |
"c03c3058f0db433a8803d78f984f9fa4", | |
"64acf8e85b824117b0f82e6001c7c2c5", | |
"97044ab3ddbb4dc7af46b555a710b60e", | |
"e54dbb6e9b60448eb250f7caea1196b8", | |
"0dc074a4dda94e19848f50e2ff677373", | |
"b255b6fe4a7e41c89b17769523c88f2e", | |
"6d7adee17b714ad6ad16cc90437e82a0", | |
"14f6dc806b1c44439a95dd00c07afd7e", | |
"7526f4fc282a44ff9d1bfdc73e1cd8b7", | |
"dddabaea9bf04665bbed44ae91510919", | |
"b89bc4d39876426b9375a12de32faf9b", | |
"8c95440c3367493bafd6e035f0b59c06", | |
"ae281b801c3d49da9e0b8e745cf287da", | |
"c729c271fd3540ae8d3ffda054dfa95f", | |
"096de512417849af89dde6cd949e3bff", | |
"42b7445d1c8b44e9b0b785f44f38e839", | |
"52402160d8d44afc8d66ad8e610896fa", | |
"bf49410b8b0748899c66732dcf3ea048", | |
"ac770bd34c664b708ec9d22bc5f700dd", | |
"16d9003a47374c97b92747bb503bf915", | |
"c996323be1e144209f241c8a30485894", | |
"3cce828fd60e410d92892734dbb32a41", | |
"ca4e8f3a456b4bbbac0a4cb4f149be8a", | |
"4af485ea9f8a46b4999dbdaabb6a6f5f", | |
"4aa01cbada2e4da4a75ef4514c44a52d", | |
"16a1aacc8c91407f8c8ef76bf66783dc", | |
"1aac064333244961948d36c2e5cf7843", | |
"a4ea9c2615c149d5bd5596acfbb9bd3c", | |
"cf58cd1aef2143d4a1af9100c36e17bd", | |
"d4f563f3e1af4de3ba58f5a6fd880f1f", | |
"68d4c5a0fc0441a7a76cf01cfeed48d7", | |
"4b085c5520e54a7696ec782597ba66a4", | |
"a1edc32235a449948adf996e4654201b", | |
"18b30cd410464935b900d54246c8c571", | |
"578be505b6254ff0bd632c201e559289", | |
"05924cfc923f4844bcd04c9809c576ab", | |
"5a08b8e0183943d2a0d55b85d57bbf42", | |
"295b1f28b37449c28fcc1ab5f0f275df", | |
"0f5958a3451044dba163872cefcf4ca2", | |
"cb9b83ee3bae4eb8aad188097b4f2a30", | |
"86af667865cb4350ac875bbbb357faae", | |
"c1ed79b6602e40fc9afcc24ce2197b4d", | |
"eae3d1cf5c85438498ad4118647a7b64", | |
"bfc4ee4a89a84cf491b035b108e1879b", | |
"1c26de2a17c14744917b097fb877b96f", | |
"02df0e877f8d4b2fbd8c6ab702b1d8b0", | |
"e36ba88c17554174b9c2fa201f1719de", | |
"1b8a44ea65044711b8b5f3cde4eb827b", | |
"acba57af1c4b48a9ac6d00a571befa5f" | |
] | |
}, | |
"id": "ApSOVifrBrgS", | |
"outputId": "e2aa2222-fd9d-4e08-c900-0d1af5b27b19" | |
}, | |
"source": [ | |
"!pip install transformers\n", | |
"\n", | |
"#Getting the tokenizer and the model\n", | |
"\n", | |
"from transformers import AutoTokenizer, AutoModelForSequenceClassification\n", | |
"\n", | |
"tokenizer = AutoTokenizer.from_pretrained(\"ProsusAI/finbert\")\n", | |
"\n", | |
"model = AutoModelForSequenceClassification.from_pretrained(\"ProsusAI/finbert\")" | |
], | |
"execution_count": 4, | |
"outputs": [ | |
{ | |
"output_type": "stream", | |
"name": "stdout", | |
"text": [ | |
"Requirement already satisfied: transformers in /usr/local/lib/python3.10/dist-packages (4.38.2)\n", | |
"Requirement already satisfied: filelock in /usr/local/lib/python3.10/dist-packages (from transformers) (3.13.4)\n", | |
"Requirement already satisfied: huggingface-hub<1.0,>=0.19.3 in /usr/local/lib/python3.10/dist-packages (from transformers) (0.20.3)\n", | |
"Requirement already satisfied: numpy>=1.17 in /usr/local/lib/python3.10/dist-packages (from transformers) (1.25.2)\n", | |
"Requirement already satisfied: packaging>=20.0 in /usr/local/lib/python3.10/dist-packages (from transformers) (24.0)\n", | |
"Requirement already satisfied: pyyaml>=5.1 in /usr/local/lib/python3.10/dist-packages (from transformers) (6.0.1)\n", | |
"Requirement already satisfied: regex!=2019.12.17 in /usr/local/lib/python3.10/dist-packages (from transformers) (2023.12.25)\n", | |
"Requirement already satisfied: requests in /usr/local/lib/python3.10/dist-packages (from transformers) (2.31.0)\n", | |
"Requirement already satisfied: tokenizers<0.19,>=0.14 in /usr/local/lib/python3.10/dist-packages (from transformers) (0.15.2)\n", | |
"Requirement already satisfied: safetensors>=0.4.1 in /usr/local/lib/python3.10/dist-packages (from transformers) (0.4.2)\n", | |
"Requirement already satisfied: tqdm>=4.27 in /usr/local/lib/python3.10/dist-packages (from transformers) (4.66.2)\n", | |
"Requirement already satisfied: fsspec>=2023.5.0 in /usr/local/lib/python3.10/dist-packages (from huggingface-hub<1.0,>=0.19.3->transformers) (2023.6.0)\n", | |
"Requirement already satisfied: typing-extensions>=3.7.4.3 in /usr/local/lib/python3.10/dist-packages (from huggingface-hub<1.0,>=0.19.3->transformers) (4.11.0)\n", | |
"Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.10/dist-packages (from requests->transformers) (3.3.2)\n", | |
"Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.10/dist-packages (from requests->transformers) (3.6)\n", | |
"Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.10/dist-packages (from requests->transformers) (2.0.7)\n", | |
"Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.10/dist-packages (from requests->transformers) (2024.2.2)\n" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"name": "stderr", | |
"text": [ | |
"/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_token.py:88: 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": [ | |
"tokenizer_config.json: 0%| | 0.00/252 [00:00<?, ?B/s]" | |
], | |
"application/vnd.jupyter.widget-view+json": { | |
"version_major": 2, | |
"version_minor": 0, | |
"model_id": "d49a6807286348199f16f4fbaa89041c" | |
} | |
}, | |
"metadata": {} | |
}, | |
{ | |
"output_type": "display_data", | |
"data": { | |
"text/plain": [ | |
"config.json: 0%| | 0.00/758 [00:00<?, ?B/s]" | |
], | |
"application/vnd.jupyter.widget-view+json": { | |
"version_major": 2, | |
"version_minor": 0, | |
"model_id": "b255b6fe4a7e41c89b17769523c88f2e" | |
} | |
}, | |
"metadata": {} | |
}, | |
{ | |
"output_type": "display_data", | |
"data": { | |
"text/plain": [ | |
"vocab.txt: 0%| | 0.00/232k [00:00<?, ?B/s]" | |
], | |
"application/vnd.jupyter.widget-view+json": { | |
"version_major": 2, | |
"version_minor": 0, | |
"model_id": "52402160d8d44afc8d66ad8e610896fa" | |
} | |
}, | |
"metadata": {} | |
}, | |
{ | |
"output_type": "display_data", | |
"data": { | |
"text/plain": [ | |
"special_tokens_map.json: 0%| | 0.00/112 [00:00<?, ?B/s]" | |
], | |
"application/vnd.jupyter.widget-view+json": { | |
"version_major": 2, | |
"version_minor": 0, | |
"model_id": "a4ea9c2615c149d5bd5596acfbb9bd3c" | |
} | |
}, | |
"metadata": {} | |
}, | |
{ | |
"output_type": "display_data", | |
"data": { | |
"text/plain": [ | |
"pytorch_model.bin: 0%| | 0.00/438M [00:00<?, ?B/s]" | |
], | |
"application/vnd.jupyter.widget-view+json": { | |
"version_major": 2, | |
"version_minor": 0, | |
"model_id": "0f5958a3451044dba163872cefcf4ca2" | |
} | |
}, | |
"metadata": {} | |
} | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"metadata": { | |
"colab": { | |
"base_uri": "https://localhost:8080/" | |
}, | |
"id": "fggcoWP8HWNk", | |
"outputId": "b33c05a9-9269-4ccf-b6cb-4119303d10ef" | |
}, | |
"source": [ | |
"#That's where the headlines get tokenized to be inputted into model\n", | |
"\n", | |
"inputs = tokenizer(headlines_list, padding = True, truncation = True, return_tensors='pt')\n", | |
"print(inputs)" | |
], | |
"execution_count": 5, | |
"outputs": [ | |
{ | |
"output_type": "stream", | |
"name": "stdout", | |
"text": [ | |
"{'input_ids': tensor([[ 101, 2675, 1006, ..., 0, 0, 0],\n", | |
" [ 101, 1020, 15768, ..., 0, 0, 0],\n", | |
" [ 101, 3481, 3512, ..., 0, 0, 0],\n", | |
" ...,\n", | |
" [ 101, 13773, 3028, ..., 0, 0, 0],\n", | |
" [ 101, 5380, 1053, ..., 0, 0, 0],\n", | |
" [ 101, 29003, 3372, ..., 0, 0, 0]]), 'token_type_ids': tensor([[0, 0, 0, ..., 0, 0, 0],\n", | |
" [0, 0, 0, ..., 0, 0, 0],\n", | |
" [0, 0, 0, ..., 0, 0, 0],\n", | |
" ...,\n", | |
" [0, 0, 0, ..., 0, 0, 0],\n", | |
" [0, 0, 0, ..., 0, 0, 0],\n", | |
" [0, 0, 0, ..., 0, 0, 0]]), 'attention_mask': tensor([[1, 1, 1, ..., 0, 0, 0],\n", | |
" [1, 1, 1, ..., 0, 0, 0],\n", | |
" [1, 1, 1, ..., 0, 0, 0],\n", | |
" ...,\n", | |
" [1, 1, 1, ..., 0, 0, 0],\n", | |
" [1, 1, 1, ..., 0, 0, 0],\n", | |
" [1, 1, 1, ..., 0, 0, 0]])}\n" | |
] | |
} | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"metadata": { | |
"id": "uVSh0UDLH5kd", | |
"colab": { | |
"base_uri": "https://localhost:8080/" | |
}, | |
"outputId": "7aae4bbd-0a62-44fc-fc90-fe82cbd0174d" | |
}, | |
"source": [ | |
"#inference (can take 2 mins)\n", | |
"\n", | |
"outputs = model(**inputs)\n", | |
"print(outputs.logits.shape)" | |
], | |
"execution_count": 6, | |
"outputs": [ | |
{ | |
"output_type": "stream", | |
"name": "stdout", | |
"text": [ | |
"torch.Size([300, 3])\n" | |
] | |
} | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"metadata": { | |
"id": "pzU2P1EuIvsc", | |
"colab": { | |
"base_uri": "https://localhost:8080/" | |
}, | |
"outputId": "c6a652e4-9f45-4f0b-c260-d6790bb12c20" | |
}, | |
"source": [ | |
"#Postprocessing with softmax\n", | |
"\n", | |
"import torch\n", | |
"\n", | |
"predictions = torch.nn.functional.softmax(outputs.logits, dim=-1)\n", | |
"print(predictions)" | |
], | |
"execution_count": 7, | |
"outputs": [ | |
{ | |
"output_type": "stream", | |
"name": "stdout", | |
"text": [ | |
"tensor([[0.0244, 0.4719, 0.5037],\n", | |
" [0.3987, 0.1365, 0.4648],\n", | |
" [0.9118, 0.0447, 0.0436],\n", | |
" [0.0286, 0.0548, 0.9165],\n", | |
" [0.0139, 0.9624, 0.0237],\n", | |
" [0.1219, 0.0132, 0.8649],\n", | |
" [0.0301, 0.0463, 0.9236],\n", | |
" [0.9494, 0.0240, 0.0265],\n", | |
" [0.0415, 0.0191, 0.9393],\n", | |
" [0.8495, 0.0150, 0.1355],\n", | |
" [0.0670, 0.0127, 0.9203],\n", | |
" [0.0243, 0.0422, 0.9335],\n", | |
" [0.0782, 0.0153, 0.9064],\n", | |
" [0.1212, 0.0125, 0.8663],\n", | |
" [0.1108, 0.0128, 0.8764],\n", | |
" [0.0477, 0.0219, 0.9303],\n", | |
" [0.0527, 0.0258, 0.9214],\n", | |
" [0.1308, 0.0110, 0.8582],\n", | |
" [0.1050, 0.0152, 0.8797],\n", | |
" [0.0918, 0.1666, 0.7415],\n", | |
" [0.9072, 0.0588, 0.0340],\n", | |
" [0.0256, 0.0608, 0.9135],\n", | |
" [0.1363, 0.0247, 0.8389],\n", | |
" [0.0238, 0.0729, 0.9033],\n", | |
" [0.0342, 0.0338, 0.9319],\n", | |
" [0.6557, 0.0134, 0.3309],\n", | |
" [0.0484, 0.0122, 0.9394],\n", | |
" [0.1388, 0.0116, 0.8496],\n", | |
" [0.0691, 0.0154, 0.9155],\n", | |
" [0.0907, 0.0119, 0.8974],\n", | |
" [0.0402, 0.0294, 0.9305],\n", | |
" [0.0286, 0.0548, 0.9165],\n", | |
" [0.0173, 0.9284, 0.0543],\n", | |
" [0.0754, 0.3797, 0.5448],\n", | |
" [0.0120, 0.9527, 0.0354],\n", | |
" [0.0345, 0.0188, 0.9467],\n", | |
" [0.0395, 0.0393, 0.9212],\n", | |
" [0.1061, 0.0125, 0.8814],\n", | |
" [0.0451, 0.0195, 0.9354],\n", | |
" [0.9438, 0.0381, 0.0181],\n", | |
" [0.0386, 0.0662, 0.8953],\n", | |
" [0.2916, 0.0091, 0.6993],\n", | |
" [0.4761, 0.0107, 0.5132],\n", | |
" [0.0744, 0.0115, 0.9141],\n", | |
" [0.0724, 0.0190, 0.9086],\n", | |
" [0.9550, 0.0182, 0.0268],\n", | |
" [0.0261, 0.0261, 0.9478],\n", | |
" [0.1070, 0.0156, 0.8774],\n", | |
" [0.0082, 0.9658, 0.0259],\n", | |
" [0.0491, 0.0314, 0.9195],\n", | |
" [0.2209, 0.0133, 0.7658],\n", | |
" [0.4141, 0.0630, 0.5229],\n", | |
" [0.0983, 0.0122, 0.8895],\n", | |
" [0.0874, 0.0098, 0.9028],\n", | |
" [0.1067, 0.0118, 0.8815],\n", | |
" [0.0971, 0.0235, 0.8794],\n", | |
" [0.0218, 0.0835, 0.8947],\n", | |
" [0.0375, 0.0313, 0.9313],\n", | |
" [0.0274, 0.0613, 0.9113],\n", | |
" [0.0623, 0.0195, 0.9182],\n", | |
" [0.0294, 0.0315, 0.9391],\n", | |
" [0.3501, 0.0534, 0.5965],\n", | |
" [0.0976, 0.0135, 0.8889],\n", | |
" [0.3582, 0.0639, 0.5779],\n", | |
" [0.0289, 0.0533, 0.9178],\n", | |
" [0.0357, 0.0259, 0.9384],\n", | |
" [0.2209, 0.0133, 0.7658],\n", | |
" [0.0460, 0.0305, 0.9236],\n", | |
" [0.0272, 0.0856, 0.8872],\n", | |
" [0.0450, 0.0169, 0.9381],\n", | |
" [0.0375, 0.0294, 0.9332],\n", | |
" [0.8805, 0.0124, 0.1071],\n", | |
" [0.0282, 0.0224, 0.9494],\n", | |
" [0.9438, 0.0115, 0.0447],\n", | |
" [0.9345, 0.0256, 0.0399],\n", | |
" [0.0702, 0.0160, 0.9138],\n", | |
" [0.0686, 0.0188, 0.9126],\n", | |
" [0.0283, 0.4035, 0.5682],\n", | |
" [0.0840, 0.0115, 0.9044],\n", | |
" [0.0942, 0.0692, 0.8365],\n", | |
" [0.8936, 0.0233, 0.0830],\n", | |
" [0.9554, 0.0183, 0.0263],\n", | |
" [0.3131, 0.0811, 0.6058],\n", | |
" [0.0644, 0.0165, 0.9191],\n", | |
" [0.1447, 0.0114, 0.8439],\n", | |
" [0.0429, 0.0419, 0.9152],\n", | |
" [0.1188, 0.0119, 0.8693],\n", | |
" [0.1022, 0.0120, 0.8857],\n", | |
" [0.6373, 0.0207, 0.3420],\n", | |
" [0.3044, 0.0138, 0.6818],\n", | |
" [0.0360, 0.0173, 0.9466],\n", | |
" [0.6302, 0.0173, 0.3525],\n", | |
" [0.0763, 0.0322, 0.8914],\n", | |
" [0.0423, 0.0223, 0.9354],\n", | |
" [0.0395, 0.0393, 0.9212],\n", | |
" [0.1573, 0.0145, 0.8282],\n", | |
" [0.0293, 0.0562, 0.9145],\n", | |
" [0.9542, 0.0182, 0.0276],\n", | |
" [0.0730, 0.0158, 0.9112],\n", | |
" [0.8393, 0.0077, 0.1530],\n", | |
" [0.9138, 0.0496, 0.0365],\n", | |
" [0.7944, 0.0078, 0.1978],\n", | |
" [0.5730, 0.0211, 0.4059],\n", | |
" [0.0627, 0.0161, 0.9212],\n", | |
" [0.8158, 0.0283, 0.1559],\n", | |
" [0.0537, 0.9007, 0.0456],\n", | |
" [0.8954, 0.0666, 0.0381],\n", | |
" [0.1822, 0.0073, 0.8105],\n", | |
" [0.0493, 0.0186, 0.9321],\n", | |
" [0.0396, 0.0207, 0.9397],\n", | |
" [0.0096, 0.9607, 0.0297],\n", | |
" [0.9544, 0.0212, 0.0244],\n", | |
" [0.0485, 0.0207, 0.9308],\n", | |
" [0.9560, 0.0175, 0.0265],\n", | |
" [0.0861, 0.0104, 0.9035],\n", | |
" [0.7984, 0.1648, 0.0367],\n", | |
" [0.9481, 0.0184, 0.0335],\n", | |
" [0.4038, 0.5487, 0.0474],\n", | |
" [0.8495, 0.0150, 0.1355],\n", | |
" [0.0695, 0.0148, 0.9157],\n", | |
" [0.0232, 0.4051, 0.5717],\n", | |
" [0.0352, 0.0333, 0.9316],\n", | |
" [0.1156, 0.0177, 0.8667],\n", | |
" [0.1458, 0.0506, 0.8037],\n", | |
" [0.0563, 0.0146, 0.9291],\n", | |
" [0.0346, 0.0590, 0.9063],\n", | |
" [0.0615, 0.8560, 0.0825],\n", | |
" [0.0274, 0.0311, 0.9415],\n", | |
" [0.0451, 0.0501, 0.9047],\n", | |
" [0.0388, 0.0993, 0.8619],\n", | |
" [0.0601, 0.0173, 0.9226],\n", | |
" [0.0457, 0.0208, 0.9335],\n", | |
" [0.0466, 0.0247, 0.9287],\n", | |
" [0.0247, 0.0515, 0.9239],\n", | |
" [0.9349, 0.0316, 0.0335],\n", | |
" [0.0340, 0.0193, 0.9467],\n", | |
" [0.9248, 0.0198, 0.0554],\n", | |
" [0.9191, 0.0091, 0.0718],\n", | |
" [0.1502, 0.0147, 0.8351],\n", | |
" [0.0267, 0.0635, 0.9098],\n", | |
" [0.0728, 0.0470, 0.8803],\n", | |
" [0.0092, 0.9666, 0.0242],\n", | |
" [0.0667, 0.0311, 0.9022],\n", | |
" [0.0517, 0.0153, 0.9330],\n", | |
" [0.0351, 0.0290, 0.9359],\n", | |
" [0.7591, 0.0496, 0.1913],\n", | |
" [0.0647, 0.2170, 0.7183],\n", | |
" [0.7129, 0.0523, 0.2348],\n", | |
" [0.0932, 0.0117, 0.8951],\n", | |
" [0.0713, 0.0157, 0.9131],\n", | |
" [0.0286, 0.0548, 0.9165],\n", | |
" [0.0752, 0.0144, 0.9105],\n", | |
" [0.0934, 0.0087, 0.8979],\n", | |
" [0.0679, 0.0149, 0.9171],\n", | |
" [0.0354, 0.0226, 0.9420],\n", | |
" [0.9401, 0.0251, 0.0348],\n", | |
" [0.0866, 0.0157, 0.8977],\n", | |
" [0.0433, 0.0318, 0.9249],\n", | |
" [0.0084, 0.9694, 0.0222],\n", | |
" [0.0375, 0.0356, 0.9269],\n", | |
" [0.6801, 0.0222, 0.2977],\n", | |
" [0.0815, 0.0183, 0.9003],\n", | |
" [0.0358, 0.0179, 0.9463],\n", | |
" [0.3373, 0.0271, 0.6356],\n", | |
" [0.0666, 0.0144, 0.9190],\n", | |
" [0.9348, 0.0404, 0.0248],\n", | |
" [0.7010, 0.0582, 0.2409],\n", | |
" [0.0286, 0.0548, 0.9165],\n", | |
" [0.0082, 0.9724, 0.0193],\n", | |
" [0.1391, 0.1108, 0.7500],\n", | |
" [0.8941, 0.0712, 0.0347],\n", | |
" [0.0544, 0.6571, 0.2885],\n", | |
" [0.8941, 0.0712, 0.0347],\n", | |
" [0.0279, 0.9616, 0.0106],\n", | |
" [0.9240, 0.0493, 0.0268],\n", | |
" [0.2251, 0.1072, 0.6676],\n", | |
" [0.0687, 0.0188, 0.9125],\n", | |
" [0.0503, 0.0232, 0.9265],\n", | |
" [0.7116, 0.0547, 0.2337],\n", | |
" [0.0884, 0.0092, 0.9023],\n", | |
" [0.3873, 0.5898, 0.0230],\n", | |
" [0.4154, 0.0102, 0.5744],\n", | |
" [0.6271, 0.0115, 0.3615],\n", | |
" [0.9576, 0.0185, 0.0239],\n", | |
" [0.9350, 0.0104, 0.0546],\n", | |
" [0.8870, 0.0802, 0.0329],\n", | |
" [0.0933, 0.0239, 0.8828],\n", | |
" [0.9348, 0.0387, 0.0264],\n", | |
" [0.0203, 0.9685, 0.0111],\n", | |
" [0.0958, 0.0155, 0.8888],\n", | |
" [0.0780, 0.0120, 0.9100],\n", | |
" [0.0561, 0.0231, 0.9208],\n", | |
" [0.0760, 0.0429, 0.8811],\n", | |
" [0.0148, 0.8488, 0.1364],\n", | |
" [0.0293, 0.0534, 0.9173],\n", | |
" [0.8868, 0.0092, 0.1040],\n", | |
" [0.0282, 0.0572, 0.9146],\n", | |
" [0.9510, 0.0227, 0.0263],\n", | |
" [0.0228, 0.1799, 0.7973],\n", | |
" [0.0491, 0.0314, 0.9195],\n", | |
" [0.0236, 0.0287, 0.9476],\n", | |
" [0.0302, 0.0271, 0.9428],\n", | |
" [0.0347, 0.0327, 0.9326],\n", | |
" [0.0109, 0.9753, 0.0139],\n", | |
" [0.2209, 0.0133, 0.7658],\n", | |
" [0.1662, 0.0137, 0.8201],\n", | |
" [0.9554, 0.0166, 0.0280],\n", | |
" [0.8727, 0.0166, 0.1107],\n", | |
" [0.0428, 0.0305, 0.9267],\n", | |
" [0.8060, 0.0097, 0.1843],\n", | |
" [0.0591, 0.1046, 0.8363],\n", | |
" [0.0949, 0.0136, 0.8915],\n", | |
" [0.7375, 0.1850, 0.0775],\n", | |
" [0.0408, 0.1297, 0.8295],\n", | |
" [0.0808, 0.0121, 0.9071],\n", | |
" [0.9479, 0.0221, 0.0301],\n", | |
" [0.0243, 0.8610, 0.1147],\n", | |
" [0.1814, 0.0093, 0.8093],\n", | |
" [0.9544, 0.0212, 0.0244],\n", | |
" [0.2152, 0.0286, 0.7562],\n", | |
" [0.6374, 0.1361, 0.2265],\n", | |
" [0.7885, 0.0084, 0.2032],\n", | |
" [0.0197, 0.1399, 0.8404],\n", | |
" [0.0338, 0.0192, 0.9470],\n", | |
" [0.9463, 0.0281, 0.0256],\n", | |
" [0.1050, 0.0154, 0.8796],\n", | |
" [0.6681, 0.0621, 0.2698],\n", | |
" [0.0268, 0.0649, 0.9083],\n", | |
" [0.0620, 0.0139, 0.9241],\n", | |
" [0.2490, 0.2108, 0.5402],\n", | |
" [0.0262, 0.0238, 0.9500],\n", | |
" [0.3068, 0.0117, 0.6816],\n", | |
" [0.9544, 0.0212, 0.0244],\n", | |
" [0.0500, 0.8513, 0.0987],\n", | |
" [0.0849, 0.0136, 0.9015],\n", | |
" [0.0557, 0.0271, 0.9172],\n", | |
" [0.9149, 0.0195, 0.0656],\n", | |
" [0.0352, 0.0638, 0.9010],\n", | |
" [0.1071, 0.0090, 0.8839],\n", | |
" [0.0666, 0.0251, 0.9083],\n", | |
" [0.0501, 0.0169, 0.9331],\n", | |
" [0.9433, 0.0133, 0.0434],\n", | |
" [0.0300, 0.0532, 0.9168],\n", | |
" [0.0714, 0.0104, 0.9182],\n", | |
" [0.5189, 0.0092, 0.4719],\n", | |
" [0.0964, 0.0160, 0.8876],\n", | |
" [0.0912, 0.0215, 0.8873],\n", | |
" [0.0284, 0.0274, 0.9442],\n", | |
" [0.0290, 0.0238, 0.9472],\n", | |
" [0.0416, 0.0174, 0.9410],\n", | |
" [0.0901, 0.0117, 0.8983],\n", | |
" [0.5956, 0.0103, 0.3941],\n", | |
" [0.0537, 0.0183, 0.9280],\n", | |
" [0.9515, 0.0231, 0.0254],\n", | |
" [0.0416, 0.0654, 0.8930],\n", | |
" [0.9492, 0.0157, 0.0351],\n", | |
" [0.1152, 0.0142, 0.8706],\n", | |
" [0.1175, 0.0404, 0.8421],\n", | |
" [0.0483, 0.0216, 0.9300],\n", | |
" [0.8232, 0.0066, 0.1702],\n", | |
" [0.9340, 0.0225, 0.0435],\n", | |
" [0.1035, 0.3199, 0.5766],\n", | |
" [0.0794, 0.0113, 0.9094],\n", | |
" [0.8817, 0.0675, 0.0509],\n", | |
" [0.9544, 0.0212, 0.0244],\n", | |
" [0.1190, 0.7929, 0.0881],\n", | |
" [0.1780, 0.0131, 0.8089],\n", | |
" [0.7744, 0.0238, 0.2019],\n", | |
" [0.0669, 0.0192, 0.9139],\n", | |
" [0.0833, 0.0131, 0.9036],\n", | |
" [0.1055, 0.0226, 0.8719],\n", | |
" [0.0351, 0.0175, 0.9473],\n", | |
" [0.0773, 0.2710, 0.6517],\n", | |
" [0.9368, 0.0151, 0.0481],\n", | |
" [0.0540, 0.0123, 0.9337],\n", | |
" [0.0344, 0.0309, 0.9346],\n", | |
" [0.8919, 0.0692, 0.0389],\n", | |
" [0.0761, 0.0144, 0.9096],\n", | |
" [0.0283, 0.0499, 0.9218],\n", | |
" [0.0431, 0.0414, 0.9155],\n", | |
" [0.9507, 0.0164, 0.0329],\n", | |
" [0.1963, 0.0074, 0.7963],\n", | |
" [0.0956, 0.0124, 0.8920],\n", | |
" [0.8542, 0.0249, 0.1209],\n", | |
" [0.2840, 0.4600, 0.2560],\n", | |
" [0.5988, 0.0109, 0.3904],\n", | |
" [0.0253, 0.9642, 0.0105],\n", | |
" [0.0775, 0.0093, 0.9132],\n", | |
" [0.1773, 0.0090, 0.8136],\n", | |
" [0.0378, 0.0250, 0.9372],\n", | |
" [0.0773, 0.0131, 0.9096],\n", | |
" [0.0301, 0.2596, 0.7104],\n", | |
" [0.0344, 0.0249, 0.9407],\n", | |
" [0.0500, 0.0232, 0.9268],\n", | |
" [0.9544, 0.0212, 0.0244],\n", | |
" [0.9086, 0.0102, 0.0812],\n", | |
" [0.0745, 0.0127, 0.9128],\n", | |
" [0.0955, 0.0120, 0.8925],\n", | |
" [0.0398, 0.8983, 0.0620],\n", | |
" [0.4724, 0.0081, 0.5195]], grad_fn=<SoftmaxBackward0>)\n" | |
] | |
} | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"metadata": { | |
"id": "s3c9SnN3IupA", | |
"colab": { | |
"base_uri": "https://localhost:8080/" | |
}, | |
"outputId": "fe214e36-9428-4e0d-e7a0-9f0875eb6881" | |
}, | |
"source": [ | |
"#Model classes\n", | |
"\n", | |
"model.config.id2label" | |
], | |
"execution_count": 8, | |
"outputs": [ | |
{ | |
"output_type": "execute_result", | |
"data": { | |
"text/plain": [ | |
"{0: 'positive', 1: 'negative', 2: 'neutral'}" | |
] | |
}, | |
"metadata": {}, | |
"execution_count": 8 | |
} | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"metadata": { | |
"id": "l3KUgPcFIuxB", | |
"colab": { | |
"base_uri": "https://localhost:8080/", | |
"height": 206 | |
}, | |
"outputId": "375118a7-bfb4-4398-a9e0-90f054f57afe" | |
}, | |
"source": [ | |
"#Formatting the results as a pandas data frame\n", | |
"\n", | |
"import pandas as pd\n", | |
"\n", | |
"#Headline #Positive #Negative #Neutral\n", | |
"positive = predictions[:, 0].tolist()\n", | |
"negative = predictions[:, 1].tolist()\n", | |
"neutral = predictions[:, 2].tolist()\n", | |
"\n", | |
"table = {'Headline':headlines_list,\n", | |
" \"Positive\":positive,\n", | |
" \"Negative\":negative,\n", | |
" \"Neutral\":neutral}\n", | |
"\n", | |
"df = pd.DataFrame(table, columns = [\"Headline\", \"Positive\", \"Negative\", \"Neutral\"])\n", | |
"\n", | |
"df.head(5)\n" | |
], | |
"execution_count": 9, | |
"outputs": [ | |
{ | |
"output_type": "execute_result", | |
"data": { | |
"text/plain": [ | |
" Headline Positive Negative \\\n", | |
"0 Square (SQ) to Report Q1 Earnings: What's in t... 0.024375 0.471893 \n", | |
"1 6 Stocks Beating the Market 0.398718 0.136486 \n", | |
"2 Fortive (FTV) Earnings & Revenues Surpass Esti... 0.911774 0.044661 \n", | |
"3 Agilent declares $0.164 dividend 0.028639 0.054832 \n", | |
"4 Agilent Technologies (A) Q2 Earnings and Reven... 0.013864 0.962386 \n", | |
"\n", | |
" Neutral \n", | |
"0 0.503732 \n", | |
"1 0.464796 \n", | |
"2 0.043565 \n", | |
"3 0.916530 \n", | |
"4 0.023750 " | |
], | |
"text/html": [ | |
"\n", | |
" <div id=\"df-ab2827ba-81a7-4be0-ae07-5f447fbff206\" class=\"colab-df-container\">\n", | |
" <div>\n", | |
"<style scoped>\n", | |
" .dataframe tbody tr th:only-of-type {\n", | |
" vertical-align: middle;\n", | |
" }\n", | |
"\n", | |
" .dataframe tbody tr th {\n", | |
" vertical-align: top;\n", | |
" }\n", | |
"\n", | |
" .dataframe thead th {\n", | |
" text-align: right;\n", | |
" }\n", | |
"</style>\n", | |
"<table border=\"1\" class=\"dataframe\">\n", | |
" <thead>\n", | |
" <tr style=\"text-align: right;\">\n", | |
" <th></th>\n", | |
" <th>Headline</th>\n", | |
" <th>Positive</th>\n", | |
" <th>Negative</th>\n", | |
" <th>Neutral</th>\n", | |
" </tr>\n", | |
" </thead>\n", | |
" <tbody>\n", | |
" <tr>\n", | |
" <th>0</th>\n", | |
" <td>Square (SQ) to Report Q1 Earnings: What's in t...</td>\n", | |
" <td>0.024375</td>\n", | |
" <td>0.471893</td>\n", | |
" <td>0.503732</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>1</th>\n", | |
" <td>6 Stocks Beating the Market</td>\n", | |
" <td>0.398718</td>\n", | |
" <td>0.136486</td>\n", | |
" <td>0.464796</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>2</th>\n", | |
" <td>Fortive (FTV) Earnings & Revenues Surpass Esti...</td>\n", | |
" <td>0.911774</td>\n", | |
" <td>0.044661</td>\n", | |
" <td>0.043565</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>3</th>\n", | |
" <td>Agilent declares $0.164 dividend</td>\n", | |
" <td>0.028639</td>\n", | |
" <td>0.054832</td>\n", | |
" <td>0.916530</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>4</th>\n", | |
" <td>Agilent Technologies (A) Q2 Earnings and Reven...</td>\n", | |
" <td>0.013864</td>\n", | |
" <td>0.962386</td>\n", | |
" <td>0.023750</td>\n", | |
" </tr>\n", | |
" </tbody>\n", | |
"</table>\n", | |
"</div>\n", | |
" <div class=\"colab-df-buttons\">\n", | |
"\n", | |
" <div class=\"colab-df-container\">\n", | |
" <button class=\"colab-df-convert\" onclick=\"convertToInteractive('df-ab2827ba-81a7-4be0-ae07-5f447fbff206')\"\n", | |
" title=\"Convert this dataframe to an interactive table.\"\n", | |
" style=\"display:none;\">\n", | |
"\n", | |
" <svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24px\" viewBox=\"0 -960 960 960\">\n", | |
" <path d=\"M120-120v-720h720v720H120Zm60-500h600v-160H180v160Zm220 220h160v-160H400v160Zm0 220h160v-160H400v160ZM180-400h160v-160H180v160Zm440 0h160v-160H620v160ZM180-180h160v-160H180v160Zm440 0h160v-160H620v160Z\"/>\n", | |
" </svg>\n", | |
" </button>\n", | |
"\n", | |
" <style>\n", | |
" .colab-df-container {\n", | |
" display:flex;\n", | |
" gap: 12px;\n", | |
" }\n", | |
"\n", | |
" .colab-df-convert {\n", | |
" background-color: #E8F0FE;\n", | |
" border: none;\n", | |
" border-radius: 50%;\n", | |
" cursor: pointer;\n", | |
" display: none;\n", | |
" fill: #1967D2;\n", | |
" height: 32px;\n", | |
" padding: 0 0 0 0;\n", | |
" width: 32px;\n", | |
" }\n", | |
"\n", | |
" .colab-df-convert:hover {\n", | |
" background-color: #E2EBFA;\n", | |
" box-shadow: 0px 1px 2px rgba(60, 64, 67, 0.3), 0px 1px 3px 1px rgba(60, 64, 67, 0.15);\n", | |
" fill: #174EA6;\n", | |
" }\n", | |
"\n", | |
" .colab-df-buttons div {\n", | |
" margin-bottom: 4px;\n", | |
" }\n", | |
"\n", | |
" [theme=dark] .colab-df-convert {\n", | |
" background-color: #3B4455;\n", | |
" fill: #D2E3FC;\n", | |
" }\n", | |
"\n", | |
" [theme=dark] .colab-df-convert:hover {\n", | |
" background-color: #434B5C;\n", | |
" box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.15);\n", | |
" filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.3));\n", | |
" fill: #FFFFFF;\n", | |
" }\n", | |
" </style>\n", | |
"\n", | |
" <script>\n", | |
" const buttonEl =\n", | |
" document.querySelector('#df-ab2827ba-81a7-4be0-ae07-5f447fbff206 button.colab-df-convert');\n", | |
" buttonEl.style.display =\n", | |
" google.colab.kernel.accessAllowed ? 'block' : 'none';\n", | |
"\n", | |
" async function convertToInteractive(key) {\n", | |
" const element = document.querySelector('#df-ab2827ba-81a7-4be0-ae07-5f447fbff206');\n", | |
" const dataTable =\n", | |
" await google.colab.kernel.invokeFunction('convertToInteractive',\n", | |
" [key], {});\n", | |
" if (!dataTable) return;\n", | |
"\n", | |
" const docLinkHtml = 'Like what you see? Visit the ' +\n", | |
" '<a target=\"_blank\" href=https://colab.research.google.com/notebooks/data_table.ipynb>data table notebook</a>'\n", | |
" + ' to learn more about interactive tables.';\n", | |
" element.innerHTML = '';\n", | |
" dataTable['output_type'] = 'display_data';\n", | |
" await google.colab.output.renderOutput(dataTable, element);\n", | |
" const docLink = document.createElement('div');\n", | |
" docLink.innerHTML = docLinkHtml;\n", | |
" element.appendChild(docLink);\n", | |
" }\n", | |
" </script>\n", | |
" </div>\n", | |
"\n", | |
"\n", | |
"<div id=\"df-4e31e669-e535-4b24-8a1f-02a32d5f699d\">\n", | |
" <button class=\"colab-df-quickchart\" onclick=\"quickchart('df-4e31e669-e535-4b24-8a1f-02a32d5f699d')\"\n", | |
" title=\"Suggest charts\"\n", | |
" style=\"display:none;\">\n", | |
"\n", | |
"<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24px\"viewBox=\"0 0 24 24\"\n", | |
" width=\"24px\">\n", | |
" <g>\n", | |
" <path d=\"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 17H7v-7h2v7zm4 0h-2V7h2v10zm4 0h-2v-4h2v4z\"/>\n", | |
" </g>\n", | |
"</svg>\n", | |
" </button>\n", | |
"\n", | |
"<style>\n", | |
" .colab-df-quickchart {\n", | |
" --bg-color: #E8F0FE;\n", | |
" --fill-color: #1967D2;\n", | |
" --hover-bg-color: #E2EBFA;\n", | |
" --hover-fill-color: #174EA6;\n", | |
" --disabled-fill-color: #AAA;\n", | |
" --disabled-bg-color: #DDD;\n", | |
" }\n", | |
"\n", | |
" [theme=dark] .colab-df-quickchart {\n", | |
" --bg-color: #3B4455;\n", | |
" --fill-color: #D2E3FC;\n", | |
" --hover-bg-color: #434B5C;\n", | |
" --hover-fill-color: #FFFFFF;\n", | |
" --disabled-bg-color: #3B4455;\n", | |
" --disabled-fill-color: #666;\n", | |
" }\n", | |
"\n", | |
" .colab-df-quickchart {\n", | |
" background-color: var(--bg-color);\n", | |
" border: none;\n", | |
" border-radius: 50%;\n", | |
" cursor: pointer;\n", | |
" display: none;\n", | |
" fill: var(--fill-color);\n", | |
" height: 32px;\n", | |
" padding: 0;\n", | |
" width: 32px;\n", | |
" }\n", | |
"\n", | |
" .colab-df-quickchart:hover {\n", | |
" background-color: var(--hover-bg-color);\n", | |
" box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);\n", | |
" fill: var(--button-hover-fill-color);\n", | |
" }\n", | |
"\n", | |
" .colab-df-quickchart-complete:disabled,\n", | |
" .colab-df-quickchart-complete:disabled:hover {\n", | |
" background-color: var(--disabled-bg-color);\n", | |
" fill: var(--disabled-fill-color);\n", | |
" box-shadow: none;\n", | |
" }\n", | |
"\n", | |
" .colab-df-spinner {\n", | |
" border: 2px solid var(--fill-color);\n", | |
" border-color: transparent;\n", | |
" border-bottom-color: var(--fill-color);\n", | |
" animation:\n", | |
" spin 1s steps(1) infinite;\n", | |
" }\n", | |
"\n", | |
" @keyframes spin {\n", | |
" 0% {\n", | |
" border-color: transparent;\n", | |
" border-bottom-color: var(--fill-color);\n", | |
" border-left-color: var(--fill-color);\n", | |
" }\n", | |
" 20% {\n", | |
" border-color: transparent;\n", | |
" border-left-color: var(--fill-color);\n", | |
" border-top-color: var(--fill-color);\n", | |
" }\n", | |
" 30% {\n", | |
" border-color: transparent;\n", | |
" border-left-color: var(--fill-color);\n", | |
" border-top-color: var(--fill-color);\n", | |
" border-right-color: var(--fill-color);\n", | |
" }\n", | |
" 40% {\n", | |
" border-color: transparent;\n", | |
" border-right-color: var(--fill-color);\n", | |
" border-top-color: var(--fill-color);\n", | |
" }\n", | |
" 60% {\n", | |
" border-color: transparent;\n", | |
" border-right-color: var(--fill-color);\n", | |
" }\n", | |
" 80% {\n", | |
" border-color: transparent;\n", | |
" border-right-color: var(--fill-color);\n", | |
" border-bottom-color: var(--fill-color);\n", | |
" }\n", | |
" 90% {\n", | |
" border-color: transparent;\n", | |
" border-bottom-color: var(--fill-color);\n", | |
" }\n", | |
" }\n", | |
"</style>\n", | |
"\n", | |
" <script>\n", | |
" async function quickchart(key) {\n", | |
" const quickchartButtonEl =\n", | |
" document.querySelector('#' + key + ' button');\n", | |
" quickchartButtonEl.disabled = true; // To prevent multiple clicks.\n", | |
" quickchartButtonEl.classList.add('colab-df-spinner');\n", | |
" try {\n", | |
" const charts = await google.colab.kernel.invokeFunction(\n", | |
" 'suggestCharts', [key], {});\n", | |
" } catch (error) {\n", | |
" console.error('Error during call to suggestCharts:', error);\n", | |
" }\n", | |
" quickchartButtonEl.classList.remove('colab-df-spinner');\n", | |
" quickchartButtonEl.classList.add('colab-df-quickchart-complete');\n", | |
" }\n", | |
" (() => {\n", | |
" let quickchartButtonEl =\n", | |
" document.querySelector('#df-4e31e669-e535-4b24-8a1f-02a32d5f699d button');\n", | |
" quickchartButtonEl.style.display =\n", | |
" google.colab.kernel.accessAllowed ? 'block' : 'none';\n", | |
" })();\n", | |
" </script>\n", | |
"</div>\n", | |
"\n", | |
" </div>\n", | |
" </div>\n" | |
], | |
"application/vnd.google.colaboratory.intrinsic+json": { | |
"type": "dataframe", | |
"variable_name": "df", | |
"summary": "{\n \"name\": \"df\",\n \"rows\": 300,\n \"fields\": [\n {\n \"column\": \"Headline\",\n \"properties\": {\n \"dtype\": \"string\",\n \"num_unique_values\": 287,\n \"samples\": [\n \"Stocks With Rising Relative Strength: Agilent Technologies\",\n \"Agilent (A) Q1 Earnings In Line With Estimates, Revenues Top\",\n \"Pershing Square Capital Management, L.P. Buys Agilent Technologies Inc, The Howard Hughes Corp, ...\"\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"Positive\",\n \"properties\": {\n \"dtype\": \"number\",\n \"std\": 0.34636048775446127,\n \"min\": 0.008227195590734482,\n \"max\": 0.9576000571250916,\n \"num_unique_values\": 287,\n \"samples\": [\n 0.8494646549224854,\n 0.7743678689002991,\n 0.09321291744709015\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"Negative\",\n \"properties\": {\n \"dtype\": \"number\",\n \"std\": 0.2303102166177721,\n \"min\": 0.006600444205105305,\n \"max\": 0.9752747416496277,\n \"num_unique_values\": 287,\n \"samples\": [\n 0.015018635429441929,\n 0.023751966655254364,\n 0.01166633889079094\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"Neutral\",\n \"properties\": {\n \"dtype\": \"number\",\n \"std\": 0.37475770859961754,\n \"min\": 0.010453167371451855,\n \"max\": 0.9500252604484558,\n \"num_unique_values\": 287,\n \"samples\": [\n 0.13551665842533112,\n 0.20188015699386597,\n 0.8951207399368286\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n }\n ]\n}" | |
} | |
}, | |
"metadata": {}, | |
"execution_count": 9 | |
} | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"source": [ | |
"df.shape" | |
], | |
"metadata": { | |
"colab": { | |
"base_uri": "https://localhost:8080/" | |
}, | |
"id": "FZq87n8dD41e", | |
"outputId": "c12e487a-d477-442f-90b7-b1e8d3c38352" | |
}, | |
"execution_count": 10, | |
"outputs": [ | |
{ | |
"output_type": "execute_result", | |
"data": { | |
"text/plain": [ | |
"(300, 4)" | |
] | |
}, | |
"metadata": {}, | |
"execution_count": 10 | |
} | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"metadata": { | |
"id": "eYN11L3YWNHz" | |
}, | |
"source": [ | |
"# #Logging the pandas table as a WandB Table\n", | |
"# !pip install wandb\n", | |
"# import wandb\n", | |
"\n", | |
"# wandb.init(project=\"FinBERT_Sentiment_Analysis_Project\")\n", | |
"# wandb.run.log({\"Financial Sentiment Analysis Table\" : wandb.Table(dataframe=df)})\n", | |
"# wandb.run.finish()" | |
], | |
"execution_count": null, | |
"outputs": [] | |
}, | |
{ | |
"cell_type": "code", | |
"source": [ | |
"from transformers import pipeline\n", | |
"classifier = pipeline(\"zero-shot-classification\", device=0)" | |
], | |
"metadata": { | |
"id": "nftZ-NrYDnZK", | |
"outputId": "660318bb-c73e-4b8f-f32d-13eff8471bf5", | |
"colab": { | |
"base_uri": "https://localhost:8080/", | |
"height": 266, | |
"referenced_widgets": [ | |
"d6486a98f8fe4c84a2b8e29fce838f5e", | |
"92012e9c5a984aa89f7fe6ff33091186", | |
"2c552c48691042d39914b568561a2812", | |
"228d1f526edd4edbae5e2fe78984de71", | |
"da46363a318b4126b3eca0aa9d76ac9b", | |
"e24fc10b6ac94681a85da100d2d79d1d", | |
"7ee04c87a0844dbe9a1f24fcc05d9e82", | |
"97cca571e126417db7fd74a36e388047", | |
"a9f69ade0c884c1abfb405c17cb5c2d1", | |
"4ad7e4c6dec64cbdaf9eda8310b4067d", | |
"585511fc9dfd4cb79e7dfeb94407db54", | |
"200743a7f8d6487a84260b109419ab81", | |
"7f8f517fcc6440019761b95e3ffd0916", | |
"1751f5b6c45d45d1931c02aa3b357eb0", | |
"fd358cfb5608455d8efc2af34e444ed4", | |
"dc21fa62c98c49999194bb3df413e739", | |
"389e49c2a6744e5d9bbe1f3243f001cf", | |
"b822fb971ae54250b81452ed00630d7a", | |
"b72acc5dfce34dec93c48ef289b25e2a", | |
"944f0ce3a1cf481eb226aeb9def7299a", | |
"2844ca716f164ec097c02049116f41b9", | |
"592b12ddbfca45ebb8eb41253dd6e173", | |
"6a2fcb78fe1041b6bb380200a625e282", | |
"f1bb3981a6b44f54a745761427ea7f14", | |
"ba5ead51c74645fd9a758d024eeaad2b", | |
"25523b22e9a24ee88d04bbff11b5faaf", | |
"537558361c674874b5bdd4a15a64c62e", | |
"0451b51d2794408b949e66408fa650dd", | |
"2312509b12a147b99e78e02a1f1768e5", | |
"228813ea636f4c529c0e706bef6a390c", | |
"3a44a615a4bf47d79e1223a9302ea291", | |
"739220f9769544418666991882ea43fe", | |
"04764c0c7a974d47b9459174ef399c6d", | |
"e7441c7254e84e45b0877c737f9f74a8", | |
"fcf17c7bb15648b892063c58bf73fef7", | |
"9060bfc7c63d45cdaed709cee2f2fa46", | |
"b299617790554e6b9375886e57f328b8", | |
"f034ac050eea4fb5837e5b398e769a9d", | |
"92d16356b51a441e821313b3f6058308", | |
"f280f8b3017943f9a1d0546d3477f47a", | |
"7d4b0200eb21498da9cc03513dd23582", | |
"7f72663c3a7647dcaf0f7363a37297e0", | |
"c61480e4d4bb4eeba3b7ba3a4a1074b0", | |
"7d47af20bcb54db687db74d6f30b5a9e", | |
"22c699e57761442194d52e033e4cac33", | |
"594ea8126a114f3ea4b2e0f2785d3cab", | |
"2dbce5f77ac846fc9faa4ad630de4853", | |
"5f8ce585ba1f446487cf706d7c4708af", | |
"635e6db878d849be8914d393f086d27c", | |
"dd6908adeb894bcab6d93a6432cbc3a7", | |
"ac969bdd26f746109a91396f711875fa", | |
"6951eae1342c4ac99353a18f15a6d5a3", | |
"5f26089634064fdba365279458aeca3a", | |
"7e48c3a4e77a4bb689080098fb09c83d", | |
"f374552cbc7b458586738762af40373d", | |
"ab22383930614e9f8d9df51b7b635dae", | |
"afecc7318fef48e197f08704c9106d1b", | |
"93a435ae6e40453ba8c4563773d08d0a", | |
"f72ac79841d645a4a5b445f6415c6686", | |
"579cf36ae88e4ec2a54a29a9589c39f8", | |
"e03fa717934345cdab8abc537d269a56", | |
"ab787e8bc12d4c8e87a8c8cec53ae02c", | |
"d2415f4e54b9453e90b723659b5649c4", | |
"67ec812a35e74ff69982f49a9e29a7cd", | |
"860c12fc0bb2498c8654b22ada3b62d0", | |
"a935e766ad5d4840a9d0dbe395232bfe" | |
] | |
} | |
}, | |
"execution_count": 11, | |
"outputs": [ | |
{ | |
"output_type": "stream", | |
"name": "stderr", | |
"text": [ | |
"No model was supplied, defaulted to facebook/bart-large-mnli and revision c626438 (https://huggingface.co/facebook/bart-large-mnli).\n", | |
"Using a pipeline without specifying a model name and revision in production is not recommended.\n" | |
] | |
}, | |
{ | |
"output_type": "display_data", | |
"data": { | |
"text/plain": [ | |
"config.json: 0%| | 0.00/1.15k [00:00<?, ?B/s]" | |
], | |
"application/vnd.jupyter.widget-view+json": { | |
"version_major": 2, | |
"version_minor": 0, | |
"model_id": "d6486a98f8fe4c84a2b8e29fce838f5e" | |
} | |
}, | |
"metadata": {} | |
}, | |
{ | |
"output_type": "display_data", | |
"data": { | |
"text/plain": [ | |
"model.safetensors: 0%| | 0.00/1.63G [00:00<?, ?B/s]" | |
], | |
"application/vnd.jupyter.widget-view+json": { | |
"version_major": 2, | |
"version_minor": 0, | |
"model_id": "200743a7f8d6487a84260b109419ab81" | |
} | |
}, | |
"metadata": {} | |
}, | |
{ | |
"output_type": "display_data", | |
"data": { | |
"text/plain": [ | |
"tokenizer_config.json: 0%| | 0.00/26.0 [00:00<?, ?B/s]" | |
], | |
"application/vnd.jupyter.widget-view+json": { | |
"version_major": 2, | |
"version_minor": 0, | |
"model_id": "6a2fcb78fe1041b6bb380200a625e282" | |
} | |
}, | |
"metadata": {} | |
}, | |
{ | |
"output_type": "display_data", | |
"data": { | |
"text/plain": [ | |
"vocab.json: 0%| | 0.00/899k [00:00<?, ?B/s]" | |
], | |
"application/vnd.jupyter.widget-view+json": { | |
"version_major": 2, | |
"version_minor": 0, | |
"model_id": "e7441c7254e84e45b0877c737f9f74a8" | |
} | |
}, | |
"metadata": {} | |
}, | |
{ | |
"output_type": "display_data", | |
"data": { | |
"text/plain": [ | |
"merges.txt: 0%| | 0.00/456k [00:00<?, ?B/s]" | |
], | |
"application/vnd.jupyter.widget-view+json": { | |
"version_major": 2, | |
"version_minor": 0, | |
"model_id": "22c699e57761442194d52e033e4cac33" | |
} | |
}, | |
"metadata": {} | |
}, | |
{ | |
"output_type": "display_data", | |
"data": { | |
"text/plain": [ | |
"tokenizer.json: 0%| | 0.00/1.36M [00:00<?, ?B/s]" | |
], | |
"application/vnd.jupyter.widget-view+json": { | |
"version_major": 2, | |
"version_minor": 0, | |
"model_id": "ab22383930614e9f8d9df51b7b635dae" | |
} | |
}, | |
"metadata": {} | |
} | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"source": [ | |
"candidate_labels = [\"up\", \"down\"]\n", | |
"hypothesis_template = \"The stock price will go {}?\"\n", | |
"class_zero_sent= classifier(headlines_list, candidate_labels, hypothesis_template=hypothesis_template)" | |
], | |
"metadata": { | |
"id": "EfOtewUjJH9K" | |
}, | |
"execution_count": null, | |
"outputs": [] | |
}, | |
{ | |
"cell_type": "code", | |
"source": [ | |
"frame_stock = pd.DataFrame.from_dict(class_zero_sent)\n", | |
"frame_stock[\"label_new\"]= frame_stock[\"labels\"].apply(lambda x: x[0])\n", | |
"frame_stock[\"down\"] = np.where(frame_stock[\"label_new\"]==\"down\",[fra[0] for fra in frame_stock[\"scores\"]],[fra[1] for fra in frame_stock[\"scores\"]] )\n", | |
"frame_stock[\"up\"] = np.where(frame_stock[\"label_new\"]==\"up\",[fra[0] for fra in frame_stock[\"scores\"]],[fra[1] for fra in frame_stock[\"scores\"]] )" | |
], | |
"metadata": { | |
"id": "KUG2CL-pJxEo" | |
}, | |
"execution_count": null, | |
"outputs": [] | |
}, | |
{ | |
"cell_type": "code", | |
"source": [ | |
"frame_stock" | |
], | |
"metadata": { | |
"id": "xuAMNLdSKVR6" | |
}, | |
"execution_count": null, | |
"outputs": [] | |
}, | |
{ | |
"cell_type": "code", | |
"source": [], | |
"metadata": { | |
"id": "DzfKwfFaWDQL" | |
}, | |
"execution_count": null, | |
"outputs": [] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment