diff --git a/.github/workflows/tutorials.yml b/.github/workflows/tutorials.yml index 21eaf665d..c73826988 100644 --- a/.github/workflows/tutorials.yml +++ b/.github/workflows/tutorials.yml @@ -65,6 +65,7 @@ jobs: - uses: jitterbit/get-changed-files@v1 id: diff + continue-on-error: true with: format: space-delimited token: ${{ secrets.GITHUB_TOKEN }} diff --git a/tutorials/Tutorial14_Query_Classifier.ipynb b/tutorials/Tutorial14_Query_Classifier.ipynb index c672a879c..8d72e4491 100644 --- a/tutorials/Tutorial14_Query_Classifier.ipynb +++ b/tutorials/Tutorial14_Query_Classifier.ipynb @@ -12,37 +12,27 @@ "# Query Classifier Tutorial\n", "[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/deepset-ai/haystack/blob/master/tutorials/Tutorial14_Query_Classifier.ipynb)\n", "\n", - "In this tutorial we introduce the query classifier the goal of introducing this feature was to optimize the overall flow of Haystack pipeline by detecting the nature of user queries. Now, the Haystack can detect primarily three types of queries using both light-weight SKLearn Gradient Boosted classifier or Transformer based more robust classifier. The three categories of queries are as follows:\n", + "One of the great benefits of using state-of-the-art NLP models like those available in Haystack is that it allows users to state their queries as *plain natural language questions*: rather than trying to come up with just the right set of keywords to find the answer to their question, users can simply ask their question in much the same way that they would ask it of a (very knowledgeable!) person.\n", "\n", + "But just because users *can* ask their questions in \"plain English\" (or \"plain German\", etc.), that doesn't mean they always *will*. For instance, a user might input a few keywords rather than a complete question because they don't understand the pipeline's full capabilities, or because they are so accustomed to keyword search. While a standard Haystack pipeline might handle such queries with reasonable accuracy, for a variety of reasons we still might prefer that our pipeline be sensitive to the type of query it is receiving, so that it behaves differently when a user inputs, say, a collection of keywords instead of a question.\n", "\n", - "### 1. Keyword Queries: \n", - "Such queries don't have semantic meaning and merely consist of keywords. For instance these three are the examples of keyword queries.\n", + "For this reason, Haystack comes with built-in capabilities to distinguish between three types of queries: **keyword queries**, **interrogative queries**, and **statement queries**, described below.\n", "\n", - "* arya stark father\n", - "* jon snow country\n", - "* arya stark younger brothers\n", + "1. **Keyword queries** can be thought of more or less as lists of words, such as \"Alaska cruises summer\". While the meanings of individual words may matter in a keyword query, the linguistic connections *between* words do not. Hence, in a keyword query the order of words is largely irrelevant: \"Alaska cruises summer\", \"summer Alaska cruises\", and \"summer cruises Alaska\" are functionally the same.\n", "\n", - "### 2. Interrogative Queries: \n", - "In such queries users usually ask a question, regardless of presence of \"?\" in the query the goal here is to detect the intent of the user whether any question is asked or not in the query. For example:\n", + "2. **Interrogative queries** (or **question queries**) are queries phrased as natural language questions, such as \"Who was the father of Eddard Stark?\". Unlike with keyword queries, word order very much matters here: \"Who was the father of Eddard Stark?\" and \"Who was Eddard Stark the father of?\" are very different questions, despite having exactly the same words. (Note that while we often write questions with question marks, Haystack can find interrogative queries without such a dead giveaway!)\n", "\n", - "* who is the father of arya stark ?\n", - "* which country was jon snow filmed ?\n", - "* who are the younger brothers of arya stark ?\n", + "3. **Statement queries** are just declarative sentences, such as \"Daenerys loved Jon\". These are like interrogative queries in that word order matters—again, \"Daenerys loved Jon\" and \"Jon loved Daenerys\" mean very different things—but they are statements instead of questions.\n", "\n", - "### 3. Declarative Queries: \n", - "Such queries are variation of keyword queries, however, there is semantic relationship between words. Fo example:\n", + "In this tutorial you will learn how to use **query classifiers** to branch your Haystack pipeline based on the type of query it receives. Haystack comes with two out-of-the-box query classification schemas, each of which routes a given query into one of two branches:\n", "\n", - "* Arya stark was a daughter of a lord.\n", - "* Jon snow was filmed in a country in UK.\n", - "* Bran was brother of a princess.\n", + "1. **Keyword vs. Question/Statement** — routes a query into one of two branches depending on whether it is a full question/statement or a collection of keywords.\n", "\n", - "In this tutorial, you will learn how the `TransformersQueryClassifier` and `SklearnQueryClassifier` classes can be used to intelligently route your queries, based on the nature of the user query. Also, you can choose between a lightweight Gradients boosted classifier or a transformer based classifier.\n", + "2. **Question vs. Statement** — routes a natural language query into one of two branches depending on whether it is a question or a statement.\n", "\n", - "Furthermore, there are two types of classifiers you can use out of the box from Haystack.\n", - "1. Keyword vs Statement/Question Query Classifier\n", - "2. Statement vs Question Query Classifier\n", + "Furthermore, for each classification schema there are two types of nodes capable of performing this classification: a **`TransformersQueryClassifier`** that uses a transformer model, and an **`SklearnQueryClassifier`** that uses a more lightweight model built in `sklearn`.\n", "\n", - "As evident from the name the first classifier detects the keywords search queries and semantic statements like sentences/questions. The second classifier differentiates between question based queries and declarative sentences." + "With all of that explanation out of the way, let's dive in!" ] }, { @@ -54,7 +44,7 @@ } }, "source": [ - "### Prepare environment\n", + "### Prepare the Environment\n", "\n", "#### Colab: Enable the GPU runtime\n", "Make sure you enable the GPU runtime to experience decent speed in this tutorial. \n", @@ -72,35 +62,198 @@ } }, "source": [ - "These lines are to install Haystack through pip" + "Next we make sure the latest version of Haystack is installed:" ] }, { "cell_type": "code", "execution_count": null, "metadata": { - "colab": { - "base_uri": "https://localhost:8080/" - }, "id": "CjA5n5lMN-gd", - "outputId": "da688e25-ad0e-41d3-94cf-581858fc05a4", "pycharm": { "name": "#%%\n" - } + }, + "collapsed": true }, "outputs": [], "source": [ "# Install the latest release of Haystack in your own environment\n", "#! pip install farm-haystack\n", "\n", - "# Install the latest master of Haystack\n", + "# Install the latest master of Haystack (Colab)\n", "!pip install --upgrade pip\n", "!pip install git+https://github.com/deepset-ai/haystack.git#egg=farm-haystack[colab]\n", "\n", - "# Install pygraphviz\n", + "# Install these to allow pipeline visualization\n", "!apt install libgraphviz-dev\n", - "!pip install pygraphviz\n", + "!pip install pygraphviz" + ] + }, + { + "cell_type": "markdown", + "metadata": { + "id": "sJcWRK4Hwyx2" + }, + "source": [ + "### Trying Some Query Classifiers on their Own\n", "\n", + "Before integrating query classifiers into our pipelines, let's test them out on their own and see what they actually do. First we initiate a simple, out-of-the-box **keyword vs. question/statement** `SklearnQueryClassifier`:" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "id": "XhPMEqBzxA8V", + "collapsed": true + }, + "outputs": [], + "source": [ + "# Here we create the keyword vs question/statement query classifier\n", + "from haystack.nodes import SklearnQueryClassifier\n", + "\n", + "keyword_classifier = SklearnQueryClassifier()" + ] + }, + { + "cell_type": "markdown", + "source": [ + "Now let's feed some queries into this query classifier. We'll test with one keyword query, one interrogative query, and one statement query. Notice that we don't use any punctuation, such as question marks; this illustrates that the classifier doesn't need punctuation in order to make the right decision." + ], + "metadata": { + "id": "1NHjy9aa9FKx" + } + }, + { + "cell_type": "code", + "source": [ + "queries = [\n", + " \"Arya Stark father\", # Keyword Query\n", + " \"Who was the father of Arya Stark\", # Interrogative Query\n", + " \"Lord Eddard was the father of Arya Stark\", # Statement Query\n", + "]" + ], + "metadata": { + "id": "Ks7qdULR8J13" + }, + "execution_count": null, + "outputs": [] + }, + { + "cell_type": "markdown", + "source": [ + "We can see below what our classifier does with these queries: \"Arya Stark father\" is rightly determined to be a keyword query and is sent to branch 2, while both the interrogative query \"Who was the father of Arya Stark\" and the statement query \"Lord Eddard was the father of Arya Stark\" are correctly labeled as non-keyword queries, and are thus shipped off to branch 1." + ], + "metadata": { + "id": "UbKlyXcNj-nx" + } + }, + { + "cell_type": "code", + "source": [ + "import pandas as pd\n", + "\n", + "k_vs_qs_results = {\"Query\": [], \"Output Branch\": [], \"Class\": []}\n", + "\n", + "for query in queries:\n", + " result = keyword_classifier.run(query=query)\n", + " k_vs_qs_results[\"Query\"].append(query)\n", + " k_vs_qs_results[\"Output Branch\"].append(result[1])\n", + " k_vs_qs_results[\"Class\"].append(\"Question/Statement\" if result[1] == \"output_1\" else \"Keyword\")\n", + "\n", + "pd.DataFrame.from_dict(k_vs_qs_results)" + ], + "metadata": { + "id": "NYROmSHnE4zp" + }, + "execution_count": null, + "outputs": [] + }, + { + "cell_type": "markdown", + "source": [ + "Next we will illustrate a **question vs. statement** `SklearnQueryClassifier`. We define our classifier below; notice that this time we have to explicitly specify the model and vectorizer, since the default for an `SklearnQueryClassifier` (and a `TransformersQueryClassifier`) is keyword vs. question/statement classification." + ], + "metadata": { + "id": "VyMZzRVHlG5O" + } + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "id": "l4eH3SSaxZ0O", + "collapsed": true + }, + "outputs": [], + "source": [ + "# Here we create the question vs statement query classifier\n", + "model_url = (\n", + " \"https://ext-models-haystack.s3.eu-central-1.amazonaws.com/gradboost_query_classifier_statements/model.pickle\"\n", + ")\n", + "vectorizer_url = (\n", + " \"https://ext-models-haystack.s3.eu-central-1.amazonaws.com/gradboost_query_classifier_statements/vectorizer.pickle\"\n", + ")\n", + "\n", + "question_classifier = SklearnQueryClassifier(model_name_or_path=model_url, vectorizer_name_or_path=vectorizer_url)" + ] + }, + { + "cell_type": "markdown", + "source": [ + "We will test this classifier on the two question/statement queries from the last go-round:" + ], + "metadata": { + "id": "zdAY1CUYnTFa" + } + }, + { + "cell_type": "code", + "source": [ + "queries = [\n", + " \"Who was the father of Arya Stark\", # Interrogative Query\n", + " \"Lord Eddard was the father of Arya Stark\", # Statement Query\n", + "]\n", + "\n", + "q_vs_s_results = {\"Query\": [], \"Output Branch\": [], \"Class\": []}\n", + "\n", + "for query in queries:\n", + " result = question_classifier.run(query=query)\n", + " q_vs_s_results[\"Query\"].append(query)\n", + " q_vs_s_results[\"Output Branch\"].append(result[1])\n", + " q_vs_s_results[\"Class\"].append(\"Question\" if result[1] == \"output_1\" else \"Statement\")\n", + "\n", + "pd.DataFrame.from_dict(q_vs_s_results)" + ], + "metadata": { + "id": "1ZULHEBVmqq2" + }, + "execution_count": null, + "outputs": [] + }, + { + "cell_type": "markdown", + "source": [ + "And as we see, the question \"Who was the father of Arya Stark\" is sent to branch 1, while the statement \"Lord Eddard was the father of Arya Stark\" is sent to branch 2, so we can have our pipeline treat statements and questions differently." + ], + "metadata": { + "id": "Fk2kpvQR6Fa0" + } + }, + { + "cell_type": "markdown", + "source": [ + "### Using Query Classifiers in a Pipeline\n", + "\n", + "Now let's see how we can use query classifiers in a question-answering (QA) pipeline. We start by initiating Elasticsearch:" + ], + "metadata": { + "id": "eEwDIq9KXXke" + } + }, + { + "cell_type": "code", + "source": [ "# In Colab / No Docker environments: Start Elasticsearch from source\n", "! wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.9.2-linux-x86_64.tar.gz -q\n", "! tar -xzf elasticsearch-7.9.2-linux-x86_64.tar.gz\n", @@ -114,33 +267,12 @@ ")\n", "# wait until ES has started\n", "! sleep 30" - ] - }, - { - "cell_type": "markdown", + ], "metadata": { - "id": "fAfd2cOQN-gd", - "pycharm": { - "name": "#%% md\n" - } + "id": "fCLtLItU5aWl" }, - "source": [ - "If running from Colab or a no Docker environment, you will want to start Elasticsearch from source" - ] - }, - { - "cell_type": "markdown", - "metadata": { - "id": "Z7Tu5OQnN-ge", - "pycharm": { - "name": "#%% md\n" - } - }, - "source": [ - "## Initialization\n", - "\n", - "Here are some core imports" - ] + "execution_count": null, + "outputs": [] }, { "cell_type": "markdown", @@ -151,223 +283,18 @@ } }, "source": [ - "Then let's fetch some data (in this case, pages from the Game of Thrones wiki) and prepare it so that it can\n", - "be used indexed into our `DocumentStore`" + "Next we fetch some data—for our example we'll use pages from the Game of Thrones wiki—and index it in our `DocumentStore`:" ] }, { "cell_type": "code", "execution_count": null, "metadata": { - "colab": { - "base_uri": "https://localhost:8080/", - "height": 1000, - "referenced_widgets": [ - "e827efc5cd744b55b7d7d702663b8250", - "d7f2e3e918514031acf261116b690c5b", - "e7c2e561bfdf49aa88814126e0471a58", - "3838eb97db0f46a8828473c0e686f5df", - "769ee7fdb9c549e2a8d7f0e0719477eb", - "b64f5d69b6dc4f57894296991279b707", - "f069997c1a114e46947c8a07cebc709b", - "9cf11e92693141e6bb06462209b67b46", - "02b9c7b799a846b6974eac600c0178ba", - "667c145e9bef4f5b99fffda361a2ea47", - "32325d4b51d04b47bde5794b174fbb26", - "2c9841a834ec4e8fbae1990bc2b07a5c", - "216fd635f06847c5a7daf25d543e321b", - "fe18331098014a22aeb390730d35fedb", - "b8dddaca70054b5cab955e0dab9d6d0a", - "490edef475d646a2ba12b429c1244de4", - "3817606563914b0ca26620da959a1fc4", - "cbe8cc2b1394456bac529507081a2263", - "a2a0402f1a63407190cf2a132a0bc2b6", - "6bf5fe6ae4bf494e9c33e0940da62951", - "9e5b65de890b446bba6ea3c24fef8588", - "d6ec9612d02c42e7bb42033d727fc03c", - "ef99a76fdfbc48669ed4d18e118bfa42", - "4de441f28ec040e995c285b1e3fcadb9", - "a8f5a18af7cf410bb065eefdb887cb92", - "9a4e9075d67b4bbaab47ff97e8ea539c", - "ff4b4d0b7fc14f05971ad09a603e55d4", - "1a9b1a31f910412bb69e4cb59170fc25", - "b2249a087bd343999a5319152d7e0548", - "1618f5a1981c4d18a67be3965745aa49", - "790f7b4b1d3d4d8e84a3693f3c8b9b85", - "a226c1daa4454c55a03b1edf595a33ae", - "6de6dbe386d447f588c982d3501bd1c1", - "dc143ea6a5594b769b3a4880d83f0e1b", - "b637557712f44674abc5e5ebd32d87cf", - "aad1b320c9fd451ab081f5c238bb91c0", - "99ae91dc416b4108b4282395f403b39a", - "68b86c5c4be34554975a77a26ea6319b", - "e80fc1c849354ee89fa0d51f7de4c78e", - "b4eb040d5e224e619414a4d4740badc5", - "30413c25f3774ef6860be4230804e31c", - "5f4b28761f204e8eaa90f22a9e7677c7", - "ec237876a762449394f0930aa6690fcb", - "983cde7e80fd4eebb0b01f444aa16579", - "4d37fd7e90a64ff68870b86334cfad7e", - "394b26eab89b410db98a07cdf6609ead", - "b5c93207802346b69b7d9178b4d67b2a", - "027441d4e1f14648919f54ba9d9a5204", - "b27ce7d9f5e74ef895b809e519673c60", - "37fcf93794cb46d491d55100a6d8fee8", - "f46b46bdc75641b6b3c8d23b939bc797", - "de371bd60c64464284f47eeef0a07bed", - "04a81edc284a4378bc841f72f729305c", - "a86a02ebcb184749bd27590067ef71bc", - "7ea5f945a5aa4eb4adc96e9f986a0d71", - "56a2181e987a4227a69038267613ffc2", - "3308704acebe439188b70c6fd238ae66", - "6b97bc4ee3924dfdbe72738d137c967e", - "c05f2ee787944a9e931f74de9831599c", - "14cd6229f5e043f8862c6fe1773df4e0", - "7541bd7ec86f4c028405e6e9ca6f4d06", - "853a80d353144e8d9cd6ce8788c7a9bb", - "f825adffa7544868a2ae665ab6434d5d", - "d4e2dd1fa16b40c3bb115ecccba69a03", - "15e1e4e3276a467c88777aae68cd693c", - "1c6f0c68669a4c34b74fcb49cdb4aa07", - "5212b2c80437450fa2a7aa49f65a23f4", - "a702fc844c5b40e2986c62da5fe92c9b", - "24a7839d950740c9958e2d88b7ad829a", - "c6d3d0bb414c4aa5ae20f006cce90f33", - "b14faabb0d6d4d30bfa8efc097e5aa23", - "ba340a739c554989849060bd29eadbc9", - "27a54e55bff94428b7c19fc35b125047", - "56660d608cbe451e9ec0701c1941a7ab", - "8dc7877695b74610a849b160008ccbab", - "ca54b4744f244922bc75447d707685e6", - "7a26b17f3b9d45a4a99b8494fc5de6dd", - "9d36e8f0ab3e4a18b519e5dc04a51061", - "5b2cc531f1e44c318488c993024a94b7", - "463ff451eab94f509f4ba6ce4e1ae1ef", - "7e59ccb05ef3494eb8ad400dd8f606e0", - "cbfecc60258e428eb51652dd36655511", - "42819b5d13df44b392be19add1bdd122", - "6aa855ad681f44dabb024d4c4d34490b", - "bc806490fb8148ca9525c3b685a377c2", - "91e3d408502b480d818df1fdbbd88afb", - "1fcbba1dc2924f0489dd6cf3f6622915", - "41635bd3da9c4c1da50fe86a01da25bf", - "3fa3082333c344d1be66344a7d0ff542", - "a2905ce60084476da1c96d46a63f138d", - "4de5d23d236646629ee2cabf08f4621b", - "2d5ce6e282b14019ab5aece4ceb4e643", - "f028104b8e9548f0a7e53f1edcd63c4e", - "4cea79778d26402dad42393c2bebfe10", - "8f52bb4d56dc4084be52840e97b22790", - "b0b7c0653441453db63d253b839144f6", - "6445465e075f4254b18874e0f7353885", - "89a23afc2b704d83927acc1835361e73", - "051606acbe974583b33f5e50402c72de", - "e0599025f4534a89932b42945c3c1e21", - "a1ce792f467c47acb4803b4c727b80a1", - "09dd2dd5a35c4f418ea1ef010e6831d2", - "7a408f3b5c644f42b88574ccffc2d7bb", - "b780dea3ed6e4057a09e432a067596fb", - "1d14929d95684c05a66c958fd8a5b89d", - "11d32ef999d94db187dab41a1bbf7723", - "3d71e9d26ebb41d980819d608ddb115a", - "a53314a74ba14e9ba7fc81a4aa39070d", - "96b976f448be47d892dc1923c51c470e", - "c151c810fc984ff79aa85178d54c3b6a", - "5fa38582019043d084a6ecb2f2fea016", - "1c10236190604ad49fa72d4d851ac316", - "2a71821c410d4cb1afaab09574982b02", - "66f26219cc6248288423c2e7ba5304c4", - "33143aed23264e82a7750d5fbc8e22a7", - "112a6f4e707a4accb18b649f671634cf", - "9aa65bb178af419bbdc15d19fa572e62", - "0cab5420cdb144e9aa3dfa907e1ed729", - "28b880a5c9864a63b2d557a1ec9458a5", - "6e5b975419994befb261100d7719e991", - "0f7ab0ce7ee24838a6cbffac4cdb3040", - "8412dd46b64444b685563081f2c3c5c2", - "ba67c6d2324d440abbd25de05161b381", - "84cea882fd1e431b9c93631ee3f4ed17", - "cea38043b06d419fa63695a316233088", - "caa201fa5bc74823bcdea73599130499", - "f53911fd1c9c47c69e69206c3169158a", - "33b89e0dfe124edaa5c90ada36a4c7a8", - "b7e2a9e5035544ba94bdeb3c56b19174", - "7b4fa73603264880ad4046d5791c76fa", - "2d476cc7b1ce45ebb82f9cf5a41d4024", - "4e35f1931b50406393ffce1c3b622986", - "814e632c690e4745a93fdef461fd48b6", - "56b67d80ef05478da31ef471eb7de385", - "1bc6ff28903f4b2e9aefb6275aa047be", - "77265036d6824670b9fc258192deac11", - "3f0c353869fe42828794cd8a14acb39e", - "409718ada73943e69bee6f73e0db5b94", - "e1e04bcfd0754a3cb1ea6ac0d8ba0efa", - "fc67d27eeac0448ba310e3fb991b9b5a", - "39547579c0b443e696121427bd3279dd", - "e7227229d21d4d7292733f373fa7f9db", - "adbe499b09574ba6853581f3f6cc21d5", - "f29213e62e9e4b33ac72454b6f407073", - "46802db8abd042fb90c811cd2ea4bb5b", - "209eb3ac83504ba3920b13e5aec28da6", - "ebd1f7d8259549b1b287cd624ff5b75d", - "e7a21b2d87c942858f1b956f9af2b06e", - "fb31d79ac3f3467d986a97bd237f26be", - "0ca3a7dc4e804cecb8c719bfef9c055b", - "399fa7054fc74dfea45d22ee20765b30", - "26be6fe237fd4b8c8d8fac787d72e823", - "52de26e5a87e44debbcf00c0c4073dca", - "d03e8b5ed27c4c97a8a25bdfa82a752e", - "f27ffc683e714a28a0842a730e736716", - "b5efbf17543a4db7a3b01ee0e28743c9", - "cddcc8af67ae4c539dec147436d4628b", - "892b9273604c4440ad179ed4a8dfc5e1", - "96f73362e4694c24acb058e1b7d69a14", - "671cf89ffa2741cb9c1ffb898199d49b", - "61e9bdf3a077438cb26f4bff9265ee4c", - "76e76e39d6d64438a24919e973e0053c", - "83dad7ffdd8747ddbb3942bb6c58445c", - "d377b1dec2a84337bc1644ff51464e4d", - "038267d5661343deb4be8a3c6d16a221", - "443739aca635464ea01e08e800dd40aa", - "484eafd3786b43219fd4103aba12c2e9", - "c87dcd38005944f2affcacb28ab8dd89", - "f591cb897745493182b1854d3be5e546", - "580a190f9eee4b0e8d3008e529535aa7", - "3fc82442548e42e887ba9ad11dfd5d77", - "c7ca455474c04af18ade2d3fd906727e", - "d31dc63868a4475fbcfc7406723ad359", - "2ed78454dfa347aaa0ab9be6be341264", - "0ace7e3fad4b430c9fb09d6736ea9ac3", - "b6c733e5327a40259700554efe576527", - "1b81083a5e9644c08eb711693d480ed2", - "ac67a20654414b0ea3b36acdc6e86171", - "0122a517adf14859b9a594f3da1a0688", - "518539c52ba54f1f9d59ec0dfdca132d", - "e058a81bbdc941fd9932f5c04a9cdc23", - "7389aaaf51f349c5aa745c29c08dcc66", - "f374072420b947c3a5a9f4d3849d3334", - "a762c482b84540beb350901ac7f0f46b", - "f1238867e4e249c1a0daa553d459e98b", - "00aaf9b5872940b8b055dbb27caccda6", - "4bbce51f2459479f8a95064c17b73e2c", - "3abc298844944bcca8615925d4cf36a5", - "854d7275b81c443cb997a975164a3b99", - "01781b50453c401785af24b5ea608440", - "6476b24e759f4ae4ba594ec63190506c", - "90755e4609454529b3246d1d5573cf26", - "6d34f638e428428f8463026b19172847", - "715a7b7b1c8444b5abc1c779f8f78cd1", - "9f8dbb42b20a43799c4c5590be22cb30", - "c3ca769e981a4e41929246c2b22bfb7c", - "3ff47ea8d9a641cd9cfece170597dd51", - "30a569a443254abebf4cb863c80c8253" - ] - }, "id": "Ig7dgfdHN-gg", - "outputId": "62383a2b-d653-4f9f-e3a9-4b2cb90ee007", "pycharm": { "name": "#%%\n" - } + }, + "collapsed": true }, "outputs": [], "source": [ @@ -381,13 +308,7 @@ ")\n", "from haystack.pipelines import Pipeline\n", "from haystack.document_stores import ElasticsearchDocumentStore\n", - "from haystack.nodes import (\n", - " BM25Retriever,\n", - " EmbeddingRetriever,\n", - " FARMReader,\n", - " TransformersQueryClassifier,\n", - " SklearnQueryClassifier,\n", - ")\n", + "from haystack.nodes import BM25Retriever, EmbeddingRetriever, FARMReader, TransformersQueryClassifier\n", "\n", "# Download and prepare data - 517 Wikipedia articles for Game of Thrones\n", "doc_dir = \"data/tutorial14\"\n", @@ -398,41 +319,45 @@ "got_docs = convert_files_to_docs(dir_path=doc_dir, clean_func=clean_wiki_text, split_paragraphs=True)\n", "\n", "# Initialize DocumentStore and index documents\n", - "launch_es()\n", + "# launch_es() # Uncomment this line for local Elasticsearch\n", "document_store = ElasticsearchDocumentStore()\n", "document_store.delete_documents()\n", - "document_store.write_documents(got_docs)\n", + "document_store.write_documents(got_docs)" + ] + }, + { + "cell_type": "markdown", + "source": [ + "#### Pipelines with Keyword vs. Question/Statement Classification\n", "\n", - "# Initialize Sparse retriever\n", + "Our first illustration will be a simple retriever-reader QA pipeline, but the choice of which retriever we use will depend on the type of query received: **keyword** queries will use a sparse **`BM25Retriever`**, while **question/statement** queries will use the more accurate but also more computationally expensive **`EmbeddingRetriever`**.\n", + "\n", + "We start by initializing our retrievers and reader:" + ], + "metadata": { + "id": "CbAgZ2MZn2qm" + } + }, + { + "cell_type": "code", + "source": [ + "# Initialize sparse retriever for keyword queries\n", "bm25_retriever = BM25Retriever(document_store=document_store)\n", "\n", - "# Initialize dense retriever\n", + "# Initialize dense retriever for question/statement queries\n", "embedding_retriever = EmbeddingRetriever(\n", " document_store=document_store, embedding_model=\"sentence-transformers/multi-qa-mpnet-base-dot-v1\"\n", ")\n", "document_store.update_embeddings(embedding_retriever, update_existing_embeddings=False)\n", "\n", "reader = FARMReader(model_name_or_path=\"deepset/roberta-base-squad2\")" - ] - }, - { - "cell_type": "markdown", + ], "metadata": { - "id": "5kPAbP4EN-gk", - "pycharm": { - "name": "#%% md\n" - } + "id": "m7zOPYQ-Ylep", + "collapsed": true }, - "source": [ - "## Keyword vs Question/Statement Classifier\n", - "\n", - "The keyword vs question/statement query classifier essentially distinguishes between the keyword queries and statements/questions. So you can intelligently route to different retrieval nodes based on the nature of the query. Using this classifier can potentially yield the following benefits:\n", - "\n", - "* Getting better search results (e.g. by routing only proper questions to DPR / QA branches and not keyword queries)\n", - "* Less GPU costs (e.g. if 50% of your traffic is only keyword queries you could just use elastic here and save the GPU resources for the other 50% of traffic with semantic queries)\n", - "\n", - "![image]()\n" - ] + "execution_count": null, + "outputs": [] }, { "cell_type": "markdown", @@ -440,9 +365,7 @@ "id": "K4wZ3xkQCHjY" }, "source": [ - "Below, we define a `SklearnQueryClassifier` and show how to use it:\n", - "\n", - "Read more about the trained model and dataset used [here](https://ext-models-haystack.s3.eu-central-1.amazonaws.com/gradboost_query_classifier/readme.txt)" + "Now we define our pipeline. As promised, the question/statement branch `output_1` from the query classifier is fed into an `EmbeddingRetriever`, while the keyword branch `output_2` from the same classifier is fed into a `BM25Retriever`. Both of these retrievers are then fed into our reader. Our pipeline can thus be thought of as having something of a diamond shape: all queries are sent into the classifier, which splits those queries into two different retrievers, and those retrievers feed their outputs to the same reader." ] }, { @@ -452,7 +375,8 @@ "id": "Sz-oZ5eJN-gl", "pycharm": { "name": "#%%\n" - } + }, + "collapsed": true }, "outputs": [], "source": [ @@ -462,81 +386,53 @@ "sklearn_keyword_classifier.add_node(\n", " component=embedding_retriever, name=\"EmbeddingRetriever\", inputs=[\"QueryClassifier.output_1\"]\n", ")\n", - "sklearn_keyword_classifier.add_node(component=bm25_retriever, name=\"ESRetriever\", inputs=[\"QueryClassifier.output_2\"])\n", - "sklearn_keyword_classifier.add_node(component=reader, name=\"QAReader\", inputs=[\"ESRetriever\", \"EmbeddingRetriever\"])\n", - "sklearn_keyword_classifier.draw(\"pipeline_classifier.png\")" + "sklearn_keyword_classifier.add_node(component=bm25_retriever, name=\"BM25Retriever\", inputs=[\"QueryClassifier.output_2\"])\n", + "sklearn_keyword_classifier.add_node(component=reader, name=\"QAReader\", inputs=[\"BM25Retriever\", \"EmbeddingRetriever\"])\n", + "\n", + "# Visualization of the pipeline\n", + "sklearn_keyword_classifier.draw(\"sklearn_keyword_classifier.png\")" ] }, + { + "cell_type": "markdown", + "source": [ + "Below we can see some results from this choice in branching structure: the keyword query \"arya stark father\" and the question query \"Who is the father of Arya Stark?\" generate noticeably different results, a distinction that is likely due to the use of different retrievers for keyword vs. question/statement queries." + ], + "metadata": { + "id": "imqRRCGTwQav" + } + }, { "cell_type": "code", "execution_count": null, "metadata": { - "id": "fP6Cpcb-o0HK" + "id": "fP6Cpcb-o0HK", + "collapsed": true }, "outputs": [], "source": [ + "# Useful for framing headers\n", + "equal_line = \"=\" * 30\n", + "\n", "# Run only the dense retriever on the full sentence query\n", "res_1 = sklearn_keyword_classifier.run(query=\"Who is the father of Arya Stark?\")\n", - "print(\"Embedding Retriever Results\" + \"\\n\" + \"=\" * 15)\n", + "print(f\"\\n\\n{equal_line}\\nQUESTION QUERY RESULTS\\n{equal_line}\")\n", "print_answers(res_1, details=\"minimum\")\n", + "print(\"\\n\\n\")\n", "\n", "# Run only the sparse retriever on a keyword based query\n", "res_2 = sklearn_keyword_classifier.run(query=\"arya stark father\")\n", - "print(\"ES Results\" + \"\\n\" + \"=\" * 15)\n", + "print(f\"\\n\\n{equal_line}\\nKEYWORD QUERY RESULTS\\n{equal_line}\")\n", "print_answers(res_2, details=\"minimum\")" ] }, - { - "cell_type": "code", - "execution_count": null, - "metadata": { - "id": "EZru--pao1UG" - }, - "outputs": [], - "source": [ - "# Run only the dense retriever on the full sentence query\n", - "res_3 = sklearn_keyword_classifier.run(query=\"which country was jon snow filmed ?\")\n", - "print(\"Embedding Retriever Results\" + \"\\n\" + \"=\" * 15)\n", - "print_answers(res_3, details=\"minimum\")\n", - "\n", - "# Run only the sparse retriever on a keyword based query\n", - "res_4 = sklearn_keyword_classifier.run(query=\"jon snow country\")\n", - "print(\"ES Results\" + \"\\n\" + \"=\" * 15)\n", - "print_answers(res_4, details=\"minimum\")" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": { - "id": "MWCMG8MJo1tB" - }, - "outputs": [], - "source": [ - "# Run only the dense retriever on the full sentence query\n", - "res_5 = sklearn_keyword_classifier.run(query=\"who are the younger brothers of arya stark ?\")\n", - "print(\"Embedding Retriever Results\" + \"\\n\" + \"=\" * 15)\n", - "print_answers(res_5, details=\"minimum\")\n", - "\n", - "# Run only the sparse retriever on a keyword based query\n", - "res_6 = sklearn_keyword_classifier.run(query=\"arya stark younger brothers\")\n", - "print(\"ES Results\" + \"\\n\" + \"=\" * 15)\n", - "print_answers(res_6, details=\"minimum\")" - ] - }, { "cell_type": "markdown", "metadata": { "id": "dQ5YMyd4CQPC" }, "source": [ - "## Transformer Keyword vs Question/Statement Classifier\n", - "\n", - "Firstly, it's essential to understand the trade-offs between SkLearn and Transformer query classifiers. The transformer classifier is more accurate than SkLearn classifier however, it requires more memory and most probably GPU for faster inference however the transformer size is roughly `50 MBs`. Whereas, SkLearn is less accurate however is much more faster and doesn't require GPU for inference.\n", - "\n", - "Below, we define a `TransformersQueryClassifier` and show how to use it:\n", - "\n", - "Read more about the trained model and dataset used [here](https://huggingface.co/shahrukhx01/bert-mini-finetune-question-detection)" + "The above example uses an `SklearnQueryClassifier`, but of course we can do precisely the same thing with a `TransformersQueryClassifier`. This is illustrated below, where we have constructed the same diamond-shaped pipeline." ] }, { @@ -556,98 +452,54 @@ " component=embedding_retriever, name=\"EmbeddingRetriever\", inputs=[\"QueryClassifier.output_1\"]\n", ")\n", "transformer_keyword_classifier.add_node(\n", - " component=bm25_retriever, name=\"ESRetriever\", inputs=[\"QueryClassifier.output_2\"]\n", + " component=bm25_retriever, name=\"BM25Retriever\", inputs=[\"QueryClassifier.output_2\"]\n", ")\n", - "transformer_keyword_classifier.add_node(component=reader, name=\"QAReader\", inputs=[\"ESRetriever\", \"EmbeddingRetriever\"])\n", - "transformer_keyword_classifier.draw(\"pipeline_classifier.png\")" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": { - "id": "uFmJJIb_q-X7" - }, - "outputs": [], - "source": [ + "transformer_keyword_classifier.add_node(\n", + " component=reader, name=\"QAReader\", inputs=[\"BM25Retriever\", \"EmbeddingRetriever\"]\n", + ")\n", + "\n", + "\n", + "# Useful for framing headers\n", + "equal_line = \"=\" * 30\n", + "\n", "# Run only the dense retriever on the full sentence query\n", "res_1 = transformer_keyword_classifier.run(query=\"Who is the father of Arya Stark?\")\n", - "print(\"Embedding Retriever Results\" + \"\\n\" + \"=\" * 15)\n", + "print(f\"\\n\\n{equal_line}\\nQUESTION QUERY RESULTS\\n{equal_line}\")\n", "print_answers(res_1, details=\"minimum\")\n", + "print(\"\\n\\n\")\n", "\n", "# Run only the sparse retriever on a keyword based query\n", "res_2 = transformer_keyword_classifier.run(query=\"arya stark father\")\n", - "print(\"ES Results\" + \"\\n\" + \"=\" * 15)\n", + "print(f\"\\n\\n{equal_line}\\nKEYWORD QUERY RESULTS\\n{equal_line}\")\n", "print_answers(res_2, details=\"minimum\")" ] }, - { - "cell_type": "code", - "execution_count": null, - "metadata": { - "id": "GMPNcTz8rdix" - }, - "outputs": [], - "source": [ - "# Run only the dense retriever on the full sentence query\n", - "res_3 = transformer_keyword_classifier.run(query=\"which country was jon snow filmed ?\")\n", - "print(\"Embedding Retriever Results\" + \"\\n\" + \"=\" * 15)\n", - "print_answers(res_3, details=\"minimum\")\n", - "\n", - "# Run only the sparse retriever on a keyword based query\n", - "res_4 = transformer_keyword_classifier.run(query=\"jon snow country\")\n", - "print(\"ES Results\" + \"\\n\" + \"=\" * 15)\n", - "print_answers(res_4, details=\"minimum\")" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": { - "id": "jN5zdLJbrzOh" - }, - "outputs": [], - "source": [ - "# Run only the dense retriever on the full sentence query\n", - "res_5 = transformer_keyword_classifier.run(query=\"who are the younger brothers of arya stark ?\")\n", - "print(\"Embedding Retriever Results\" + \"\\n\" + \"=\" * 15)\n", - "print_answers(res_5, details=\"minimum\")\n", - "\n", - "# Run only the sparse retriever on a keyword based query\n", - "res_6 = transformer_keyword_classifier.run(query=\"arya stark younger brothers\")\n", - "print(\"ES Results\" + \"\\n\" + \"=\" * 15)\n", - "print_answers(res_6, details=\"minimum\")" - ] - }, { "cell_type": "markdown", "metadata": { "id": "zLwdVwMXDcoS" }, "source": [ - "## Question vs Statement Classifier\n", + "#### Pipeline with Question vs. Statement Classification\n", "\n", - "One possible use case of this classifier could be to route queries after the document retrieval to only send questions to QA reader and in case of declarative sentence, just return the DPR/ES results back to user to enhance user experience and only show answers when user explicitly asks it.\n", + "Above we saw a potential use for keyword vs. question/statement classification: we might choose to use a less resource-intensive retriever for keyword queries than for question/statement queries. But what about question vs. statement classification?\n", "\n", - "![image]()\n" - ] - }, - { - "cell_type": "markdown", - "metadata": { - "id": "SMVFFRtMPVIt" - }, - "source": [ - "Below, we define a `TransformersQueryClassifier` and show how to use it:\n", + "To illustrate one potential use for question vs. statement classification, we will build a pipeline that looks as follows:\n", "\n", - "Read more about the trained model and dataset used [here](https://huggingface.co/shahrukhx01/question-vs-statement-classifier)" + "1. The pipeline will start with a retriever that **every query** will go through.\n", + "2. The pipeline will end with a reader that **only question queries** will go through.\n", + "\n", + "In other words, our pipeline will be a **retriever-only pipeline for statement queries**—given the statement \"Arya Stark was the daughter of a Lord\", all we will get back are the most relevant documents—but it will be a **retriever-reader pipeline for question queries**.\n", + "\n", + "To make things more concrete, our pipeline will start with a retriever, which is then fed into a `TransformersQueryClassifier` that is set to do question vs. statement classification. Note that this means we need to explicitly choose the model, since as mentioned previously a default `TransformersQueryClassifier` performs keyword vs. question/statement classification. The classifier's first branch, which handles question queries, will then be sent to the reader, while the second branch will not be connected to any other nodes. As a result, the last node of the pipeline depends on the type of query: questions go all the way through the reader, while statements only go through the retriever. This pipeline is illustrated below:" ] }, { "cell_type": "code", "execution_count": null, "metadata": { - "id": "BIisEJrzDr-9" + "id": "BIisEJrzDr-9", + "collapsed": true }, "outputs": [], "source": [ @@ -660,115 +512,48 @@ " inputs=[\"EmbeddingRetriever\"],\n", ")\n", "transformer_question_classifier.add_node(component=reader, name=\"QAReader\", inputs=[\"QueryClassifier.output_1\"])\n", - "transformer_question_classifier.draw(\"question_classifier.png\")\n", "\n", - "# Run only the QA reader on the question query\n", + "# Visualization of the pipeline\n", + "transformer_question_classifier.draw(\"transformer_question_classifier.png\")" + ] + }, + { + "cell_type": "markdown", + "source": [ + "And below we see the results of this pipeline: with a question query like \"Who is the father of Arya Stark?\" we get back answers returned by a reader, but with a statement query like \"Arya Stark was the daughter of a Lord\" we just get back documents returned by a retriever." + ], + "metadata": { + "id": "QU1B6JQEDrol" + } + }, + { + "cell_type": "code", + "source": [ + "# Useful for framing headers\n", + "equal_line = \"=\" * 30\n", + "\n", + "# Run the retriever + reader on the question query\n", "res_1 = transformer_question_classifier.run(query=\"Who is the father of Arya Stark?\")\n", - "print(\"Embedding Retriever Results\" + \"\\n\" + \"=\" * 15)\n", + "print(f\"\\n\\n{equal_line}\\nQUESTION QUERY RESULTS\\n{equal_line}\")\n", "print_answers(res_1, details=\"minimum\")\n", + "print(\"\\n\\n\")\n", "\n", + "# Run only the retriever on the statement query\n", "res_2 = transformer_question_classifier.run(query=\"Arya Stark was the daughter of a Lord.\")\n", - "print(\"ES Results\" + \"\\n\" + \"=\" * 15)\n", + "print(f\"\\n\\n{equal_line}\\nSTATEMENT QUERY RESULTS\\n{equal_line}\")\n", "print_documents(res_2)" - ] - }, - { - "cell_type": "markdown", + ], "metadata": { - "id": "sJcWRK4Hwyx2" + "id": "HIjgs5k7C6CN" }, - "source": [ - "## Standalone Query Classifier\n", - "Below we run queries classifiers standalone to better understand their outputs on each of the three types of queries" - ] - }, - { - "cell_type": "code", "execution_count": null, - "metadata": { - "colab": { - "base_uri": "https://localhost:8080/" - }, - "id": "XhPMEqBzxA8V", - "outputId": "be3ba2ac-b557-4cb3-9eed-41928f644b6e" - }, - "outputs": [], - "source": [ - "# Here we create the keyword vs question/statement query classifier\n", - "from haystack.nodes import TransformersQueryClassifier\n", - "\n", - "queries = [\n", - " \"arya stark father\",\n", - " \"jon snow country\",\n", - " \"who is the father of arya stark\",\n", - " \"which country was jon snow filmed?\",\n", - "]\n", - "\n", - "keyword_classifier = TransformersQueryClassifier()\n", - "\n", - "for query in queries:\n", - " result = keyword_classifier.run(query=query)\n", - " if result[1] == \"output_1\":\n", - " category = \"question/statement\"\n", - " else:\n", - " category = \"keyword\"\n", - "\n", - " print(f\"Query: {query}, raw_output: {result}, class: {category}\")" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": { - "colab": { - "base_uri": "https://localhost:8080/" - }, - "id": "l4eH3SSaxZ0O", - "outputId": "53384108-3d4c-4547-d32a-4a63aa1b74a0" - }, - "outputs": [], - "source": [ - "# Here we create the question vs statement query classifier\n", - "from haystack.nodes import TransformersQueryClassifier\n", - "\n", - "queries = [\n", - " \"Lord Eddard was the father of Arya Stark.\",\n", - " \"Jon Snow was filmed in United Kingdom.\",\n", - " \"who is the father of arya stark?\",\n", - " \"Which country was jon snow filmed in?\",\n", - "]\n", - "\n", - "question_classifier = TransformersQueryClassifier(model_name_or_path=\"shahrukhx01/question-vs-statement-classifier\")\n", - "\n", - "for query in queries:\n", - " result = question_classifier.run(query=query)\n", - " if result[1] == \"output_1\":\n", - " category = \"question\"\n", - " else:\n", - " category = \"statement\"\n", - "\n", - " print(f\"Query: {query}, raw_output: {result}, class: {category}\")" - ] + "outputs": [] }, { "cell_type": "markdown", "metadata": { - "id": "9VMUHR-BN-gl", - "pycharm": { - "name": "#%% md\n" - } + "id": "_wS8NzRoRh_G" }, - "source": [ - "## Conclusion\n", - "\n", - "The query classifier gives you more possibility to be more creative with the pipelines and use different retrieval nodes in a flexible fashion. Moreover, as in the case of Question vs Statement classifier you can also choose the queries which you want to send to the reader.\n", - "\n", - "Finally, you also have the possible of bringing your own classifier and plugging it into either `TransformersQueryClassifier(model_name_or_path=\"\")` or using the `SklearnQueryClassifier(model_name_or_path=\"url_to_classifier_or_file_path_as_pickle\", vectorizer_name_or_path=\"url_to_vectorizer_or_file_path_as_pickle\")`" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, "source": [ "## About us\n", "\n", @@ -814,5970 +599,8 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.9.5" - }, - "widgets": { - "application/vnd.jupyter.widget-state+json": { - "00aaf9b5872940b8b055dbb27caccda6": { - "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": "" - } - }, - "0122a517adf14859b9a594f3da1a0688": { - "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_f374072420b947c3a5a9f4d3849d3334", - "placeholder": "​", - "style": "IPY_MODEL_7389aaaf51f349c5aa745c29c08dcc66", - "value": "Downloading: 100%" - } - }, - "01781b50453c401785af24b5ea608440": { - "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_715a7b7b1c8444b5abc1c779f8f78cd1", - "placeholder": "​", - "style": "IPY_MODEL_6d34f638e428428f8463026b19172847", - "value": "Downloading: 100%" - } - }, - "027441d4e1f14648919f54ba9d9a5204": { - "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": "", - "description_tooltip": null, - "layout": "IPY_MODEL_04a81edc284a4378bc841f72f729305c", - "max": 437986065, - "min": 0, - "orientation": "horizontal", - "style": "IPY_MODEL_de371bd60c64464284f47eeef0a07bed", - "value": 437986065 - } - }, - "02b9c7b799a846b6974eac600c0178ba": { - "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 - } - }, - "038267d5661343deb4be8a3c6d16a221": { - "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 - } - }, - "04a81edc284a4378bc841f72f729305c": { - "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 - } - }, - "051606acbe974583b33f5e50402c72de": { - "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 - } - }, - "09dd2dd5a35c4f418ea1ef010e6831d2": { - "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_11d32ef999d94db187dab41a1bbf7723", - "placeholder": "​", - "style": "IPY_MODEL_1d14929d95684c05a66c958fd8a5b89d", - "value": "Downloading: 100%" - } - }, - "0ace7e3fad4b430c9fb09d6736ea9ac3": { - "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": "" - } - }, - "0ca3a7dc4e804cecb8c719bfef9c055b": { - "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 - } - }, - "0cab5420cdb144e9aa3dfa907e1ed729": { - "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": "" - } - }, - "0f7ab0ce7ee24838a6cbffac4cdb3040": { - "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 - } - }, - "112a6f4e707a4accb18b649f671634cf": { - "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": "" - } - }, - "11d32ef999d94db187dab41a1bbf7723": { - "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 - } - }, - "14cd6229f5e043f8862c6fe1773df4e0": { - "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_1c6f0c68669a4c34b74fcb49cdb4aa07", - "placeholder": "​", - "style": "IPY_MODEL_15e1e4e3276a467c88777aae68cd693c", - "value": " 232k/232k [00:00<00:00, 1.35MB/s]" - } - }, - "15e1e4e3276a467c88777aae68cd693c": { - "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": "" - } - }, - "1618f5a1981c4d18a67be3965745aa49": { - "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": "" - } - }, - "1a9b1a31f910412bb69e4cb59170fc25": { - "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": "" - } - }, - "1b81083a5e9644c08eb711693d480ed2": { - "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_0122a517adf14859b9a594f3da1a0688", - "IPY_MODEL_518539c52ba54f1f9d59ec0dfdca132d", - "IPY_MODEL_e058a81bbdc941fd9932f5c04a9cdc23" - ], - "layout": "IPY_MODEL_ac67a20654414b0ea3b36acdc6e86171" - } - }, - "1bc6ff28903f4b2e9aefb6275aa047be": { - "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_e1e04bcfd0754a3cb1ea6ac0d8ba0efa", - "placeholder": "​", - "style": "IPY_MODEL_409718ada73943e69bee6f73e0db5b94", - "value": "Downloading: 100%" - } - }, - "1c10236190604ad49fa72d4d851ac316": { - "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 - } - }, - "1c6f0c68669a4c34b74fcb49cdb4aa07": { - "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 - } - }, - "1d14929d95684c05a66c958fd8a5b89d": { - "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": "" - } - }, - "1fcbba1dc2924f0489dd6cf3f6622915": { - "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": "" - } - }, - "209eb3ac83504ba3920b13e5aec28da6": { - "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_0ca3a7dc4e804cecb8c719bfef9c055b", - "placeholder": "​", - "style": "IPY_MODEL_fb31d79ac3f3467d986a97bd237f26be", - "value": "Downloading: 100%" - } - }, - "216fd635f06847c5a7daf25d543e321b": { - "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 - } - }, - "24a7839d950740c9958e2d88b7ad829a": { - "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_27a54e55bff94428b7c19fc35b125047", - "placeholder": "​", - "style": "IPY_MODEL_ba340a739c554989849060bd29eadbc9", - "value": "Downloading: 100%" - } - }, - "26be6fe237fd4b8c8d8fac787d72e823": { - "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 - } - }, - "27a54e55bff94428b7c19fc35b125047": { - "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 - } - }, - "28b880a5c9864a63b2d557a1ec9458a5": { - "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 - } - }, - "2a71821c410d4cb1afaab09574982b02": { - "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_9aa65bb178af419bbdc15d19fa572e62", - "placeholder": "​", - "style": "IPY_MODEL_112a6f4e707a4accb18b649f671634cf", - "value": "Updating embeddings: " - } - }, - "2c9841a834ec4e8fbae1990bc2b07a5c": { - "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_fe18331098014a22aeb390730d35fedb", - "IPY_MODEL_b8dddaca70054b5cab955e0dab9d6d0a", - "IPY_MODEL_490edef475d646a2ba12b429c1244de4" - ], - "layout": "IPY_MODEL_216fd635f06847c5a7daf25d543e321b" - } - }, - "2d476cc7b1ce45ebb82f9cf5a41d4024": { - "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": "" - } - }, - "2d5ce6e282b14019ab5aece4ceb4e643": { - "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": "", - "description_tooltip": null, - "layout": "IPY_MODEL_6445465e075f4254b18874e0f7353885", - "max": 492, - "min": 0, - "orientation": "horizontal", - "style": "IPY_MODEL_b0b7c0653441453db63d253b839144f6", - "value": 492 - } - }, - "2ed78454dfa347aaa0ab9be6be341264": { - "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 - } - }, - "30413c25f3774ef6860be4230804e31c": { - "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": "" - } - }, - "30a569a443254abebf4cb863c80c8253": { - "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 - } - }, - "32325d4b51d04b47bde5794b174fbb26": { - "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 - } - }, - "3308704acebe439188b70c6fd238ae66": { - "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 - } - }, - "33143aed23264e82a7750d5fbc8e22a7": { - "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_0f7ab0ce7ee24838a6cbffac4cdb3040", - "placeholder": "​", - "style": "IPY_MODEL_6e5b975419994befb261100d7719e991", - "value": " 10000/? [00:52<00:00, 189.70 Docs/s]" - } - }, - "33b89e0dfe124edaa5c90ada36a4c7a8": { - "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 - } - }, - "37fcf93794cb46d491d55100a6d8fee8": { - "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": "" - } - }, - "3817606563914b0ca26620da959a1fc4": { - "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": "" - } - }, - "3838eb97db0f46a8828473c0e686f5df": { - "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": "", - "description_tooltip": null, - "layout": "IPY_MODEL_02b9c7b799a846b6974eac600c0178ba", - "max": 231508, - "min": 0, - "orientation": "horizontal", - "style": "IPY_MODEL_9cf11e92693141e6bb06462209b67b46", - "value": 231508 - } - }, - "394b26eab89b410db98a07cdf6609ead": { - "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 - } - }, - "39547579c0b443e696121427bd3279dd": { - "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 - } - }, - "399fa7054fc74dfea45d22ee20765b30": { - "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": "" - } - }, - "3abc298844944bcca8615925d4cf36a5": { - "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_01781b50453c401785af24b5ea608440", - "IPY_MODEL_6476b24e759f4ae4ba594ec63190506c", - "IPY_MODEL_90755e4609454529b3246d1d5573cf26" - ], - "layout": "IPY_MODEL_854d7275b81c443cb997a975164a3b99" - } - }, - "3d71e9d26ebb41d980819d608ddb115a": { - "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": "" - } - }, - "3f0c353869fe42828794cd8a14acb39e": { - "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_adbe499b09574ba6853581f3f6cc21d5", - "placeholder": "​", - "style": "IPY_MODEL_e7227229d21d4d7292733f373fa7f9db", - "value": " 571/571 [00:00<00:00, 19.2kB/s]" - } - }, - "3fa3082333c344d1be66344a7d0ff542": { - "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_4de5d23d236646629ee2cabf08f4621b", - "IPY_MODEL_2d5ce6e282b14019ab5aece4ceb4e643", - "IPY_MODEL_f028104b8e9548f0a7e53f1edcd63c4e" - ], - "layout": "IPY_MODEL_a2905ce60084476da1c96d46a63f138d" - } - }, - "3fc82442548e42e887ba9ad11dfd5d77": { - "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": "" - } - }, - "3ff47ea8d9a641cd9cfece170597dd51": { - "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": "" - } - }, - "409718ada73943e69bee6f73e0db5b94": { - "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": "" - } - }, - "41635bd3da9c4c1da50fe86a01da25bf": { - "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 - } - }, - "42819b5d13df44b392be19add1bdd122": { - "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": "" - } - }, - "443739aca635464ea01e08e800dd40aa": { - "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_c87dcd38005944f2affcacb28ab8dd89", - "IPY_MODEL_f591cb897745493182b1854d3be5e546", - "IPY_MODEL_580a190f9eee4b0e8d3008e529535aa7" - ], - "layout": "IPY_MODEL_484eafd3786b43219fd4103aba12c2e9" - } - }, - "463ff451eab94f509f4ba6ce4e1ae1ef": { - "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_6aa855ad681f44dabb024d4c4d34490b", - "placeholder": "​", - "style": "IPY_MODEL_42819b5d13df44b392be19add1bdd122", - "value": "Downloading: 100%" - } - }, - "46802db8abd042fb90c811cd2ea4bb5b": { - "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 - } - }, - "484eafd3786b43219fd4103aba12c2e9": { - "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 - } - }, - "490edef475d646a2ba12b429c1244de4": { - "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_d6ec9612d02c42e7bb42033d727fc03c", - "placeholder": "​", - "style": "IPY_MODEL_9e5b65de890b446bba6ea3c24fef8588", - "value": " 466k/466k [00:00<00:00, 1.56MB/s]" - } - }, - "4bbce51f2459479f8a95064c17b73e2c": { - "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 - } - }, - "4cea79778d26402dad42393c2bebfe10": { - "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": "" - } - }, - "4d37fd7e90a64ff68870b86334cfad7e": { - "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_b5c93207802346b69b7d9178b4d67b2a", - "IPY_MODEL_027441d4e1f14648919f54ba9d9a5204", - "IPY_MODEL_b27ce7d9f5e74ef895b809e519673c60" - ], - "layout": "IPY_MODEL_394b26eab89b410db98a07cdf6609ead" - } - }, - "4de441f28ec040e995c285b1e3fcadb9": { - "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 - } - }, - "4de5d23d236646629ee2cabf08f4621b": { - "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_8f52bb4d56dc4084be52840e97b22790", - "placeholder": "​", - "style": "IPY_MODEL_4cea79778d26402dad42393c2bebfe10", - "value": "Downloading: 100%" - } - }, - "4e35f1931b50406393ffce1c3b622986": { - "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 - } - }, - "518539c52ba54f1f9d59ec0dfdca132d": { - "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": "", - "description_tooltip": null, - "layout": "IPY_MODEL_f1238867e4e249c1a0daa553d459e98b", - "max": 772, - "min": 0, - "orientation": "horizontal", - "style": "IPY_MODEL_a762c482b84540beb350901ac7f0f46b", - "value": 772 - } - }, - "5212b2c80437450fa2a7aa49f65a23f4": { - "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_24a7839d950740c9958e2d88b7ad829a", - "IPY_MODEL_c6d3d0bb414c4aa5ae20f006cce90f33", - "IPY_MODEL_b14faabb0d6d4d30bfa8efc097e5aa23" - ], - "layout": "IPY_MODEL_a702fc844c5b40e2986c62da5fe92c9b" - } - }, - "52de26e5a87e44debbcf00c0c4073dca": { - "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": "" - } - }, - "56660d608cbe451e9ec0701c1941a7ab": { - "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": "" - } - }, - "56a2181e987a4227a69038267613ffc2": { - "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_6b97bc4ee3924dfdbe72738d137c967e", - "IPY_MODEL_c05f2ee787944a9e931f74de9831599c", - "IPY_MODEL_14cd6229f5e043f8862c6fe1773df4e0" - ], - "layout": "IPY_MODEL_3308704acebe439188b70c6fd238ae66" - } - }, - "56b67d80ef05478da31ef471eb7de385": { - "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 - } - }, - "580a190f9eee4b0e8d3008e529535aa7": { - "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_b6c733e5327a40259700554efe576527", - "placeholder": "​", - "style": "IPY_MODEL_0ace7e3fad4b430c9fb09d6736ea9ac3", - "value": " 456k/456k [00:00<00:00, 1.51MB/s]" - } - }, - "5b2cc531f1e44c318488c993024a94b7": { - "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 - } - }, - "5f4b28761f204e8eaa90f22a9e7677c7": { - "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 - } - }, - "5fa38582019043d084a6ecb2f2fea016": { - "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_2a71821c410d4cb1afaab09574982b02", - "IPY_MODEL_66f26219cc6248288423c2e7ba5304c4", - "IPY_MODEL_33143aed23264e82a7750d5fbc8e22a7" - ], - "layout": "IPY_MODEL_1c10236190604ad49fa72d4d851ac316" - } - }, - "61e9bdf3a077438cb26f4bff9265ee4c": { - "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 - } - }, - "6445465e075f4254b18874e0f7353885": { - "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 - } - }, - "6476b24e759f4ae4ba594ec63190506c": { - "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": "", - "description_tooltip": null, - "layout": "IPY_MODEL_c3ca769e981a4e41929246c2b22bfb7c", - "max": 79, - "min": 0, - "orientation": "horizontal", - "style": "IPY_MODEL_9f8dbb42b20a43799c4c5590be22cb30", - "value": 79 - } - }, - "667c145e9bef4f5b99fffda361a2ea47": { - "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": "" - } - }, - "66f26219cc6248288423c2e7ba5304c4": { - "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": "", - "description_tooltip": null, - "layout": "IPY_MODEL_28b880a5c9864a63b2d557a1ec9458a5", - "max": 2357, - "min": 0, - "orientation": "horizontal", - "style": "IPY_MODEL_0cab5420cdb144e9aa3dfa907e1ed729", - "value": 2357 - } - }, - "671cf89ffa2741cb9c1ffb898199d49b": { - "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": "" - } - }, - "68b86c5c4be34554975a77a26ea6319b": { - "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_983cde7e80fd4eebb0b01f444aa16579", - "placeholder": "​", - "style": "IPY_MODEL_ec237876a762449394f0930aa6690fcb", - "value": " 493/493 [00:00<00:00, 13.0kB/s]" - } - }, - "6aa855ad681f44dabb024d4c4d34490b": { - "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 - } - }, - "6b97bc4ee3924dfdbe72738d137c967e": { - "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_853a80d353144e8d9cd6ce8788c7a9bb", - "placeholder": "​", - "style": "IPY_MODEL_7541bd7ec86f4c028405e6e9ca6f4d06", - "value": "Downloading: 100%" - } - }, - "6bf5fe6ae4bf494e9c33e0940da62951": { - "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 - } - }, - "6d34f638e428428f8463026b19172847": { - "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": "" - } - }, - "6de6dbe386d447f588c982d3501bd1c1": { - "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 - } - }, - "6e5b975419994befb261100d7719e991": { - "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": "" - } - }, - "715a7b7b1c8444b5abc1c779f8f78cd1": { - "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 - } - }, - "7389aaaf51f349c5aa745c29c08dcc66": { - "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": "" - } - }, - "7541bd7ec86f4c028405e6e9ca6f4d06": { - "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": "" - } - }, - "769ee7fdb9c549e2a8d7f0e0719477eb": { - "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_32325d4b51d04b47bde5794b174fbb26", - "placeholder": "​", - "style": "IPY_MODEL_667c145e9bef4f5b99fffda361a2ea47", - "value": " 232k/232k [00:00<00:00, 1.50MB/s]" - } - }, - "76e76e39d6d64438a24919e973e0053c": { - "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": "" - } - }, - "77265036d6824670b9fc258192deac11": { - "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": "", - "description_tooltip": null, - "layout": "IPY_MODEL_39547579c0b443e696121427bd3279dd", - "max": 571, - "min": 0, - "orientation": "horizontal", - "style": "IPY_MODEL_fc67d27eeac0448ba310e3fb991b9b5a", - "value": 571 - } - }, - "790f7b4b1d3d4d8e84a3693f3c8b9b85": { - "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 - } - }, - "7a26b17f3b9d45a4a99b8494fc5de6dd": { - "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 - } - }, - "7a408f3b5c644f42b88574ccffc2d7bb": { - "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": "", - "description_tooltip": null, - "layout": "IPY_MODEL_a53314a74ba14e9ba7fc81a4aa39070d", - "max": 437983985, - "min": 0, - "orientation": "horizontal", - "style": "IPY_MODEL_3d71e9d26ebb41d980819d608ddb115a", - "value": 437983985 - } - }, - "7b4fa73603264880ad4046d5791c76fa": { - "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 - } - }, - "7e59ccb05ef3494eb8ad400dd8f606e0": { - "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": "", - "description_tooltip": null, - "layout": "IPY_MODEL_91e3d408502b480d818df1fdbbd88afb", - "max": 28, - "min": 0, - "orientation": "horizontal", - "style": "IPY_MODEL_bc806490fb8148ca9525c3b685a377c2", - "value": 28 - } - }, - "7ea5f945a5aa4eb4adc96e9f986a0d71": { - "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 - } - }, - "814e632c690e4745a93fdef461fd48b6": { - "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_1bc6ff28903f4b2e9aefb6275aa047be", - "IPY_MODEL_77265036d6824670b9fc258192deac11", - "IPY_MODEL_3f0c353869fe42828794cd8a14acb39e" - ], - "layout": "IPY_MODEL_56b67d80ef05478da31ef471eb7de385" - } - }, - "83dad7ffdd8747ddbb3942bb6c58445c": { - "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 - } - }, - "8412dd46b64444b685563081f2c3c5c2": { - "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_84cea882fd1e431b9c93631ee3f4ed17", - "IPY_MODEL_cea38043b06d419fa63695a316233088", - "IPY_MODEL_caa201fa5bc74823bcdea73599130499" - ], - "layout": "IPY_MODEL_ba67c6d2324d440abbd25de05161b381" - } - }, - "84cea882fd1e431b9c93631ee3f4ed17": { - "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_33b89e0dfe124edaa5c90ada36a4c7a8", - "placeholder": "​", - "style": "IPY_MODEL_f53911fd1c9c47c69e69206c3169158a", - "value": "Create embeddings: 99%" - } - }, - "853a80d353144e8d9cd6ce8788c7a9bb": { - "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 - } - }, - "854d7275b81c443cb997a975164a3b99": { - "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 - } - }, - "892b9273604c4440ad179ed4a8dfc5e1": { - "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": "", - "description_tooltip": null, - "layout": "IPY_MODEL_83dad7ffdd8747ddbb3942bb6c58445c", - "max": 898822, - "min": 0, - "orientation": "horizontal", - "style": "IPY_MODEL_76e76e39d6d64438a24919e973e0053c", - "value": 898822 - } - }, - "89a23afc2b704d83927acc1835361e73": { - "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": "" - } - }, - "8dc7877695b74610a849b160008ccbab": { - "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 - } - }, - "8f52bb4d56dc4084be52840e97b22790": { - "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 - } - }, - "90755e4609454529b3246d1d5573cf26": { - "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_30a569a443254abebf4cb863c80c8253", - "placeholder": "​", - "style": "IPY_MODEL_3ff47ea8d9a641cd9cfece170597dd51", - "value": " 79.0/79.0 [00:00<00:00, 2.32kB/s]" - } - }, - "91e3d408502b480d818df1fdbbd88afb": { - "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 - } - }, - "96b976f448be47d892dc1923c51c470e": { - "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": "" - } - }, - "96f73362e4694c24acb058e1b7d69a14": { - "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_038267d5661343deb4be8a3c6d16a221", - "placeholder": "​", - "style": "IPY_MODEL_d377b1dec2a84337bc1644ff51464e4d", - "value": " 899k/899k [00:00<00:00, 4.56MB/s]" - } - }, - "983cde7e80fd4eebb0b01f444aa16579": { - "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 - } - }, - "99ae91dc416b4108b4282395f403b39a": { - "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": "", - "description_tooltip": null, - "layout": "IPY_MODEL_5f4b28761f204e8eaa90f22a9e7677c7", - "max": 493, - "min": 0, - "orientation": "horizontal", - "style": "IPY_MODEL_30413c25f3774ef6860be4230804e31c", - "value": 493 - } - }, - "9a4e9075d67b4bbaab47ff97e8ea539c": { - "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": "", - "description_tooltip": null, - "layout": "IPY_MODEL_790f7b4b1d3d4d8e84a3693f3c8b9b85", - "max": 28, - "min": 0, - "orientation": "horizontal", - "style": "IPY_MODEL_1618f5a1981c4d18a67be3965745aa49", - "value": 28 - } - }, - "9aa65bb178af419bbdc15d19fa572e62": { - "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 - } - }, - "9cf11e92693141e6bb06462209b67b46": { - "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": "" - } - }, - "9d36e8f0ab3e4a18b519e5dc04a51061": { - "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_463ff451eab94f509f4ba6ce4e1ae1ef", - "IPY_MODEL_7e59ccb05ef3494eb8ad400dd8f606e0", - "IPY_MODEL_cbfecc60258e428eb51652dd36655511" - ], - "layout": "IPY_MODEL_5b2cc531f1e44c318488c993024a94b7" - } - }, - "9e5b65de890b446bba6ea3c24fef8588": { - "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": "" - } - }, - "9f8dbb42b20a43799c4c5590be22cb30": { - "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": "" - } - }, - "a1ce792f467c47acb4803b4c727b80a1": { - "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 - } - }, - "a226c1daa4454c55a03b1edf595a33ae": { - "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": "" - } - }, - "a2905ce60084476da1c96d46a63f138d": { - "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 - } - }, - "a2a0402f1a63407190cf2a132a0bc2b6": { - "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": "" - } - }, - "a53314a74ba14e9ba7fc81a4aa39070d": { - "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 - } - }, - "a702fc844c5b40e2986c62da5fe92c9b": { - "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 - } - }, - "a762c482b84540beb350901ac7f0f46b": { - "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": "" - } - }, - "a86a02ebcb184749bd27590067ef71bc": { - "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": "" - } - }, - "a8f5a18af7cf410bb065eefdb887cb92": { - "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_b2249a087bd343999a5319152d7e0548", - "placeholder": "​", - "style": "IPY_MODEL_1a9b1a31f910412bb69e4cb59170fc25", - "value": "Downloading: 100%" - } - }, - "aad1b320c9fd451ab081f5c238bb91c0": { - "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_b4eb040d5e224e619414a4d4740badc5", - "placeholder": "​", - "style": "IPY_MODEL_e80fc1c849354ee89fa0d51f7de4c78e", - "value": "Downloading: 100%" - } - }, - "ac67a20654414b0ea3b36acdc6e86171": { - "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 - } - }, - "adbe499b09574ba6853581f3f6cc21d5": { - "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 - } - }, - "b0b7c0653441453db63d253b839144f6": { - "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": "" - } - }, - "b14faabb0d6d4d30bfa8efc097e5aa23": { - "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_7a26b17f3b9d45a4a99b8494fc5de6dd", - "placeholder": "​", - "style": "IPY_MODEL_ca54b4744f244922bc75447d707685e6", - "value": " 466k/466k [00:00<00:00, 1.34MB/s]" - } - }, - "b2249a087bd343999a5319152d7e0548": { - "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 - } - }, - "b27ce7d9f5e74ef895b809e519673c60": { - "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_7ea5f945a5aa4eb4adc96e9f986a0d71", - "placeholder": "​", - "style": "IPY_MODEL_a86a02ebcb184749bd27590067ef71bc", - "value": " 438M/438M [00:09<00:00, 48.2MB/s]" - } - }, - "b4eb040d5e224e619414a4d4740badc5": { - "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 - } - }, - "b5c93207802346b69b7d9178b4d67b2a": { - "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_f46b46bdc75641b6b3c8d23b939bc797", - "placeholder": "​", - "style": "IPY_MODEL_37fcf93794cb46d491d55100a6d8fee8", - "value": "Downloading: 100%" - } - }, - "b5efbf17543a4db7a3b01ee0e28743c9": { - "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 - } - }, - "b637557712f44674abc5e5ebd32d87cf": { - "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 - } - }, - "b64f5d69b6dc4f57894296991279b707": { - "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": "" - } - }, - "b6c733e5327a40259700554efe576527": { - "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 - } - }, - "b780dea3ed6e4057a09e432a067596fb": { - "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_c151c810fc984ff79aa85178d54c3b6a", - "placeholder": "​", - "style": "IPY_MODEL_96b976f448be47d892dc1923c51c470e", - "value": " 438M/438M [00:10<00:00, 41.2MB/s]" - } - }, - "b7e2a9e5035544ba94bdeb3c56b19174": { - "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": "" - } - }, - "b8dddaca70054b5cab955e0dab9d6d0a": { - "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": "", - "description_tooltip": null, - "layout": "IPY_MODEL_6bf5fe6ae4bf494e9c33e0940da62951", - "max": 466062, - "min": 0, - "orientation": "horizontal", - "style": "IPY_MODEL_a2a0402f1a63407190cf2a132a0bc2b6", - "value": 466062 - } - }, - "ba340a739c554989849060bd29eadbc9": { - "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": "" - } - }, - "ba67c6d2324d440abbd25de05161b381": { - "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 - } - }, - "bc806490fb8148ca9525c3b685a377c2": { - "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": "" - } - }, - "c05f2ee787944a9e931f74de9831599c": { - "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": "", - "description_tooltip": null, - "layout": "IPY_MODEL_d4e2dd1fa16b40c3bb115ecccba69a03", - "max": 231508, - "min": 0, - "orientation": "horizontal", - "style": "IPY_MODEL_f825adffa7544868a2ae665ab6434d5d", - "value": 231508 - } - }, - "c151c810fc984ff79aa85178d54c3b6a": { - "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 - } - }, - "c3ca769e981a4e41929246c2b22bfb7c": { - "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 - } - }, - "c6d3d0bb414c4aa5ae20f006cce90f33": { - "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": "", - "description_tooltip": null, - "layout": "IPY_MODEL_8dc7877695b74610a849b160008ccbab", - "max": 466062, - "min": 0, - "orientation": "horizontal", - "style": "IPY_MODEL_56660d608cbe451e9ec0701c1941a7ab", - "value": 466062 - } - }, - "c7ca455474c04af18ade2d3fd906727e": { - "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 - } - }, - "c87dcd38005944f2affcacb28ab8dd89": { - "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_c7ca455474c04af18ade2d3fd906727e", - "placeholder": "​", - "style": "IPY_MODEL_3fc82442548e42e887ba9ad11dfd5d77", - "value": "Downloading: 100%" - } - }, - "ca54b4744f244922bc75447d707685e6": { - "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": "" - } - }, - "caa201fa5bc74823bcdea73599130499": { - "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_4e35f1931b50406393ffce1c3b622986", - "placeholder": "​", - "style": "IPY_MODEL_2d476cc7b1ce45ebb82f9cf5a41d4024", - "value": " 2352/2368 [00:34<00:00, 67.47 Docs/s]" - } - }, - "cbe8cc2b1394456bac529507081a2263": { - "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 - } - }, - "cbfecc60258e428eb51652dd36655511": { - "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_41635bd3da9c4c1da50fe86a01da25bf", - "placeholder": "​", - "style": "IPY_MODEL_1fcbba1dc2924f0489dd6cf3f6622915", - "value": " 28.0/28.0 [00:00<00:00, 766B/s]" - } - }, - "cddcc8af67ae4c539dec147436d4628b": { - "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_61e9bdf3a077438cb26f4bff9265ee4c", - "placeholder": "​", - "style": "IPY_MODEL_671cf89ffa2741cb9c1ffb898199d49b", - "value": "Downloading: 100%" - } - }, - "cea38043b06d419fa63695a316233088": { - "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": "", - "description": "", - "description_tooltip": null, - "layout": "IPY_MODEL_7b4fa73603264880ad4046d5791c76fa", - "max": 2368, - "min": 0, - "orientation": "horizontal", - "style": "IPY_MODEL_b7e2a9e5035544ba94bdeb3c56b19174", - "value": 2368 - } - }, - "d03e8b5ed27c4c97a8a25bdfa82a752e": { - "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 - } - }, - "d31dc63868a4475fbcfc7406723ad359": { - "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": "" - } - }, - "d377b1dec2a84337bc1644ff51464e4d": { - "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": "" - } - }, - "d4e2dd1fa16b40c3bb115ecccba69a03": { - "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 - } - }, - "d6ec9612d02c42e7bb42033d727fc03c": { - "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 - } - }, - "d7f2e3e918514031acf261116b690c5b": { - "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 - } - }, - "dc143ea6a5594b769b3a4880d83f0e1b": { - "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_aad1b320c9fd451ab081f5c238bb91c0", - "IPY_MODEL_99ae91dc416b4108b4282395f403b39a", - "IPY_MODEL_68b86c5c4be34554975a77a26ea6319b" - ], - "layout": "IPY_MODEL_b637557712f44674abc5e5ebd32d87cf" - } - }, - "de371bd60c64464284f47eeef0a07bed": { - "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": "" - } - }, - "e058a81bbdc941fd9932f5c04a9cdc23": { - "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_4bbce51f2459479f8a95064c17b73e2c", - "placeholder": "​", - "style": "IPY_MODEL_00aaf9b5872940b8b055dbb27caccda6", - "value": " 772/772 [00:00<00:00, 19.8kB/s]" - } - }, - "e0599025f4534a89932b42945c3c1e21": { - "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_09dd2dd5a35c4f418ea1ef010e6831d2", - "IPY_MODEL_7a408f3b5c644f42b88574ccffc2d7bb", - "IPY_MODEL_b780dea3ed6e4057a09e432a067596fb" - ], - "layout": "IPY_MODEL_a1ce792f467c47acb4803b4c727b80a1" - } - }, - "e1e04bcfd0754a3cb1ea6ac0d8ba0efa": { - "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 - } - }, - "e7227229d21d4d7292733f373fa7f9db": { - "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": "" - } - }, - "e7a21b2d87c942858f1b956f9af2b06e": { - "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_d03e8b5ed27c4c97a8a25bdfa82a752e", - "placeholder": "​", - "style": "IPY_MODEL_52de26e5a87e44debbcf00c0c4073dca", - "value": " 496M/496M [00:11<00:00, 35.7MB/s]" - } - }, - "e7c2e561bfdf49aa88814126e0471a58": { - "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_f069997c1a114e46947c8a07cebc709b", - "placeholder": "​", - "style": "IPY_MODEL_b64f5d69b6dc4f57894296991279b707", - "value": "Downloading: 100%" - } - }, - "e80fc1c849354ee89fa0d51f7de4c78e": { - "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": "" - } - }, - "e827efc5cd744b55b7d7d702663b8250": { - "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_e7c2e561bfdf49aa88814126e0471a58", - "IPY_MODEL_3838eb97db0f46a8828473c0e686f5df", - "IPY_MODEL_769ee7fdb9c549e2a8d7f0e0719477eb" - ], - "layout": "IPY_MODEL_d7f2e3e918514031acf261116b690c5b" - } - }, - "ebd1f7d8259549b1b287cd624ff5b75d": { - "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": "", - "description_tooltip": null, - "layout": "IPY_MODEL_26be6fe237fd4b8c8d8fac787d72e823", - "max": 496313727, - "min": 0, - "orientation": "horizontal", - "style": "IPY_MODEL_399fa7054fc74dfea45d22ee20765b30", - "value": 496313727 - } - }, - "ec237876a762449394f0930aa6690fcb": { - "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": "" - } - }, - "ef99a76fdfbc48669ed4d18e118bfa42": { - "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_a8f5a18af7cf410bb065eefdb887cb92", - "IPY_MODEL_9a4e9075d67b4bbaab47ff97e8ea539c", - "IPY_MODEL_ff4b4d0b7fc14f05971ad09a603e55d4" - ], - "layout": "IPY_MODEL_4de441f28ec040e995c285b1e3fcadb9" - } - }, - "f028104b8e9548f0a7e53f1edcd63c4e": { - "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_051606acbe974583b33f5e50402c72de", - "placeholder": "​", - "style": "IPY_MODEL_89a23afc2b704d83927acc1835361e73", - "value": " 492/492 [00:00<00:00, 16.8kB/s]" - } - }, - "f069997c1a114e46947c8a07cebc709b": { - "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 - } - }, - "f1238867e4e249c1a0daa553d459e98b": { - "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 - } - }, - "f27ffc683e714a28a0842a730e736716": { - "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_cddcc8af67ae4c539dec147436d4628b", - "IPY_MODEL_892b9273604c4440ad179ed4a8dfc5e1", - "IPY_MODEL_96f73362e4694c24acb058e1b7d69a14" - ], - "layout": "IPY_MODEL_b5efbf17543a4db7a3b01ee0e28743c9" - } - }, - "f29213e62e9e4b33ac72454b6f407073": { - "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_209eb3ac83504ba3920b13e5aec28da6", - "IPY_MODEL_ebd1f7d8259549b1b287cd624ff5b75d", - "IPY_MODEL_e7a21b2d87c942858f1b956f9af2b06e" - ], - "layout": "IPY_MODEL_46802db8abd042fb90c811cd2ea4bb5b" - } - }, - "f374072420b947c3a5a9f4d3849d3334": { - "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 - } - }, - "f46b46bdc75641b6b3c8d23b939bc797": { - "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 - } - }, - "f53911fd1c9c47c69e69206c3169158a": { - "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": "" - } - }, - "f591cb897745493182b1854d3be5e546": { - "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": "", - "description_tooltip": null, - "layout": "IPY_MODEL_2ed78454dfa347aaa0ab9be6be341264", - "max": 456318, - "min": 0, - "orientation": "horizontal", - "style": "IPY_MODEL_d31dc63868a4475fbcfc7406723ad359", - "value": 456318 - } - }, - "f825adffa7544868a2ae665ab6434d5d": { - "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": "" - } - }, - "fb31d79ac3f3467d986a97bd237f26be": { - "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": "" - } - }, - "fc67d27eeac0448ba310e3fb991b9b5a": { - "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": "" - } - }, - "fe18331098014a22aeb390730d35fedb": { - "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_cbe8cc2b1394456bac529507081a2263", - "placeholder": "​", - "style": "IPY_MODEL_3817606563914b0ca26620da959a1fc4", - "value": "Downloading: 100%" - } - }, - "ff4b4d0b7fc14f05971ad09a603e55d4": { - "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_6de6dbe386d447f588c982d3501bd1c1", - "placeholder": "​", - "style": "IPY_MODEL_a226c1daa4454c55a03b1edf595a33ae", - "value": " 28.0/28.0 [00:00<00:00, 746B/s]" - } - } - } } }, "nbformat": 4, - "nbformat_minor": 1 + "nbformat_minor": 0 } \ No newline at end of file diff --git a/tutorials/Tutorial14_Query_Classifier.py b/tutorials/Tutorial14_Query_Classifier.py index c943786c0..615a561bc 100644 --- a/tutorials/Tutorial14_Query_Classifier.py +++ b/tutorials/Tutorial14_Query_Classifier.py @@ -15,10 +15,56 @@ from haystack.nodes import ( TransformersQueryClassifier, SklearnQueryClassifier, ) +import pandas as pd def tutorial14_query_classifier(): + """Tutorial 14: Query Classifiers""" + # Useful for framing headers + def print_header(header): + equal_line = "=" * len(header) + print(f"\n{equal_line}\n{header}\n{equal_line}\n") + + # Try out the SklearnQueryClassifier on its own + # Keyword vs. Question/Statement Classification + keyword_classifier = SklearnQueryClassifier() + queries = [ + "Arya Stark father", # Keyword Query + "Who was the father of Arya Stark", # Interrogative Query + "Lord Eddard was the father of Arya Stark", # Statement Query + ] + k_vs_qs_results = {"Query": [], "Output Branch": [], "Class": []} + for query in queries: + result = keyword_classifier.run(query=query) + k_vs_qs_results["Query"].append(query) + k_vs_qs_results["Output Branch"].append(result[1]) + k_vs_qs_results["Class"].append("Question/Statement" if result[1] == "output_1" else "Keyword") + print_header("Keyword vs. Question/Statement Classification") + print(pd.DataFrame.from_dict(k_vs_qs_results)) + print("") + + # Question vs. Statement Classification + model_url = ( + "https://ext-models-haystack.s3.eu-central-1.amazonaws.com/gradboost_query_classifier_statements/model.pickle" + ) + vectorizer_url = "https://ext-models-haystack.s3.eu-central-1.amazonaws.com/gradboost_query_classifier_statements/vectorizer.pickle" + question_classifier = SklearnQueryClassifier(model_name_or_path=model_url, vectorizer_name_or_path=vectorizer_url) + queries = [ + "Who was the father of Arya Stark", # Interrogative Query + "Lord Eddard was the father of Arya Stark", # Statement Query + ] + q_vs_s_results = {"Query": [], "Output Branch": [], "Class": []} + for query in queries: + result = question_classifier.run(query=query) + q_vs_s_results["Query"].append(query) + q_vs_s_results["Output Branch"].append(result[1]) + q_vs_s_results["Class"].append("Question" if result[1] == "output_1" else "Statement") + print_header("Question vs. Statement Classification") + print(pd.DataFrame.from_dict(q_vs_s_results)) + print("") + + # Use in pipelines # Download and prepare data - 517 Wikipedia articles for Game of Thrones doc_dir = "data/tutorial14" s3_url = "https://s3.eu-central-1.amazonaws.com/deepset.ai-farm-qa/datasets/documents/wiki_gameofthrones_txt14.zip" @@ -33,10 +79,13 @@ def tutorial14_query_classifier(): document_store.delete_documents() document_store.write_documents(got_docs) - # Initialize Sparse retriever + # Pipelines with Keyword vs. Question/Statement Classification + print_header("PIPELINES WITH KEYWORD VS. QUESTION/STATEMENT CLASSIFICATION") + + # Initialize sparse retriever for keyword queries bm25_retriever = BM25Retriever(document_store=document_store) - # Initialize dense retriever + # Initialize dense retriever for question/statement queries embedding_retriever = EmbeddingRetriever( document_store=document_store, embedding_model="sentence-transformers/multi-qa-mpnet-base-dot-v1" ) @@ -44,10 +93,8 @@ def tutorial14_query_classifier(): reader = FARMReader(model_name_or_path="deepset/roberta-base-squad2") - print() - print("Sklearn keyword classifier") - print("==========================") - # Here we build the pipeline + # Pipeline 1: SklearnQueryClassifier + print_header("Pipeline 1: SklearnQueryClassifier") sklearn_keyword_classifier = Pipeline() sklearn_keyword_classifier.add_node(component=SklearnQueryClassifier(), name="QueryClassifier", inputs=["Query"]) sklearn_keyword_classifier.add_node( @@ -57,48 +104,23 @@ def tutorial14_query_classifier(): component=bm25_retriever, name="ESRetriever", inputs=["QueryClassifier.output_2"] ) sklearn_keyword_classifier.add_node(component=reader, name="QAReader", inputs=["ESRetriever", "EmbeddingRetriever"]) - sklearn_keyword_classifier.draw("pipeline_classifier.png") + sklearn_keyword_classifier.draw("sklearn_keyword_classifier.png") # Run only the dense retriever on the full sentence query res_1 = sklearn_keyword_classifier.run(query="Who is the father of Arya Stark?") - print("\n===============================") - print("Embedding Retriever Results" + "\n" + "=" * 15) + print_header("Question Query Results") print_answers(res_1, details="minimum") + print("") # Run only the sparse retriever on a keyword based query res_2 = sklearn_keyword_classifier.run(query="arya stark father") - print("\n===============================") - print("ES Results" + "\n" + "=" * 15) + print_header("Keyword Query Results") print_answers(res_2, details="minimum") + print("") - # Run only the dense retriever on the full sentence query - res_3 = sklearn_keyword_classifier.run(query="which country was jon snow filmed ?") - print("\n===============================") - print("Embedding Retriever Results" + "\n" + "=" * 15) - print_answers(res_3, details="minimum") + # Pipeline 2: TransformersQueryClassifier + print_header("Pipeline 2: TransformersQueryClassifier") - # Run only the sparse retriever on a keyword based query - res_4 = sklearn_keyword_classifier.run(query="jon snow country") - print("\n===============================") - print("ES Results" + "\n" + "=" * 15) - print_answers(res_4, details="minimum") - - # Run only the dense retriever on the full sentence query - res_5 = sklearn_keyword_classifier.run(query="who are the younger brothers of arya stark ?") - print("\n===============================") - print("Embedding Retriever Results" + "\n" + "=" * 15) - print_answers(res_5, details="minimum") - - # Run only the sparse retriever on a keyword based query - res_6 = sklearn_keyword_classifier.run(query="arya stark younger brothers") - print("\n===============================") - print("ES Results" + "\n" + "=" * 15) - print_answers(res_6, details="minimum") - - print() - print("Transformer keyword classifier") - print("==============================") - # Here we build the pipeline transformer_keyword_classifier = Pipeline() transformer_keyword_classifier.add_node( component=TransformersQueryClassifier(), name="QueryClassifier", inputs=["Query"] @@ -112,49 +134,21 @@ def tutorial14_query_classifier(): transformer_keyword_classifier.add_node( component=reader, name="QAReader", inputs=["ESRetriever", "EmbeddingRetriever"] ) - transformer_keyword_classifier.draw("pipeline_classifier.png") # Run only the dense retriever on the full sentence query res_1 = transformer_keyword_classifier.run(query="Who is the father of Arya Stark?") - print("\n===============================") - print("Embedding Retriever Results" + "\n" + "=" * 15) + print_header("Question Query Results") print_answers(res_1, details="minimum") + print("") # Run only the sparse retriever on a keyword based query res_2 = transformer_keyword_classifier.run(query="arya stark father") - print("\n===============================") - print("ES Results" + "\n" + "=" * 15) + print_header("Keyword Query Results") print_answers(res_2, details="minimum") + print("") - # Run only the dense retriever on the full sentence query - res_3 = transformer_keyword_classifier.run(query="which country was jon snow filmed ?") - print("\n===============================") - print("Embedding Retriever Results" + "\n" + "=" * 15) - print_answers(res_3, details="minimum") - - # Run only the sparse retriever on a keyword based query - res_4 = transformer_keyword_classifier.run(query="jon snow country") - print("\n===============================") - print("ES Results" + "\n" + "=" * 15) - print_answers(res_4, details="minimum") - - # Run only the dense retriever on the full sentence query - res_5 = transformer_keyword_classifier.run(query="who are the younger brothers of arya stark ?") - print("\n===============================") - print("Embedding Retriever Results" + "\n" + "=" * 15) - print_answers(res_5, details="minimum") - - # Run only the sparse retriever on a keyword based query - res_6 = transformer_keyword_classifier.run(query="arya stark younger brothers") - print("\n===============================") - print("ES Results" + "\n" + "=" * 15) - print_answers(res_6, details="minimum") - - print() - print("Transformer question classifier") - print("===============================") - - # Here we build the pipeline + # Pipeline with Question vs. Statement Classification + print_header("PIPELINE WITH QUESTION VS. STATEMENT CLASSIFICATION") transformer_question_classifier = Pipeline() transformer_question_classifier.add_node(component=embedding_retriever, name="EmbeddingRetriever", inputs=["Query"]) transformer_question_classifier.add_node( @@ -163,58 +157,18 @@ def tutorial14_query_classifier(): inputs=["EmbeddingRetriever"], ) transformer_question_classifier.add_node(component=reader, name="QAReader", inputs=["QueryClassifier.output_1"]) - transformer_question_classifier.draw("question_classifier.png") + transformer_question_classifier.draw("transformer_question_classifier.png") # Run only the QA reader on the question query res_1 = transformer_question_classifier.run(query="Who is the father of Arya Stark?") - print("\n===============================") - print("Embedding Retriever Results" + "\n" + "=" * 15) + print_header("Question Query Results") print_answers(res_1, details="minimum") + print("") res_2 = transformer_question_classifier.run(query="Arya Stark was the daughter of a Lord.") - print("\n===============================") - print("ES Results" + "\n" + "=" * 15) + print_header("Statement Query Results") print_documents(res_2) - - # Here we create the keyword vs question/statement query classifier - - queries = [ - "arya stark father", - "jon snow country", - "who is the father of arya stark", - "which country was jon snow filmed?", - ] - - keyword_classifier = TransformersQueryClassifier() - - for query in queries: - result = keyword_classifier.run(query=query) - if result[1] == "output_1": - category = "question/statement" - else: - category = "keyword" - - print(f"Query: {query}, raw_output: {result}, class: {category}") - - # Here we create the question vs statement query classifier - - queries = [ - "Lord Eddard was the father of Arya Stark.", - "Jon Snow was filmed in United Kingdom.", - "who is the father of arya stark?", - "Which country was jon snow filmed in?", - ] - - question_classifier = TransformersQueryClassifier(model_name_or_path="shahrukhx01/question-vs-statement-classifier") - - for query in queries: - result = question_classifier.run(query=query) - if result[1] == "output_1": - category = "question" - else: - category = "statement" - - print(f"Query: {query}, raw_output: {result}, class: {category}") + print("") if __name__ == "__main__":