From cfe20824642f35dbeb0d60398799d4366d421928 Mon Sep 17 00:00:00 2001 From: Gift-py Date: Sat, 15 Apr 2023 08:46:32 +0100 Subject: [PATCH 1/3] Fix minor bug --- pipelines.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pipelines.py b/pipelines.py index 2c9c681..524e70b 100644 --- a/pipelines.py +++ b/pipelines.py @@ -137,6 +137,7 @@ def _prepare_inputs_for_qg_from_answers_hl(self, sents, answers): sent = sents[i] sents_copy = sents[:] + answer_text = answer_text.strip('') answer_text = answer_text.strip() ans_start_idx = sent.index(answer_text) @@ -341,9 +342,9 @@ def pipeline( if isinstance(tokenizer, (str, tuple)): if isinstance(tokenizer, tuple): # For tuple we have (tokenizer name, {kwargs}) - tokenizer = AutoTokenizer.from_pretrained(tokenizer[0], **tokenizer[1]) + tokenizer = AutoTokenizer.from_pretrained(tokenizer[0], **tokenizer[1], use_fast=False) else: - tokenizer = AutoTokenizer.from_pretrained(tokenizer) + tokenizer = AutoTokenizer.from_pretrained(tokenizer, use_fast=False) # Instantiate model if needed if isinstance(model, str): @@ -353,7 +354,7 @@ def pipeline( if ans_model is None: # load default ans model ans_model = targeted_task["default"]["ans_model"] - ans_tokenizer = AutoTokenizer.from_pretrained(ans_model) + ans_tokenizer = AutoTokenizer.from_pretrained(ans_model, use_fast=False) ans_model = AutoModelForSeq2SeqLM.from_pretrained(ans_model) else: # Try to infer tokenizer from model or config name (if provided as str) From 959a31b9ea46595eadd630959d778796ed4e55fe Mon Sep 17 00:00:00 2001 From: Gift-py Date: Sat, 15 Apr 2023 09:02:29 +0100 Subject: [PATCH 2/3] requirements.txt --- requirements.txt | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 requirements.txt diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..12bdf15 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,5 @@ +nlp==0.4.0 +nltk==3.7 # only if you want to fine tune ... reference readme.md for more info +protobuf==3.20.0 +sentencepiece==0.1.98 +transformers==3.0.0 From 78485b7c4fee8e2b8918207f276d5e34ef66de7c Mon Sep 17 00:00:00 2001 From: Gift-py Date: Sat, 15 Apr 2023 09:09:55 +0100 Subject: [PATCH 3/3] Update --- question_generation.ipynb | 10610 ++++++++++++++++++------------------ 1 file changed, 5360 insertions(+), 5250 deletions(-) diff --git a/question_generation.ipynb b/question_generation.ipynb index cfed16f..9edd15a 100644 --- a/question_generation.ipynb +++ b/question_generation.ipynb @@ -1,6164 +1,6274 @@ { - "nbformat": 4, - "nbformat_minor": 0, - "metadata": { - "colab": { - "name": "question_generation", - "provenance": [], - "authorship_tag": "ABX9TyMEXo/DG+1ayyk+oap21mlB", - "include_colab_link": true + "cells": [ + { + "cell_type": "markdown", + "metadata": { + "colab_type": "text", + "id": "view-in-github" + }, + "source": [ + "\"Open" + ] }, - "kernelspec": { - "name": "python3", - "display_name": "Python 3" + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "colab": {}, + "colab_type": "code", + "id": "aweZgxXBDsOQ", + "vscode": { + "languageId": "python" + } + }, + "outputs": [], + "source": [ + "!pip install -U transformers==3.0.0" + ] }, - "accelerator": "GPU", - "widgets": { - "application/vnd.jupyter.widget-state+json": { - "cf72d967d81444f9b93a1cbe2f5e4eb6": { - "model_module": "@jupyter-widgets/controls", - "model_name": "HBoxModel", - "state": { - "_view_name": "HBoxView", - "_dom_classes": [], - "_model_name": "HBoxModel", - "_view_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_view_count": null, - "_view_module_version": "1.5.0", - "box_style": "", - "layout": "IPY_MODEL_f05b8fb4c7764f9caff4eba3d866c5e8", - "_model_module": "@jupyter-widgets/controls", - "children": [ - "IPY_MODEL_8df06c887e5f4629b5392c068dda1204", - "IPY_MODEL_48a87f26c0e145c79bcacb7a66f2e03c" - ] - } - }, - "f05b8fb4c7764f9caff4eba3d866c5e8": { - "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", - "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, - "_model_module_version": "1.2.0", - "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": null, - "align_items": null, - "bottom": null, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": null, - "grid_area": null, - "grid_template_columns": null, - "flex": null, - "_model_name": "LayoutModel", - "justify_items": null, - "grid_row": null, - "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "height": null, - "min_height": null, - "padding": null, - "grid_auto_rows": null, - "grid_gap": null, - "max_width": null, - "order": null, - "_view_module_version": "1.2.0", - "grid_template_areas": null, - "object_position": null, - "object_fit": null, - "grid_auto_columns": null, - "margin": null, - "display": null, - "left": null - } + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "vscode": { + "languageId": "python" + } + }, + "outputs": [], + "source": [ + "!pip install sentencepiece" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "colab": {}, + "colab_type": "code", + "id": "4FARi6xuQ4IZ", + "vscode": { + "languageId": "python" + } + }, + "outputs": [], + "source": [ + "!python -m nltk.downloader punkt" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "colab": {}, + "colab_type": "code", + "id": "QFldiKn8EIp5", + "vscode": { + "languageId": "python" + } + }, + "outputs": [], + "source": [ + "!git clone https://github.com/patil-suraj/question_generation.git" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "colab": {}, + "colab_type": "code", + "id": "NAOgL63nEKIx", + "vscode": { + "languageId": "python" + } + }, + "outputs": [], + "source": [] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "colab": {}, + "colab_type": "code", + "id": "rk3X75xXRH5r", + "vscode": { + "languageId": "python" + } + }, + "outputs": [], + "source": [ + "text = \"Python is an interpreted, high-level, general-purpose programming language. Created by Guido van Rossum \\\n", + "and first released in 1991, Python's design philosophy emphasizes code \\\n", + "readability with its notable use of significant whitespace.\"\n", + "\n", + "text2 = \"Gravity (from Latin gravitas, meaning 'weight'), or gravitation, is a natural phenomenon by which all \\\n", + "things with mass or energy—including planets, stars, galaxies, and even light—are brought toward (or gravitate toward) \\\n", + "one another. On Earth, gravity gives weight to physical objects, and the Moon's gravity causes the ocean tides. \\\n", + "The gravitational attraction of the original gaseous matter present in the Universe caused it to begin coalescing \\\n", + "and forming stars and caused the stars to group together into galaxies, so gravity is responsible for many of \\\n", + "the large-scale structures in the Universe. Gravity has an infinite range, although its effects become increasingly \\\n", + "weaker as objects get further away\"\n", + "\n", + "text3 = \"42 is the answer to life, universe and everything.\"\n", + "\n", + "text4 = \"Forrest Gump is a 1994 American comedy-drama film directed by Robert Zemeckis and written by Eric Roth. \\\n", + "It is based on the 1986 novel of the same name by Winston Groom and stars Tom Hanks, Robin Wright, Gary Sinise, \\\n", + "Mykelti Williamson and Sally Field. The story depicts several decades in the life of Forrest Gump (Hanks), \\\n", + "a slow-witted but kind-hearted man from Alabama who witnesses and unwittingly influences several defining \\\n", + "historical events in the 20th century United States. The film differs substantially from the novel.\"" + ] + }, + { + "cell_type": "markdown", + "metadata": { + "colab_type": "text", + "id": "MvBFbCVGELuW" + }, + "source": [ + "## Single task QA" + ] + }, + { + "cell_type": "code", + "execution_count": 1, + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/", + "height": 34 }, - "8df06c887e5f4629b5392c068dda1204": { - "model_module": "@jupyter-widgets/controls", - "model_name": "FloatProgressModel", - "state": { - "_view_name": "ProgressView", - "style": "IPY_MODEL_fbbeaf73ff094cc29a62694fd00289da", - "_dom_classes": [], - "description": "Downloading: 100%", - "_model_name": "FloatProgressModel", - "bar_style": "success", - "max": 629, - "_view_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "value": 629, - "_view_count": null, - "_view_module_version": "1.5.0", - "orientation": "horizontal", - "min": 0, - "description_tooltip": null, - "_model_module": "@jupyter-widgets/controls", - "layout": "IPY_MODEL_57af1dc901794180a0c3a0ad598a0fec" - } + "colab_type": "code", + "id": "oy_T1CiVVNuH", + "outputId": "17b5299e-2720-4f75-ca80-4a03b9665bfd", + "vscode": { + "languageId": "python" + } + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "/content/question_generation\n" + ] + } + ], + "source": [ + "%cd question_generation" + ] + }, + { + "cell_type": "code", + "execution_count": 2, + "metadata": { + "colab": {}, + "colab_type": "code", + "id": "UxoSS2_WEMvx", + "vscode": { + "languageId": "python" + } + }, + "outputs": [], + "source": [ + "from pipelines import pipeline" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "colab": {}, + "colab_type": "code", + "id": "SFSZiIc0StHY", + "vscode": { + "languageId": "python" + } + }, + "outputs": [], + "source": [ + "nlp = pipeline(\"question-generation\")" + ] + }, + { + "cell_type": "code", + "execution_count": 9, + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/", + "height": 50 }, - "48a87f26c0e145c79bcacb7a66f2e03c": { - "model_module": "@jupyter-widgets/controls", - "model_name": "HTMLModel", - "state": { - "_view_name": "HTMLView", - "style": "IPY_MODEL_dcdd610bc53549109eff5ee720030702", - "_dom_classes": [], - "description": "", - "_model_name": "HTMLModel", - "placeholder": "​", - "_view_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "value": " 629/629 [00:43<00:00, 14.4B/s]", - "_view_count": null, - "_view_module_version": "1.5.0", - "description_tooltip": null, - "_model_module": "@jupyter-widgets/controls", - "layout": "IPY_MODEL_ec840a9a88d647eda8090fba3768d36a" - } - }, - "fbbeaf73ff094cc29a62694fd00289da": { - "model_module": "@jupyter-widgets/controls", - "model_name": "ProgressStyleModel", - "state": { - "_view_name": "StyleView", - "_model_name": "ProgressStyleModel", - "description_width": "initial", - "_view_module": "@jupyter-widgets/base", - "_model_module_version": "1.5.0", - "_view_count": null, - "_view_module_version": "1.2.0", - "bar_color": null, - "_model_module": "@jupyter-widgets/controls" - } - }, - "57af1dc901794180a0c3a0ad598a0fec": { - "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", - "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, - "_model_module_version": "1.2.0", - "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": null, - "align_items": null, - "bottom": null, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": null, - "grid_area": null, - "grid_template_columns": null, - "flex": null, - "_model_name": "LayoutModel", - "justify_items": null, - "grid_row": null, - "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "height": null, - "min_height": null, - "padding": null, - "grid_auto_rows": null, - "grid_gap": null, - "max_width": null, - "order": null, - "_view_module_version": "1.2.0", - "grid_template_areas": null, - "object_position": null, - "object_fit": null, - "grid_auto_columns": null, - "margin": null, - "display": null, - "left": null - } - }, - "dcdd610bc53549109eff5ee720030702": { - "model_module": "@jupyter-widgets/controls", - "model_name": "DescriptionStyleModel", - "state": { - "_view_name": "StyleView", - "_model_name": "DescriptionStyleModel", - "description_width": "", - "_view_module": "@jupyter-widgets/base", - "_model_module_version": "1.5.0", - "_view_count": null, - "_view_module_version": "1.2.0", - "_model_module": "@jupyter-widgets/controls" - } - }, - "ec840a9a88d647eda8090fba3768d36a": { - "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", - "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, - "_model_module_version": "1.2.0", - "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": null, - "align_items": null, - "bottom": null, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": null, - "grid_area": null, - "grid_template_columns": null, - "flex": null, - "_model_name": "LayoutModel", - "justify_items": null, - "grid_row": null, - "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "height": null, - "min_height": null, - "padding": null, - "grid_auto_rows": null, - "grid_gap": null, - "max_width": null, - "order": null, - "_view_module_version": "1.2.0", - "grid_template_areas": null, - "object_position": null, - "object_fit": null, - "grid_auto_columns": null, - "margin": null, - "display": null, - "left": null - } + "colab_type": "code", + "id": "oZy5F8sjSv2W", + "outputId": "657d6e1d-6a79-4531-de23-2af5c28ca713", + "vscode": { + "languageId": "python" + } + }, + "outputs": [ + { + "data": { + "text/plain": [ + "[{'answer': '42',\n", + " 'question': 'What is the answer to life, universe and everything?'}]" + ] + }, + "execution_count": 9, + "metadata": { + "tags": [] + }, + "output_type": "execute_result" + } + ], + "source": [ + "nlp(text3)" + ] + }, + { + "cell_type": "markdown", + "metadata": { + "colab_type": "text", + "id": "1DHB0dDqTb-o" + }, + "source": [ + "If you want to use the t5-base model, then pass the path through model parameter" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "colab": {}, + "colab_type": "code", + "id": "_050CddNTWeU", + "vscode": { + "languageId": "python" + } + }, + "outputs": [], + "source": [ + "nlp = pipeline(\"question-generation\", model=\"valhalla/t5-base-qg-hl\")" + ] + }, + { + "cell_type": "code", + "execution_count": 11, + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/", + "height": 50 }, - "c75db10073d6493aa9834c789537dc4a": { - "model_module": "@jupyter-widgets/controls", - "model_name": "HBoxModel", - "state": { - "_view_name": "HBoxView", - "_dom_classes": [], - "_model_name": "HBoxModel", - "_view_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_view_count": null, - "_view_module_version": "1.5.0", - "box_style": "", - "layout": "IPY_MODEL_f07cb8f47ccb41728ed60b9ba64ddee8", - "_model_module": "@jupyter-widgets/controls", - "children": [ - "IPY_MODEL_ca0feacb455b4d00a9db55caa335f7e9", - "IPY_MODEL_11da8c1e1d024b6e8cbb6de0efa47380" + "colab_type": "code", + "id": "px6v-bKOTy87", + "outputId": "fbc302e3-66bf-42cd-c8a3-874896c459d0", + "vscode": { + "languageId": "python" + } + }, + "outputs": [ + { + "data": { + "text/plain": [ + "[{'answer': '42',\n", + " 'question': 'What is the answer to life, universe and everything?'}]" ] - } + }, + "execution_count": 11, + "metadata": { + "tags": [] + }, + "output_type": "execute_result" + } + ], + "source": [ + "nlp(text3)" + ] + }, + { + "cell_type": "code", + "execution_count": 12, + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/", + "height": 134 }, - "f07cb8f47ccb41728ed60b9ba64ddee8": { - "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", - "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, - "_model_module_version": "1.2.0", - "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": null, - "align_items": null, - "bottom": null, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": null, - "grid_area": null, - "grid_template_columns": null, - "flex": null, - "_model_name": "LayoutModel", - "justify_items": null, - "grid_row": null, - "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "height": null, - "min_height": null, - "padding": null, - "grid_auto_rows": null, - "grid_gap": null, - "max_width": null, - "order": null, - "_view_module_version": "1.2.0", - "grid_template_areas": null, - "object_position": null, - "object_fit": null, - "grid_auto_columns": null, - "margin": null, - "display": null, - "left": null - } + "colab_type": "code", + "id": "yiYInRhOT2Fn", + "outputId": "51d944ed-3ed1-4de7-e706-5e6cb3f7e207", + "vscode": { + "languageId": "python" + } + }, + "outputs": [ + { + "data": { + "text/plain": [ + "[{'answer': 'Robert Zemeckis', 'question': 'Who directed Forrest Gump?'},\n", + " {'answer': 'Eric Roth', 'question': 'Who directed Forrest Gump?'},\n", + " {'answer': '1986',\n", + " 'question': \"In what year was Winston Groom's novel published?\"},\n", + " {'answer': 'Alabama', 'question': 'Where is Forrest Gump from?'},\n", + " {'answer': 'differs substantially from the novel',\n", + " 'question': 'How does Forrest Gump compare to the novel?'}]" + ] + }, + "execution_count": 12, + "metadata": { + "tags": [] + }, + "output_type": "execute_result" + } + ], + "source": [ + "nlp(text4)" + ] + }, + { + "cell_type": "code", + "execution_count": 13, + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/", + "height": 101 }, - "ca0feacb455b4d00a9db55caa335f7e9": { - "model_module": "@jupyter-widgets/controls", - "model_name": "FloatProgressModel", - "state": { - "_view_name": "ProgressView", - "style": "IPY_MODEL_5bff9fcea04d458dad3de823aa714873", - "_dom_classes": [], - "description": "Downloading: 100%", - "_model_name": "FloatProgressModel", - "bar_style": "success", - "max": 791656, - "_view_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "value": 791656, - "_view_count": null, - "_view_module_version": "1.5.0", - "orientation": "horizontal", - "min": 0, - "description_tooltip": null, - "_model_module": "@jupyter-widgets/controls", - "layout": "IPY_MODEL_19fdf701402e4eae9925288271e9b451" - } + "colab_type": "code", + "id": "XB_UuedZT3Lj", + "outputId": "ca013472-11e8-4577-af1d-d8f1b080bb40", + "vscode": { + "languageId": "python" + } + }, + "outputs": [ + { + "data": { + "text/plain": [ + "[{'answer': 'gravitation', 'question': 'What is another name for gravity?'},\n", + " {'answer': 'Earth',\n", + " 'question': 'On what planet does gravity give weight to physical objects?'},\n", + " {'answer': 'galaxies', 'question': 'What do the stars in the Universe form?'},\n", + " {'answer': 'infinite range', 'question': 'What is the range of gravity?'}]" + ] + }, + "execution_count": 13, + "metadata": { + "tags": [] + }, + "output_type": "execute_result" + } + ], + "source": [ + "nlp(text2)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "colab": {}, + "colab_type": "code", + "id": "egRuC8QFUy0v", + "vscode": { + "languageId": "python" + } + }, + "outputs": [], + "source": [] + }, + { + "cell_type": "markdown", + "metadata": { + "colab_type": "text", + "id": "8uiG6_NQVCIz" + }, + "source": [ + "## Multitask QA-QG" + ] + }, + { + "cell_type": "markdown", + "metadata": { + "colab_type": "text", + "id": "Y_PKMG28VhxM" + }, + "source": [ + "### small-model" + ] + }, + { + "cell_type": "code", + "execution_count": 5, + "metadata": { + "colab": {}, + "colab_type": "code", + "id": "nAkVmsH9VEIu", + "vscode": { + "languageId": "python" + } + }, + "outputs": [], + "source": [ + "nlp = pipeline(\"multitask-qa-qg\")" + ] + }, + { + "cell_type": "markdown", + "metadata": { + "colab_type": "text", + "id": "8dRiLecTVk8E" + }, + "source": [ + "#### QG" + ] + }, + { + "cell_type": "code", + "execution_count": 8, + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/", + "height": 67 }, - "11da8c1e1d024b6e8cbb6de0efa47380": { - "model_module": "@jupyter-widgets/controls", - "model_name": "HTMLModel", - "state": { - "_view_name": "HTMLView", - "style": "IPY_MODEL_2f1d5aeea19c46448381385e567245bd", - "_dom_classes": [], - "description": "", - "_model_name": "HTMLModel", - "placeholder": "​", - "_view_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "value": " 792k/792k [00:04<00:00, 192kB/s]", - "_view_count": null, - "_view_module_version": "1.5.0", - "description_tooltip": null, - "_model_module": "@jupyter-widgets/controls", - "layout": "IPY_MODEL_d46d560becfc4da281f51e67a12b29b1" - } + "colab_type": "code", + "id": "GKA65C51VLGu", + "outputId": "c164bac6-6857-43f1-b895-e42103c87c57", + "vscode": { + "languageId": "python" + } + }, + "outputs": [ + { + "data": { + "text/plain": [ + "[{'answer': 'Python',\n", + " 'question': 'What is an interpreted, high-level, general-purpose programming language?'},\n", + " {'answer': 'Guido van Rossum', 'question': 'Who created Python?'}]" + ] + }, + "execution_count": 8, + "metadata": { + "tags": [] + }, + "output_type": "execute_result" + } + ], + "source": [ + "nlp(text)" + ] + }, + { + "cell_type": "code", + "execution_count": 11, + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/", + "height": 134 }, - "5bff9fcea04d458dad3de823aa714873": { - "model_module": "@jupyter-widgets/controls", - "model_name": "ProgressStyleModel", - "state": { - "_view_name": "StyleView", - "_model_name": "ProgressStyleModel", - "description_width": "initial", - "_view_module": "@jupyter-widgets/base", - "_model_module_version": "1.5.0", - "_view_count": null, - "_view_module_version": "1.2.0", - "bar_color": null, - "_model_module": "@jupyter-widgets/controls" - } + "colab_type": "code", + "id": "jAAxbcwzVXlV", + "outputId": "c58e2a5e-5267-408d-b45e-634f93cb4c90", + "vscode": { + "languageId": "python" + } + }, + "outputs": [ + { + "data": { + "text/plain": [ + "[{'answer': 'gravitation',\n", + " 'question': 'What is a natural phenomenon called when all things with mass or energy are brought toward one another?'},\n", + " {'answer': 'Earth',\n", + " 'question': 'On what planet does gravity give weight to physical objects?'},\n", + " {'answer': 'galaxies', 'question': 'What did the stars group together into?'},\n", + " {'answer': 'infinite range',\n", + " 'question': 'What kind of range does Gravity have?'}]" + ] + }, + "execution_count": 11, + "metadata": { + "tags": [] + }, + "output_type": "execute_result" + } + ], + "source": [ + "nlp(text2)" + ] + }, + { + "cell_type": "code", + "execution_count": 10, + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/", + "height": 118 }, - "19fdf701402e4eae9925288271e9b451": { - "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", - "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, - "_model_module_version": "1.2.0", - "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": null, - "align_items": null, - "bottom": null, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": null, - "grid_area": null, - "grid_template_columns": null, - "flex": null, - "_model_name": "LayoutModel", - "justify_items": null, - "grid_row": null, - "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "height": null, - "min_height": null, - "padding": null, - "grid_auto_rows": null, - "grid_gap": null, - "max_width": null, - "order": null, - "_view_module_version": "1.2.0", - "grid_template_areas": null, - "object_position": null, - "object_fit": null, - "grid_auto_columns": null, - "margin": null, - "display": null, - "left": null - } - }, - "2f1d5aeea19c46448381385e567245bd": { - "model_module": "@jupyter-widgets/controls", - "model_name": "DescriptionStyleModel", - "state": { - "_view_name": "StyleView", - "_model_name": "DescriptionStyleModel", - "description_width": "", - "_view_module": "@jupyter-widgets/base", - "_model_module_version": "1.5.0", - "_view_count": null, - "_view_module_version": "1.2.0", - "_model_module": "@jupyter-widgets/controls" - } - }, - "d46d560becfc4da281f51e67a12b29b1": { - "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", - "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, - "_model_module_version": "1.2.0", - "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": null, - "align_items": null, - "bottom": null, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": null, - "grid_area": null, - "grid_template_columns": null, - "flex": null, - "_model_name": "LayoutModel", - "justify_items": null, - "grid_row": null, - "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "height": null, - "min_height": null, - "padding": null, - "grid_auto_rows": null, - "grid_gap": null, - "max_width": null, - "order": null, - "_view_module_version": "1.2.0", - "grid_template_areas": null, - "object_position": null, - "object_fit": null, - "grid_auto_columns": null, - "margin": null, - "display": null, - "left": null - } - }, - "8a65f1aedc7749ccb66db78aa9852c45": { - "model_module": "@jupyter-widgets/controls", - "model_name": "HBoxModel", - "state": { - "_view_name": "HBoxView", - "_dom_classes": [], - "_model_name": "HBoxModel", - "_view_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_view_count": null, - "_view_module_version": "1.5.0", - "box_style": "", - "layout": "IPY_MODEL_0221a5ef69194cf6973ea823ff202c65", - "_model_module": "@jupyter-widgets/controls", - "children": [ - "IPY_MODEL_34d93b3fe1704ed38b5dceee3f777daa", - "IPY_MODEL_f10552ead0394059a49b553a6d2ffbc9" + "colab_type": "code", + "id": "a81EN_WWVpae", + "outputId": "a33e9833-9c04-4347-f841-433860c2a097", + "vscode": { + "languageId": "python" + } + }, + "outputs": [ + { + "data": { + "text/plain": [ + "[{'answer': 'Robert Zemeckis', 'question': 'Who directed Forrest Gump?'},\n", + " {'answer': 'Eric Roth', 'question': 'Who wrote Forrest Gump?'},\n", + " {'answer': '1986', 'question': 'In what year was Forrest Gump based?'},\n", + " {'answer': 'Alabama', 'question': 'Where is Forrest Gump from?'},\n", + " {'answer': 'differs substantially from the novel',\n", + " 'question': 'What does Forrest Gump differ from the novel?'}]" ] - } + }, + "execution_count": 10, + "metadata": { + "tags": [] + }, + "output_type": "execute_result" + } + ], + "source": [ + "nlp(text4)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "colab": {}, + "colab_type": "code", + "id": "m9c2CkhhVsxs", + "vscode": { + "languageId": "python" + } + }, + "outputs": [], + "source": [] + }, + { + "cell_type": "markdown", + "metadata": { + "colab_type": "text", + "id": "SuOL3X_XV28R" + }, + "source": [ + "#### QA" + ] + }, + { + "cell_type": "code", + "execution_count": 12, + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/", + "height": 35 }, - "0221a5ef69194cf6973ea823ff202c65": { - "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", - "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, - "_model_module_version": "1.2.0", - "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": null, - "align_items": null, - "bottom": null, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": null, - "grid_area": null, - "grid_template_columns": null, - "flex": null, - "_model_name": "LayoutModel", - "justify_items": null, - "grid_row": null, - "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "height": null, - "min_height": null, - "padding": null, - "grid_auto_rows": null, - "grid_gap": null, - "max_width": null, - "order": null, - "_view_module_version": "1.2.0", - "grid_template_areas": null, - "object_position": null, - "object_fit": null, - "grid_auto_columns": null, - "margin": null, - "display": null, - "left": null - } + "colab_type": "code", + "id": "xe-v3I8aV4En", + "outputId": "e43c25ed-e310-4875-af90-7a3f29847361", + "vscode": { + "languageId": "python" + } + }, + "outputs": [ + { + "data": { + "application/vnd.google.colaboratory.intrinsic": "{\"type\":\"string\"}", + "text/plain": [ + "'Guido van Rossum'" + ] + }, + "execution_count": 12, + "metadata": { + "tags": [] + }, + "output_type": "execute_result" + } + ], + "source": [ + "nlp({\n", + " \"question\": \"Who created Python ?\",\n", + " \"context\": text\n", + "})" + ] + }, + { + "cell_type": "code", + "execution_count": 13, + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/", + "height": 35 }, - "34d93b3fe1704ed38b5dceee3f777daa": { - "model_module": "@jupyter-widgets/controls", - "model_name": "FloatProgressModel", - "state": { - "_view_name": "ProgressView", - "style": "IPY_MODEL_8dd03805a6fb4413a5225f0b38233cae", - "_dom_classes": [], - "description": "Downloading: 100%", - "_model_name": "FloatProgressModel", - "bar_style": "success", - "max": 31, - "_view_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "value": 31, - "_view_count": null, - "_view_module_version": "1.5.0", - "orientation": "horizontal", - "min": 0, - "description_tooltip": null, - "_model_module": "@jupyter-widgets/controls", - "layout": "IPY_MODEL_31f933d9c20845b8b7b7aba903878f64" - } + "colab_type": "code", + "id": "ZchZFXPuWI62", + "outputId": "baef6806-e2e1-4ea7-ba9b-3077d638ac1a", + "vscode": { + "languageId": "python" + } + }, + "outputs": [ + { + "data": { + "application/vnd.google.colaboratory.intrinsic": "{\"type\":\"string\"}", + "text/plain": [ + "'Eric Roth'" + ] + }, + "execution_count": 13, + "metadata": { + "tags": [] + }, + "output_type": "execute_result" + } + ], + "source": [ + "nlp({\n", + " \"question\": \"Who wrote Forrest Gump ?\",\n", + " \"context\": text4\n", + "})" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "colab": {}, + "colab_type": "code", + "id": "ARBRwBj5WVga", + "vscode": { + "languageId": "python" + } + }, + "outputs": [], + "source": [] + }, + { + "cell_type": "markdown", + "metadata": { + "colab_type": "text", + "id": "gEk-EU9UWaBr" + }, + "source": [ + "### base-model" + ] + }, + { + "cell_type": "code", + "execution_count": 14, + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/", + "height": 310, + "referenced_widgets": [ + "cf72d967d81444f9b93a1cbe2f5e4eb6", + "f05b8fb4c7764f9caff4eba3d866c5e8", + "8df06c887e5f4629b5392c068dda1204", + "48a87f26c0e145c79bcacb7a66f2e03c", + "fbbeaf73ff094cc29a62694fd00289da", + "57af1dc901794180a0c3a0ad598a0fec", + "dcdd610bc53549109eff5ee720030702", + "ec840a9a88d647eda8090fba3768d36a", + "c75db10073d6493aa9834c789537dc4a", + "f07cb8f47ccb41728ed60b9ba64ddee8", + "ca0feacb455b4d00a9db55caa335f7e9", + "11da8c1e1d024b6e8cbb6de0efa47380", + "5bff9fcea04d458dad3de823aa714873", + "19fdf701402e4eae9925288271e9b451", + "2f1d5aeea19c46448381385e567245bd", + "d46d560becfc4da281f51e67a12b29b1", + "8a65f1aedc7749ccb66db78aa9852c45", + "0221a5ef69194cf6973ea823ff202c65", + "34d93b3fe1704ed38b5dceee3f777daa", + "f10552ead0394059a49b553a6d2ffbc9", + "8dd03805a6fb4413a5225f0b38233cae", + "31f933d9c20845b8b7b7aba903878f64", + "3dfad120fef440b9aed00ee86df227fa", + "fd48fb6d8ff6497c893e6b988746cec6", + "0788251f4ea64c8084da30213e5bae4c", + "de987e3495914bd3bf05fca5f0411595", + "06402537a8fd42bda097759eb76519cb", + "d1b088bfd7c84df4bfe125d64152da2e", + "4791b0873f354c758e626837ebfeb5ff", + "90ffeb50fe374fec91476463f9748738", + "7180636e594e4c69ad73b22cbba633c0", + "9760bd142c844c6d8c0c7a63ad22c020", + "85e2b7c6a3964c7eb1ffc8fc74737600", + "9890ecc31a2c4bdaa7c9f2aeb8dcde4a", + "864ec70ff2ca47a6ac48d4bb67126b46", + "9e12cbbe986d498290844708378f93a0", + "c01125ec848344959c88f7e090723d6f", + "35e37f582bad448a9f95e73c5375433b", + "34aab39b61db49ada48366e68faedc5a", + "82c653628f4c4bb8bf2b6bd49c7ae102", + "1e3fec599654493284a8e9febd1734de", + "c800ebd19e4141c3952a5e64061710a0", + "ce175483b07742398ee572bd32346000", + "665614a60eab4caba1c152d2cd71a33a", + "4039b52964244324b7ad4dcb72f766dc", + "055e538c3245473bb9ccc507492ae084", + "a8889b2e8071450383475710e240fd81", + "920b1612f1bf469a81770461ec07cf0e" + ] }, - "f10552ead0394059a49b553a6d2ffbc9": { - "model_module": "@jupyter-widgets/controls", - "model_name": "HTMLModel", - "state": { - "_view_name": "HTMLView", - "style": "IPY_MODEL_3dfad120fef440b9aed00ee86df227fa", - "_dom_classes": [], - "description": "", - "_model_name": "HTMLModel", - "placeholder": "​", - "_view_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "value": " 31.0/31.0 [00:01<00:00, 19.5B/s]", - "_view_count": null, - "_view_module_version": "1.5.0", - "description_tooltip": null, - "_model_module": "@jupyter-widgets/controls", - "layout": "IPY_MODEL_fd48fb6d8ff6497c893e6b988746cec6" - } + "colab_type": "code", + "id": "qx1KjJzaWa-a", + "outputId": "0c7e1230-e132-4a6e-ad9a-537d30133ec6", + "vscode": { + "languageId": "python" + } + }, + "outputs": [ + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "cf72d967d81444f9b93a1cbe2f5e4eb6", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "HBox(children=(FloatProgress(value=0.0, description='Downloading', max=629.0, style=ProgressStyle(description_…" + ] + }, + "metadata": { + "tags": [] + }, + "output_type": "display_data" }, - "8dd03805a6fb4413a5225f0b38233cae": { - "model_module": "@jupyter-widgets/controls", - "model_name": "ProgressStyleModel", - "state": { - "_view_name": "StyleView", - "_model_name": "ProgressStyleModel", - "description_width": "initial", - "_view_module": "@jupyter-widgets/base", - "_model_module_version": "1.5.0", - "_view_count": null, - "_view_module_version": "1.2.0", - "bar_color": null, - "_model_module": "@jupyter-widgets/controls" - } + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\n" + ] }, - "31f933d9c20845b8b7b7aba903878f64": { - "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", - "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, - "_model_module_version": "1.2.0", - "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": null, - "align_items": null, - "bottom": null, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": null, - "grid_area": null, - "grid_template_columns": null, - "flex": null, - "_model_name": "LayoutModel", - "justify_items": null, - "grid_row": null, - "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "height": null, - "min_height": null, - "padding": null, - "grid_auto_rows": null, - "grid_gap": null, - "max_width": null, - "order": null, - "_view_module_version": "1.2.0", - "grid_template_areas": null, - "object_position": null, - "object_fit": null, - "grid_auto_columns": null, - "margin": null, - "display": null, - "left": null - } + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "c75db10073d6493aa9834c789537dc4a", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "HBox(children=(FloatProgress(value=0.0, description='Downloading', max=791656.0, style=ProgressStyle(descripti…" + ] + }, + "metadata": { + "tags": [] + }, + "output_type": "display_data" }, - "3dfad120fef440b9aed00ee86df227fa": { - "model_module": "@jupyter-widgets/controls", - "model_name": "DescriptionStyleModel", - "state": { - "_view_name": "StyleView", - "_model_name": "DescriptionStyleModel", - "description_width": "", - "_view_module": "@jupyter-widgets/base", - "_model_module_version": "1.5.0", - "_view_count": null, - "_view_module_version": "1.2.0", - "_model_module": "@jupyter-widgets/controls" - } + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\n" + ] }, - "fd48fb6d8ff6497c893e6b988746cec6": { - "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", - "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, - "_model_module_version": "1.2.0", - "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": null, - "align_items": null, - "bottom": null, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": null, - "grid_area": null, - "grid_template_columns": null, - "flex": null, - "_model_name": "LayoutModel", - "justify_items": null, - "grid_row": null, - "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "height": null, - "min_height": null, - "padding": null, - "grid_auto_rows": null, - "grid_gap": null, - "max_width": null, - "order": null, - "_view_module_version": "1.2.0", - "grid_template_areas": null, - "object_position": null, - "object_fit": null, - "grid_auto_columns": null, - "margin": null, - "display": null, - "left": null - } - }, - "0788251f4ea64c8084da30213e5bae4c": { - "model_module": "@jupyter-widgets/controls", - "model_name": "HBoxModel", - "state": { - "_view_name": "HBoxView", - "_dom_classes": [], - "_model_name": "HBoxModel", - "_view_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_view_count": null, - "_view_module_version": "1.5.0", - "box_style": "", - "layout": "IPY_MODEL_de987e3495914bd3bf05fca5f0411595", - "_model_module": "@jupyter-widgets/controls", - "children": [ - "IPY_MODEL_06402537a8fd42bda097759eb76519cb", - "IPY_MODEL_d1b088bfd7c84df4bfe125d64152da2e" + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "8a65f1aedc7749ccb66db78aa9852c45", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "HBox(children=(FloatProgress(value=0.0, description='Downloading', max=31.0, style=ProgressStyle(description_w…" ] - } - }, - "de987e3495914bd3bf05fca5f0411595": { - "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", - "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, - "_model_module_version": "1.2.0", - "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": null, - "align_items": null, - "bottom": null, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": null, - "grid_area": null, - "grid_template_columns": null, - "flex": null, - "_model_name": "LayoutModel", - "justify_items": null, - "grid_row": null, - "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "height": null, - "min_height": null, - "padding": null, - "grid_auto_rows": null, - "grid_gap": null, - "max_width": null, - "order": null, - "_view_module_version": "1.2.0", - "grid_template_areas": null, - "object_position": null, - "object_fit": null, - "grid_auto_columns": null, - "margin": null, - "display": null, - "left": null - } + }, + "metadata": { + "tags": [] + }, + "output_type": "display_data" }, - "06402537a8fd42bda097759eb76519cb": { - "model_module": "@jupyter-widgets/controls", - "model_name": "FloatProgressModel", - "state": { - "_view_name": "ProgressView", - "style": "IPY_MODEL_4791b0873f354c758e626837ebfeb5ff", - "_dom_classes": [], - "description": "Downloading: 100%", - "_model_name": "FloatProgressModel", - "bar_style": "success", - "max": 65, - "_view_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "value": 65, - "_view_count": null, - "_view_module_version": "1.5.0", - "orientation": "horizontal", - "min": 0, - "description_tooltip": null, - "_model_module": "@jupyter-widgets/controls", - "layout": "IPY_MODEL_90ffeb50fe374fec91476463f9748738" - } + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\n" + ] }, - "d1b088bfd7c84df4bfe125d64152da2e": { - "model_module": "@jupyter-widgets/controls", - "model_name": "HTMLModel", - "state": { - "_view_name": "HTMLView", - "style": "IPY_MODEL_7180636e594e4c69ad73b22cbba633c0", - "_dom_classes": [], - "description": "", - "_model_name": "HTMLModel", - "placeholder": "​", - "_view_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "value": " 65.0/65.0 [00:38<00:00, 1.71B/s]", - "_view_count": null, - "_view_module_version": "1.5.0", - "description_tooltip": null, - "_model_module": "@jupyter-widgets/controls", - "layout": "IPY_MODEL_9760bd142c844c6d8c0c7a63ad22c020" - } + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "0788251f4ea64c8084da30213e5bae4c", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "HBox(children=(FloatProgress(value=0.0, description='Downloading', max=65.0, style=ProgressStyle(description_w…" + ] + }, + "metadata": { + "tags": [] + }, + "output_type": "display_data" }, - "4791b0873f354c758e626837ebfeb5ff": { - "model_module": "@jupyter-widgets/controls", - "model_name": "ProgressStyleModel", - "state": { - "_view_name": "StyleView", - "_model_name": "ProgressStyleModel", - "description_width": "initial", - "_view_module": "@jupyter-widgets/base", - "_model_module_version": "1.5.0", - "_view_count": null, - "_view_module_version": "1.2.0", - "bar_color": null, - "_model_module": "@jupyter-widgets/controls" - } + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\n" + ] }, - "90ffeb50fe374fec91476463f9748738": { - "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", - "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, - "_model_module_version": "1.2.0", - "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": null, - "align_items": null, - "bottom": null, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": null, - "grid_area": null, - "grid_template_columns": null, - "flex": null, - "_model_name": "LayoutModel", - "justify_items": null, - "grid_row": null, - "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "height": null, - "min_height": null, - "padding": null, - "grid_auto_rows": null, - "grid_gap": null, - "max_width": null, - "order": null, - "_view_module_version": "1.2.0", - "grid_template_areas": null, - "object_position": null, - "object_fit": null, - "grid_auto_columns": null, - "margin": null, - "display": null, - "left": null - } + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "85e2b7c6a3964c7eb1ffc8fc74737600", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "HBox(children=(FloatProgress(value=0.0, description='Downloading', max=90.0, style=ProgressStyle(description_w…" + ] + }, + "metadata": { + "tags": [] + }, + "output_type": "display_data" }, - "7180636e594e4c69ad73b22cbba633c0": { - "model_module": "@jupyter-widgets/controls", - "model_name": "DescriptionStyleModel", - "state": { - "_view_name": "StyleView", - "_model_name": "DescriptionStyleModel", - "description_width": "", - "_view_module": "@jupyter-widgets/base", - "_model_module_version": "1.5.0", - "_view_count": null, - "_view_module_version": "1.2.0", - "_model_module": "@jupyter-widgets/controls" - } + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\n" + ] }, - "9760bd142c844c6d8c0c7a63ad22c020": { - "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", - "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, - "_model_module_version": "1.2.0", - "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": null, - "align_items": null, - "bottom": null, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": null, - "grid_area": null, - "grid_template_columns": null, - "flex": null, - "_model_name": "LayoutModel", - "justify_items": null, - "grid_row": null, - "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "height": null, - "min_height": null, - "padding": null, - "grid_auto_rows": null, - "grid_gap": null, - "max_width": null, - "order": null, - "_view_module_version": "1.2.0", - "grid_template_areas": null, - "object_position": null, - "object_fit": null, - "grid_auto_columns": null, - "margin": null, - "display": null, - "left": null - } + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "1e3fec599654493284a8e9febd1734de", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "HBox(children=(FloatProgress(value=0.0, description='Downloading', max=891612585.0, style=ProgressStyle(descri…" + ] + }, + "metadata": { + "tags": [] + }, + "output_type": "display_data" + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\n" + ] + } + ], + "source": [ + "nlp = pipeline(\"multitask-qa-qg\", model=\"valhalla/t5-base-qa-qg-hl\")" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "colab": {}, + "colab_type": "code", + "id": "SL5Cgm2XWikl", + "vscode": { + "languageId": "python" + } + }, + "outputs": [], + "source": [] + }, + { + "cell_type": "markdown", + "metadata": { + "colab_type": "text", + "id": "IwCA0sjtWldK" + }, + "source": [ + "#### QG" + ] + }, + { + "cell_type": "code", + "execution_count": 15, + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/", + "height": 84 + }, + "colab_type": "code", + "id": "1Q89FhL1WldS", + "outputId": "6a1c87f7-4601-4412-e21a-dded713ba188", + "vscode": { + "languageId": "python" + } + }, + "outputs": [ + { + "data": { + "text/plain": [ + "[{'answer': 'Python',\n", + " 'question': 'What programming language was created by Guido van Rossum?'},\n", + " {'answer': 'Guido van Rossum', 'question': 'Who created Python?'},\n", + " {'answer': '1991', 'question': 'Who created Python?'}]" + ] + }, + "execution_count": 15, + "metadata": { + "tags": [] + }, + "output_type": "execute_result" + } + ], + "source": [ + "nlp(text)" + ] + }, + { + "cell_type": "code", + "execution_count": 16, + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/", + "height": 118 + }, + "colab_type": "code", + "id": "Xwby-LJpWldj", + "outputId": "5e464b23-0609-4e51-92e7-18a440ffd2dc", + "vscode": { + "languageId": "python" + } + }, + "outputs": [ + { + "data": { + "text/plain": [ + "[{'answer': 'gravitation', 'question': 'What is another name for gravity?'},\n", + " {'answer': 'Earth',\n", + " 'question': 'On what planet does gravity give weight to physical objects?'},\n", + " {'answer': 'galaxies', 'question': 'What do the stars form into?'},\n", + " {'answer': 'weaker',\n", + " 'question': \"Gravity's effects become what as objects get further away?\"}]" + ] + }, + "execution_count": 16, + "metadata": { + "tags": [] + }, + "output_type": "execute_result" + } + ], + "source": [ + "nlp(text2)" + ] + }, + { + "cell_type": "code", + "execution_count": 17, + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/", + "height": 118 + }, + "colab_type": "code", + "id": "iTO5g4glWldp", + "outputId": "908e10a6-8d0d-4134-97f5-f142c7116bf4", + "vscode": { + "languageId": "python" + } + }, + "outputs": [ + { + "data": { + "text/plain": [ + "[{'answer': '1994', 'question': 'When was Forrest Gump released?'},\n", + " {'answer': '1986',\n", + " 'question': \"In what year was Winston Groom's novel based on Forrest Gump?\"},\n", + " {'answer': 'Alabama', 'question': 'Where is Forrest Gump from?'},\n", + " {'answer': 'novel',\n", + " 'question': 'Forrest Gump differs substantially from what?'}]" + ] + }, + "execution_count": 17, + "metadata": { + "tags": [] + }, + "output_type": "execute_result" + } + ], + "source": [ + "nlp(text4)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "colab": {}, + "colab_type": "code", + "id": "_YIZtVu8Wldw", + "vscode": { + "languageId": "python" + } + }, + "outputs": [], + "source": [] + }, + { + "cell_type": "markdown", + "metadata": { + "colab_type": "text", + "id": "qh46cnicWld1" + }, + "source": [ + "#### QA" + ] + }, + { + "cell_type": "code", + "execution_count": 18, + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/", + "height": 35 + }, + "colab_type": "code", + "id": "67nbW-dgWld2", + "outputId": "348f1bbf-eccf-4b10-f455-71a389411dce", + "vscode": { + "languageId": "python" + } + }, + "outputs": [ + { + "data": { + "application/vnd.google.colaboratory.intrinsic": "{\"type\":\"string\"}", + "text/plain": [ + "'Guido van Rossum'" + ] + }, + "execution_count": 18, + "metadata": { + "tags": [] + }, + "output_type": "execute_result" + } + ], + "source": [ + "nlp({\n", + " \"question\": \"Who created Python ?\",\n", + " \"context\": text\n", + "})" + ] + }, + { + "cell_type": "code", + "execution_count": 19, + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/", + "height": 35 + }, + "colab_type": "code", + "id": "2Ew7vRA2Wld6", + "outputId": "950d9949-1ed8-4041-8c47-80eb025dd1f8", + "vscode": { + "languageId": "python" + } + }, + "outputs": [ + { + "data": { + "application/vnd.google.colaboratory.intrinsic": "{\"type\":\"string\"}", + "text/plain": [ + "'Eric Roth'" + ] + }, + "execution_count": 19, + "metadata": { + "tags": [] + }, + "output_type": "execute_result" + } + ], + "source": [ + "nlp({\n", + " \"question\": \"Who wrote Forrest Gump ?\",\n", + " \"context\": text4\n", + "})" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "colab": {}, + "colab_type": "code", + "id": "0CkkYm6aWld-", + "vscode": { + "languageId": "python" + } + }, + "outputs": [], + "source": [] + }, + { + "cell_type": "markdown", + "metadata": { + "colab_type": "text", + "id": "z_Wq-2nuXDvl" + }, + "source": [ + "## End-to-End QG" + ] + }, + { + "cell_type": "markdown", + "metadata": { + "colab_type": "text", + "id": "xS4XfQh0X3W8" + }, + "source": [ + "### small model" + ] + }, + { + "cell_type": "code", + "execution_count": 4, + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/", + "height": 310, + "referenced_widgets": [ + "596c754de829409fbafc768d6157d1ba", + "9e10200df4fb47de8d11d919506fd420", + "f5420a7a84324b6aab69555cf2c4c28e", + "96554632324f4f4d8f51add8ded21c58", + "c23e78ce9eed4d2f8bd7453fb76f1813", + "d47a34125e0445d69e2e8b42709e3be7", + "198e22ecb91e4d0bbe659227e0263471", + "0b0663698db5484294f8cf0f4c9a7b8f", + "93dc353d29ac415abaf193f9e9da83ab", + "86c324181fa74c2483ef80064f23248e", + "b3f78454700b44f690716acb5ba9405e", + "e87a4d67ef534786b8be863eb55a8240", + "feaadea50b75486d9605c3f1b063bee2", + "9691c795b5534a09a3db391d13dc6337", + "12412cb52fa844e1aec2799b6df43f52", + "447f364655974be8b923f26261fa4635", + "0ff56e11acfb42138ba524ebcdc664cb", + "dbbd825fd25949408c836238b0b8119e", + "5ab4c3dbcd834437a3ea4b512b875f65", + "4ef7f6001ec44d11af53c23c1a4e5368", + "d440bbd4fe414f568d3d5136279a6b79", + "40a77051f36349d6a6e4f94554331839", + "9fe094b25570406db96cb643f5320b09", + "eb0f17ee32b04ba3844f609066bf7484", + "2f5f23d75292466985974cbc025d9058", + "b1eb7e8892604cf995c8a7749904f166", + "e770c99833df4c838ba632cb5af35920", + "7abd8e9099dc4ba2be5593940e3d69ee", + "656c13ab65bf40f691c14d3d7c9dd6d6", + "74075048891040a2b7da864cef5a3f23", + "413fab342b03411cbcb97b58b0450086", + "57fef133ea4b4c1f85388b9487b0032f", + "68a1ab12e17a4ba5b87f3ad55f6e488e", + "fcf7a63396ae408b8e2570aaa69a7ef1", + "e3b79fc7017c4135afae4c47b8e5e7cb", + "2b8c1735915c4c0b82e7faa92b45c281", + "1dadb55aade34302b54d6a4e5b82207a", + "2a1fcedd1d4f4f0099ec72c1acb30419", + "29e5c0b0b02f44dea7be3589d2327e0b", + "fefa681970db4c259c2e1aeb93abd6d5", + "b69b3fcb5e4d48b192f6aa7f45f01889", + "b08383598a1848118730f57ab4a44215", + "9ac10c77ff6b48978edc68ae9bc33cb9", + "faf5ec950167410f8dc89363f0c3c627", + "4b41626100c34fc081dd1cefb0fc0211", + "9fd4d4e6bcb444aeb115b9cec2b5252f", + "e0342c84e1404c93972fdb8cad71b363", + "c469ebd9fe344f92938478390737c523" + ] }, - "85e2b7c6a3964c7eb1ffc8fc74737600": { - "model_module": "@jupyter-widgets/controls", - "model_name": "HBoxModel", - "state": { - "_view_name": "HBoxView", - "_dom_classes": [], - "_model_name": "HBoxModel", - "_view_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_view_count": null, - "_view_module_version": "1.5.0", - "box_style": "", - "layout": "IPY_MODEL_9890ecc31a2c4bdaa7c9f2aeb8dcde4a", - "_model_module": "@jupyter-widgets/controls", - "children": [ - "IPY_MODEL_864ec70ff2ca47a6ac48d4bb67126b46", - "IPY_MODEL_9e12cbbe986d498290844708378f93a0" + "colab_type": "code", + "id": "mzJjXzpmXG7t", + "outputId": "41677aa0-9bdf-4d23-a879-bdd87e34f1a5", + "vscode": { + "languageId": "python" + } + }, + "outputs": [ + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "596c754de829409fbafc768d6157d1ba", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "HBox(children=(FloatProgress(value=0.0, description='Downloading', max=1348.0, style=ProgressStyle(description…" ] - } + }, + "metadata": { + "tags": [] + }, + "output_type": "display_data" }, - "9890ecc31a2c4bdaa7c9f2aeb8dcde4a": { - "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", - "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, - "_model_module_version": "1.2.0", - "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": null, - "align_items": null, - "bottom": null, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": null, - "grid_area": null, - "grid_template_columns": null, - "flex": null, - "_model_name": "LayoutModel", - "justify_items": null, - "grid_row": null, - "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "height": null, - "min_height": null, - "padding": null, - "grid_auto_rows": null, - "grid_gap": null, - "max_width": null, - "order": null, - "_view_module_version": "1.2.0", - "grid_template_areas": null, - "object_position": null, - "object_fit": null, - "grid_auto_columns": null, - "margin": null, - "display": null, - "left": null - } + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\n" + ] }, - "864ec70ff2ca47a6ac48d4bb67126b46": { - "model_module": "@jupyter-widgets/controls", - "model_name": "FloatProgressModel", - "state": { - "_view_name": "ProgressView", - "style": "IPY_MODEL_c01125ec848344959c88f7e090723d6f", - "_dom_classes": [], - "description": "Downloading: 100%", - "_model_name": "FloatProgressModel", - "bar_style": "success", - "max": 90, - "_view_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "value": 90, - "_view_count": null, - "_view_module_version": "1.5.0", - "orientation": "horizontal", - "min": 0, - "description_tooltip": null, - "_model_module": "@jupyter-widgets/controls", - "layout": "IPY_MODEL_35e37f582bad448a9f95e73c5375433b" - } + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "93dc353d29ac415abaf193f9e9da83ab", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "HBox(children=(FloatProgress(value=0.0, description='Downloading', max=791656.0, style=ProgressStyle(descripti…" + ] + }, + "metadata": { + "tags": [] + }, + "output_type": "display_data" }, - "9e12cbbe986d498290844708378f93a0": { - "model_module": "@jupyter-widgets/controls", - "model_name": "HTMLModel", - "state": { - "_view_name": "HTMLView", - "style": "IPY_MODEL_34aab39b61db49ada48366e68faedc5a", - "_dom_classes": [], - "description": "", - "_model_name": "HTMLModel", - "placeholder": "​", - "_view_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "value": " 90.0/90.0 [00:36<00:00, 2.47B/s]", - "_view_count": null, - "_view_module_version": "1.5.0", - "description_tooltip": null, - "_model_module": "@jupyter-widgets/controls", - "layout": "IPY_MODEL_82c653628f4c4bb8bf2b6bd49c7ae102" - } + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\n" + ] }, - "c01125ec848344959c88f7e090723d6f": { - "model_module": "@jupyter-widgets/controls", - "model_name": "ProgressStyleModel", - "state": { - "_view_name": "StyleView", - "_model_name": "ProgressStyleModel", - "description_width": "initial", - "_view_module": "@jupyter-widgets/base", - "_model_module_version": "1.5.0", - "_view_count": null, - "_view_module_version": "1.2.0", - "bar_color": null, - "_model_module": "@jupyter-widgets/controls" - } + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "0ff56e11acfb42138ba524ebcdc664cb", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "HBox(children=(FloatProgress(value=0.0, description='Downloading', max=31.0, style=ProgressStyle(description_w…" + ] + }, + "metadata": { + "tags": [] + }, + "output_type": "display_data" }, - "35e37f582bad448a9f95e73c5375433b": { - "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", - "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, - "_model_module_version": "1.2.0", - "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": null, - "align_items": null, - "bottom": null, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": null, - "grid_area": null, - "grid_template_columns": null, - "flex": null, - "_model_name": "LayoutModel", - "justify_items": null, - "grid_row": null, - "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "height": null, - "min_height": null, - "padding": null, - "grid_auto_rows": null, - "grid_gap": null, - "max_width": null, - "order": null, - "_view_module_version": "1.2.0", - "grid_template_areas": null, - "object_position": null, - "object_fit": null, - "grid_auto_columns": null, - "margin": null, - "display": null, - "left": null - } + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\n" + ] }, - "34aab39b61db49ada48366e68faedc5a": { - "model_module": "@jupyter-widgets/controls", - "model_name": "DescriptionStyleModel", - "state": { - "_view_name": "StyleView", - "_model_name": "DescriptionStyleModel", - "description_width": "", - "_view_module": "@jupyter-widgets/base", - "_model_module_version": "1.5.0", - "_view_count": null, - "_view_module_version": "1.2.0", - "_model_module": "@jupyter-widgets/controls" - } + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "2f5f23d75292466985974cbc025d9058", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "HBox(children=(FloatProgress(value=0.0, description='Downloading', max=1786.0, style=ProgressStyle(description…" + ] + }, + "metadata": { + "tags": [] + }, + "output_type": "display_data" + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\n" + ] }, - "82c653628f4c4bb8bf2b6bd49c7ae102": { - "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", - "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, - "_model_module_version": "1.2.0", - "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": null, - "align_items": null, - "bottom": null, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": null, - "grid_area": null, - "grid_template_columns": null, - "flex": null, - "_model_name": "LayoutModel", - "justify_items": null, - "grid_row": null, - "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "height": null, - "min_height": null, - "padding": null, - "grid_auto_rows": null, - "grid_gap": null, - "max_width": null, - "order": null, - "_view_module_version": "1.2.0", - "grid_template_areas": null, - "object_position": null, - "object_fit": null, - "grid_auto_columns": null, - "margin": null, - "display": null, - "left": null - } + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "68a1ab12e17a4ba5b87f3ad55f6e488e", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "HBox(children=(FloatProgress(value=0.0, description='Downloading', max=124.0, style=ProgressStyle(description_…" + ] + }, + "metadata": { + "tags": [] + }, + "output_type": "display_data" }, - "1e3fec599654493284a8e9febd1734de": { - "model_module": "@jupyter-widgets/controls", - "model_name": "HBoxModel", - "state": { - "_view_name": "HBoxView", - "_dom_classes": [], - "_model_name": "HBoxModel", - "_view_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_view_count": null, - "_view_module_version": "1.5.0", - "box_style": "", - "layout": "IPY_MODEL_c800ebd19e4141c3952a5e64061710a0", - "_model_module": "@jupyter-widgets/controls", - "children": [ - "IPY_MODEL_ce175483b07742398ee572bd32346000", - "IPY_MODEL_665614a60eab4caba1c152d2cd71a33a" + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\n" + ] + }, + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "b69b3fcb5e4d48b192f6aa7f45f01889", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "HBox(children=(FloatProgress(value=0.0, description='Downloading', max=242013376.0, style=ProgressStyle(descri…" ] - } + }, + "metadata": { + "tags": [] + }, + "output_type": "display_data" }, - "c800ebd19e4141c3952a5e64061710a0": { - "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", - "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, - "_model_module_version": "1.2.0", - "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": null, - "align_items": null, - "bottom": null, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": null, - "grid_area": null, - "grid_template_columns": null, - "flex": null, - "_model_name": "LayoutModel", - "justify_items": null, - "grid_row": null, - "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "height": null, - "min_height": null, - "padding": null, - "grid_auto_rows": null, - "grid_gap": null, - "max_width": null, - "order": null, - "_view_module_version": "1.2.0", - "grid_template_areas": null, - "object_position": null, - "object_fit": null, - "grid_auto_columns": null, - "margin": null, - "display": null, - "left": null - } + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\n" + ] + } + ], + "source": [ + "nlp = pipeline(\"e2e-qg\")" + ] + }, + { + "cell_type": "code", + "execution_count": 5, + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/", + "height": 84 }, - "ce175483b07742398ee572bd32346000": { - "model_module": "@jupyter-widgets/controls", - "model_name": "FloatProgressModel", - "state": { - "_view_name": "ProgressView", - "style": "IPY_MODEL_4039b52964244324b7ad4dcb72f766dc", - "_dom_classes": [], - "description": "Downloading: 100%", - "_model_name": "FloatProgressModel", - "bar_style": "success", - "max": 891612585, - "_view_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "value": 891612585, - "_view_count": null, - "_view_module_version": "1.5.0", - "orientation": "horizontal", - "min": 0, - "description_tooltip": null, - "_model_module": "@jupyter-widgets/controls", - "layout": "IPY_MODEL_055e538c3245473bb9ccc507492ae084" - } + "colab_type": "code", + "id": "LMdylLZhXOED", + "outputId": "055ff255-a788-45f4-b0ab-563d5075e115", + "vscode": { + "languageId": "python" + } + }, + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Your max_length is set to 256, but you input_length is only 54. You might consider decreasing max_length manually, e.g. summarizer('...', max_length=50)\n" + ] }, - "665614a60eab4caba1c152d2cd71a33a": { - "model_module": "@jupyter-widgets/controls", - "model_name": "HTMLModel", - "state": { - "_view_name": "HTMLView", - "style": "IPY_MODEL_a8889b2e8071450383475710e240fd81", - "_dom_classes": [], - "description": "", - "_model_name": "HTMLModel", - "placeholder": "​", - "_view_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "value": " 892M/892M [00:32<00:00, 27.4MB/s]", - "_view_count": null, - "_view_module_version": "1.5.0", - "description_tooltip": null, - "_model_module": "@jupyter-widgets/controls", - "layout": "IPY_MODEL_920b1612f1bf469a81770461ec07cf0e" - } + { + "data": { + "text/plain": [ + "['Who created Python?',\n", + " 'When was Python first released?',\n", + " \"What is Python's design philosophy?\"]" + ] + }, + "execution_count": 5, + "metadata": { + "tags": [] + }, + "output_type": "execute_result" + } + ], + "source": [ + "nlp(text)" + ] + }, + { + "cell_type": "code", + "execution_count": 6, + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/", + "height": 101 }, - "4039b52964244324b7ad4dcb72f766dc": { - "model_module": "@jupyter-widgets/controls", - "model_name": "ProgressStyleModel", - "state": { - "_view_name": "StyleView", - "_model_name": "ProgressStyleModel", - "description_width": "initial", - "_view_module": "@jupyter-widgets/base", - "_model_module_version": "1.5.0", - "_view_count": null, - "_view_module_version": "1.2.0", - "bar_color": null, - "_model_module": "@jupyter-widgets/controls" - } + "colab_type": "code", + "id": "Jd_2-fvYXaXb", + "outputId": "cbc7807b-3a7d-4f21-ae13-1e7959e01330", + "vscode": { + "languageId": "python" + } + }, + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Your max_length is set to 256, but you input_length is only 161. You might consider decreasing max_length manually, e.g. summarizer('...', max_length=50)\n" + ] }, - "055e538c3245473bb9ccc507492ae084": { - "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", - "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, - "_model_module_version": "1.2.0", - "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": null, - "align_items": null, - "bottom": null, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": null, - "grid_area": null, - "grid_template_columns": null, - "flex": null, - "_model_name": "LayoutModel", - "justify_items": null, - "grid_row": null, - "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "height": null, - "min_height": null, - "padding": null, - "grid_auto_rows": null, - "grid_gap": null, - "max_width": null, - "order": null, - "_view_module_version": "1.2.0", - "grid_template_areas": null, - "object_position": null, - "object_fit": null, - "grid_auto_columns": null, - "margin": null, - "display": null, - "left": null - } + { + "data": { + "text/plain": [ + "['What is the Latin word for gravitas?',\n", + " 'What does gravity give weight to on Earth?',\n", + " \"The Moon's gravity causes what?\",\n", + " 'Gravity has an infinite range, but its effects become weaker as objects get further away?']" + ] + }, + "execution_count": 6, + "metadata": { + "tags": [] + }, + "output_type": "execute_result" + } + ], + "source": [ + "nlp(text2)" + ] + }, + { + "cell_type": "code", + "execution_count": 7, + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/", + "height": 84 }, - "a8889b2e8071450383475710e240fd81": { - "model_module": "@jupyter-widgets/controls", - "model_name": "DescriptionStyleModel", - "state": { - "_view_name": "StyleView", - "_model_name": "DescriptionStyleModel", - "description_width": "", - "_view_module": "@jupyter-widgets/base", - "_model_module_version": "1.5.0", - "_view_count": null, - "_view_module_version": "1.2.0", - "_model_module": "@jupyter-widgets/controls" - } + "colab_type": "code", + "id": "bpDIQV3RXeAU", + "outputId": "8751cd92-0893-4e33-8151-c35efb67caf2", + "vscode": { + "languageId": "python" + } + }, + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Your max_length is set to 256, but you input_length is only 135. You might consider decreasing max_length manually, e.g. summarizer('...', max_length=50)\n" + ] }, - "920b1612f1bf469a81770461ec07cf0e": { - "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", - "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, - "_model_module_version": "1.2.0", - "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": null, - "align_items": null, - "bottom": null, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": null, - "grid_area": null, - "grid_template_columns": null, - "flex": null, - "_model_name": "LayoutModel", - "justify_items": null, - "grid_row": null, - "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "height": null, - "min_height": null, - "padding": null, - "grid_auto_rows": null, - "grid_gap": null, - "max_width": null, - "order": null, - "_view_module_version": "1.2.0", - "grid_template_areas": null, - "object_position": null, - "object_fit": null, - "grid_auto_columns": null, - "margin": null, - "display": null, - "left": null - } + { + "data": { + "text/plain": [ + "['Who directed the 1994 American comedy-drama film Forrest Gump?',\n", + " 'What is the name of the 1986 film that stars Tom Hanks, Robin Wright, Gary Sinise, Mykelti Williamson, and Sally Field?',\n", + " 'Who is the author of the 1994 film forrest gump? What is Forrest a film that is based on?']" + ] + }, + "execution_count": 7, + "metadata": { + "tags": [] + }, + "output_type": "execute_result" + } + ], + "source": [ + "nlp(text4)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "colab": {}, + "colab_type": "code", + "id": "BDo01sKdXjfG", + "vscode": { + "languageId": "python" + } + }, + "outputs": [], + "source": [] + }, + { + "cell_type": "markdown", + "metadata": { + "colab_type": "text", + "id": "CNBlsV_eX9mm" + }, + "source": [ + "### base-model" + ] + }, + { + "cell_type": "code", + "execution_count": 8, + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/", + "height": 310, + "referenced_widgets": [ + "354f7a87bb71411795bc63d11189094b", + "7600126083074eac9d68a285ca1b51ce", + "eb9fb93a24f242f987e1fd6993c717e0", + "277f08f8db154f29a23c087fa32b4cdf", + "d8178120b6e04b43b17163b3f35b8c2a", + "224671f61e8a473a87070572a74d0081", + "bd34099fedfa436c9567678aebd8e1d1", + "b860bd97046a4f5b93a5550a5b9a61b6", + "6032c576323540e1b6f47f2ff0f1d6b2", + "2dc45394f108468ea977eb797dae4682", + "39a08aba8f474fc0854e94febee2b4e0", + "19a943f30f884893badaafb1aa5a48a7", + "8c498364dd904bbebb68a5277396d9b3", + "6e5c0103307b4c7a84f10e496b92b741", + "4906ff20a11a497ea7d84bf030581c5e", + "1fa1810f1d794a50bd776f681394410c", + "ad01de75faf54ac595c540342bfbd16c", + "b3e04bba6f5348c1b6a0d5c818c09e2a", + "dc1a584f4d8a40eca39bd2efed426eec", + "1dc95b92e9db4eeb82851c679f709f8c", + "5ba3a07444d049ef99947ab336b20c07", + "19f6ee3c487c405c9ea9e0bfadf31906", + "afb1ace8c86e4106a53dd4f0c26f7ec7", + "97caa06c0b324d3aa829abdc14af6b5a", + "088383be40254e9e80f242bada211795", + "d180068e0b894d7bb0cf2b86772c39bb", + "0f6d8f6cde8e4b55a26d6e5594a1b412", + "88824aa767d04222ad3c66ab8a80d4c1", + "9cecc5ca989a41c39d9836fd29581459", + "c035151659df42a581cfc9bed5f59b43", + "f8b5c6f268f14f17af6666fa6b03fea1", + "724cdb6f5b78444e87b10f383f85923a", + "135b9811faba4960a3cebf8ad49f3f05", + "849ccde622f941c482e6c179763348a4", + "50eb6e47233340e5af9d0c809e24b30e", + "1a00e3b126494f6aa42a1739944cecb1", + "61a0cb3a3bb445b28bc29322179aa54f", + "c38d04838c9c4c47b9b8d90e7297a931", + "9748513b6c524dd3972b48041b0ac989", + "f56e1ca817f14b7ab8a2f40b2826f930", + "7e88959c5b7240818378e8ff75f63708", + "591ae711a57f4fa2b8f3d67a8f94d507", + "e34ea489ea824b81bc5bbaf07aec79ca", + "5db14e649c2c4ef095c31f2ed4d71094", + "2abf9fbf4e2f4d87bb73fc4eb2bebdc9", + "8c12a663bbd342979337e2e2ba029219", + "d9840f3af0a94581824ce3459773fcb7", + "69b4598ae36348448d6bc8b31f6fee41" + ] }, - "596c754de829409fbafc768d6157d1ba": { - "model_module": "@jupyter-widgets/controls", - "model_name": "HBoxModel", - "state": { - "_view_name": "HBoxView", - "_dom_classes": [], - "_model_name": "HBoxModel", - "_view_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_view_count": null, - "_view_module_version": "1.5.0", - "box_style": "", - "layout": "IPY_MODEL_9e10200df4fb47de8d11d919506fd420", - "_model_module": "@jupyter-widgets/controls", - "children": [ - "IPY_MODEL_f5420a7a84324b6aab69555cf2c4c28e", - "IPY_MODEL_96554632324f4f4d8f51add8ded21c58" + "colab_type": "code", + "id": "B5oUJ5_0X_Je", + "outputId": "d7d73f47-e92f-4e5f-dd30-85dc6c7d1a62", + "vscode": { + "languageId": "python" + } + }, + "outputs": [ + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "354f7a87bb71411795bc63d11189094b", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "HBox(children=(FloatProgress(value=0.0, description='Downloading', max=1350.0, style=ProgressStyle(description…" ] - } - }, - "9e10200df4fb47de8d11d919506fd420": { - "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", - "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, - "_model_module_version": "1.2.0", - "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": null, - "align_items": null, - "bottom": null, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": null, - "grid_area": null, - "grid_template_columns": null, - "flex": null, - "_model_name": "LayoutModel", - "justify_items": null, - "grid_row": null, - "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "height": null, - "min_height": null, - "padding": null, - "grid_auto_rows": null, - "grid_gap": null, - "max_width": null, - "order": null, - "_view_module_version": "1.2.0", - "grid_template_areas": null, - "object_position": null, - "object_fit": null, - "grid_auto_columns": null, - "margin": null, - "display": null, - "left": null - } + }, + "metadata": { + "tags": [] + }, + "output_type": "display_data" }, - "f5420a7a84324b6aab69555cf2c4c28e": { - "model_module": "@jupyter-widgets/controls", - "model_name": "FloatProgressModel", - "state": { - "_view_name": "ProgressView", - "style": "IPY_MODEL_c23e78ce9eed4d2f8bd7453fb76f1813", - "_dom_classes": [], - "description": "Downloading: 100%", - "_model_name": "FloatProgressModel", - "bar_style": "success", - "max": 1348, - "_view_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "value": 1348, - "_view_count": null, - "_view_module_version": "1.5.0", - "orientation": "horizontal", - "min": 0, - "description_tooltip": null, - "_model_module": "@jupyter-widgets/controls", - "layout": "IPY_MODEL_d47a34125e0445d69e2e8b42709e3be7" - } + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\n" + ] }, - "96554632324f4f4d8f51add8ded21c58": { - "model_module": "@jupyter-widgets/controls", - "model_name": "HTMLModel", - "state": { - "_view_name": "HTMLView", - "style": "IPY_MODEL_198e22ecb91e4d0bbe659227e0263471", - "_dom_classes": [], - "description": "", - "_model_name": "HTMLModel", - "placeholder": "​", - "_view_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "value": " 1.35k/1.35k [00:01<00:00, 823B/s]", - "_view_count": null, - "_view_module_version": "1.5.0", - "description_tooltip": null, - "_model_module": "@jupyter-widgets/controls", - "layout": "IPY_MODEL_0b0663698db5484294f8cf0f4c9a7b8f" - } + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "6032c576323540e1b6f47f2ff0f1d6b2", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "HBox(children=(FloatProgress(value=0.0, description='Downloading', max=791656.0, style=ProgressStyle(descripti…" + ] + }, + "metadata": { + "tags": [] + }, + "output_type": "display_data" }, - "c23e78ce9eed4d2f8bd7453fb76f1813": { - "model_module": "@jupyter-widgets/controls", - "model_name": "ProgressStyleModel", - "state": { - "_view_name": "StyleView", - "_model_name": "ProgressStyleModel", - "description_width": "initial", - "_view_module": "@jupyter-widgets/base", - "_model_module_version": "1.5.0", - "_view_count": null, - "_view_module_version": "1.2.0", - "bar_color": null, - "_model_module": "@jupyter-widgets/controls" - } + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\n" + ] }, - "d47a34125e0445d69e2e8b42709e3be7": { - "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", - "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, - "_model_module_version": "1.2.0", - "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": null, - "align_items": null, - "bottom": null, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": null, - "grid_area": null, - "grid_template_columns": null, - "flex": null, - "_model_name": "LayoutModel", - "justify_items": null, - "grid_row": null, - "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "height": null, - "min_height": null, - "padding": null, - "grid_auto_rows": null, - "grid_gap": null, - "max_width": null, - "order": null, - "_view_module_version": "1.2.0", - "grid_template_areas": null, - "object_position": null, - "object_fit": null, - "grid_auto_columns": null, - "margin": null, - "display": null, - "left": null - } + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "ad01de75faf54ac595c540342bfbd16c", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "HBox(children=(FloatProgress(value=0.0, description='Downloading', max=31.0, style=ProgressStyle(description_w…" + ] + }, + "metadata": { + "tags": [] + }, + "output_type": "display_data" }, - "198e22ecb91e4d0bbe659227e0263471": { - "model_module": "@jupyter-widgets/controls", - "model_name": "DescriptionStyleModel", - "state": { - "_view_name": "StyleView", - "_model_name": "DescriptionStyleModel", - "description_width": "", - "_view_module": "@jupyter-widgets/base", - "_model_module_version": "1.5.0", - "_view_count": null, - "_view_module_version": "1.2.0", - "_model_module": "@jupyter-widgets/controls" - } + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\n" + ] }, - "0b0663698db5484294f8cf0f4c9a7b8f": { - "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", - "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, - "_model_module_version": "1.2.0", - "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": null, - "align_items": null, - "bottom": null, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": null, - "grid_area": null, - "grid_template_columns": null, - "flex": null, - "_model_name": "LayoutModel", - "justify_items": null, - "grid_row": null, - "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "height": null, - "min_height": null, - "padding": null, - "grid_auto_rows": null, - "grid_gap": null, - "max_width": null, - "order": null, - "_view_module_version": "1.2.0", - "grid_template_areas": null, - "object_position": null, - "object_fit": null, - "grid_auto_columns": null, - "margin": null, - "display": null, - "left": null - } + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "088383be40254e9e80f242bada211795", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "HBox(children=(FloatProgress(value=0.0, description='Downloading', max=1786.0, style=ProgressStyle(description…" + ] + }, + "metadata": { + "tags": [] + }, + "output_type": "display_data" }, - "93dc353d29ac415abaf193f9e9da83ab": { - "model_module": "@jupyter-widgets/controls", - "model_name": "HBoxModel", - "state": { - "_view_name": "HBoxView", - "_dom_classes": [], - "_model_name": "HBoxModel", - "_view_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_view_count": null, - "_view_module_version": "1.5.0", - "box_style": "", - "layout": "IPY_MODEL_86c324181fa74c2483ef80064f23248e", - "_model_module": "@jupyter-widgets/controls", - "children": [ - "IPY_MODEL_b3f78454700b44f690716acb5ba9405e", - "IPY_MODEL_e87a4d67ef534786b8be863eb55a8240" + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\n" + ] + }, + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "135b9811faba4960a3cebf8ad49f3f05", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "HBox(children=(FloatProgress(value=0.0, description='Downloading', max=195.0, style=ProgressStyle(description_…" ] - } + }, + "metadata": { + "tags": [] + }, + "output_type": "display_data" }, - "86c324181fa74c2483ef80064f23248e": { - "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", - "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, - "_model_module_version": "1.2.0", - "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": null, - "align_items": null, - "bottom": null, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": null, - "grid_area": null, - "grid_template_columns": null, - "flex": null, - "_model_name": "LayoutModel", - "justify_items": null, - "grid_row": null, - "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "height": null, - "min_height": null, - "padding": null, - "grid_auto_rows": null, - "grid_gap": null, - "max_width": null, - "order": null, - "_view_module_version": "1.2.0", - "grid_template_areas": null, - "object_position": null, - "object_fit": null, - "grid_auto_columns": null, - "margin": null, - "display": null, - "left": null - } + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\n" + ] }, - "b3f78454700b44f690716acb5ba9405e": { - "model_module": "@jupyter-widgets/controls", - "model_name": "FloatProgressModel", - "state": { - "_view_name": "ProgressView", - "style": "IPY_MODEL_feaadea50b75486d9605c3f1b063bee2", - "_dom_classes": [], - "description": "Downloading: 100%", - "_model_name": "FloatProgressModel", - "bar_style": "success", - "max": 791656, - "_view_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "value": 791656, - "_view_count": null, - "_view_module_version": "1.5.0", - "orientation": "horizontal", - "min": 0, - "description_tooltip": null, - "_model_module": "@jupyter-widgets/controls", - "layout": "IPY_MODEL_9691c795b5534a09a3db391d13dc6337" - } + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "7e88959c5b7240818378e8ff75f63708", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "HBox(children=(FloatProgress(value=0.0, description='Downloading', max=891608946.0, style=ProgressStyle(descri…" + ] + }, + "metadata": { + "tags": [] + }, + "output_type": "display_data" }, - "e87a4d67ef534786b8be863eb55a8240": { - "model_module": "@jupyter-widgets/controls", - "model_name": "HTMLModel", - "state": { - "_view_name": "HTMLView", - "style": "IPY_MODEL_12412cb52fa844e1aec2799b6df43f52", - "_dom_classes": [], - "description": "", - "_model_name": "HTMLModel", - "placeholder": "​", - "_view_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "value": " 792k/792k [00:20<00:00, 39.4kB/s]", - "_view_count": null, - "_view_module_version": "1.5.0", - "description_tooltip": null, - "_model_module": "@jupyter-widgets/controls", - "layout": "IPY_MODEL_447f364655974be8b923f26261fa4635" - } + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\n" + ] + } + ], + "source": [ + "nlp = pipeline(\"e2e-qg\", model=\"valhalla/t5-base-e2e-qg\")" + ] + }, + { + "cell_type": "code", + "execution_count": 9, + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/", + "height": 84 }, - "feaadea50b75486d9605c3f1b063bee2": { - "model_module": "@jupyter-widgets/controls", - "model_name": "ProgressStyleModel", - "state": { - "_view_name": "StyleView", - "_model_name": "ProgressStyleModel", - "description_width": "initial", - "_view_module": "@jupyter-widgets/base", - "_model_module_version": "1.5.0", - "_view_count": null, - "_view_module_version": "1.2.0", - "bar_color": null, - "_model_module": "@jupyter-widgets/controls" - } + "colab_type": "code", + "id": "8lY3vzbgYCm3", + "outputId": "e3544994-dc8a-4734-f406-f85c71e080d5", + "vscode": { + "languageId": "python" + } + }, + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Your max_length is set to 256, but you input_length is only 54. You might consider decreasing max_length manually, e.g. summarizer('...', max_length=50)\n" + ] + }, + { + "data": { + "text/plain": [ + "['Who created Python?',\n", + " 'When was Python first released?',\n", + " \"What is Python's design philosophy?\"]" + ] + }, + "execution_count": 9, + "metadata": { + "tags": [] + }, + "output_type": "execute_result" + } + ], + "source": [ + "nlp(text)" + ] + }, + { + "cell_type": "code", + "execution_count": 10, + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/", + "height": 101 + }, + "colab_type": "code", + "id": "pWzd3JFQYI2O", + "outputId": "9a0f5db8-e337-47ce-a6da-d0c056bf3187", + "vscode": { + "languageId": "python" + } + }, + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Your max_length is set to 256, but you input_length is only 161. You might consider decreasing max_length manually, e.g. summarizer('...', max_length=50)\n" + ] + }, + { + "data": { + "text/plain": [ + "['What is the Latin word for gravitation?',\n", + " 'What does gravity give to physical objects on Earth?',\n", + " \"The Moon's gravity causes what?\",\n", + " 'Gravity has an infinite range, but its effects become weaker as objects get further away?']" + ] + }, + "execution_count": 10, + "metadata": { + "tags": [] + }, + "output_type": "execute_result" + } + ], + "source": [ + "nlp(text2)" + ] + }, + { + "cell_type": "code", + "execution_count": 11, + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/", + "height": 101 + }, + "colab_type": "code", + "id": "KHnw2ZlNYKNz", + "outputId": "dc902645-aee4-44d9-d3a5-a53d0ff2425a", + "vscode": { + "languageId": "python" + } + }, + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Your max_length is set to 256, but you input_length is only 135. You might consider decreasing max_length manually, e.g. summarizer('...', max_length=50)\n" + ] }, - "9691c795b5534a09a3db391d13dc6337": { + { + "data": { + "text/plain": [ + "['Who directed Forrest Gump?',\n", + " 'Who wrote the book of the same name?',\n", + " \"What is the name of the film based on Winston Groom's novel?\",\n", + " 'Which actor stars in the film?']" + ] + }, + "execution_count": 11, + "metadata": { + "tags": [] + }, + "output_type": "execute_result" + } + ], + "source": [ + "nlp(text4)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "colab": {}, + "colab_type": "code", + "id": "TMY7ZLdYYUkL", + "vscode": { + "languageId": "python" + } + }, + "outputs": [], + "source": [] + } + ], + "metadata": { + "accelerator": "GPU", + "colab": { + "authorship_tag": "ABX9TyMEXo/DG+1ayyk+oap21mlB", + "include_colab_link": true, + "name": "question_generation", + "provenance": [] + }, + "kernelspec": { + "display_name": "Python 3", + "name": "python3" + }, + "widgets": { + "application/vnd.jupyter.widget-state+json": { + "0221a5ef69194cf6973ea823ff202c65": { "model_module": "@jupyter-widgets/base", "model_name": "LayoutModel", "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, + "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": 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, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": 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, - "flex": null, - "_model_name": "LayoutModel", + "grid_template_rows": null, + "height": null, + "justify_content": null, "justify_items": null, - "grid_row": null, + "left": null, + "margin": null, "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "height": null, - "min_height": null, - "padding": null, - "grid_auto_rows": null, - "grid_gap": null, "max_width": null, - "order": null, - "_view_module_version": "1.2.0", - "grid_template_areas": null, - "object_position": null, + "min_height": null, + "min_width": null, "object_fit": null, - "grid_auto_columns": null, - "margin": null, - "display": null, - "left": null - } - }, - "12412cb52fa844e1aec2799b6df43f52": { - "model_module": "@jupyter-widgets/controls", - "model_name": "DescriptionStyleModel", - "state": { - "_view_name": "StyleView", - "_model_name": "DescriptionStyleModel", - "description_width": "", - "_view_module": "@jupyter-widgets/base", - "_model_module_version": "1.5.0", - "_view_count": null, - "_view_module_version": "1.2.0", - "_model_module": "@jupyter-widgets/controls" + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null } }, - "447f364655974be8b923f26261fa4635": { + "055e538c3245473bb9ccc507492ae084": { "model_module": "@jupyter-widgets/base", "model_name": "LayoutModel", "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, + "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": 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, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": 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, - "flex": null, - "_model_name": "LayoutModel", + "grid_template_rows": null, + "height": null, + "justify_content": null, "justify_items": null, - "grid_row": null, + "left": null, + "margin": null, "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "height": null, - "min_height": null, - "padding": null, - "grid_auto_rows": null, - "grid_gap": null, "max_width": null, - "order": null, - "_view_module_version": "1.2.0", - "grid_template_areas": null, - "object_position": null, + "min_height": null, + "min_width": null, "object_fit": null, - "grid_auto_columns": null, - "margin": null, - "display": null, - "left": null + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null } }, - "0ff56e11acfb42138ba524ebcdc664cb": { + "06402537a8fd42bda097759eb76519cb": { + "model_module": "@jupyter-widgets/controls", + "model_name": "FloatProgressModel", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "FloatProgressModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ProgressView", + "bar_style": "success", + "description": "Downloading: 100%", + "description_tooltip": null, + "layout": "IPY_MODEL_90ffeb50fe374fec91476463f9748738", + "max": 65, + "min": 0, + "orientation": "horizontal", + "style": "IPY_MODEL_4791b0873f354c758e626837ebfeb5ff", + "value": 65 + } + }, + "0788251f4ea64c8084da30213e5bae4c": { "model_module": "@jupyter-widgets/controls", "model_name": "HBoxModel", "state": { - "_view_name": "HBoxView", "_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_06402537a8fd42bda097759eb76519cb", + "IPY_MODEL_d1b088bfd7c84df4bfe125d64152da2e" + ], + "layout": "IPY_MODEL_de987e3495914bd3bf05fca5f0411595" + } + }, + "088383be40254e9e80f242bada211795": { + "model_module": "@jupyter-widgets/controls", + "model_name": "HBoxModel", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", + "_model_name": "HBoxModel", "_view_count": null, + "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", + "_view_name": "HBoxView", "box_style": "", - "layout": "IPY_MODEL_dbbd825fd25949408c836238b0b8119e", - "_model_module": "@jupyter-widgets/controls", "children": [ - "IPY_MODEL_5ab4c3dbcd834437a3ea4b512b875f65", - "IPY_MODEL_4ef7f6001ec44d11af53c23c1a4e5368" - ] + "IPY_MODEL_0f6d8f6cde8e4b55a26d6e5594a1b412", + "IPY_MODEL_88824aa767d04222ad3c66ab8a80d4c1" + ], + "layout": "IPY_MODEL_d180068e0b894d7bb0cf2b86772c39bb" } }, - "dbbd825fd25949408c836238b0b8119e": { + "0b0663698db5484294f8cf0f4c9a7b8f": { "model_module": "@jupyter-widgets/base", "model_name": "LayoutModel", "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, + "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": 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, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": 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, - "flex": null, - "_model_name": "LayoutModel", + "grid_template_rows": null, + "height": null, + "justify_content": null, "justify_items": null, - "grid_row": null, + "left": null, + "margin": null, "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "height": null, - "min_height": null, - "padding": null, - "grid_auto_rows": null, - "grid_gap": null, "max_width": null, - "order": null, - "_view_module_version": "1.2.0", - "grid_template_areas": null, - "object_position": null, + "min_height": null, + "min_width": null, "object_fit": null, - "grid_auto_columns": null, - "margin": null, - "display": null, - "left": null + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null } }, - "5ab4c3dbcd834437a3ea4b512b875f65": { + "0f6d8f6cde8e4b55a26d6e5594a1b412": { "model_module": "@jupyter-widgets/controls", "model_name": "FloatProgressModel", "state": { - "_view_name": "ProgressView", - "style": "IPY_MODEL_d440bbd4fe414f568d3d5136279a6b79", "_dom_classes": [], - "description": "Downloading: 100%", - "_model_name": "FloatProgressModel", - "bar_style": "success", - "max": 31, - "_view_module": "@jupyter-widgets/controls", + "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "value": 31, + "_model_name": "FloatProgressModel", "_view_count": null, + "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "orientation": "horizontal", - "min": 0, + "_view_name": "ProgressView", + "bar_style": "success", + "description": "Downloading: 100%", "description_tooltip": null, + "layout": "IPY_MODEL_c035151659df42a581cfc9bed5f59b43", + "max": 1786, + "min": 0, + "orientation": "horizontal", + "style": "IPY_MODEL_9cecc5ca989a41c39d9836fd29581459", + "value": 1786 + } + }, + "0ff56e11acfb42138ba524ebcdc664cb": { + "model_module": "@jupyter-widgets/controls", + "model_name": "HBoxModel", + "state": { + "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", - "layout": "IPY_MODEL_40a77051f36349d6a6e4f94554331839" + "_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_5ab4c3dbcd834437a3ea4b512b875f65", + "IPY_MODEL_4ef7f6001ec44d11af53c23c1a4e5368" + ], + "layout": "IPY_MODEL_dbbd825fd25949408c836238b0b8119e" } }, - "4ef7f6001ec44d11af53c23c1a4e5368": { + "11da8c1e1d024b6e8cbb6de0efa47380": { "model_module": "@jupyter-widgets/controls", "model_name": "HTMLModel", "state": { - "_view_name": "HTMLView", - "style": "IPY_MODEL_9fe094b25570406db96cb643f5320b09", "_dom_classes": [], - "description": "", - "_model_name": "HTMLModel", - "placeholder": "​", - "_view_module": "@jupyter-widgets/controls", + "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "value": " 31.0/31.0 [00:03<00:00, 9.58B/s]", + "_model_name": "HTMLModel", "_view_count": null, + "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", + "_view_name": "HTMLView", + "description": "", "description_tooltip": null, - "_model_module": "@jupyter-widgets/controls", - "layout": "IPY_MODEL_eb0f17ee32b04ba3844f609066bf7484" + "layout": "IPY_MODEL_d46d560becfc4da281f51e67a12b29b1", + "placeholder": "​", + "style": "IPY_MODEL_2f1d5aeea19c46448381385e567245bd", + "value": " 792k/792k [00:04<00:00, 192kB/s]" } }, - "d440bbd4fe414f568d3d5136279a6b79": { + "12412cb52fa844e1aec2799b6df43f52": { "model_module": "@jupyter-widgets/controls", - "model_name": "ProgressStyleModel", + "model_name": "DescriptionStyleModel", "state": { - "_view_name": "StyleView", - "_model_name": "ProgressStyleModel", - "description_width": "initial", - "_view_module": "@jupyter-widgets/base", + "_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", - "bar_color": null, - "_model_module": "@jupyter-widgets/controls" + "_view_name": "StyleView", + "description_width": "" } }, - "40a77051f36349d6a6e4f94554331839": { - "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", + "135b9811faba4960a3cebf8ad49f3f05": { + "model_module": "@jupyter-widgets/controls", + "model_name": "HBoxModel", "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, - "_model_module_version": "1.2.0", + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "HBoxModel", "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": null, - "align_items": null, - "bottom": null, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": null, - "grid_area": null, - "grid_template_columns": null, - "flex": null, - "_model_name": "LayoutModel", - "justify_items": null, - "grid_row": null, - "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "height": null, - "min_height": null, - "padding": null, - "grid_auto_rows": null, - "grid_gap": null, - "max_width": null, - "order": null, - "_view_module_version": "1.2.0", - "grid_template_areas": null, - "object_position": null, - "object_fit": null, - "grid_auto_columns": null, - "margin": null, - "display": null, - "left": null + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "HBoxView", + "box_style": "", + "children": [ + "IPY_MODEL_50eb6e47233340e5af9d0c809e24b30e", + "IPY_MODEL_1a00e3b126494f6aa42a1739944cecb1" + ], + "layout": "IPY_MODEL_849ccde622f941c482e6c179763348a4" } }, - "9fe094b25570406db96cb643f5320b09": { + "198e22ecb91e4d0bbe659227e0263471": { "model_module": "@jupyter-widgets/controls", "model_name": "DescriptionStyleModel", "state": { - "_view_name": "StyleView", - "_model_name": "DescriptionStyleModel", - "description_width": "", - "_view_module": "@jupyter-widgets/base", + "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", + "_model_name": "DescriptionStyleModel", "_view_count": null, - "_view_module_version": "1.2.0", - "_model_module": "@jupyter-widgets/controls" - } - }, - "eb0f17ee32b04ba3844f609066bf7484": { - "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", - "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, "_view_module": "@jupyter-widgets/base", - "overflow": null, - "_model_module_version": "1.2.0", - "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": null, - "align_items": null, - "bottom": null, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": null, - "grid_area": null, - "grid_template_columns": null, - "flex": null, - "_model_name": "LayoutModel", - "justify_items": null, - "grid_row": null, - "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "height": null, - "min_height": null, - "padding": null, - "grid_auto_rows": null, - "grid_gap": null, - "max_width": null, - "order": null, "_view_module_version": "1.2.0", - "grid_template_areas": null, - "object_position": null, - "object_fit": null, - "grid_auto_columns": null, - "margin": null, - "display": null, - "left": null + "_view_name": "StyleView", + "description_width": "" } }, - "2f5f23d75292466985974cbc025d9058": { + "19a943f30f884893badaafb1aa5a48a7": { "model_module": "@jupyter-widgets/controls", - "model_name": "HBoxModel", + "model_name": "HTMLModel", "state": { - "_view_name": "HBoxView", "_dom_classes": [], - "_model_name": "HBoxModel", - "_view_module": "@jupyter-widgets/controls", + "_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", - "box_style": "", - "layout": "IPY_MODEL_b1eb7e8892604cf995c8a7749904f166", - "_model_module": "@jupyter-widgets/controls", - "children": [ - "IPY_MODEL_e770c99833df4c838ba632cb5af35920", - "IPY_MODEL_7abd8e9099dc4ba2be5593940e3d69ee" - ] + "_view_name": "HTMLView", + "description": "", + "description_tooltip": null, + "layout": "IPY_MODEL_1fa1810f1d794a50bd776f681394410c", + "placeholder": "​", + "style": "IPY_MODEL_4906ff20a11a497ea7d84bf030581c5e", + "value": " 792k/792k [00:44<00:00, 18.0kB/s]" } }, - "b1eb7e8892604cf995c8a7749904f166": { + "19f6ee3c487c405c9ea9e0bfadf31906": { "model_module": "@jupyter-widgets/base", "model_name": "LayoutModel", "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, + "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": 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, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": 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, - "flex": null, - "_model_name": "LayoutModel", + "grid_template_rows": null, + "height": null, + "justify_content": null, "justify_items": null, - "grid_row": null, + "left": null, + "margin": null, "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "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 + } + }, + "19fdf701402e4eae9925288271e9b451": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, "grid_auto_rows": null, + "grid_column": null, "grid_gap": null, - "max_width": null, - "order": null, - "_view_module_version": "1.2.0", + "grid_row": null, "grid_template_areas": null, - "object_position": null, - "object_fit": null, - "grid_auto_columns": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, "margin": null, - "display": null, - "left": 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 } }, - "e770c99833df4c838ba632cb5af35920": { + "1a00e3b126494f6aa42a1739944cecb1": { "model_module": "@jupyter-widgets/controls", - "model_name": "FloatProgressModel", + "model_name": "HTMLModel", "state": { - "_view_name": "ProgressView", - "style": "IPY_MODEL_656c13ab65bf40f691c14d3d7c9dd6d6", "_dom_classes": [], - "description": "Downloading: 100%", - "_model_name": "FloatProgressModel", - "bar_style": "success", - "max": 1786, - "_view_module": "@jupyter-widgets/controls", + "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "value": 1786, + "_model_name": "HTMLModel", "_view_count": null, + "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "orientation": "horizontal", - "min": 0, + "_view_name": "HTMLView", + "description": "", "description_tooltip": null, + "layout": "IPY_MODEL_f56e1ca817f14b7ab8a2f40b2826f930", + "placeholder": "​", + "style": "IPY_MODEL_9748513b6c524dd3972b48041b0ac989", + "value": " 195/195 [00:38<00:00, 5.09B/s]" + } + }, + "1dadb55aade34302b54d6a4e5b82207a": { + "model_module": "@jupyter-widgets/controls", + "model_name": "ProgressStyleModel", + "state": { "_model_module": "@jupyter-widgets/controls", - "layout": "IPY_MODEL_74075048891040a2b7da864cef5a3f23" + "_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": "initial" } }, - "7abd8e9099dc4ba2be5593940e3d69ee": { + "1dc95b92e9db4eeb82851c679f709f8c": { "model_module": "@jupyter-widgets/controls", "model_name": "HTMLModel", "state": { - "_view_name": "HTMLView", - "style": "IPY_MODEL_413fab342b03411cbcb97b58b0450086", "_dom_classes": [], - "description": "", - "_model_name": "HTMLModel", - "placeholder": "​", - "_view_module": "@jupyter-widgets/controls", + "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "value": " 1.79k/1.79k [00:01<00:00, 1.11kB/s]", + "_model_name": "HTMLModel", "_view_count": null, + "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", + "_view_name": "HTMLView", + "description": "", "description_tooltip": null, - "_model_module": "@jupyter-widgets/controls", - "layout": "IPY_MODEL_57fef133ea4b4c1f85388b9487b0032f" + "layout": "IPY_MODEL_97caa06c0b324d3aa829abdc14af6b5a", + "placeholder": "​", + "style": "IPY_MODEL_afb1ace8c86e4106a53dd4f0c26f7ec7", + "value": " 31.0/31.0 [00:03<00:00, 9.59B/s]" } }, - "656c13ab65bf40f691c14d3d7c9dd6d6": { + "1e3fec599654493284a8e9febd1734de": { "model_module": "@jupyter-widgets/controls", - "model_name": "ProgressStyleModel", + "model_name": "HBoxModel", "state": { - "_view_name": "StyleView", - "_model_name": "ProgressStyleModel", - "description_width": "initial", - "_view_module": "@jupyter-widgets/base", + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", + "_model_name": "HBoxModel", "_view_count": null, - "_view_module_version": "1.2.0", - "bar_color": null, - "_model_module": "@jupyter-widgets/controls" + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "HBoxView", + "box_style": "", + "children": [ + "IPY_MODEL_ce175483b07742398ee572bd32346000", + "IPY_MODEL_665614a60eab4caba1c152d2cd71a33a" + ], + "layout": "IPY_MODEL_c800ebd19e4141c3952a5e64061710a0" } }, - "74075048891040a2b7da864cef5a3f23": { + "1fa1810f1d794a50bd776f681394410c": { "model_module": "@jupyter-widgets/base", "model_name": "LayoutModel", "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, + "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": 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, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": 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, - "flex": null, - "_model_name": "LayoutModel", + "grid_template_rows": null, + "height": null, + "justify_content": null, "justify_items": null, - "grid_row": null, + "left": null, + "margin": null, "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "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 + } + }, + "224671f61e8a473a87070572a74d0081": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, "grid_auto_rows": null, + "grid_column": null, "grid_gap": null, - "max_width": null, - "order": null, - "_view_module_version": "1.2.0", + "grid_row": null, "grid_template_areas": null, - "object_position": null, - "object_fit": null, - "grid_auto_columns": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, "margin": null, - "display": null, - "left": 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 } }, - "413fab342b03411cbcb97b58b0450086": { + "277f08f8db154f29a23c087fa32b4cdf": { + "model_module": "@jupyter-widgets/controls", + "model_name": "HTMLModel", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "HTMLModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "HTMLView", + "description": "", + "description_tooltip": null, + "layout": "IPY_MODEL_b860bd97046a4f5b93a5550a5b9a61b6", + "placeholder": "​", + "style": "IPY_MODEL_bd34099fedfa436c9567678aebd8e1d1", + "value": " 1.35k/1.35k [00:01<00:00, 779B/s]" + } + }, + "29e5c0b0b02f44dea7be3589d2327e0b": { "model_module": "@jupyter-widgets/controls", "model_name": "DescriptionStyleModel", "state": { - "_view_name": "StyleView", - "_model_name": "DescriptionStyleModel", - "description_width": "", - "_view_module": "@jupyter-widgets/base", + "_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", - "_model_module": "@jupyter-widgets/controls" + "_view_name": "StyleView", + "description_width": "" } }, - "57fef133ea4b4c1f85388b9487b0032f": { + "2a1fcedd1d4f4f0099ec72c1acb30419": { "model_module": "@jupyter-widgets/base", "model_name": "LayoutModel", "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, + "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": 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, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": 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, - "flex": null, - "_model_name": "LayoutModel", + "grid_template_rows": null, + "height": null, + "justify_content": null, "justify_items": null, - "grid_row": null, + "left": null, + "margin": null, "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "height": null, - "min_height": null, - "padding": null, - "grid_auto_rows": null, - "grid_gap": 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 + } + }, + "2abf9fbf4e2f4d87bb73fc4eb2bebdc9": { + "model_module": "@jupyter-widgets/controls", + "model_name": "ProgressStyleModel", + "state": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "ProgressStyleModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", - "grid_template_areas": null, - "object_position": null, - "object_fit": null, - "grid_auto_columns": null, - "margin": null, - "display": null, - "left": null + "_view_name": "StyleView", + "bar_color": null, + "description_width": "initial" } }, - "68a1ab12e17a4ba5b87f3ad55f6e488e": { + "2b8c1735915c4c0b82e7faa92b45c281": { "model_module": "@jupyter-widgets/controls", - "model_name": "HBoxModel", + "model_name": "HTMLModel", "state": { - "_view_name": "HBoxView", "_dom_classes": [], - "_model_name": "HBoxModel", - "_view_module": "@jupyter-widgets/controls", + "_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", - "box_style": "", - "layout": "IPY_MODEL_fcf7a63396ae408b8e2570aaa69a7ef1", - "_model_module": "@jupyter-widgets/controls", - "children": [ - "IPY_MODEL_e3b79fc7017c4135afae4c47b8e5e7cb", - "IPY_MODEL_2b8c1735915c4c0b82e7faa92b45c281" - ] + "_view_name": "HTMLView", + "description": "", + "description_tooltip": null, + "layout": "IPY_MODEL_fefa681970db4c259c2e1aeb93abd6d5", + "placeholder": "​", + "style": "IPY_MODEL_29e5c0b0b02f44dea7be3589d2327e0b", + "value": " 124/124 [00:14<00:00, 8.63B/s]" } }, - "fcf7a63396ae408b8e2570aaa69a7ef1": { + "2dc45394f108468ea977eb797dae4682": { "model_module": "@jupyter-widgets/base", "model_name": "LayoutModel", "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, + "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": 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, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": 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, - "flex": null, - "_model_name": "LayoutModel", + "grid_template_rows": null, + "height": null, + "justify_content": null, "justify_items": null, - "grid_row": null, + "left": null, + "margin": null, "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "height": null, - "min_height": null, - "padding": null, - "grid_auto_rows": null, - "grid_gap": null, "max_width": null, - "order": null, - "_view_module_version": "1.2.0", - "grid_template_areas": null, - "object_position": null, + "min_height": null, + "min_width": null, "object_fit": null, - "grid_auto_columns": null, - "margin": null, - "display": null, - "left": null - } - }, - "e3b79fc7017c4135afae4c47b8e5e7cb": { - "model_module": "@jupyter-widgets/controls", - "model_name": "FloatProgressModel", - "state": { - "_view_name": "ProgressView", - "style": "IPY_MODEL_1dadb55aade34302b54d6a4e5b82207a", - "_dom_classes": [], - "description": "Downloading: 100%", - "_model_name": "FloatProgressModel", - "bar_style": "success", - "max": 124, - "_view_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "value": 124, - "_view_count": null, - "_view_module_version": "1.5.0", - "orientation": "horizontal", - "min": 0, - "description_tooltip": null, - "_model_module": "@jupyter-widgets/controls", - "layout": "IPY_MODEL_2a1fcedd1d4f4f0099ec72c1acb30419" + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null } }, - "2b8c1735915c4c0b82e7faa92b45c281": { + "2f1d5aeea19c46448381385e567245bd": { "model_module": "@jupyter-widgets/controls", - "model_name": "HTMLModel", - "state": { - "_view_name": "HTMLView", - "style": "IPY_MODEL_29e5c0b0b02f44dea7be3589d2327e0b", - "_dom_classes": [], - "description": "", - "_model_name": "HTMLModel", - "placeholder": "​", - "_view_module": "@jupyter-widgets/controls", + "model_name": "DescriptionStyleModel", + "state": { + "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "value": " 124/124 [00:14<00:00, 8.63B/s]", + "_model_name": "DescriptionStyleModel", "_view_count": null, - "_view_module_version": "1.5.0", - "description_tooltip": null, - "_model_module": "@jupyter-widgets/controls", - "layout": "IPY_MODEL_fefa681970db4c259c2e1aeb93abd6d5" + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "description_width": "" } }, - "1dadb55aade34302b54d6a4e5b82207a": { + "2f5f23d75292466985974cbc025d9058": { "model_module": "@jupyter-widgets/controls", - "model_name": "ProgressStyleModel", + "model_name": "HBoxModel", "state": { - "_view_name": "StyleView", - "_model_name": "ProgressStyleModel", - "description_width": "initial", - "_view_module": "@jupyter-widgets/base", + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", + "_model_name": "HBoxModel", "_view_count": null, - "_view_module_version": "1.2.0", - "bar_color": null, - "_model_module": "@jupyter-widgets/controls" + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "HBoxView", + "box_style": "", + "children": [ + "IPY_MODEL_e770c99833df4c838ba632cb5af35920", + "IPY_MODEL_7abd8e9099dc4ba2be5593940e3d69ee" + ], + "layout": "IPY_MODEL_b1eb7e8892604cf995c8a7749904f166" } }, - "2a1fcedd1d4f4f0099ec72c1acb30419": { + "31f933d9c20845b8b7b7aba903878f64": { "model_module": "@jupyter-widgets/base", "model_name": "LayoutModel", "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, + "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": 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, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": 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, - "flex": null, - "_model_name": "LayoutModel", + "grid_template_rows": null, + "height": null, + "justify_content": null, "justify_items": null, - "grid_row": null, + "left": null, + "margin": null, "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "height": null, - "min_height": null, - "padding": null, - "grid_auto_rows": null, - "grid_gap": null, "max_width": null, - "order": null, - "_view_module_version": "1.2.0", - "grid_template_areas": null, - "object_position": null, + "min_height": null, + "min_width": null, "object_fit": null, - "grid_auto_columns": null, - "margin": null, - "display": null, - "left": null + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null } }, - "29e5c0b0b02f44dea7be3589d2327e0b": { + "34aab39b61db49ada48366e68faedc5a": { "model_module": "@jupyter-widgets/controls", "model_name": "DescriptionStyleModel", "state": { - "_view_name": "StyleView", - "_model_name": "DescriptionStyleModel", - "description_width": "", - "_view_module": "@jupyter-widgets/base", + "_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", - "_model_module": "@jupyter-widgets/controls" + "_view_name": "StyleView", + "description_width": "" } }, - "fefa681970db4c259c2e1aeb93abd6d5": { - "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", + "34d93b3fe1704ed38b5dceee3f777daa": { + "model_module": "@jupyter-widgets/controls", + "model_name": "FloatProgressModel", "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, - "_model_module_version": "1.2.0", + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "FloatProgressModel", "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": null, - "align_items": null, - "bottom": null, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": null, - "grid_area": null, - "grid_template_columns": null, - "flex": null, - "_model_name": "LayoutModel", - "justify_items": null, - "grid_row": null, - "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "height": null, - "min_height": null, - "padding": null, - "grid_auto_rows": null, - "grid_gap": null, - "max_width": null, - "order": null, - "_view_module_version": "1.2.0", - "grid_template_areas": null, - "object_position": null, - "object_fit": null, - "grid_auto_columns": null, - "margin": null, - "display": null, - "left": null + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ProgressView", + "bar_style": "success", + "description": "Downloading: 100%", + "description_tooltip": null, + "layout": "IPY_MODEL_31f933d9c20845b8b7b7aba903878f64", + "max": 31, + "min": 0, + "orientation": "horizontal", + "style": "IPY_MODEL_8dd03805a6fb4413a5225f0b38233cae", + "value": 31 } }, - "b69b3fcb5e4d48b192f6aa7f45f01889": { + "354f7a87bb71411795bc63d11189094b": { "model_module": "@jupyter-widgets/controls", "model_name": "HBoxModel", "state": { - "_view_name": "HBoxView", "_dom_classes": [], - "_model_name": "HBoxModel", - "_view_module": "@jupyter-widgets/controls", + "_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": "", - "layout": "IPY_MODEL_b08383598a1848118730f57ab4a44215", - "_model_module": "@jupyter-widgets/controls", "children": [ - "IPY_MODEL_9ac10c77ff6b48978edc68ae9bc33cb9", - "IPY_MODEL_faf5ec950167410f8dc89363f0c3c627" - ] + "IPY_MODEL_eb9fb93a24f242f987e1fd6993c717e0", + "IPY_MODEL_277f08f8db154f29a23c087fa32b4cdf" + ], + "layout": "IPY_MODEL_7600126083074eac9d68a285ca1b51ce" } }, - "b08383598a1848118730f57ab4a44215": { + "35e37f582bad448a9f95e73c5375433b": { "model_module": "@jupyter-widgets/base", "model_name": "LayoutModel", "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, + "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": 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, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": 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, - "flex": null, - "_model_name": "LayoutModel", + "grid_template_rows": null, + "height": null, + "justify_content": null, "justify_items": null, - "grid_row": null, + "left": null, + "margin": null, "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "height": null, - "min_height": null, - "padding": null, - "grid_auto_rows": null, - "grid_gap": null, "max_width": null, - "order": null, - "_view_module_version": "1.2.0", - "grid_template_areas": null, - "object_position": null, + "min_height": null, + "min_width": null, "object_fit": null, - "grid_auto_columns": null, - "margin": null, - "display": null, - "left": null + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null } }, - "9ac10c77ff6b48978edc68ae9bc33cb9": { + "39a08aba8f474fc0854e94febee2b4e0": { "model_module": "@jupyter-widgets/controls", "model_name": "FloatProgressModel", - "state": { - "_view_name": "ProgressView", - "style": "IPY_MODEL_4b41626100c34fc081dd1cefb0fc0211", + "state": { "_dom_classes": [], - "description": "Downloading: 100%", - "_model_name": "FloatProgressModel", - "bar_style": "success", - "max": 242013376, - "_view_module": "@jupyter-widgets/controls", + "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "value": 242013376, + "_model_name": "FloatProgressModel", "_view_count": null, + "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "orientation": "horizontal", - "min": 0, + "_view_name": "ProgressView", + "bar_style": "success", + "description": "Downloading: 100%", "description_tooltip": null, - "_model_module": "@jupyter-widgets/controls", - "layout": "IPY_MODEL_9fd4d4e6bcb444aeb115b9cec2b5252f" + "layout": "IPY_MODEL_6e5c0103307b4c7a84f10e496b92b741", + "max": 791656, + "min": 0, + "orientation": "horizontal", + "style": "IPY_MODEL_8c498364dd904bbebb68a5277396d9b3", + "value": 791656 } }, - "faf5ec950167410f8dc89363f0c3c627": { + "3dfad120fef440b9aed00ee86df227fa": { "model_module": "@jupyter-widgets/controls", - "model_name": "HTMLModel", + "model_name": "DescriptionStyleModel", "state": { - "_view_name": "HTMLView", - "style": "IPY_MODEL_e0342c84e1404c93972fdb8cad71b363", - "_dom_classes": [], - "description": "", - "_model_name": "HTMLModel", - "placeholder": "​", - "_view_module": "@jupyter-widgets/controls", + "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "value": " 242M/242M [00:09<00:00, 24.4MB/s]", + "_model_name": "DescriptionStyleModel", "_view_count": null, - "_view_module_version": "1.5.0", - "description_tooltip": null, - "_model_module": "@jupyter-widgets/controls", - "layout": "IPY_MODEL_c469ebd9fe344f92938478390737c523" + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "description_width": "" } }, - "4b41626100c34fc081dd1cefb0fc0211": { + "4039b52964244324b7ad4dcb72f766dc": { "model_module": "@jupyter-widgets/controls", "model_name": "ProgressStyleModel", "state": { - "_view_name": "StyleView", - "_model_name": "ProgressStyleModel", - "description_width": "initial", - "_view_module": "@jupyter-widgets/base", + "_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, - "_model_module": "@jupyter-widgets/controls" + "description_width": "initial" } }, - "9fd4d4e6bcb444aeb115b9cec2b5252f": { + "40a77051f36349d6a6e4f94554331839": { "model_module": "@jupyter-widgets/base", "model_name": "LayoutModel", "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, + "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": 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, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": 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, - "flex": null, - "_model_name": "LayoutModel", + "grid_template_rows": null, + "height": null, + "justify_content": null, "justify_items": null, - "grid_row": null, + "left": null, + "margin": null, "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "height": null, - "min_height": null, - "padding": null, - "grid_auto_rows": null, - "grid_gap": null, "max_width": null, - "order": null, - "_view_module_version": "1.2.0", - "grid_template_areas": null, - "object_position": null, + "min_height": null, + "min_width": null, "object_fit": null, - "grid_auto_columns": null, - "margin": null, - "display": null, - "left": null + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null } }, - "e0342c84e1404c93972fdb8cad71b363": { + "413fab342b03411cbcb97b58b0450086": { "model_module": "@jupyter-widgets/controls", "model_name": "DescriptionStyleModel", "state": { - "_view_name": "StyleView", - "_model_name": "DescriptionStyleModel", - "description_width": "", - "_view_module": "@jupyter-widgets/base", + "_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", - "_model_module": "@jupyter-widgets/controls" + "_view_name": "StyleView", + "description_width": "" } }, - "c469ebd9fe344f92938478390737c523": { + "447f364655974be8b923f26261fa4635": { "model_module": "@jupyter-widgets/base", "model_name": "LayoutModel", "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, + "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": 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, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": 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, - "flex": null, - "_model_name": "LayoutModel", + "grid_template_rows": null, + "height": null, + "justify_content": null, "justify_items": null, - "grid_row": null, + "left": null, + "margin": null, "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "height": null, - "min_height": null, - "padding": null, - "grid_auto_rows": null, - "grid_gap": null, "max_width": null, - "order": null, - "_view_module_version": "1.2.0", - "grid_template_areas": null, - "object_position": null, + "min_height": null, + "min_width": null, "object_fit": null, - "grid_auto_columns": null, - "margin": null, - "display": null, - "left": null + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null } }, - "354f7a87bb71411795bc63d11189094b": { + "4791b0873f354c758e626837ebfeb5ff": { "model_module": "@jupyter-widgets/controls", - "model_name": "HBoxModel", + "model_name": "ProgressStyleModel", "state": { - "_view_name": "HBoxView", - "_dom_classes": [], - "_model_name": "HBoxModel", - "_view_module": "@jupyter-widgets/controls", + "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", + "_model_name": "ProgressStyleModel", "_view_count": null, - "_view_module_version": "1.5.0", - "box_style": "", - "layout": "IPY_MODEL_7600126083074eac9d68a285ca1b51ce", - "_model_module": "@jupyter-widgets/controls", - "children": [ - "IPY_MODEL_eb9fb93a24f242f987e1fd6993c717e0", - "IPY_MODEL_277f08f8db154f29a23c087fa32b4cdf" - ] - } - }, - "7600126083074eac9d68a285ca1b51ce": { - "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", - "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, "_view_module": "@jupyter-widgets/base", - "overflow": null, - "_model_module_version": "1.2.0", - "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": null, - "align_items": null, - "bottom": null, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": null, - "grid_area": null, - "grid_template_columns": null, - "flex": null, - "_model_name": "LayoutModel", - "justify_items": null, - "grid_row": null, - "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "height": null, - "min_height": null, - "padding": null, - "grid_auto_rows": null, - "grid_gap": null, - "max_width": null, - "order": null, "_view_module_version": "1.2.0", - "grid_template_areas": null, - "object_position": null, - "object_fit": null, - "grid_auto_columns": null, - "margin": null, - "display": null, - "left": null + "_view_name": "StyleView", + "bar_color": null, + "description_width": "initial" } }, - "eb9fb93a24f242f987e1fd6993c717e0": { + "48a87f26c0e145c79bcacb7a66f2e03c": { "model_module": "@jupyter-widgets/controls", - "model_name": "FloatProgressModel", + "model_name": "HTMLModel", "state": { - "_view_name": "ProgressView", - "style": "IPY_MODEL_d8178120b6e04b43b17163b3f35b8c2a", "_dom_classes": [], - "description": "Downloading: 100%", - "_model_name": "FloatProgressModel", - "bar_style": "success", - "max": 1350, - "_view_module": "@jupyter-widgets/controls", + "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "value": 1350, + "_model_name": "HTMLModel", "_view_count": null, + "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "orientation": "horizontal", - "min": 0, + "_view_name": "HTMLView", + "description": "", "description_tooltip": null, + "layout": "IPY_MODEL_ec840a9a88d647eda8090fba3768d36a", + "placeholder": "​", + "style": "IPY_MODEL_dcdd610bc53549109eff5ee720030702", + "value": " 629/629 [00:43<00:00, 14.4B/s]" + } + }, + "4906ff20a11a497ea7d84bf030581c5e": { + "model_module": "@jupyter-widgets/controls", + "model_name": "DescriptionStyleModel", + "state": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionStyleModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "description_width": "" + } + }, + "4b41626100c34fc081dd1cefb0fc0211": { + "model_module": "@jupyter-widgets/controls", + "model_name": "ProgressStyleModel", + "state": { "_model_module": "@jupyter-widgets/controls", - "layout": "IPY_MODEL_224671f61e8a473a87070572a74d0081" + "_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": "initial" } }, - "277f08f8db154f29a23c087fa32b4cdf": { + "4ef7f6001ec44d11af53c23c1a4e5368": { "model_module": "@jupyter-widgets/controls", "model_name": "HTMLModel", "state": { - "_view_name": "HTMLView", - "style": "IPY_MODEL_bd34099fedfa436c9567678aebd8e1d1", "_dom_classes": [], - "description": "", - "_model_name": "HTMLModel", - "placeholder": "​", - "_view_module": "@jupyter-widgets/controls", + "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "value": " 1.35k/1.35k [00:01<00:00, 779B/s]", + "_model_name": "HTMLModel", "_view_count": null, + "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", + "_view_name": "HTMLView", + "description": "", "description_tooltip": null, - "_model_module": "@jupyter-widgets/controls", - "layout": "IPY_MODEL_b860bd97046a4f5b93a5550a5b9a61b6" + "layout": "IPY_MODEL_eb0f17ee32b04ba3844f609066bf7484", + "placeholder": "​", + "style": "IPY_MODEL_9fe094b25570406db96cb643f5320b09", + "value": " 31.0/31.0 [00:03<00:00, 9.58B/s]" } }, - "d8178120b6e04b43b17163b3f35b8c2a": { + "50eb6e47233340e5af9d0c809e24b30e": { "model_module": "@jupyter-widgets/controls", - "model_name": "ProgressStyleModel", + "model_name": "FloatProgressModel", "state": { - "_view_name": "StyleView", - "_model_name": "ProgressStyleModel", - "description_width": "initial", - "_view_module": "@jupyter-widgets/base", + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", + "_model_name": "FloatProgressModel", "_view_count": null, - "_view_module_version": "1.2.0", - "bar_color": null, - "_model_module": "@jupyter-widgets/controls" + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ProgressView", + "bar_style": "success", + "description": "Downloading: 100%", + "description_tooltip": null, + "layout": "IPY_MODEL_c38d04838c9c4c47b9b8d90e7297a931", + "max": 195, + "min": 0, + "orientation": "horizontal", + "style": "IPY_MODEL_61a0cb3a3bb445b28bc29322179aa54f", + "value": 195 } }, - "224671f61e8a473a87070572a74d0081": { + "57af1dc901794180a0c3a0ad598a0fec": { "model_module": "@jupyter-widgets/base", "model_name": "LayoutModel", "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, "grid_template_rows": null, - "right": null, + "height": null, "justify_content": null, - "_view_module": "@jupyter-widgets/base", + "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 + } + }, + "57fef133ea4b4c1f85388b9487b0032f": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "state": { + "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": 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, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": 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, - "flex": null, - "_model_name": "LayoutModel", + "grid_template_rows": null, + "height": null, + "justify_content": null, "justify_items": null, - "grid_row": null, + "left": null, + "margin": null, "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "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 + } + }, + "591ae711a57f4fa2b8f3d67a8f94d507": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, "grid_auto_rows": null, + "grid_column": null, "grid_gap": null, - "max_width": null, - "order": null, - "_view_module_version": "1.2.0", + "grid_row": null, "grid_template_areas": null, - "object_position": null, - "object_fit": null, - "grid_auto_columns": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, "margin": null, - "display": null, - "left": 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 + } + }, + "596c754de829409fbafc768d6157d1ba": { + "model_module": "@jupyter-widgets/controls", + "model_name": "HBoxModel", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "HBoxModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "HBoxView", + "box_style": "", + "children": [ + "IPY_MODEL_f5420a7a84324b6aab69555cf2c4c28e", + "IPY_MODEL_96554632324f4f4d8f51add8ded21c58" + ], + "layout": "IPY_MODEL_9e10200df4fb47de8d11d919506fd420" + } + }, + "5ab4c3dbcd834437a3ea4b512b875f65": { + "model_module": "@jupyter-widgets/controls", + "model_name": "FloatProgressModel", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "FloatProgressModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ProgressView", + "bar_style": "success", + "description": "Downloading: 100%", + "description_tooltip": null, + "layout": "IPY_MODEL_40a77051f36349d6a6e4f94554331839", + "max": 31, + "min": 0, + "orientation": "horizontal", + "style": "IPY_MODEL_d440bbd4fe414f568d3d5136279a6b79", + "value": 31 } }, - "bd34099fedfa436c9567678aebd8e1d1": { + "5ba3a07444d049ef99947ab336b20c07": { "model_module": "@jupyter-widgets/controls", - "model_name": "DescriptionStyleModel", + "model_name": "ProgressStyleModel", "state": { - "_view_name": "StyleView", - "_model_name": "DescriptionStyleModel", - "description_width": "", - "_view_module": "@jupyter-widgets/base", + "_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", - "_model_module": "@jupyter-widgets/controls" + "_view_name": "StyleView", + "bar_color": null, + "description_width": "initial" } }, - "b860bd97046a4f5b93a5550a5b9a61b6": { - "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", + "5bff9fcea04d458dad3de823aa714873": { + "model_module": "@jupyter-widgets/controls", + "model_name": "ProgressStyleModel", "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, - "_model_module_version": "1.2.0", + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "ProgressStyleModel", "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": null, - "align_items": null, - "bottom": null, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": null, - "grid_area": null, - "grid_template_columns": null, - "flex": null, - "_model_name": "LayoutModel", - "justify_items": null, - "grid_row": null, - "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "height": null, - "min_height": null, - "padding": null, - "grid_auto_rows": null, - "grid_gap": null, - "max_width": null, - "order": null, + "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", - "grid_template_areas": null, - "object_position": null, - "object_fit": null, - "grid_auto_columns": null, - "margin": null, - "display": null, - "left": null + "_view_name": "StyleView", + "bar_color": null, + "description_width": "initial" + } + }, + "5db14e649c2c4ef095c31f2ed4d71094": { + "model_module": "@jupyter-widgets/controls", + "model_name": "HTMLModel", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "HTMLModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "HTMLView", + "description": "", + "description_tooltip": null, + "layout": "IPY_MODEL_69b4598ae36348448d6bc8b31f6fee41", + "placeholder": "​", + "style": "IPY_MODEL_d9840f3af0a94581824ce3459773fcb7", + "value": " 892M/892M [00:32<00:00, 27.1MB/s]" } }, "6032c576323540e1b6f47f2ff0f1d6b2": { "model_module": "@jupyter-widgets/controls", "model_name": "HBoxModel", "state": { - "_view_name": "HBoxView", "_dom_classes": [], - "_model_name": "HBoxModel", - "_view_module": "@jupyter-widgets/controls", + "_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": "", - "layout": "IPY_MODEL_2dc45394f108468ea977eb797dae4682", - "_model_module": "@jupyter-widgets/controls", "children": [ "IPY_MODEL_39a08aba8f474fc0854e94febee2b4e0", "IPY_MODEL_19a943f30f884893badaafb1aa5a48a7" - ] + ], + "layout": "IPY_MODEL_2dc45394f108468ea977eb797dae4682" } }, - "2dc45394f108468ea977eb797dae4682": { - "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", + "61a0cb3a3bb445b28bc29322179aa54f": { + "model_module": "@jupyter-widgets/controls", + "model_name": "ProgressStyleModel", "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, - "_model_module_version": "1.2.0", + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "ProgressStyleModel", "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": null, - "align_items": null, - "bottom": null, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": null, - "grid_area": null, - "grid_template_columns": null, - "flex": null, - "_model_name": "LayoutModel", - "justify_items": null, - "grid_row": null, - "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "height": null, - "min_height": null, - "padding": null, - "grid_auto_rows": null, - "grid_gap": null, - "max_width": null, - "order": null, + "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", - "grid_template_areas": null, - "object_position": null, - "object_fit": null, - "grid_auto_columns": null, - "margin": null, - "display": null, - "left": null + "_view_name": "StyleView", + "bar_color": null, + "description_width": "initial" } }, - "39a08aba8f474fc0854e94febee2b4e0": { + "656c13ab65bf40f691c14d3d7c9dd6d6": { "model_module": "@jupyter-widgets/controls", - "model_name": "FloatProgressModel", + "model_name": "ProgressStyleModel", "state": { - "_view_name": "ProgressView", - "style": "IPY_MODEL_8c498364dd904bbebb68a5277396d9b3", - "_dom_classes": [], - "description": "Downloading: 100%", - "_model_name": "FloatProgressModel", - "bar_style": "success", - "max": 791656, - "_view_module": "@jupyter-widgets/controls", + "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "value": 791656, + "_model_name": "ProgressStyleModel", "_view_count": null, - "_view_module_version": "1.5.0", - "orientation": "horizontal", - "min": 0, - "description_tooltip": null, - "_model_module": "@jupyter-widgets/controls", - "layout": "IPY_MODEL_6e5c0103307b4c7a84f10e496b92b741" + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "bar_color": null, + "description_width": "initial" } }, - "19a943f30f884893badaafb1aa5a48a7": { + "665614a60eab4caba1c152d2cd71a33a": { "model_module": "@jupyter-widgets/controls", "model_name": "HTMLModel", "state": { - "_view_name": "HTMLView", - "style": "IPY_MODEL_4906ff20a11a497ea7d84bf030581c5e", "_dom_classes": [], - "description": "", - "_model_name": "HTMLModel", - "placeholder": "​", - "_view_module": "@jupyter-widgets/controls", + "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "value": " 792k/792k [00:44<00:00, 18.0kB/s]", + "_model_name": "HTMLModel", "_view_count": null, + "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", + "_view_name": "HTMLView", + "description": "", "description_tooltip": null, - "_model_module": "@jupyter-widgets/controls", - "layout": "IPY_MODEL_1fa1810f1d794a50bd776f681394410c" + "layout": "IPY_MODEL_920b1612f1bf469a81770461ec07cf0e", + "placeholder": "​", + "style": "IPY_MODEL_a8889b2e8071450383475710e240fd81", + "value": " 892M/892M [00:32<00:00, 27.4MB/s]" } }, - "8c498364dd904bbebb68a5277396d9b3": { + "68a1ab12e17a4ba5b87f3ad55f6e488e": { "model_module": "@jupyter-widgets/controls", - "model_name": "ProgressStyleModel", + "model_name": "HBoxModel", "state": { - "_view_name": "StyleView", - "_model_name": "ProgressStyleModel", - "description_width": "initial", - "_view_module": "@jupyter-widgets/base", + "_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_e3b79fc7017c4135afae4c47b8e5e7cb", + "IPY_MODEL_2b8c1735915c4c0b82e7faa92b45c281" + ], + "layout": "IPY_MODEL_fcf7a63396ae408b8e2570aaa69a7ef1" + } + }, + "69b4598ae36348448d6bc8b31f6fee41": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", "_view_count": null, + "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", - "bar_color": null, - "_model_module": "@jupyter-widgets/controls" + "_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 } }, "6e5c0103307b4c7a84f10e496b92b741": { "model_module": "@jupyter-widgets/base", "model_name": "LayoutModel", "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, + "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": 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, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": 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, - "flex": null, - "_model_name": "LayoutModel", + "grid_template_rows": null, + "height": null, + "justify_content": null, "justify_items": null, - "grid_row": null, + "left": null, + "margin": null, "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "height": null, - "min_height": null, - "padding": null, - "grid_auto_rows": null, - "grid_gap": null, "max_width": null, - "order": null, - "_view_module_version": "1.2.0", - "grid_template_areas": null, - "object_position": null, + "min_height": null, + "min_width": null, "object_fit": null, - "grid_auto_columns": null, - "margin": null, - "display": null, - "left": null + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null } }, - "4906ff20a11a497ea7d84bf030581c5e": { + "7180636e594e4c69ad73b22cbba633c0": { "model_module": "@jupyter-widgets/controls", "model_name": "DescriptionStyleModel", "state": { - "_view_name": "StyleView", - "_model_name": "DescriptionStyleModel", - "description_width": "", - "_view_module": "@jupyter-widgets/base", + "_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", - "_model_module": "@jupyter-widgets/controls" + "_view_name": "StyleView", + "description_width": "" } }, - "1fa1810f1d794a50bd776f681394410c": { + "724cdb6f5b78444e87b10f383f85923a": { "model_module": "@jupyter-widgets/base", "model_name": "LayoutModel", "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, + "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": 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, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": 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, - "flex": null, - "_model_name": "LayoutModel", + "grid_template_rows": null, + "height": null, + "justify_content": null, "justify_items": null, - "grid_row": null, + "left": null, + "margin": null, "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "height": null, - "min_height": null, - "padding": null, - "grid_auto_rows": null, - "grid_gap": null, "max_width": null, - "order": null, - "_view_module_version": "1.2.0", - "grid_template_areas": null, - "object_position": null, + "min_height": null, + "min_width": null, "object_fit": null, - "grid_auto_columns": null, - "margin": null, - "display": null, - "left": null - } - }, - "ad01de75faf54ac595c540342bfbd16c": { - "model_module": "@jupyter-widgets/controls", - "model_name": "HBoxModel", - "state": { - "_view_name": "HBoxView", - "_dom_classes": [], - "_model_name": "HBoxModel", - "_view_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_view_count": null, - "_view_module_version": "1.5.0", - "box_style": "", - "layout": "IPY_MODEL_b3e04bba6f5348c1b6a0d5c818c09e2a", - "_model_module": "@jupyter-widgets/controls", - "children": [ - "IPY_MODEL_dc1a584f4d8a40eca39bd2efed426eec", - "IPY_MODEL_1dc95b92e9db4eeb82851c679f709f8c" - ] + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null } }, - "b3e04bba6f5348c1b6a0d5c818c09e2a": { + "74075048891040a2b7da864cef5a3f23": { "model_module": "@jupyter-widgets/base", "model_name": "LayoutModel", "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, + "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": 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, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": 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, - "flex": null, - "_model_name": "LayoutModel", + "grid_template_rows": null, + "height": null, + "justify_content": null, "justify_items": null, - "grid_row": null, + "left": null, + "margin": null, "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "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 + } + }, + "7600126083074eac9d68a285ca1b51ce": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, "grid_auto_rows": null, + "grid_column": null, "grid_gap": null, - "max_width": null, - "order": null, - "_view_module_version": "1.2.0", + "grid_row": null, "grid_template_areas": null, - "object_position": null, - "object_fit": null, - "grid_auto_columns": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, "margin": null, - "display": null, - "left": 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 } }, - "dc1a584f4d8a40eca39bd2efed426eec": { + "7abd8e9099dc4ba2be5593940e3d69ee": { "model_module": "@jupyter-widgets/controls", - "model_name": "FloatProgressModel", + "model_name": "HTMLModel", "state": { - "_view_name": "ProgressView", - "style": "IPY_MODEL_5ba3a07444d049ef99947ab336b20c07", "_dom_classes": [], - "description": "Downloading: 100%", - "_model_name": "FloatProgressModel", - "bar_style": "success", - "max": 31, - "_view_module": "@jupyter-widgets/controls", + "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "value": 31, + "_model_name": "HTMLModel", "_view_count": null, + "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "orientation": "horizontal", - "min": 0, - "description_tooltip": null, - "_model_module": "@jupyter-widgets/controls", - "layout": "IPY_MODEL_19f6ee3c487c405c9ea9e0bfadf31906" - } - }, - "1dc95b92e9db4eeb82851c679f709f8c": { - "model_module": "@jupyter-widgets/controls", - "model_name": "HTMLModel", - "state": { "_view_name": "HTMLView", - "style": "IPY_MODEL_afb1ace8c86e4106a53dd4f0c26f7ec7", - "_dom_classes": [], "description": "", - "_model_name": "HTMLModel", - "placeholder": "​", - "_view_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "value": " 31.0/31.0 [00:03<00:00, 9.59B/s]", - "_view_count": null, - "_view_module_version": "1.5.0", "description_tooltip": null, - "_model_module": "@jupyter-widgets/controls", - "layout": "IPY_MODEL_97caa06c0b324d3aa829abdc14af6b5a" + "layout": "IPY_MODEL_57fef133ea4b4c1f85388b9487b0032f", + "placeholder": "​", + "style": "IPY_MODEL_413fab342b03411cbcb97b58b0450086", + "value": " 1.79k/1.79k [00:01<00:00, 1.11kB/s]" } }, - "5ba3a07444d049ef99947ab336b20c07": { + "7e88959c5b7240818378e8ff75f63708": { "model_module": "@jupyter-widgets/controls", - "model_name": "ProgressStyleModel", + "model_name": "HBoxModel", "state": { - "_view_name": "StyleView", - "_model_name": "ProgressStyleModel", - "description_width": "initial", - "_view_module": "@jupyter-widgets/base", + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", + "_model_name": "HBoxModel", "_view_count": null, - "_view_module_version": "1.2.0", - "bar_color": null, - "_model_module": "@jupyter-widgets/controls" + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "HBoxView", + "box_style": "", + "children": [ + "IPY_MODEL_e34ea489ea824b81bc5bbaf07aec79ca", + "IPY_MODEL_5db14e649c2c4ef095c31f2ed4d71094" + ], + "layout": "IPY_MODEL_591ae711a57f4fa2b8f3d67a8f94d507" } }, - "19f6ee3c487c405c9ea9e0bfadf31906": { + "82c653628f4c4bb8bf2b6bd49c7ae102": { "model_module": "@jupyter-widgets/base", "model_name": "LayoutModel", "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, + "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": 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, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": 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, - "flex": null, - "_model_name": "LayoutModel", + "grid_template_rows": null, + "height": null, + "justify_content": null, "justify_items": null, - "grid_row": null, + "left": null, + "margin": null, "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "height": null, - "min_height": null, - "padding": null, - "grid_auto_rows": null, - "grid_gap": null, "max_width": null, - "order": null, - "_view_module_version": "1.2.0", - "grid_template_areas": null, - "object_position": null, + "min_height": null, + "min_width": null, "object_fit": null, - "grid_auto_columns": null, - "margin": null, - "display": null, - "left": null - } - }, - "afb1ace8c86e4106a53dd4f0c26f7ec7": { - "model_module": "@jupyter-widgets/controls", - "model_name": "DescriptionStyleModel", - "state": { - "_view_name": "StyleView", - "_model_name": "DescriptionStyleModel", - "description_width": "", - "_view_module": "@jupyter-widgets/base", - "_model_module_version": "1.5.0", - "_view_count": null, - "_view_module_version": "1.2.0", - "_model_module": "@jupyter-widgets/controls" + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null } }, - "97caa06c0b324d3aa829abdc14af6b5a": { + "849ccde622f941c482e6c179763348a4": { "model_module": "@jupyter-widgets/base", "model_name": "LayoutModel", "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, + "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": 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, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": 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, - "flex": null, - "_model_name": "LayoutModel", + "grid_template_rows": null, + "height": null, + "justify_content": null, "justify_items": null, - "grid_row": null, + "left": null, + "margin": null, "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "height": null, - "min_height": null, - "padding": null, - "grid_auto_rows": null, - "grid_gap": null, "max_width": null, - "order": null, - "_view_module_version": "1.2.0", - "grid_template_areas": null, - "object_position": null, + "min_height": null, + "min_width": null, "object_fit": null, - "grid_auto_columns": null, - "margin": null, - "display": null, - "left": null + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null } }, - "088383be40254e9e80f242bada211795": { + "85e2b7c6a3964c7eb1ffc8fc74737600": { "model_module": "@jupyter-widgets/controls", "model_name": "HBoxModel", "state": { - "_view_name": "HBoxView", "_dom_classes": [], - "_model_name": "HBoxModel", - "_view_module": "@jupyter-widgets/controls", + "_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": "", - "layout": "IPY_MODEL_d180068e0b894d7bb0cf2b86772c39bb", - "_model_module": "@jupyter-widgets/controls", "children": [ - "IPY_MODEL_0f6d8f6cde8e4b55a26d6e5594a1b412", - "IPY_MODEL_88824aa767d04222ad3c66ab8a80d4c1" - ] + "IPY_MODEL_864ec70ff2ca47a6ac48d4bb67126b46", + "IPY_MODEL_9e12cbbe986d498290844708378f93a0" + ], + "layout": "IPY_MODEL_9890ecc31a2c4bdaa7c9f2aeb8dcde4a" + } + }, + "864ec70ff2ca47a6ac48d4bb67126b46": { + "model_module": "@jupyter-widgets/controls", + "model_name": "FloatProgressModel", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "FloatProgressModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ProgressView", + "bar_style": "success", + "description": "Downloading: 100%", + "description_tooltip": null, + "layout": "IPY_MODEL_35e37f582bad448a9f95e73c5375433b", + "max": 90, + "min": 0, + "orientation": "horizontal", + "style": "IPY_MODEL_c01125ec848344959c88f7e090723d6f", + "value": 90 } }, - "d180068e0b894d7bb0cf2b86772c39bb": { + "86c324181fa74c2483ef80064f23248e": { "model_module": "@jupyter-widgets/base", "model_name": "LayoutModel", "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, + "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": 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, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": 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, - "flex": null, - "_model_name": "LayoutModel", + "grid_template_rows": null, + "height": null, + "justify_content": null, "justify_items": null, - "grid_row": null, + "left": null, + "margin": null, "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "height": null, - "min_height": null, - "padding": null, - "grid_auto_rows": null, - "grid_gap": null, "max_width": null, - "order": null, - "_view_module_version": "1.2.0", - "grid_template_areas": null, - "object_position": null, + "min_height": null, + "min_width": null, "object_fit": null, - "grid_auto_columns": null, - "margin": null, - "display": null, - "left": null - } - }, - "0f6d8f6cde8e4b55a26d6e5594a1b412": { - "model_module": "@jupyter-widgets/controls", - "model_name": "FloatProgressModel", - "state": { - "_view_name": "ProgressView", - "style": "IPY_MODEL_9cecc5ca989a41c39d9836fd29581459", - "_dom_classes": [], - "description": "Downloading: 100%", - "_model_name": "FloatProgressModel", - "bar_style": "success", - "max": 1786, - "_view_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "value": 1786, - "_view_count": null, - "_view_module_version": "1.5.0", - "orientation": "horizontal", - "min": 0, - "description_tooltip": null, - "_model_module": "@jupyter-widgets/controls", - "layout": "IPY_MODEL_c035151659df42a581cfc9bed5f59b43" + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null } }, "88824aa767d04222ad3c66ab8a80d4c1": { "model_module": "@jupyter-widgets/controls", "model_name": "HTMLModel", "state": { - "_view_name": "HTMLView", - "style": "IPY_MODEL_f8b5c6f268f14f17af6666fa6b03fea1", "_dom_classes": [], - "description": "", - "_model_name": "HTMLModel", - "placeholder": "​", - "_view_module": "@jupyter-widgets/controls", + "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "value": " 1.79k/1.79k [00:01<00:00, 1.09kB/s]", + "_model_name": "HTMLModel", "_view_count": null, + "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", + "_view_name": "HTMLView", + "description": "", "description_tooltip": null, - "_model_module": "@jupyter-widgets/controls", - "layout": "IPY_MODEL_724cdb6f5b78444e87b10f383f85923a" + "layout": "IPY_MODEL_724cdb6f5b78444e87b10f383f85923a", + "placeholder": "​", + "style": "IPY_MODEL_f8b5c6f268f14f17af6666fa6b03fea1", + "value": " 1.79k/1.79k [00:01<00:00, 1.09kB/s]" } }, - "9cecc5ca989a41c39d9836fd29581459": { + "8a65f1aedc7749ccb66db78aa9852c45": { "model_module": "@jupyter-widgets/controls", - "model_name": "ProgressStyleModel", + "model_name": "HBoxModel", "state": { - "_view_name": "StyleView", - "_model_name": "ProgressStyleModel", - "description_width": "initial", - "_view_module": "@jupyter-widgets/base", + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", + "_model_name": "HBoxModel", "_view_count": null, - "_view_module_version": "1.2.0", - "bar_color": null, - "_model_module": "@jupyter-widgets/controls" + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "HBoxView", + "box_style": "", + "children": [ + "IPY_MODEL_34d93b3fe1704ed38b5dceee3f777daa", + "IPY_MODEL_f10552ead0394059a49b553a6d2ffbc9" + ], + "layout": "IPY_MODEL_0221a5ef69194cf6973ea823ff202c65" } }, - "c035151659df42a581cfc9bed5f59b43": { + "8c12a663bbd342979337e2e2ba029219": { "model_module": "@jupyter-widgets/base", "model_name": "LayoutModel", "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, + "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": 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, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": 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, - "flex": null, - "_model_name": "LayoutModel", + "grid_template_rows": null, + "height": null, + "justify_content": null, "justify_items": null, - "grid_row": null, + "left": null, + "margin": null, "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "height": null, - "min_height": null, - "padding": null, - "grid_auto_rows": null, - "grid_gap": null, "max_width": null, - "order": null, - "_view_module_version": "1.2.0", - "grid_template_areas": null, - "object_position": null, + "min_height": null, + "min_width": null, "object_fit": null, - "grid_auto_columns": null, - "margin": null, - "display": null, - "left": null + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null } }, - "f8b5c6f268f14f17af6666fa6b03fea1": { + "8c498364dd904bbebb68a5277396d9b3": { "model_module": "@jupyter-widgets/controls", - "model_name": "DescriptionStyleModel", + "model_name": "ProgressStyleModel", "state": { - "_view_name": "StyleView", - "_model_name": "DescriptionStyleModel", - "description_width": "", - "_view_module": "@jupyter-widgets/base", + "_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", - "_model_module": "@jupyter-widgets/controls" + "_view_name": "StyleView", + "bar_color": null, + "description_width": "initial" } }, - "724cdb6f5b78444e87b10f383f85923a": { - "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", + "8dd03805a6fb4413a5225f0b38233cae": { + "model_module": "@jupyter-widgets/controls", + "model_name": "ProgressStyleModel", "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, - "_model_module_version": "1.2.0", + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "ProgressStyleModel", "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": null, - "align_items": null, - "bottom": null, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": null, - "grid_area": null, - "grid_template_columns": null, - "flex": null, - "_model_name": "LayoutModel", - "justify_items": null, - "grid_row": null, - "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "height": null, - "min_height": null, - "padding": null, - "grid_auto_rows": null, - "grid_gap": null, - "max_width": null, - "order": null, + "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", - "grid_template_areas": null, - "object_position": null, - "object_fit": null, - "grid_auto_columns": null, - "margin": null, - "display": null, - "left": null + "_view_name": "StyleView", + "bar_color": null, + "description_width": "initial" } }, - "135b9811faba4960a3cebf8ad49f3f05": { + "8df06c887e5f4629b5392c068dda1204": { "model_module": "@jupyter-widgets/controls", - "model_name": "HBoxModel", + "model_name": "FloatProgressModel", "state": { - "_view_name": "HBoxView", "_dom_classes": [], - "_model_name": "HBoxModel", - "_view_module": "@jupyter-widgets/controls", + "_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", - "box_style": "", - "layout": "IPY_MODEL_849ccde622f941c482e6c179763348a4", - "_model_module": "@jupyter-widgets/controls", - "children": [ - "IPY_MODEL_50eb6e47233340e5af9d0c809e24b30e", - "IPY_MODEL_1a00e3b126494f6aa42a1739944cecb1" - ] + "_view_name": "ProgressView", + "bar_style": "success", + "description": "Downloading: 100%", + "description_tooltip": null, + "layout": "IPY_MODEL_57af1dc901794180a0c3a0ad598a0fec", + "max": 629, + "min": 0, + "orientation": "horizontal", + "style": "IPY_MODEL_fbbeaf73ff094cc29a62694fd00289da", + "value": 629 } }, - "849ccde622f941c482e6c179763348a4": { + "90ffeb50fe374fec91476463f9748738": { "model_module": "@jupyter-widgets/base", "model_name": "LayoutModel", "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, + "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": 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, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": 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, - "flex": null, - "_model_name": "LayoutModel", + "grid_template_rows": null, + "height": null, + "justify_content": null, "justify_items": null, - "grid_row": null, + "left": null, + "margin": null, "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "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 + } + }, + "920b1612f1bf469a81770461ec07cf0e": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, "grid_auto_rows": null, + "grid_column": null, "grid_gap": null, - "max_width": null, - "order": null, - "_view_module_version": "1.2.0", + "grid_row": null, "grid_template_areas": null, - "object_position": null, - "object_fit": null, - "grid_auto_columns": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, "margin": null, - "display": null, - "left": 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 } }, - "50eb6e47233340e5af9d0c809e24b30e": { + "93dc353d29ac415abaf193f9e9da83ab": { "model_module": "@jupyter-widgets/controls", - "model_name": "FloatProgressModel", + "model_name": "HBoxModel", "state": { - "_view_name": "ProgressView", - "style": "IPY_MODEL_61a0cb3a3bb445b28bc29322179aa54f", "_dom_classes": [], - "description": "Downloading: 100%", - "_model_name": "FloatProgressModel", - "bar_style": "success", - "max": 195, - "_view_module": "@jupyter-widgets/controls", + "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "value": 195, + "_model_name": "HBoxModel", "_view_count": null, + "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "orientation": "horizontal", - "min": 0, - "description_tooltip": null, - "_model_module": "@jupyter-widgets/controls", - "layout": "IPY_MODEL_c38d04838c9c4c47b9b8d90e7297a931" + "_view_name": "HBoxView", + "box_style": "", + "children": [ + "IPY_MODEL_b3f78454700b44f690716acb5ba9405e", + "IPY_MODEL_e87a4d67ef534786b8be863eb55a8240" + ], + "layout": "IPY_MODEL_86c324181fa74c2483ef80064f23248e" } }, - "1a00e3b126494f6aa42a1739944cecb1": { + "96554632324f4f4d8f51add8ded21c58": { "model_module": "@jupyter-widgets/controls", "model_name": "HTMLModel", "state": { - "_view_name": "HTMLView", - "style": "IPY_MODEL_9748513b6c524dd3972b48041b0ac989", "_dom_classes": [], - "description": "", - "_model_name": "HTMLModel", - "placeholder": "​", - "_view_module": "@jupyter-widgets/controls", + "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "value": " 195/195 [00:38<00:00, 5.09B/s]", + "_model_name": "HTMLModel", "_view_count": null, + "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", + "_view_name": "HTMLView", + "description": "", "description_tooltip": null, - "_model_module": "@jupyter-widgets/controls", - "layout": "IPY_MODEL_f56e1ca817f14b7ab8a2f40b2826f930" - } - }, - "61a0cb3a3bb445b28bc29322179aa54f": { - "model_module": "@jupyter-widgets/controls", - "model_name": "ProgressStyleModel", - "state": { - "_view_name": "StyleView", - "_model_name": "ProgressStyleModel", - "description_width": "initial", - "_view_module": "@jupyter-widgets/base", - "_model_module_version": "1.5.0", - "_view_count": null, - "_view_module_version": "1.2.0", - "bar_color": null, - "_model_module": "@jupyter-widgets/controls" + "layout": "IPY_MODEL_0b0663698db5484294f8cf0f4c9a7b8f", + "placeholder": "​", + "style": "IPY_MODEL_198e22ecb91e4d0bbe659227e0263471", + "value": " 1.35k/1.35k [00:01<00:00, 823B/s]" } }, - "c38d04838c9c4c47b9b8d90e7297a931": { + "9691c795b5534a09a3db391d13dc6337": { "model_module": "@jupyter-widgets/base", "model_name": "LayoutModel", "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, + "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": 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, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": 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, - "flex": null, - "_model_name": "LayoutModel", + "grid_template_rows": null, + "height": null, + "justify_content": null, "justify_items": null, - "grid_row": null, + "left": null, + "margin": null, "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "height": null, - "min_height": null, - "padding": null, - "grid_auto_rows": null, - "grid_gap": null, "max_width": null, - "order": null, - "_view_module_version": "1.2.0", - "grid_template_areas": null, - "object_position": null, + "min_height": null, + "min_width": null, "object_fit": null, - "grid_auto_columns": null, - "margin": null, - "display": null, - "left": null + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null } }, "9748513b6c524dd3972b48041b0ac989": { "model_module": "@jupyter-widgets/controls", "model_name": "DescriptionStyleModel", "state": { - "_view_name": "StyleView", - "_model_name": "DescriptionStyleModel", - "description_width": "", - "_view_module": "@jupyter-widgets/base", + "_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", - "_model_module": "@jupyter-widgets/controls" + "_view_name": "StyleView", + "description_width": "" } }, - "f56e1ca817f14b7ab8a2f40b2826f930": { + "9760bd142c844c6d8c0c7a63ad22c020": { "model_module": "@jupyter-widgets/base", "model_name": "LayoutModel", "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, + "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": 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, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": 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, - "flex": null, - "_model_name": "LayoutModel", + "grid_template_rows": null, + "height": null, + "justify_content": null, "justify_items": null, - "grid_row": null, + "left": null, + "margin": null, "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "height": null, - "min_height": null, - "padding": null, - "grid_auto_rows": null, - "grid_gap": null, "max_width": null, - "order": null, - "_view_module_version": "1.2.0", - "grid_template_areas": null, - "object_position": null, + "min_height": null, + "min_width": null, "object_fit": null, - "grid_auto_columns": null, - "margin": null, - "display": null, - "left": null - } - }, - "7e88959c5b7240818378e8ff75f63708": { - "model_module": "@jupyter-widgets/controls", - "model_name": "HBoxModel", - "state": { - "_view_name": "HBoxView", - "_dom_classes": [], - "_model_name": "HBoxModel", - "_view_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_view_count": null, - "_view_module_version": "1.5.0", - "box_style": "", - "layout": "IPY_MODEL_591ae711a57f4fa2b8f3d67a8f94d507", - "_model_module": "@jupyter-widgets/controls", - "children": [ - "IPY_MODEL_e34ea489ea824b81bc5bbaf07aec79ca", - "IPY_MODEL_5db14e649c2c4ef095c31f2ed4d71094" - ] + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null } }, - "591ae711a57f4fa2b8f3d67a8f94d507": { + "97caa06c0b324d3aa829abdc14af6b5a": { "model_module": "@jupyter-widgets/base", "model_name": "LayoutModel", "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, + "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": 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, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": 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, - "flex": null, - "_model_name": "LayoutModel", + "grid_template_rows": null, + "height": null, + "justify_content": null, "justify_items": null, - "grid_row": null, + "left": null, + "margin": null, "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "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 + } + }, + "9890ecc31a2c4bdaa7c9f2aeb8dcde4a": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, "grid_auto_rows": null, + "grid_column": null, "grid_gap": null, - "max_width": null, - "order": null, - "_view_module_version": "1.2.0", + "grid_row": null, "grid_template_areas": null, - "object_position": null, - "object_fit": null, - "grid_auto_columns": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, "margin": null, - "display": null, - "left": 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 } }, - "e34ea489ea824b81bc5bbaf07aec79ca": { + "9ac10c77ff6b48978edc68ae9bc33cb9": { "model_module": "@jupyter-widgets/controls", "model_name": "FloatProgressModel", "state": { - "_view_name": "ProgressView", - "style": "IPY_MODEL_2abf9fbf4e2f4d87bb73fc4eb2bebdc9", "_dom_classes": [], - "description": "Downloading: 100%", - "_model_name": "FloatProgressModel", - "bar_style": "success", - "max": 891608946, - "_view_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "value": 891608946, - "_view_count": null, - "_view_module_version": "1.5.0", - "orientation": "horizontal", - "min": 0, - "description_tooltip": null, "_model_module": "@jupyter-widgets/controls", - "layout": "IPY_MODEL_8c12a663bbd342979337e2e2ba029219" - } - }, - "5db14e649c2c4ef095c31f2ed4d71094": { - "model_module": "@jupyter-widgets/controls", - "model_name": "HTMLModel", - "state": { - "_view_name": "HTMLView", - "style": "IPY_MODEL_d9840f3af0a94581824ce3459773fcb7", - "_dom_classes": [], - "description": "", - "_model_name": "HTMLModel", - "placeholder": "​", - "_view_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "value": " 892M/892M [00:32<00:00, 27.1MB/s]", + "_model_name": "FloatProgressModel", "_view_count": null, + "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", + "_view_name": "ProgressView", + "bar_style": "success", + "description": "Downloading: 100%", "description_tooltip": null, - "_model_module": "@jupyter-widgets/controls", - "layout": "IPY_MODEL_69b4598ae36348448d6bc8b31f6fee41" + "layout": "IPY_MODEL_9fd4d4e6bcb444aeb115b9cec2b5252f", + "max": 242013376, + "min": 0, + "orientation": "horizontal", + "style": "IPY_MODEL_4b41626100c34fc081dd1cefb0fc0211", + "value": 242013376 } }, - "2abf9fbf4e2f4d87bb73fc4eb2bebdc9": { + "9cecc5ca989a41c39d9836fd29581459": { "model_module": "@jupyter-widgets/controls", "model_name": "ProgressStyleModel", "state": { - "_view_name": "StyleView", - "_model_name": "ProgressStyleModel", - "description_width": "initial", - "_view_module": "@jupyter-widgets/base", + "_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, - "_model_module": "@jupyter-widgets/controls" + "description_width": "initial" } }, - "8c12a663bbd342979337e2e2ba029219": { + "9e10200df4fb47de8d11d919506fd420": { "model_module": "@jupyter-widgets/base", "model_name": "LayoutModel", "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, + "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": 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, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": 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, - "flex": null, - "_model_name": "LayoutModel", + "grid_template_rows": null, + "height": null, + "justify_content": null, "justify_items": null, - "grid_row": null, + "left": null, + "margin": null, "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "height": null, - "min_height": null, - "padding": null, - "grid_auto_rows": null, - "grid_gap": null, "max_width": null, - "order": null, - "_view_module_version": "1.2.0", - "grid_template_areas": null, - "object_position": null, + "min_height": null, + "min_width": null, "object_fit": null, - "grid_auto_columns": null, - "margin": null, - "display": null, - "left": null + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null } }, - "d9840f3af0a94581824ce3459773fcb7": { + "9e12cbbe986d498290844708378f93a0": { "model_module": "@jupyter-widgets/controls", - "model_name": "DescriptionStyleModel", + "model_name": "HTMLModel", "state": { - "_view_name": "StyleView", - "_model_name": "DescriptionStyleModel", - "description_width": "", - "_view_module": "@jupyter-widgets/base", + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", + "_model_name": "HTMLModel", "_view_count": null, - "_view_module_version": "1.2.0", - "_model_module": "@jupyter-widgets/controls" + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "HTMLView", + "description": "", + "description_tooltip": null, + "layout": "IPY_MODEL_82c653628f4c4bb8bf2b6bd49c7ae102", + "placeholder": "​", + "style": "IPY_MODEL_34aab39b61db49ada48366e68faedc5a", + "value": " 90.0/90.0 [00:36<00:00, 2.47B/s]" } }, - "69b4598ae36348448d6bc8b31f6fee41": { + "9fd4d4e6bcb444aeb115b9cec2b5252f": { "model_module": "@jupyter-widgets/base", "model_name": "LayoutModel", "state": { - "_view_name": "LayoutView", - "grid_template_rows": null, - "right": null, - "justify_content": null, - "_view_module": "@jupyter-widgets/base", - "overflow": null, + "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", "_view_count": null, - "flex_flow": null, - "width": null, - "min_width": null, - "border": 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, - "_model_module": "@jupyter-widgets/base", - "top": null, - "grid_column": null, - "overflow_y": null, - "overflow_x": null, - "grid_auto_flow": 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, - "flex": null, - "_model_name": "LayoutModel", + "grid_template_rows": null, + "height": null, + "justify_content": null, "justify_items": null, - "grid_row": null, + "left": null, + "margin": null, "max_height": null, - "align_content": null, - "visibility": null, - "align_self": null, - "height": null, - "min_height": null, - "padding": null, - "grid_auto_rows": null, - "grid_gap": null, "max_width": null, - "order": null, - "_view_module_version": "1.2.0", - "grid_template_areas": null, - "object_position": null, + "min_height": null, + "min_width": null, "object_fit": null, - "grid_auto_columns": null, - "margin": null, - "display": null, - "left": null + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null + } + }, + "9fe094b25570406db96cb643f5320b09": { + "model_module": "@jupyter-widgets/controls", + "model_name": "DescriptionStyleModel", + "state": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionStyleModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "description_width": "" } - } - } - } - }, - "cells": [ - { - "cell_type": "markdown", - "metadata": { - "id": "view-in-github", - "colab_type": "text" - }, - "source": [ - "\"Open" - ] - }, - { - "cell_type": "code", - "metadata": { - "id": "aweZgxXBDsOQ", - "colab_type": "code", - "colab": {} - }, - "source": [ - "!pip install -U transformers==3.0.0" - ], - "execution_count": null, - "outputs": [] - }, - { - "cell_type": "code", - "metadata": { - "id": "4FARi6xuQ4IZ", - "colab_type": "code", - "colab": {} - }, - "source": [ - "!python -m nltk.downloader punkt" - ], - "execution_count": null, - "outputs": [] - }, - { - "cell_type": "code", - "metadata": { - "id": "QFldiKn8EIp5", - "colab_type": "code", - "colab": {} - }, - "source": [ - "!git clone https://github.com/patil-suraj/question_generation.git" - ], - "execution_count": null, - "outputs": [] - }, - { - "cell_type": "code", - "metadata": { - "id": "NAOgL63nEKIx", - "colab_type": "code", - "colab": {} - }, - "source": [ - "" - ], - "execution_count": null, - "outputs": [] - }, - { - "cell_type": "code", - "metadata": { - "id": "rk3X75xXRH5r", - "colab_type": "code", - "colab": {} - }, - "source": [ - "text = \"Python is an interpreted, high-level, general-purpose programming language. Created by Guido van Rossum \\\n", - "and first released in 1991, Python's design philosophy emphasizes code \\\n", - "readability with its notable use of significant whitespace.\"\n", - "\n", - "text2 = \"Gravity (from Latin gravitas, meaning 'weight'), or gravitation, is a natural phenomenon by which all \\\n", - "things with mass or energy—including planets, stars, galaxies, and even light—are brought toward (or gravitate toward) \\\n", - "one another. On Earth, gravity gives weight to physical objects, and the Moon's gravity causes the ocean tides. \\\n", - "The gravitational attraction of the original gaseous matter present in the Universe caused it to begin coalescing \\\n", - "and forming stars and caused the stars to group together into galaxies, so gravity is responsible for many of \\\n", - "the large-scale structures in the Universe. Gravity has an infinite range, although its effects become increasingly \\\n", - "weaker as objects get further away\"\n", - "\n", - "text3 = \"42 is the answer to life, universe and everything.\"\n", - "\n", - "text4 = \"Forrest Gump is a 1994 American comedy-drama film directed by Robert Zemeckis and written by Eric Roth. \\\n", - "It is based on the 1986 novel of the same name by Winston Groom and stars Tom Hanks, Robin Wright, Gary Sinise, \\\n", - "Mykelti Williamson and Sally Field. The story depicts several decades in the life of Forrest Gump (Hanks), \\\n", - "a slow-witted but kind-hearted man from Alabama who witnesses and unwittingly influences several defining \\\n", - "historical events in the 20th century United States. The film differs substantially from the novel.\"" - ], - "execution_count": null, - "outputs": [] - }, - { - "cell_type": "markdown", - "metadata": { - "id": "MvBFbCVGELuW", - "colab_type": "text" - }, - "source": [ - "## Single task QA" - ] - }, - { - "cell_type": "code", - "metadata": { - "id": "oy_T1CiVVNuH", - "colab_type": "code", - "colab": { - "base_uri": "https://localhost:8080/", - "height": 34 }, - "outputId": "17b5299e-2720-4f75-ca80-4a03b9665bfd" - }, - "source": [ - "%cd question_generation" - ], - "execution_count": 1, - "outputs": [ - { - "output_type": "stream", - "text": [ - "/content/question_generation\n" - ], - "name": "stdout" - } - ] - }, - { - "cell_type": "code", - "metadata": { - "id": "UxoSS2_WEMvx", - "colab_type": "code", - "colab": {} - }, - "source": [ - "from pipelines import pipeline" - ], - "execution_count": 2, - "outputs": [] - }, - { - "cell_type": "code", - "metadata": { - "id": "SFSZiIc0StHY", - "colab_type": "code", - "colab": {} - }, - "source": [ - "nlp = pipeline(\"question-generation\")" - ], - "execution_count": null, - "outputs": [] - }, - { - "cell_type": "code", - "metadata": { - "id": "oZy5F8sjSv2W", - "colab_type": "code", - "colab": { - "base_uri": "https://localhost:8080/", - "height": 50 + "a8889b2e8071450383475710e240fd81": { + "model_module": "@jupyter-widgets/controls", + "model_name": "DescriptionStyleModel", + "state": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionStyleModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "description_width": "" + } }, - "outputId": "657d6e1d-6a79-4531-de23-2af5c28ca713" - }, - "source": [ - "nlp(text3)" - ], - "execution_count": 9, - "outputs": [ - { - "output_type": "execute_result", - "data": { - "text/plain": [ - "[{'answer': '42',\n", - " 'question': 'What is the answer to life, universe and everything?'}]" - ] - }, - "metadata": { - "tags": [] - }, - "execution_count": 9 - } - ] - }, - { - "cell_type": "markdown", - "metadata": { - "id": "1DHB0dDqTb-o", - "colab_type": "text" - }, - "source": [ - "If you want to use the t5-base model, then pass the path through model parameter" - ] - }, - { - "cell_type": "code", - "metadata": { - "id": "_050CddNTWeU", - "colab_type": "code", - "colab": {} - }, - "source": [ - "nlp = pipeline(\"question-generation\", model=\"valhalla/t5-base-qg-hl\")" - ], - "execution_count": null, - "outputs": [] - }, - { - "cell_type": "code", - "metadata": { - "id": "px6v-bKOTy87", - "colab_type": "code", - "colab": { - "base_uri": "https://localhost:8080/", - "height": 50 + "ad01de75faf54ac595c540342bfbd16c": { + "model_module": "@jupyter-widgets/controls", + "model_name": "HBoxModel", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "HBoxModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "HBoxView", + "box_style": "", + "children": [ + "IPY_MODEL_dc1a584f4d8a40eca39bd2efed426eec", + "IPY_MODEL_1dc95b92e9db4eeb82851c679f709f8c" + ], + "layout": "IPY_MODEL_b3e04bba6f5348c1b6a0d5c818c09e2a" + } }, - "outputId": "fbc302e3-66bf-42cd-c8a3-874896c459d0" - }, - "source": [ - "nlp(text3)" - ], - "execution_count": 11, - "outputs": [ - { - "output_type": "execute_result", - "data": { - "text/plain": [ - "[{'answer': '42',\n", - " 'question': 'What is the answer to life, universe and everything?'}]" - ] - }, - "metadata": { - "tags": [] - }, - "execution_count": 11 - } - ] - }, - { - "cell_type": "code", - "metadata": { - "id": "yiYInRhOT2Fn", - "colab_type": "code", - "colab": { - "base_uri": "https://localhost:8080/", - "height": 134 + "afb1ace8c86e4106a53dd4f0c26f7ec7": { + "model_module": "@jupyter-widgets/controls", + "model_name": "DescriptionStyleModel", + "state": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionStyleModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "description_width": "" + } }, - "outputId": "51d944ed-3ed1-4de7-e706-5e6cb3f7e207" - }, - "source": [ - "nlp(text4)" - ], - "execution_count": 12, - "outputs": [ - { - "output_type": "execute_result", - "data": { - "text/plain": [ - "[{'answer': 'Robert Zemeckis', 'question': 'Who directed Forrest Gump?'},\n", - " {'answer': 'Eric Roth', 'question': 'Who directed Forrest Gump?'},\n", - " {'answer': '1986',\n", - " 'question': \"In what year was Winston Groom's novel published?\"},\n", - " {'answer': 'Alabama', 'question': 'Where is Forrest Gump from?'},\n", - " {'answer': 'differs substantially from the novel',\n", - " 'question': 'How does Forrest Gump compare to the novel?'}]" - ] - }, - "metadata": { - "tags": [] - }, - "execution_count": 12 - } - ] - }, - { - "cell_type": "code", - "metadata": { - "id": "XB_UuedZT3Lj", - "colab_type": "code", - "colab": { - "base_uri": "https://localhost:8080/", - "height": 101 + "b08383598a1848118730f57ab4a44215": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null + } + }, + "b1eb7e8892604cf995c8a7749904f166": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null + } }, - "outputId": "ca013472-11e8-4577-af1d-d8f1b080bb40" - }, - "source": [ - "nlp(text2)" - ], - "execution_count": 13, - "outputs": [ - { - "output_type": "execute_result", - "data": { - "text/plain": [ - "[{'answer': 'gravitation', 'question': 'What is another name for gravity?'},\n", - " {'answer': 'Earth',\n", - " 'question': 'On what planet does gravity give weight to physical objects?'},\n", - " {'answer': 'galaxies', 'question': 'What do the stars in the Universe form?'},\n", - " {'answer': 'infinite range', 'question': 'What is the range of gravity?'}]" - ] - }, - "metadata": { - "tags": [] - }, - "execution_count": 13 - } - ] - }, - { - "cell_type": "code", - "metadata": { - "id": "egRuC8QFUy0v", - "colab_type": "code", - "colab": {} - }, - "source": [ - "" - ], - "execution_count": null, - "outputs": [] - }, - { - "cell_type": "markdown", - "metadata": { - "id": "8uiG6_NQVCIz", - "colab_type": "text" - }, - "source": [ - "## Multitask QA-QG" - ] - }, - { - "cell_type": "markdown", - "metadata": { - "id": "Y_PKMG28VhxM", - "colab_type": "text" - }, - "source": [ - "### small-model" - ] - }, - { - "cell_type": "code", - "metadata": { - "id": "nAkVmsH9VEIu", - "colab_type": "code", - "colab": {} - }, - "source": [ - "nlp = pipeline(\"multitask-qa-qg\")" - ], - "execution_count": 5, - "outputs": [] - }, - { - "cell_type": "markdown", - "metadata": { - "id": "8dRiLecTVk8E", - "colab_type": "text" - }, - "source": [ - "#### QG" - ] - }, - { - "cell_type": "code", - "metadata": { - "id": "GKA65C51VLGu", - "colab_type": "code", - "colab": { - "base_uri": "https://localhost:8080/", - "height": 67 + "b3e04bba6f5348c1b6a0d5c818c09e2a": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null + } }, - "outputId": "c164bac6-6857-43f1-b895-e42103c87c57" - }, - "source": [ - "nlp(text)" - ], - "execution_count": 8, - "outputs": [ - { - "output_type": "execute_result", - "data": { - "text/plain": [ - "[{'answer': 'Python',\n", - " 'question': 'What is an interpreted, high-level, general-purpose programming language?'},\n", - " {'answer': 'Guido van Rossum', 'question': 'Who created Python?'}]" - ] - }, - "metadata": { - "tags": [] - }, - "execution_count": 8 - } - ] - }, - { - "cell_type": "code", - "metadata": { - "id": "jAAxbcwzVXlV", - "colab_type": "code", - "colab": { - "base_uri": "https://localhost:8080/", - "height": 134 + "b3f78454700b44f690716acb5ba9405e": { + "model_module": "@jupyter-widgets/controls", + "model_name": "FloatProgressModel", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "FloatProgressModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ProgressView", + "bar_style": "success", + "description": "Downloading: 100%", + "description_tooltip": null, + "layout": "IPY_MODEL_9691c795b5534a09a3db391d13dc6337", + "max": 791656, + "min": 0, + "orientation": "horizontal", + "style": "IPY_MODEL_feaadea50b75486d9605c3f1b063bee2", + "value": 791656 + } }, - "outputId": "c58e2a5e-5267-408d-b45e-634f93cb4c90" - }, - "source": [ - "nlp(text2)" - ], - "execution_count": 11, - "outputs": [ - { - "output_type": "execute_result", - "data": { - "text/plain": [ - "[{'answer': 'gravitation',\n", - " 'question': 'What is a natural phenomenon called when all things with mass or energy are brought toward one another?'},\n", - " {'answer': 'Earth',\n", - " 'question': 'On what planet does gravity give weight to physical objects?'},\n", - " {'answer': 'galaxies', 'question': 'What did the stars group together into?'},\n", - " {'answer': 'infinite range',\n", - " 'question': 'What kind of range does Gravity have?'}]" - ] - }, - "metadata": { - "tags": [] - }, - "execution_count": 11 - } - ] - }, - { - "cell_type": "code", - "metadata": { - "id": "a81EN_WWVpae", - "colab_type": "code", - "colab": { - "base_uri": "https://localhost:8080/", - "height": 118 + "b69b3fcb5e4d48b192f6aa7f45f01889": { + "model_module": "@jupyter-widgets/controls", + "model_name": "HBoxModel", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "HBoxModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "HBoxView", + "box_style": "", + "children": [ + "IPY_MODEL_9ac10c77ff6b48978edc68ae9bc33cb9", + "IPY_MODEL_faf5ec950167410f8dc89363f0c3c627" + ], + "layout": "IPY_MODEL_b08383598a1848118730f57ab4a44215" + } }, - "outputId": "a33e9833-9c04-4347-f841-433860c2a097" - }, - "source": [ - "nlp(text4)" - ], - "execution_count": 10, - "outputs": [ - { - "output_type": "execute_result", - "data": { - "text/plain": [ - "[{'answer': 'Robert Zemeckis', 'question': 'Who directed Forrest Gump?'},\n", - " {'answer': 'Eric Roth', 'question': 'Who wrote Forrest Gump?'},\n", - " {'answer': '1986', 'question': 'In what year was Forrest Gump based?'},\n", - " {'answer': 'Alabama', 'question': 'Where is Forrest Gump from?'},\n", - " {'answer': 'differs substantially from the novel',\n", - " 'question': 'What does Forrest Gump differ from the novel?'}]" - ] - }, - "metadata": { - "tags": [] - }, - "execution_count": 10 - } - ] - }, - { - "cell_type": "code", - "metadata": { - "id": "m9c2CkhhVsxs", - "colab_type": "code", - "colab": {} - }, - "source": [ - "" - ], - "execution_count": null, - "outputs": [] - }, - { - "cell_type": "markdown", - "metadata": { - "id": "SuOL3X_XV28R", - "colab_type": "text" - }, - "source": [ - "#### QA" - ] - }, - { - "cell_type": "code", - "metadata": { - "id": "xe-v3I8aV4En", - "colab_type": "code", - "colab": { - "base_uri": "https://localhost:8080/", - "height": 35 + "b860bd97046a4f5b93a5550a5b9a61b6": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null + } }, - "outputId": "e43c25ed-e310-4875-af90-7a3f29847361" - }, - "source": [ - "nlp({\n", - " \"question\": \"Who created Python ?\",\n", - " \"context\": text\n", - "})" - ], - "execution_count": 12, - "outputs": [ - { - "output_type": "execute_result", - "data": { - "application/vnd.google.colaboratory.intrinsic": { - "type": "string" - }, - "text/plain": [ - "'Guido van Rossum'" - ] - }, - "metadata": { - "tags": [] - }, - "execution_count": 12 - } - ] - }, - { - "cell_type": "code", - "metadata": { - "id": "ZchZFXPuWI62", - "colab_type": "code", - "colab": { - "base_uri": "https://localhost:8080/", - "height": 35 + "bd34099fedfa436c9567678aebd8e1d1": { + "model_module": "@jupyter-widgets/controls", + "model_name": "DescriptionStyleModel", + "state": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionStyleModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "description_width": "" + } }, - "outputId": "baef6806-e2e1-4ea7-ba9b-3077d638ac1a" - }, - "source": [ - "nlp({\n", - " \"question\": \"Who wrote Forrest Gump ?\",\n", - " \"context\": text4\n", - "})" - ], - "execution_count": 13, - "outputs": [ - { - "output_type": "execute_result", - "data": { - "application/vnd.google.colaboratory.intrinsic": { - "type": "string" - }, - "text/plain": [ - "'Eric Roth'" - ] - }, - "metadata": { - "tags": [] - }, - "execution_count": 13 - } - ] - }, - { - "cell_type": "code", - "metadata": { - "id": "ARBRwBj5WVga", - "colab_type": "code", - "colab": {} - }, - "source": [ - "" - ], - "execution_count": null, - "outputs": [] - }, - { - "cell_type": "markdown", - "metadata": { - "id": "gEk-EU9UWaBr", - "colab_type": "text" - }, - "source": [ - "### base-model" - ] - }, - { - "cell_type": "code", - "metadata": { - "id": "qx1KjJzaWa-a", - "colab_type": "code", - "colab": { - "base_uri": "https://localhost:8080/", - "height": 310, - "referenced_widgets": [ - "cf72d967d81444f9b93a1cbe2f5e4eb6", - "f05b8fb4c7764f9caff4eba3d866c5e8", - "8df06c887e5f4629b5392c068dda1204", - "48a87f26c0e145c79bcacb7a66f2e03c", - "fbbeaf73ff094cc29a62694fd00289da", - "57af1dc901794180a0c3a0ad598a0fec", - "dcdd610bc53549109eff5ee720030702", - "ec840a9a88d647eda8090fba3768d36a", - "c75db10073d6493aa9834c789537dc4a", - "f07cb8f47ccb41728ed60b9ba64ddee8", - "ca0feacb455b4d00a9db55caa335f7e9", - "11da8c1e1d024b6e8cbb6de0efa47380", - "5bff9fcea04d458dad3de823aa714873", - "19fdf701402e4eae9925288271e9b451", - "2f1d5aeea19c46448381385e567245bd", - "d46d560becfc4da281f51e67a12b29b1", - "8a65f1aedc7749ccb66db78aa9852c45", - "0221a5ef69194cf6973ea823ff202c65", - "34d93b3fe1704ed38b5dceee3f777daa", - "f10552ead0394059a49b553a6d2ffbc9", - "8dd03805a6fb4413a5225f0b38233cae", - "31f933d9c20845b8b7b7aba903878f64", - "3dfad120fef440b9aed00ee86df227fa", - "fd48fb6d8ff6497c893e6b988746cec6", - "0788251f4ea64c8084da30213e5bae4c", - "de987e3495914bd3bf05fca5f0411595", - "06402537a8fd42bda097759eb76519cb", - "d1b088bfd7c84df4bfe125d64152da2e", - "4791b0873f354c758e626837ebfeb5ff", - "90ffeb50fe374fec91476463f9748738", - "7180636e594e4c69ad73b22cbba633c0", - "9760bd142c844c6d8c0c7a63ad22c020", - "85e2b7c6a3964c7eb1ffc8fc74737600", - "9890ecc31a2c4bdaa7c9f2aeb8dcde4a", - "864ec70ff2ca47a6ac48d4bb67126b46", - "9e12cbbe986d498290844708378f93a0", - "c01125ec848344959c88f7e090723d6f", - "35e37f582bad448a9f95e73c5375433b", - "34aab39b61db49ada48366e68faedc5a", - "82c653628f4c4bb8bf2b6bd49c7ae102", - "1e3fec599654493284a8e9febd1734de", - "c800ebd19e4141c3952a5e64061710a0", - "ce175483b07742398ee572bd32346000", - "665614a60eab4caba1c152d2cd71a33a", - "4039b52964244324b7ad4dcb72f766dc", - "055e538c3245473bb9ccc507492ae084", - "a8889b2e8071450383475710e240fd81", - "920b1612f1bf469a81770461ec07cf0e" - ] + "c01125ec848344959c88f7e090723d6f": { + "model_module": "@jupyter-widgets/controls", + "model_name": "ProgressStyleModel", + "state": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "ProgressStyleModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "bar_color": null, + "description_width": "initial" + } }, - "outputId": "0c7e1230-e132-4a6e-ad9a-537d30133ec6" - }, - "source": [ - "nlp = pipeline(\"multitask-qa-qg\", model=\"valhalla/t5-base-qa-qg-hl\")" - ], - "execution_count": 14, - "outputs": [ - { - "output_type": "display_data", - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "cf72d967d81444f9b93a1cbe2f5e4eb6", - "version_minor": 0, - "version_major": 2 - }, - "text/plain": [ - "HBox(children=(FloatProgress(value=0.0, description='Downloading', max=629.0, style=ProgressStyle(description_…" - ] - }, - "metadata": { - "tags": [] + "c035151659df42a581cfc9bed5f59b43": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null } }, - { - "output_type": "stream", - "text": [ - "\n" - ], - "name": "stdout" + "c23e78ce9eed4d2f8bd7453fb76f1813": { + "model_module": "@jupyter-widgets/controls", + "model_name": "ProgressStyleModel", + "state": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "ProgressStyleModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "bar_color": null, + "description_width": "initial" + } }, - { - "output_type": "display_data", - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "c75db10073d6493aa9834c789537dc4a", - "version_minor": 0, - "version_major": 2 - }, - "text/plain": [ - "HBox(children=(FloatProgress(value=0.0, description='Downloading', max=791656.0, style=ProgressStyle(descripti…" - ] - }, - "metadata": { - "tags": [] + "c38d04838c9c4c47b9b8d90e7297a931": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null } }, - { - "output_type": "stream", - "text": [ - "\n" - ], - "name": "stdout" + "c469ebd9fe344f92938478390737c523": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null + } }, - { - "output_type": "display_data", - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "8a65f1aedc7749ccb66db78aa9852c45", - "version_minor": 0, - "version_major": 2 - }, - "text/plain": [ - "HBox(children=(FloatProgress(value=0.0, description='Downloading', max=31.0, style=ProgressStyle(description_w…" - ] - }, - "metadata": { - "tags": [] + "c75db10073d6493aa9834c789537dc4a": { + "model_module": "@jupyter-widgets/controls", + "model_name": "HBoxModel", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "HBoxModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "HBoxView", + "box_style": "", + "children": [ + "IPY_MODEL_ca0feacb455b4d00a9db55caa335f7e9", + "IPY_MODEL_11da8c1e1d024b6e8cbb6de0efa47380" + ], + "layout": "IPY_MODEL_f07cb8f47ccb41728ed60b9ba64ddee8" + } + }, + "c800ebd19e4141c3952a5e64061710a0": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null } }, - { - "output_type": "stream", - "text": [ - "\n" - ], - "name": "stdout" - }, - { - "output_type": "display_data", - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "0788251f4ea64c8084da30213e5bae4c", - "version_minor": 0, - "version_major": 2 - }, - "text/plain": [ - "HBox(children=(FloatProgress(value=0.0, description='Downloading', max=65.0, style=ProgressStyle(description_w…" - ] - }, - "metadata": { - "tags": [] + "ca0feacb455b4d00a9db55caa335f7e9": { + "model_module": "@jupyter-widgets/controls", + "model_name": "FloatProgressModel", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "FloatProgressModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ProgressView", + "bar_style": "success", + "description": "Downloading: 100%", + "description_tooltip": null, + "layout": "IPY_MODEL_19fdf701402e4eae9925288271e9b451", + "max": 791656, + "min": 0, + "orientation": "horizontal", + "style": "IPY_MODEL_5bff9fcea04d458dad3de823aa714873", + "value": 791656 } }, - { - "output_type": "stream", - "text": [ - "\n" - ], - "name": "stdout" - }, - { - "output_type": "display_data", - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "85e2b7c6a3964c7eb1ffc8fc74737600", - "version_minor": 0, - "version_major": 2 - }, - "text/plain": [ - "HBox(children=(FloatProgress(value=0.0, description='Downloading', max=90.0, style=ProgressStyle(description_w…" - ] - }, - "metadata": { - "tags": [] + "ce175483b07742398ee572bd32346000": { + "model_module": "@jupyter-widgets/controls", + "model_name": "FloatProgressModel", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "FloatProgressModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ProgressView", + "bar_style": "success", + "description": "Downloading: 100%", + "description_tooltip": null, + "layout": "IPY_MODEL_055e538c3245473bb9ccc507492ae084", + "max": 891612585, + "min": 0, + "orientation": "horizontal", + "style": "IPY_MODEL_4039b52964244324b7ad4dcb72f766dc", + "value": 891612585 } }, - { - "output_type": "stream", - "text": [ - "\n" - ], - "name": "stdout" - }, - { - "output_type": "display_data", - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "1e3fec599654493284a8e9febd1734de", - "version_minor": 0, - "version_major": 2 - }, - "text/plain": [ - "HBox(children=(FloatProgress(value=0.0, description='Downloading', max=891612585.0, style=ProgressStyle(descri…" - ] - }, - "metadata": { - "tags": [] + "cf72d967d81444f9b93a1cbe2f5e4eb6": { + "model_module": "@jupyter-widgets/controls", + "model_name": "HBoxModel", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "HBoxModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "HBoxView", + "box_style": "", + "children": [ + "IPY_MODEL_8df06c887e5f4629b5392c068dda1204", + "IPY_MODEL_48a87f26c0e145c79bcacb7a66f2e03c" + ], + "layout": "IPY_MODEL_f05b8fb4c7764f9caff4eba3d866c5e8" } }, - { - "output_type": "stream", - "text": [ - "\n" - ], - "name": "stdout" - } - ] - }, - { - "cell_type": "code", - "metadata": { - "id": "SL5Cgm2XWikl", - "colab_type": "code", - "colab": {} - }, - "source": [ - "" - ], - "execution_count": null, - "outputs": [] - }, - { - "cell_type": "markdown", - "metadata": { - "colab_type": "text", - "id": "IwCA0sjtWldK" - }, - "source": [ - "#### QG" - ] - }, - { - "cell_type": "code", - "metadata": { - "colab_type": "code", - "id": "1Q89FhL1WldS", - "colab": { - "base_uri": "https://localhost:8080/", - "height": 84 - }, - "outputId": "6a1c87f7-4601-4412-e21a-dded713ba188" - }, - "source": [ - "nlp(text)" - ], - "execution_count": 15, - "outputs": [ - { - "output_type": "execute_result", - "data": { - "text/plain": [ - "[{'answer': 'Python',\n", - " 'question': 'What programming language was created by Guido van Rossum?'},\n", - " {'answer': 'Guido van Rossum', 'question': 'Who created Python?'},\n", - " {'answer': '1991', 'question': 'Who created Python?'}]" - ] - }, - "metadata": { - "tags": [] - }, - "execution_count": 15 - } - ] - }, - { - "cell_type": "code", - "metadata": { - "colab_type": "code", - "id": "Xwby-LJpWldj", - "colab": { - "base_uri": "https://localhost:8080/", - "height": 118 - }, - "outputId": "5e464b23-0609-4e51-92e7-18a440ffd2dc" - }, - "source": [ - "nlp(text2)" - ], - "execution_count": 16, - "outputs": [ - { - "output_type": "execute_result", - "data": { - "text/plain": [ - "[{'answer': 'gravitation', 'question': 'What is another name for gravity?'},\n", - " {'answer': 'Earth',\n", - " 'question': 'On what planet does gravity give weight to physical objects?'},\n", - " {'answer': 'galaxies', 'question': 'What do the stars form into?'},\n", - " {'answer': 'weaker',\n", - " 'question': \"Gravity's effects become what as objects get further away?\"}]" - ] - }, - "metadata": { - "tags": [] - }, - "execution_count": 16 - } - ] - }, - { - "cell_type": "code", - "metadata": { - "colab_type": "code", - "id": "iTO5g4glWldp", - "colab": { - "base_uri": "https://localhost:8080/", - "height": 118 + "d180068e0b894d7bb0cf2b86772c39bb": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null + } }, - "outputId": "908e10a6-8d0d-4134-97f5-f142c7116bf4" - }, - "source": [ - "nlp(text4)" - ], - "execution_count": 17, - "outputs": [ - { - "output_type": "execute_result", - "data": { - "text/plain": [ - "[{'answer': '1994', 'question': 'When was Forrest Gump released?'},\n", - " {'answer': '1986',\n", - " 'question': \"In what year was Winston Groom's novel based on Forrest Gump?\"},\n", - " {'answer': 'Alabama', 'question': 'Where is Forrest Gump from?'},\n", - " {'answer': 'novel',\n", - " 'question': 'Forrest Gump differs substantially from what?'}]" - ] - }, - "metadata": { - "tags": [] - }, - "execution_count": 17 - } - ] - }, - { - "cell_type": "code", - "metadata": { - "colab_type": "code", - "id": "_YIZtVu8Wldw", - "colab": {} - }, - "source": [ - "" - ], - "execution_count": null, - "outputs": [] - }, - { - "cell_type": "markdown", - "metadata": { - "colab_type": "text", - "id": "qh46cnicWld1" - }, - "source": [ - "#### QA" - ] - }, - { - "cell_type": "code", - "metadata": { - "colab_type": "code", - "id": "67nbW-dgWld2", - "colab": { - "base_uri": "https://localhost:8080/", - "height": 35 + "d1b088bfd7c84df4bfe125d64152da2e": { + "model_module": "@jupyter-widgets/controls", + "model_name": "HTMLModel", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "HTMLModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "HTMLView", + "description": "", + "description_tooltip": null, + "layout": "IPY_MODEL_9760bd142c844c6d8c0c7a63ad22c020", + "placeholder": "​", + "style": "IPY_MODEL_7180636e594e4c69ad73b22cbba633c0", + "value": " 65.0/65.0 [00:38<00:00, 1.71B/s]" + } }, - "outputId": "348f1bbf-eccf-4b10-f455-71a389411dce" - }, - "source": [ - "nlp({\n", - " \"question\": \"Who created Python ?\",\n", - " \"context\": text\n", - "})" - ], - "execution_count": 18, - "outputs": [ - { - "output_type": "execute_result", - "data": { - "application/vnd.google.colaboratory.intrinsic": { - "type": "string" - }, - "text/plain": [ - "'Guido van Rossum'" - ] - }, - "metadata": { - "tags": [] - }, - "execution_count": 18 - } - ] - }, - { - "cell_type": "code", - "metadata": { - "colab_type": "code", - "id": "2Ew7vRA2Wld6", - "colab": { - "base_uri": "https://localhost:8080/", - "height": 35 + "d440bbd4fe414f568d3d5136279a6b79": { + "model_module": "@jupyter-widgets/controls", + "model_name": "ProgressStyleModel", + "state": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "ProgressStyleModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "bar_color": null, + "description_width": "initial" + } }, - "outputId": "950d9949-1ed8-4041-8c47-80eb025dd1f8" - }, - "source": [ - "nlp({\n", - " \"question\": \"Who wrote Forrest Gump ?\",\n", - " \"context\": text4\n", - "})" - ], - "execution_count": 19, - "outputs": [ - { - "output_type": "execute_result", - "data": { - "application/vnd.google.colaboratory.intrinsic": { - "type": "string" - }, - "text/plain": [ - "'Eric Roth'" - ] - }, - "metadata": { - "tags": [] - }, - "execution_count": 19 - } - ] - }, - { - "cell_type": "code", - "metadata": { - "colab_type": "code", - "id": "0CkkYm6aWld-", - "colab": {} - }, - "source": [ - "" - ], - "execution_count": null, - "outputs": [] - }, - { - "cell_type": "markdown", - "metadata": { - "id": "z_Wq-2nuXDvl", - "colab_type": "text" - }, - "source": [ - "## End-to-End QG" - ] - }, - { - "cell_type": "markdown", - "metadata": { - "id": "xS4XfQh0X3W8", - "colab_type": "text" - }, - "source": [ - "### small model" - ] - }, - { - "cell_type": "code", - "metadata": { - "id": "mzJjXzpmXG7t", - "colab_type": "code", - "colab": { - "base_uri": "https://localhost:8080/", - "height": 310, - "referenced_widgets": [ - "596c754de829409fbafc768d6157d1ba", - "9e10200df4fb47de8d11d919506fd420", - "f5420a7a84324b6aab69555cf2c4c28e", - "96554632324f4f4d8f51add8ded21c58", - "c23e78ce9eed4d2f8bd7453fb76f1813", - "d47a34125e0445d69e2e8b42709e3be7", - "198e22ecb91e4d0bbe659227e0263471", - "0b0663698db5484294f8cf0f4c9a7b8f", - "93dc353d29ac415abaf193f9e9da83ab", - "86c324181fa74c2483ef80064f23248e", - "b3f78454700b44f690716acb5ba9405e", - "e87a4d67ef534786b8be863eb55a8240", - "feaadea50b75486d9605c3f1b063bee2", - "9691c795b5534a09a3db391d13dc6337", - "12412cb52fa844e1aec2799b6df43f52", - "447f364655974be8b923f26261fa4635", - "0ff56e11acfb42138ba524ebcdc664cb", - "dbbd825fd25949408c836238b0b8119e", - "5ab4c3dbcd834437a3ea4b512b875f65", - "4ef7f6001ec44d11af53c23c1a4e5368", - "d440bbd4fe414f568d3d5136279a6b79", - "40a77051f36349d6a6e4f94554331839", - "9fe094b25570406db96cb643f5320b09", - "eb0f17ee32b04ba3844f609066bf7484", - "2f5f23d75292466985974cbc025d9058", - "b1eb7e8892604cf995c8a7749904f166", - "e770c99833df4c838ba632cb5af35920", - "7abd8e9099dc4ba2be5593940e3d69ee", - "656c13ab65bf40f691c14d3d7c9dd6d6", - "74075048891040a2b7da864cef5a3f23", - "413fab342b03411cbcb97b58b0450086", - "57fef133ea4b4c1f85388b9487b0032f", - "68a1ab12e17a4ba5b87f3ad55f6e488e", - "fcf7a63396ae408b8e2570aaa69a7ef1", - "e3b79fc7017c4135afae4c47b8e5e7cb", - "2b8c1735915c4c0b82e7faa92b45c281", - "1dadb55aade34302b54d6a4e5b82207a", - "2a1fcedd1d4f4f0099ec72c1acb30419", - "29e5c0b0b02f44dea7be3589d2327e0b", - "fefa681970db4c259c2e1aeb93abd6d5", - "b69b3fcb5e4d48b192f6aa7f45f01889", - "b08383598a1848118730f57ab4a44215", - "9ac10c77ff6b48978edc68ae9bc33cb9", - "faf5ec950167410f8dc89363f0c3c627", - "4b41626100c34fc081dd1cefb0fc0211", - "9fd4d4e6bcb444aeb115b9cec2b5252f", - "e0342c84e1404c93972fdb8cad71b363", - "c469ebd9fe344f92938478390737c523" - ] + "d46d560becfc4da281f51e67a12b29b1": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null + } }, - "outputId": "41677aa0-9bdf-4d23-a879-bdd87e34f1a5" - }, - "source": [ - "nlp = pipeline(\"e2e-qg\")" - ], - "execution_count": 4, - "outputs": [ - { - "output_type": "display_data", - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "596c754de829409fbafc768d6157d1ba", - "version_minor": 0, - "version_major": 2 - }, - "text/plain": [ - "HBox(children=(FloatProgress(value=0.0, description='Downloading', max=1348.0, style=ProgressStyle(description…" - ] - }, - "metadata": { - "tags": [] + "d47a34125e0445d69e2e8b42709e3be7": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null } }, - { - "output_type": "stream", - "text": [ - "\n" - ], - "name": "stdout" + "d8178120b6e04b43b17163b3f35b8c2a": { + "model_module": "@jupyter-widgets/controls", + "model_name": "ProgressStyleModel", + "state": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "ProgressStyleModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "bar_color": null, + "description_width": "initial" + } }, - { - "output_type": "display_data", - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "93dc353d29ac415abaf193f9e9da83ab", - "version_minor": 0, - "version_major": 2 - }, - "text/plain": [ - "HBox(children=(FloatProgress(value=0.0, description='Downloading', max=791656.0, style=ProgressStyle(descripti…" - ] - }, - "metadata": { - "tags": [] + "d9840f3af0a94581824ce3459773fcb7": { + "model_module": "@jupyter-widgets/controls", + "model_name": "DescriptionStyleModel", + "state": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionStyleModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "description_width": "" } }, - { - "output_type": "stream", - "text": [ - "\n" - ], - "name": "stdout" + "dbbd825fd25949408c836238b0b8119e": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null + } }, - { - "output_type": "display_data", - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "0ff56e11acfb42138ba524ebcdc664cb", - "version_minor": 0, - "version_major": 2 - }, - "text/plain": [ - "HBox(children=(FloatProgress(value=0.0, description='Downloading', max=31.0, style=ProgressStyle(description_w…" - ] - }, - "metadata": { - "tags": [] + "dc1a584f4d8a40eca39bd2efed426eec": { + "model_module": "@jupyter-widgets/controls", + "model_name": "FloatProgressModel", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "FloatProgressModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ProgressView", + "bar_style": "success", + "description": "Downloading: 100%", + "description_tooltip": null, + "layout": "IPY_MODEL_19f6ee3c487c405c9ea9e0bfadf31906", + "max": 31, + "min": 0, + "orientation": "horizontal", + "style": "IPY_MODEL_5ba3a07444d049ef99947ab336b20c07", + "value": 31 + } + }, + "dcdd610bc53549109eff5ee720030702": { + "model_module": "@jupyter-widgets/controls", + "model_name": "DescriptionStyleModel", + "state": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionStyleModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "description_width": "" + } + }, + "de987e3495914bd3bf05fca5f0411595": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null } }, - { - "output_type": "stream", - "text": [ - "\n" - ], - "name": "stdout" - }, - { - "output_type": "display_data", - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "2f5f23d75292466985974cbc025d9058", - "version_minor": 0, - "version_major": 2 - }, - "text/plain": [ - "HBox(children=(FloatProgress(value=0.0, description='Downloading', max=1786.0, style=ProgressStyle(description…" - ] - }, - "metadata": { - "tags": [] + "e0342c84e1404c93972fdb8cad71b363": { + "model_module": "@jupyter-widgets/controls", + "model_name": "DescriptionStyleModel", + "state": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionStyleModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "description_width": "" } }, - { - "output_type": "stream", - "text": [ - "\n" - ], - "name": "stdout" - }, - { - "output_type": "display_data", - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "68a1ab12e17a4ba5b87f3ad55f6e488e", - "version_minor": 0, - "version_major": 2 - }, - "text/plain": [ - "HBox(children=(FloatProgress(value=0.0, description='Downloading', max=124.0, style=ProgressStyle(description_…" - ] - }, - "metadata": { - "tags": [] + "e34ea489ea824b81bc5bbaf07aec79ca": { + "model_module": "@jupyter-widgets/controls", + "model_name": "FloatProgressModel", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "FloatProgressModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ProgressView", + "bar_style": "success", + "description": "Downloading: 100%", + "description_tooltip": null, + "layout": "IPY_MODEL_8c12a663bbd342979337e2e2ba029219", + "max": 891608946, + "min": 0, + "orientation": "horizontal", + "style": "IPY_MODEL_2abf9fbf4e2f4d87bb73fc4eb2bebdc9", + "value": 891608946 } }, - { - "output_type": "stream", - "text": [ - "\n" - ], - "name": "stdout" - }, - { - "output_type": "display_data", - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "b69b3fcb5e4d48b192f6aa7f45f01889", - "version_minor": 0, - "version_major": 2 - }, - "text/plain": [ - "HBox(children=(FloatProgress(value=0.0, description='Downloading', max=242013376.0, style=ProgressStyle(descri…" - ] - }, - "metadata": { - "tags": [] + "e3b79fc7017c4135afae4c47b8e5e7cb": { + "model_module": "@jupyter-widgets/controls", + "model_name": "FloatProgressModel", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "FloatProgressModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ProgressView", + "bar_style": "success", + "description": "Downloading: 100%", + "description_tooltip": null, + "layout": "IPY_MODEL_2a1fcedd1d4f4f0099ec72c1acb30419", + "max": 124, + "min": 0, + "orientation": "horizontal", + "style": "IPY_MODEL_1dadb55aade34302b54d6a4e5b82207a", + "value": 124 } }, - { - "output_type": "stream", - "text": [ - "\n" - ], - "name": "stdout" - } - ] - }, - { - "cell_type": "code", - "metadata": { - "id": "LMdylLZhXOED", - "colab_type": "code", - "colab": { - "base_uri": "https://localhost:8080/", - "height": 84 - }, - "outputId": "055ff255-a788-45f4-b0ab-563d5075e115" - }, - "source": [ - "nlp(text)" - ], - "execution_count": 5, - "outputs": [ - { - "output_type": "stream", - "text": [ - "Your max_length is set to 256, but you input_length is only 54. You might consider decreasing max_length manually, e.g. summarizer('...', max_length=50)\n" - ], - "name": "stderr" - }, - { - "output_type": "execute_result", - "data": { - "text/plain": [ - "['Who created Python?',\n", - " 'When was Python first released?',\n", - " \"What is Python's design philosophy?\"]" - ] - }, - "metadata": { - "tags": [] - }, - "execution_count": 5 - } - ] - }, - { - "cell_type": "code", - "metadata": { - "id": "Jd_2-fvYXaXb", - "colab_type": "code", - "colab": { - "base_uri": "https://localhost:8080/", - "height": 101 + "e770c99833df4c838ba632cb5af35920": { + "model_module": "@jupyter-widgets/controls", + "model_name": "FloatProgressModel", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "FloatProgressModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ProgressView", + "bar_style": "success", + "description": "Downloading: 100%", + "description_tooltip": null, + "layout": "IPY_MODEL_74075048891040a2b7da864cef5a3f23", + "max": 1786, + "min": 0, + "orientation": "horizontal", + "style": "IPY_MODEL_656c13ab65bf40f691c14d3d7c9dd6d6", + "value": 1786 + } }, - "outputId": "cbc7807b-3a7d-4f21-ae13-1e7959e01330" - }, - "source": [ - "nlp(text2)" - ], - "execution_count": 6, - "outputs": [ - { - "output_type": "stream", - "text": [ - "Your max_length is set to 256, but you input_length is only 161. You might consider decreasing max_length manually, e.g. summarizer('...', max_length=50)\n" - ], - "name": "stderr" + "e87a4d67ef534786b8be863eb55a8240": { + "model_module": "@jupyter-widgets/controls", + "model_name": "HTMLModel", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "HTMLModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "HTMLView", + "description": "", + "description_tooltip": null, + "layout": "IPY_MODEL_447f364655974be8b923f26261fa4635", + "placeholder": "​", + "style": "IPY_MODEL_12412cb52fa844e1aec2799b6df43f52", + "value": " 792k/792k [00:20<00:00, 39.4kB/s]" + } }, - { - "output_type": "execute_result", - "data": { - "text/plain": [ - "['What is the Latin word for gravitas?',\n", - " 'What does gravity give weight to on Earth?',\n", - " \"The Moon's gravity causes what?\",\n", - " 'Gravity has an infinite range, but its effects become weaker as objects get further away?']" - ] - }, - "metadata": { - "tags": [] - }, - "execution_count": 6 - } - ] - }, - { - "cell_type": "code", - "metadata": { - "id": "bpDIQV3RXeAU", - "colab_type": "code", - "colab": { - "base_uri": "https://localhost:8080/", - "height": 84 + "eb0f17ee32b04ba3844f609066bf7484": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null + } }, - "outputId": "8751cd92-0893-4e33-8151-c35efb67caf2" - }, - "source": [ - "nlp(text4)" - ], - "execution_count": 7, - "outputs": [ - { - "output_type": "stream", - "text": [ - "Your max_length is set to 256, but you input_length is only 135. You might consider decreasing max_length manually, e.g. summarizer('...', max_length=50)\n" - ], - "name": "stderr" + "eb9fb93a24f242f987e1fd6993c717e0": { + "model_module": "@jupyter-widgets/controls", + "model_name": "FloatProgressModel", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "FloatProgressModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ProgressView", + "bar_style": "success", + "description": "Downloading: 100%", + "description_tooltip": null, + "layout": "IPY_MODEL_224671f61e8a473a87070572a74d0081", + "max": 1350, + "min": 0, + "orientation": "horizontal", + "style": "IPY_MODEL_d8178120b6e04b43b17163b3f35b8c2a", + "value": 1350 + } }, - { - "output_type": "execute_result", - "data": { - "text/plain": [ - "['Who directed the 1994 American comedy-drama film Forrest Gump?',\n", - " 'What is the name of the 1986 film that stars Tom Hanks, Robin Wright, Gary Sinise, Mykelti Williamson, and Sally Field?',\n", - " 'Who is the author of the 1994 film forrest gump? What is Forrest a film that is based on?']" - ] - }, - "metadata": { - "tags": [] - }, - "execution_count": 7 - } - ] - }, - { - "cell_type": "code", - "metadata": { - "id": "BDo01sKdXjfG", - "colab_type": "code", - "colab": {} - }, - "source": [ - "" - ], - "execution_count": null, - "outputs": [] - }, - { - "cell_type": "markdown", - "metadata": { - "id": "CNBlsV_eX9mm", - "colab_type": "text" - }, - "source": [ - "### base-model" - ] - }, - { - "cell_type": "code", - "metadata": { - "id": "B5oUJ5_0X_Je", - "colab_type": "code", - "colab": { - "base_uri": "https://localhost:8080/", - "height": 310, - "referenced_widgets": [ - "354f7a87bb71411795bc63d11189094b", - "7600126083074eac9d68a285ca1b51ce", - "eb9fb93a24f242f987e1fd6993c717e0", - "277f08f8db154f29a23c087fa32b4cdf", - "d8178120b6e04b43b17163b3f35b8c2a", - "224671f61e8a473a87070572a74d0081", - "bd34099fedfa436c9567678aebd8e1d1", - "b860bd97046a4f5b93a5550a5b9a61b6", - "6032c576323540e1b6f47f2ff0f1d6b2", - "2dc45394f108468ea977eb797dae4682", - "39a08aba8f474fc0854e94febee2b4e0", - "19a943f30f884893badaafb1aa5a48a7", - "8c498364dd904bbebb68a5277396d9b3", - "6e5c0103307b4c7a84f10e496b92b741", - "4906ff20a11a497ea7d84bf030581c5e", - "1fa1810f1d794a50bd776f681394410c", - "ad01de75faf54ac595c540342bfbd16c", - "b3e04bba6f5348c1b6a0d5c818c09e2a", - "dc1a584f4d8a40eca39bd2efed426eec", - "1dc95b92e9db4eeb82851c679f709f8c", - "5ba3a07444d049ef99947ab336b20c07", - "19f6ee3c487c405c9ea9e0bfadf31906", - "afb1ace8c86e4106a53dd4f0c26f7ec7", - "97caa06c0b324d3aa829abdc14af6b5a", - "088383be40254e9e80f242bada211795", - "d180068e0b894d7bb0cf2b86772c39bb", - "0f6d8f6cde8e4b55a26d6e5594a1b412", - "88824aa767d04222ad3c66ab8a80d4c1", - "9cecc5ca989a41c39d9836fd29581459", - "c035151659df42a581cfc9bed5f59b43", - "f8b5c6f268f14f17af6666fa6b03fea1", - "724cdb6f5b78444e87b10f383f85923a", - "135b9811faba4960a3cebf8ad49f3f05", - "849ccde622f941c482e6c179763348a4", - "50eb6e47233340e5af9d0c809e24b30e", - "1a00e3b126494f6aa42a1739944cecb1", - "61a0cb3a3bb445b28bc29322179aa54f", - "c38d04838c9c4c47b9b8d90e7297a931", - "9748513b6c524dd3972b48041b0ac989", - "f56e1ca817f14b7ab8a2f40b2826f930", - "7e88959c5b7240818378e8ff75f63708", - "591ae711a57f4fa2b8f3d67a8f94d507", - "e34ea489ea824b81bc5bbaf07aec79ca", - "5db14e649c2c4ef095c31f2ed4d71094", - "2abf9fbf4e2f4d87bb73fc4eb2bebdc9", - "8c12a663bbd342979337e2e2ba029219", - "d9840f3af0a94581824ce3459773fcb7", - "69b4598ae36348448d6bc8b31f6fee41" - ] + "ec840a9a88d647eda8090fba3768d36a": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null + } }, - "outputId": "d7d73f47-e92f-4e5f-dd30-85dc6c7d1a62" - }, - "source": [ - "nlp = pipeline(\"e2e-qg\", model=\"valhalla/t5-base-e2e-qg\")" - ], - "execution_count": 8, - "outputs": [ - { - "output_type": "display_data", - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "354f7a87bb71411795bc63d11189094b", - "version_minor": 0, - "version_major": 2 - }, - "text/plain": [ - "HBox(children=(FloatProgress(value=0.0, description='Downloading', max=1350.0, style=ProgressStyle(description…" - ] - }, - "metadata": { - "tags": [] + "f05b8fb4c7764f9caff4eba3d866c5e8": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null + } + }, + "f07cb8f47ccb41728ed60b9ba64ddee8": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null } }, - { - "output_type": "stream", - "text": [ - "\n" - ], - "name": "stdout" - }, - { - "output_type": "display_data", - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "6032c576323540e1b6f47f2ff0f1d6b2", - "version_minor": 0, - "version_major": 2 - }, - "text/plain": [ - "HBox(children=(FloatProgress(value=0.0, description='Downloading', max=791656.0, style=ProgressStyle(descripti…" - ] - }, - "metadata": { - "tags": [] + "f10552ead0394059a49b553a6d2ffbc9": { + "model_module": "@jupyter-widgets/controls", + "model_name": "HTMLModel", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "HTMLModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "HTMLView", + "description": "", + "description_tooltip": null, + "layout": "IPY_MODEL_fd48fb6d8ff6497c893e6b988746cec6", + "placeholder": "​", + "style": "IPY_MODEL_3dfad120fef440b9aed00ee86df227fa", + "value": " 31.0/31.0 [00:01<00:00, 19.5B/s]" } }, - { - "output_type": "stream", - "text": [ - "\n" - ], - "name": "stdout" + "f5420a7a84324b6aab69555cf2c4c28e": { + "model_module": "@jupyter-widgets/controls", + "model_name": "FloatProgressModel", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "FloatProgressModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ProgressView", + "bar_style": "success", + "description": "Downloading: 100%", + "description_tooltip": null, + "layout": "IPY_MODEL_d47a34125e0445d69e2e8b42709e3be7", + "max": 1348, + "min": 0, + "orientation": "horizontal", + "style": "IPY_MODEL_c23e78ce9eed4d2f8bd7453fb76f1813", + "value": 1348 + } }, - { - "output_type": "display_data", - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "ad01de75faf54ac595c540342bfbd16c", - "version_minor": 0, - "version_major": 2 - }, - "text/plain": [ - "HBox(children=(FloatProgress(value=0.0, description='Downloading', max=31.0, style=ProgressStyle(description_w…" - ] - }, - "metadata": { - "tags": [] + "f56e1ca817f14b7ab8a2f40b2826f930": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null } }, - { - "output_type": "stream", - "text": [ - "\n" - ], - "name": "stdout" + "f8b5c6f268f14f17af6666fa6b03fea1": { + "model_module": "@jupyter-widgets/controls", + "model_name": "DescriptionStyleModel", + "state": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionStyleModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "description_width": "" + } }, - { - "output_type": "display_data", - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "088383be40254e9e80f242bada211795", - "version_minor": 0, - "version_major": 2 - }, - "text/plain": [ - "HBox(children=(FloatProgress(value=0.0, description='Downloading', max=1786.0, style=ProgressStyle(description…" - ] - }, - "metadata": { - "tags": [] + "faf5ec950167410f8dc89363f0c3c627": { + "model_module": "@jupyter-widgets/controls", + "model_name": "HTMLModel", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "HTMLModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "HTMLView", + "description": "", + "description_tooltip": null, + "layout": "IPY_MODEL_c469ebd9fe344f92938478390737c523", + "placeholder": "​", + "style": "IPY_MODEL_e0342c84e1404c93972fdb8cad71b363", + "value": " 242M/242M [00:09<00:00, 24.4MB/s]" } }, - { - "output_type": "stream", - "text": [ - "\n" - ], - "name": "stdout" + "fbbeaf73ff094cc29a62694fd00289da": { + "model_module": "@jupyter-widgets/controls", + "model_name": "ProgressStyleModel", + "state": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "ProgressStyleModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "bar_color": null, + "description_width": "initial" + } }, - { - "output_type": "display_data", - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "135b9811faba4960a3cebf8ad49f3f05", - "version_minor": 0, - "version_major": 2 - }, - "text/plain": [ - "HBox(children=(FloatProgress(value=0.0, description='Downloading', max=195.0, style=ProgressStyle(description_…" - ] - }, - "metadata": { - "tags": [] + "fcf7a63396ae408b8e2570aaa69a7ef1": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null } }, - { - "output_type": "stream", - "text": [ - "\n" - ], - "name": "stdout" - }, - { - "output_type": "display_data", - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "7e88959c5b7240818378e8ff75f63708", - "version_minor": 0, - "version_major": 2 - }, - "text/plain": [ - "HBox(children=(FloatProgress(value=0.0, description='Downloading', max=891608946.0, style=ProgressStyle(descri…" - ] - }, - "metadata": { - "tags": [] + "fd48fb6d8ff6497c893e6b988746cec6": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null } }, - { - "output_type": "stream", - "text": [ - "\n" - ], - "name": "stdout" - } - ] - }, - { - "cell_type": "code", - "metadata": { - "id": "8lY3vzbgYCm3", - "colab_type": "code", - "colab": { - "base_uri": "https://localhost:8080/", - "height": 84 - }, - "outputId": "e3544994-dc8a-4734-f406-f85c71e080d5" - }, - "source": [ - "nlp(text)" - ], - "execution_count": 9, - "outputs": [ - { - "output_type": "stream", - "text": [ - "Your max_length is set to 256, but you input_length is only 54. You might consider decreasing max_length manually, e.g. summarizer('...', max_length=50)\n" - ], - "name": "stderr" - }, - { - "output_type": "execute_result", - "data": { - "text/plain": [ - "['Who created Python?',\n", - " 'When was Python first released?',\n", - " \"What is Python's design philosophy?\"]" - ] - }, - "metadata": { - "tags": [] - }, - "execution_count": 9 - } - ] - }, - { - "cell_type": "code", - "metadata": { - "id": "pWzd3JFQYI2O", - "colab_type": "code", - "colab": { - "base_uri": "https://localhost:8080/", - "height": 101 - }, - "outputId": "9a0f5db8-e337-47ce-a6da-d0c056bf3187" - }, - "source": [ - "nlp(text2)" - ], - "execution_count": 10, - "outputs": [ - { - "output_type": "stream", - "text": [ - "Your max_length is set to 256, but you input_length is only 161. You might consider decreasing max_length manually, e.g. summarizer('...', max_length=50)\n" - ], - "name": "stderr" - }, - { - "output_type": "execute_result", - "data": { - "text/plain": [ - "['What is the Latin word for gravitation?',\n", - " 'What does gravity give to physical objects on Earth?',\n", - " \"The Moon's gravity causes what?\",\n", - " 'Gravity has an infinite range, but its effects become weaker as objects get further away?']" - ] - }, - "metadata": { - "tags": [] - }, - "execution_count": 10 - } - ] - }, - { - "cell_type": "code", - "metadata": { - "id": "KHnw2ZlNYKNz", - "colab_type": "code", - "colab": { - "base_uri": "https://localhost:8080/", - "height": 101 - }, - "outputId": "dc902645-aee4-44d9-d3a5-a53d0ff2425a" - }, - "source": [ - "nlp(text4)" - ], - "execution_count": 11, - "outputs": [ - { - "output_type": "stream", - "text": [ - "Your max_length is set to 256, but you input_length is only 135. You might consider decreasing max_length manually, e.g. summarizer('...', max_length=50)\n" - ], - "name": "stderr" + "feaadea50b75486d9605c3f1b063bee2": { + "model_module": "@jupyter-widgets/controls", + "model_name": "ProgressStyleModel", + "state": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "ProgressStyleModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "bar_color": null, + "description_width": "initial" + } }, - { - "output_type": "execute_result", - "data": { - "text/plain": [ - "['Who directed Forrest Gump?',\n", - " 'Who wrote the book of the same name?',\n", - " \"What is the name of the film based on Winston Groom's novel?\",\n", - " 'Which actor stars in the film?']" - ] - }, - "metadata": { - "tags": [] - }, - "execution_count": 11 + "fefa681970db4c259c2e1aeb93abd6d5": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null + } } - ] - }, - { - "cell_type": "code", - "metadata": { - "id": "TMY7ZLdYYUkL", - "colab_type": "code", - "colab": {} - }, - "source": [ - "" - ], - "execution_count": null, - "outputs": [] + } } - ] -} \ No newline at end of file + }, + "nbformat": 4, + "nbformat_minor": 0 +}