Eemansleepdeprived commited on
Commit
d5030e7
β€’
1 Parent(s): 93eb6a0

Upload 3 files

Browse files
Files changed (3) hide show
  1. Study_for_me_AI.ipynb +2440 -0
  2. app.py +41 -0
  3. requirements.txt +3 -0
Study_for_me_AI.ipynb ADDED
@@ -0,0 +1,2440 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "markdown",
5
+ "metadata": {
6
+ "id": "fNMVBdJlzKI9"
7
+ },
8
+ "source": [
9
+ "# Install Dependencies"
10
+ ]
11
+ },
12
+ {
13
+ "cell_type": "code",
14
+ "execution_count": 1,
15
+ "metadata": {
16
+ "colab": {
17
+ "base_uri": "https://localhost:8080/"
18
+ },
19
+ "id": "Uw8C4g9szKJA",
20
+ "outputId": "c76a4fff-6265-424b-dc10-762b3188e01d",
21
+ "tags": []
22
+ },
23
+ "outputs": [
24
+ {
25
+ "name": "stdout",
26
+ "output_type": "stream",
27
+ "text": [
28
+ "Looking in links: https://download.pytorch.org/whl/cu113/torch_stable.html\n",
29
+ "\u001b[31mERROR: Could not find a version that satisfies the requirement torch==1.10.2+cu113 (from versions: 1.9.0, 1.10.0, 1.10.1, 1.10.2, 1.11.0, 1.12.0, 1.12.1)\u001b[0m\u001b[31m\n",
30
+ "\u001b[0m\u001b[31mERROR: No matching distribution found for torch==1.10.2+cu113\u001b[0m\u001b[31m\n",
31
+ "\u001b[0m"
32
+ ]
33
+ }
34
+ ],
35
+ "source": [
36
+ "# Pytorch install\n",
37
+ "!pip install torch==1.10.2+cu113 torchvision==0.11.3+cu113 torchaudio===0.10.2+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html"
38
+ ]
39
+ },
40
+ {
41
+ "cell_type": "code",
42
+ "execution_count": 2,
43
+ "metadata": {
44
+ "colab": {
45
+ "base_uri": "https://localhost:8080/"
46
+ },
47
+ "id": "JDVrVoaczKJC",
48
+ "outputId": "49337ddd-90d7-410b-ac39-75861dce9dca",
49
+ "tags": []
50
+ },
51
+ "outputs": [
52
+ {
53
+ "name": "stdout",
54
+ "output_type": "stream",
55
+ "text": [
56
+ "Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/\n",
57
+ "Collecting transformers\n",
58
+ " Downloading transformers-4.23.1-py3-none-any.whl (5.3 MB)\n",
59
+ "\u001b[K |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 5.3 MB 23.7 MB/s \n",
60
+ "\u001b[?25hRequirement already satisfied: requests in /usr/local/lib/python3.7/dist-packages (from transformers) (2.23.0)\n",
61
+ "Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/dist-packages (from transformers) (5.0.0)\n",
62
+ "Collecting tokenizers!=0.11.3,<0.14,>=0.11.1\n",
63
+ " Downloading tokenizers-0.13.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.6 MB)\n",
64
+ "\u001b[K |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 7.6 MB 70.6 MB/s \n",
65
+ "\u001b[?25hRequirement already satisfied: regex!=2019.12.17 in /usr/local/lib/python3.7/dist-packages (from transformers) (2022.6.2)\n",
66
+ "Collecting huggingface-hub<1.0,>=0.10.0\n",
67
+ " Downloading huggingface_hub-0.10.1-py3-none-any.whl (163 kB)\n",
68
+ "\u001b[K |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 163 kB 86.6 MB/s \n",
69
+ "\u001b[?25hRequirement already satisfied: pyyaml>=5.1 in /usr/local/lib/python3.7/dist-packages (from transformers) (6.0)\n",
70
+ "Requirement already satisfied: tqdm>=4.27 in /usr/local/lib/python3.7/dist-packages (from transformers) (4.64.1)\n",
71
+ "Requirement already satisfied: filelock in /usr/local/lib/python3.7/dist-packages (from transformers) (3.8.0)\n",
72
+ "Requirement already satisfied: numpy>=1.17 in /usr/local/lib/python3.7/dist-packages (from transformers) (1.21.6)\n",
73
+ "Requirement already satisfied: packaging>=20.0 in /usr/local/lib/python3.7/dist-packages (from transformers) (21.3)\n",
74
+ "Requirement already satisfied: typing-extensions>=3.7.4.3 in /usr/local/lib/python3.7/dist-packages (from huggingface-hub<1.0,>=0.10.0->transformers) (4.1.1)\n",
75
+ "Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in /usr/local/lib/python3.7/dist-packages (from packaging>=20.0->transformers) (3.0.9)\n",
76
+ "Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/dist-packages (from importlib-metadata->transformers) (3.9.0)\n",
77
+ "Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.7/dist-packages (from requests->transformers) (2022.9.24)\n",
78
+ "Requirement already satisfied: idna<3,>=2.5 in /usr/local/lib/python3.7/dist-packages (from requests->transformers) (2.10)\n",
79
+ "Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/local/lib/python3.7/dist-packages (from requests->transformers) (1.24.3)\n",
80
+ "Requirement already satisfied: chardet<4,>=3.0.2 in /usr/local/lib/python3.7/dist-packages (from requests->transformers) (3.0.4)\n",
81
+ "Installing collected packages: tokenizers, huggingface-hub, transformers\n",
82
+ "Successfully installed huggingface-hub-0.10.1 tokenizers-0.13.1 transformers-4.23.1\n"
83
+ ]
84
+ }
85
+ ],
86
+ "source": [
87
+ "# Install transformers\n",
88
+ "!pip install transformers"
89
+ ]
90
+ },
91
+ {
92
+ "cell_type": "markdown",
93
+ "metadata": {
94
+ "id": "sdsAk1J1zKJC"
95
+ },
96
+ "source": [
97
+ "# Load Model"
98
+ ]
99
+ },
100
+ {
101
+ "cell_type": "code",
102
+ "execution_count": 3,
103
+ "metadata": {
104
+ "id": "BIn1fQa0zKJD"
105
+ },
106
+ "outputs": [],
107
+ "source": [
108
+ "# Importing the dependencies for the RoBERTa model\n",
109
+ "from transformers import AutoModelForQuestionAnswering, AutoTokenizer, pipeline"
110
+ ]
111
+ },
112
+ {
113
+ "cell_type": "code",
114
+ "execution_count": 4,
115
+ "metadata": {
116
+ "colab": {
117
+ "base_uri": "https://localhost:8080/",
118
+ "height": 209,
119
+ "referenced_widgets": [
120
+ "ce2ef08501544214b6575bb8b3539bb7",
121
+ "7ab15056a33642ee936540ba139de6c3",
122
+ "d0b912dc473e447196768387b0eb40d5",
123
+ "5d6f839735924f5caf548265afa68bb3",
124
+ "998908abf1fe4e54b18b2d3029c89671",
125
+ "714a9c756ed94605a17bdac2d845da0e",
126
+ "f702af98c35b44348c7944139ca93013",
127
+ "628463620d8047a29ffe3e6b2da2b7e4",
128
+ "66e9d6f92ecf49468b6e30edc93184f4",
129
+ "ab44aa2368ba41b4a5c4f0c91735f5b7",
130
+ "16bc9b844cf542b986ecded9201d0933",
131
+ "e5ee0642b8ca471caf5d54612c60a094",
132
+ "c868e015e9044d7fa5f37d12e84d2b4a",
133
+ "3c9e08c8687a48febfe1b62a19f39bf5",
134
+ "ac5efc5ee6c6479ea7f0c4d386377c7c",
135
+ "e851fe751ef0460295ffba48a5530fb0",
136
+ "c88605579333498689af59d0e5dd7af1",
137
+ "c75f8e86f4944551a64ce198dcf4addf",
138
+ "cdeca46f826c47c0afd432695518c88d",
139
+ "5b3cf105e6cd4143a3c14a24ac8ba78b",
140
+ "29bc27d54f454b04bb9f55ad7af2798d",
141
+ "f67bdd880f4b4500b2a7473b1b3909af",
142
+ "e8fc4c435bab435bbc35fb5ab82583da",
143
+ "34a0159763bc439b9f6a8acf283a078c",
144
+ "e6bfde37270840a691dc5d7d26e9a0bd",
145
+ "4412e352d17a46aea2bd613c05c64deb",
146
+ "5017133388af4033a9fe0ab649087d39",
147
+ "0ae05f7aeceb446a9377659afffc651a",
148
+ "b3ca770ee13442c284eca297c2e74b87",
149
+ "e4aaebdf7559461bb2dcde03914be1e6",
150
+ "2fc85bd32a4f4c1a815b0c950a425139",
151
+ "ed3a2ae417d34e848393ceff1a1c6dda",
152
+ "fa9e0e07bfaf44cf90bbf2bcbfa4c8b7",
153
+ "0a21b09aa6fd4e57bacc2350fcb5132c",
154
+ "21c7f83b908e445a81ebfa9f14413968",
155
+ "d20ada954dfe47d1a60313e224863d8a",
156
+ "c6f59fbd37844799b9d826ef467ad582",
157
+ "bfe472d9a3cc41889b268de2ddf923c4",
158
+ "8079f854cbe4408bb10bfeebf5705545",
159
+ "c25bca25edd4448fb5f9bc2ea46d0bb2",
160
+ "0435c0e06ebd41d7af7d6a8dbfaf41d5",
161
+ "49c791ac93c5475aa30eaedb78b79087",
162
+ "c180adf8a96b406b81c2165183a69ae2",
163
+ "5def7472f09b46b89d5c5e7529502530",
164
+ "635a87ec61844004a3e54bcbf7e3b311",
165
+ "76456029fe0d464d98e32bc9ee8210d0",
166
+ "3ad6e8dd676741b19c37e7a195404159",
167
+ "ce2f1d9ad04e48b0b1274f09a02fd818",
168
+ "68da7173d0f248398ccf4708e4c54985",
169
+ "833b4eb61076480c916cf5474f303ea2",
170
+ "91cb66e6bcc64473ad21368790c63949",
171
+ "35dc15c4f3a642d6a91e5b614e3eeae2",
172
+ "e0c281acda434dcba0e5c76e3520be24",
173
+ "ce53e3ac9df3436394c390344365703e",
174
+ "dd267e21d7394376a9e90fec45585d1c",
175
+ "0ea668046eec465b9173079ea52a9f55",
176
+ "ca89cc19693245758407f73bcb17e6bf",
177
+ "0c40766e4bce4e1cb7866fdc8ae0fb45",
178
+ "1e729e22ab1147b9a9e57f99f5bfda6b",
179
+ "faab2b55f5724e5785c260109d1f8483",
180
+ "4eedff35b3484162aa55502afb6fff76",
181
+ "70deb9ee359b4c66b5bda8d5ab045ccc",
182
+ "49b4341a29c04ad098bbaee977fa3d24",
183
+ "206a1f4c2941439bb081a8b5818484c6",
184
+ "a1cbf24a1d5d45bd86369acffdbbfc94",
185
+ "72c7898038084500adadf89255705ccb"
186
+ ]
187
+ },
188
+ "id": "aYbWfY8MzKJD",
189
+ "outputId": "c03f6c03-85c2-40f3-8ab9-930a80eaacc5"
190
+ },
191
+ "outputs": [
192
+ {
193
+ "data": {
194
+ "application/vnd.jupyter.widget-view+json": {
195
+ "model_id": "ce2ef08501544214b6575bb8b3539bb7",
196
+ "version_major": 2,
197
+ "version_minor": 0
198
+ },
199
+ "text/plain": [
200
+ "Downloading: 0%| | 0.00/571 [00:00<?, ?B/s]"
201
+ ]
202
+ },
203
+ "metadata": {},
204
+ "output_type": "display_data"
205
+ },
206
+ {
207
+ "data": {
208
+ "application/vnd.jupyter.widget-view+json": {
209
+ "model_id": "e5ee0642b8ca471caf5d54612c60a094",
210
+ "version_major": 2,
211
+ "version_minor": 0
212
+ },
213
+ "text/plain": [
214
+ "Downloading: 0%| | 0.00/496M [00:00<?, ?B/s]"
215
+ ]
216
+ },
217
+ "metadata": {},
218
+ "output_type": "display_data"
219
+ },
220
+ {
221
+ "data": {
222
+ "application/vnd.jupyter.widget-view+json": {
223
+ "model_id": "e8fc4c435bab435bbc35fb5ab82583da",
224
+ "version_major": 2,
225
+ "version_minor": 0
226
+ },
227
+ "text/plain": [
228
+ "Downloading: 0%| | 0.00/79.0 [00:00<?, ?B/s]"
229
+ ]
230
+ },
231
+ "metadata": {},
232
+ "output_type": "display_data"
233
+ },
234
+ {
235
+ "data": {
236
+ "application/vnd.jupyter.widget-view+json": {
237
+ "model_id": "0a21b09aa6fd4e57bacc2350fcb5132c",
238
+ "version_major": 2,
239
+ "version_minor": 0
240
+ },
241
+ "text/plain": [
242
+ "Downloading: 0%| | 0.00/899k [00:00<?, ?B/s]"
243
+ ]
244
+ },
245
+ "metadata": {},
246
+ "output_type": "display_data"
247
+ },
248
+ {
249
+ "data": {
250
+ "application/vnd.jupyter.widget-view+json": {
251
+ "model_id": "635a87ec61844004a3e54bcbf7e3b311",
252
+ "version_major": 2,
253
+ "version_minor": 0
254
+ },
255
+ "text/plain": [
256
+ "Downloading: 0%| | 0.00/456k [00:00<?, ?B/s]"
257
+ ]
258
+ },
259
+ "metadata": {},
260
+ "output_type": "display_data"
261
+ },
262
+ {
263
+ "data": {
264
+ "application/vnd.jupyter.widget-view+json": {
265
+ "model_id": "0ea668046eec465b9173079ea52a9f55",
266
+ "version_major": 2,
267
+ "version_minor": 0
268
+ },
269
+ "text/plain": [
270
+ "Downloading: 0%| | 0.00/772 [00:00<?, ?B/s]"
271
+ ]
272
+ },
273
+ "metadata": {},
274
+ "output_type": "display_data"
275
+ }
276
+ ],
277
+ "source": [
278
+ "# Creating the Q&A pipeline\n",
279
+ "nlp = pipeline('question-answering', model='deepset/roberta-base-squad2', tokenizer='deepset/roberta-base-squad2')"
280
+ ]
281
+ },
282
+ {
283
+ "cell_type": "code",
284
+ "execution_count": 5,
285
+ "metadata": {
286
+ "id": "MRI1kG-ZzKJD"
287
+ },
288
+ "outputs": [],
289
+ "source": [
290
+ "# Contextual text or corpus\n",
291
+ "wikipedia_text = \"\"\"\n",
292
+ "Spider-Man is a superhero appearing in American comic books published by Marvel Comics. Created by writer-editor Stan Lee and artist Steve Ditko, he first appeared in the anthology comic book Amazing Fantasy #15 (August 1962) in the Silver Age of Comic Books. He has since been featured in movies, television shows, video games, and plays. Spider-Man is the alias of Peter Parker, an orphan raised by his Aunt May and Uncle Ben in New York City after his parents Richard and Mary Parker died in a plane crash. Lee and Ditko had the character deal with the struggles of adolescence and financial issues and gave him many supporting characters, such as Flash Thompson, J. Jonah Jameson and Harry Osborn, romantic interests Gwen Stacy, Mary Jane Watson and the Black Cat, and foes such as Doctor Octopus, the Green Goblin and Venom. In his origin story, he gets spider-related abilities from a bite from a radioactive spider; these include clinging to surfaces, superhuman strength and agility, and detecting danger with his \"spider-sense.\" He also builds wrist-mounted \"web-shooter\" devices that shoot artificial spider webs of his own design.\n",
293
+ "\n",
294
+ "When Spider-Man first appeared in the early 1960s, teenagers in superhero comic books were usually relegated to the role of sidekick to the protagonist. The Spider-Man series broke ground by featuring Peter Parker, a high school student from Queens behind Spider-Man's secret identity and with whose \"self-obsessions with rejection, inadequacy, and loneliness\" young readers could relate.[9] While Spider-Man had all the makings of a sidekick, unlike previous teen heroes such as Bucky and Robin, Spider-Man had no superhero mentor like Captain America and Batman; he thus had to learn for himself that \"with great power there must also come great responsibility\"β€”a line included in a text box in the final panel of the first Spider-Man story but later retroactively attributed to his guardian, his late Uncle Ben Parker.\n",
295
+ "\"\"\""
296
+ ]
297
+ },
298
+ {
299
+ "cell_type": "code",
300
+ "execution_count": 6,
301
+ "metadata": {
302
+ "id": "vWifk7L1zKJF"
303
+ },
304
+ "outputs": [],
305
+ "source": [
306
+ "# Define question set\n",
307
+ "question_set = {\n",
308
+ " 'question':'Who is Spiderman\\'s enemy?', \n",
309
+ " 'context':wikipedia_text\n",
310
+ " }"
311
+ ]
312
+ },
313
+ {
314
+ "cell_type": "code",
315
+ "execution_count": 7,
316
+ "metadata": {
317
+ "id": "FS-EJYWzzKJF"
318
+ },
319
+ "outputs": [],
320
+ "source": [
321
+ "results = nlp(question_set)"
322
+ ]
323
+ },
324
+ {
325
+ "cell_type": "code",
326
+ "execution_count": 8,
327
+ "metadata": {
328
+ "colab": {
329
+ "base_uri": "https://localhost:8080/",
330
+ "height": 35
331
+ },
332
+ "id": "N0Pwr_BzzKJG",
333
+ "outputId": "cac9a16f-49fc-4e2f-bf15-5b61d8129fd5"
334
+ },
335
+ "outputs": [
336
+ {
337
+ "data": {
338
+ "application/vnd.google.colaboratory.intrinsic+json": {
339
+ "type": "string"
340
+ },
341
+ "text/plain": [
342
+ "'Doctor Octopus, the Green Goblin and Venom'"
343
+ ]
344
+ },
345
+ "execution_count": 8,
346
+ "metadata": {},
347
+ "output_type": "execute_result"
348
+ }
349
+ ],
350
+ "source": [
351
+ "results['answer']"
352
+ ]
353
+ }
354
+ ],
355
+ "metadata": {
356
+ "colab": {
357
+ "provenance": []
358
+ },
359
+ "kernelspec": {
360
+ "display_name": "Python 3.9.13 ('base')",
361
+ "language": "python",
362
+ "name": "python3"
363
+ },
364
+ "language_info": {
365
+ "codemirror_mode": {
366
+ "name": "ipython",
367
+ "version": 3
368
+ },
369
+ "file_extension": ".py",
370
+ "mimetype": "text/x-python",
371
+ "name": "python",
372
+ "nbconvert_exporter": "python",
373
+ "pygments_lexer": "ipython3",
374
+ "version": "3.9.13"
375
+ },
376
+ "vscode": {
377
+ "interpreter": {
378
+ "hash": "3e91440bae70fe36b08f2decfecf198c5281689ed89adf5e1c2c93a1bdd6e28e"
379
+ }
380
+ },
381
+ "widgets": {
382
+ "application/vnd.jupyter.widget-state+json": {
383
+ "0435c0e06ebd41d7af7d6a8dbfaf41d5": {
384
+ "model_module": "@jupyter-widgets/base",
385
+ "model_module_version": "1.2.0",
386
+ "model_name": "LayoutModel",
387
+ "state": {
388
+ "_model_module": "@jupyter-widgets/base",
389
+ "_model_module_version": "1.2.0",
390
+ "_model_name": "LayoutModel",
391
+ "_view_count": null,
392
+ "_view_module": "@jupyter-widgets/base",
393
+ "_view_module_version": "1.2.0",
394
+ "_view_name": "LayoutView",
395
+ "align_content": null,
396
+ "align_items": null,
397
+ "align_self": null,
398
+ "border": null,
399
+ "bottom": null,
400
+ "display": null,
401
+ "flex": null,
402
+ "flex_flow": null,
403
+ "grid_area": null,
404
+ "grid_auto_columns": null,
405
+ "grid_auto_flow": null,
406
+ "grid_auto_rows": null,
407
+ "grid_column": null,
408
+ "grid_gap": null,
409
+ "grid_row": null,
410
+ "grid_template_areas": null,
411
+ "grid_template_columns": null,
412
+ "grid_template_rows": null,
413
+ "height": null,
414
+ "justify_content": null,
415
+ "justify_items": null,
416
+ "left": null,
417
+ "margin": null,
418
+ "max_height": null,
419
+ "max_width": null,
420
+ "min_height": null,
421
+ "min_width": null,
422
+ "object_fit": null,
423
+ "object_position": null,
424
+ "order": null,
425
+ "overflow": null,
426
+ "overflow_x": null,
427
+ "overflow_y": null,
428
+ "padding": null,
429
+ "right": null,
430
+ "top": null,
431
+ "visibility": null,
432
+ "width": null
433
+ }
434
+ },
435
+ "0a21b09aa6fd4e57bacc2350fcb5132c": {
436
+ "model_module": "@jupyter-widgets/controls",
437
+ "model_module_version": "1.5.0",
438
+ "model_name": "HBoxModel",
439
+ "state": {
440
+ "_dom_classes": [],
441
+ "_model_module": "@jupyter-widgets/controls",
442
+ "_model_module_version": "1.5.0",
443
+ "_model_name": "HBoxModel",
444
+ "_view_count": null,
445
+ "_view_module": "@jupyter-widgets/controls",
446
+ "_view_module_version": "1.5.0",
447
+ "_view_name": "HBoxView",
448
+ "box_style": "",
449
+ "children": [
450
+ "IPY_MODEL_21c7f83b908e445a81ebfa9f14413968",
451
+ "IPY_MODEL_d20ada954dfe47d1a60313e224863d8a",
452
+ "IPY_MODEL_c6f59fbd37844799b9d826ef467ad582"
453
+ ],
454
+ "layout": "IPY_MODEL_bfe472d9a3cc41889b268de2ddf923c4"
455
+ }
456
+ },
457
+ "0ae05f7aeceb446a9377659afffc651a": {
458
+ "model_module": "@jupyter-widgets/base",
459
+ "model_module_version": "1.2.0",
460
+ "model_name": "LayoutModel",
461
+ "state": {
462
+ "_model_module": "@jupyter-widgets/base",
463
+ "_model_module_version": "1.2.0",
464
+ "_model_name": "LayoutModel",
465
+ "_view_count": null,
466
+ "_view_module": "@jupyter-widgets/base",
467
+ "_view_module_version": "1.2.0",
468
+ "_view_name": "LayoutView",
469
+ "align_content": null,
470
+ "align_items": null,
471
+ "align_self": null,
472
+ "border": null,
473
+ "bottom": null,
474
+ "display": null,
475
+ "flex": null,
476
+ "flex_flow": null,
477
+ "grid_area": null,
478
+ "grid_auto_columns": null,
479
+ "grid_auto_flow": null,
480
+ "grid_auto_rows": null,
481
+ "grid_column": null,
482
+ "grid_gap": null,
483
+ "grid_row": null,
484
+ "grid_template_areas": null,
485
+ "grid_template_columns": null,
486
+ "grid_template_rows": null,
487
+ "height": null,
488
+ "justify_content": null,
489
+ "justify_items": null,
490
+ "left": null,
491
+ "margin": null,
492
+ "max_height": null,
493
+ "max_width": null,
494
+ "min_height": null,
495
+ "min_width": null,
496
+ "object_fit": null,
497
+ "object_position": null,
498
+ "order": null,
499
+ "overflow": null,
500
+ "overflow_x": null,
501
+ "overflow_y": null,
502
+ "padding": null,
503
+ "right": null,
504
+ "top": null,
505
+ "visibility": null,
506
+ "width": null
507
+ }
508
+ },
509
+ "0c40766e4bce4e1cb7866fdc8ae0fb45": {
510
+ "model_module": "@jupyter-widgets/controls",
511
+ "model_module_version": "1.5.0",
512
+ "model_name": "FloatProgressModel",
513
+ "state": {
514
+ "_dom_classes": [],
515
+ "_model_module": "@jupyter-widgets/controls",
516
+ "_model_module_version": "1.5.0",
517
+ "_model_name": "FloatProgressModel",
518
+ "_view_count": null,
519
+ "_view_module": "@jupyter-widgets/controls",
520
+ "_view_module_version": "1.5.0",
521
+ "_view_name": "ProgressView",
522
+ "bar_style": "success",
523
+ "description": "",
524
+ "description_tooltip": null,
525
+ "layout": "IPY_MODEL_49b4341a29c04ad098bbaee977fa3d24",
526
+ "max": 772,
527
+ "min": 0,
528
+ "orientation": "horizontal",
529
+ "style": "IPY_MODEL_206a1f4c2941439bb081a8b5818484c6",
530
+ "value": 772
531
+ }
532
+ },
533
+ "0ea668046eec465b9173079ea52a9f55": {
534
+ "model_module": "@jupyter-widgets/controls",
535
+ "model_module_version": "1.5.0",
536
+ "model_name": "HBoxModel",
537
+ "state": {
538
+ "_dom_classes": [],
539
+ "_model_module": "@jupyter-widgets/controls",
540
+ "_model_module_version": "1.5.0",
541
+ "_model_name": "HBoxModel",
542
+ "_view_count": null,
543
+ "_view_module": "@jupyter-widgets/controls",
544
+ "_view_module_version": "1.5.0",
545
+ "_view_name": "HBoxView",
546
+ "box_style": "",
547
+ "children": [
548
+ "IPY_MODEL_ca89cc19693245758407f73bcb17e6bf",
549
+ "IPY_MODEL_0c40766e4bce4e1cb7866fdc8ae0fb45",
550
+ "IPY_MODEL_1e729e22ab1147b9a9e57f99f5bfda6b"
551
+ ],
552
+ "layout": "IPY_MODEL_faab2b55f5724e5785c260109d1f8483"
553
+ }
554
+ },
555
+ "16bc9b844cf542b986ecded9201d0933": {
556
+ "model_module": "@jupyter-widgets/controls",
557
+ "model_module_version": "1.5.0",
558
+ "model_name": "DescriptionStyleModel",
559
+ "state": {
560
+ "_model_module": "@jupyter-widgets/controls",
561
+ "_model_module_version": "1.5.0",
562
+ "_model_name": "DescriptionStyleModel",
563
+ "_view_count": null,
564
+ "_view_module": "@jupyter-widgets/base",
565
+ "_view_module_version": "1.2.0",
566
+ "_view_name": "StyleView",
567
+ "description_width": ""
568
+ }
569
+ },
570
+ "1e729e22ab1147b9a9e57f99f5bfda6b": {
571
+ "model_module": "@jupyter-widgets/controls",
572
+ "model_module_version": "1.5.0",
573
+ "model_name": "HTMLModel",
574
+ "state": {
575
+ "_dom_classes": [],
576
+ "_model_module": "@jupyter-widgets/controls",
577
+ "_model_module_version": "1.5.0",
578
+ "_model_name": "HTMLModel",
579
+ "_view_count": null,
580
+ "_view_module": "@jupyter-widgets/controls",
581
+ "_view_module_version": "1.5.0",
582
+ "_view_name": "HTMLView",
583
+ "description": "",
584
+ "description_tooltip": null,
585
+ "layout": "IPY_MODEL_a1cbf24a1d5d45bd86369acffdbbfc94",
586
+ "placeholder": "​",
587
+ "style": "IPY_MODEL_72c7898038084500adadf89255705ccb",
588
+ "value": " 772/772 [00:00&lt;00:00, 7.69kB/s]"
589
+ }
590
+ },
591
+ "206a1f4c2941439bb081a8b5818484c6": {
592
+ "model_module": "@jupyter-widgets/controls",
593
+ "model_module_version": "1.5.0",
594
+ "model_name": "ProgressStyleModel",
595
+ "state": {
596
+ "_model_module": "@jupyter-widgets/controls",
597
+ "_model_module_version": "1.5.0",
598
+ "_model_name": "ProgressStyleModel",
599
+ "_view_count": null,
600
+ "_view_module": "@jupyter-widgets/base",
601
+ "_view_module_version": "1.2.0",
602
+ "_view_name": "StyleView",
603
+ "bar_color": null,
604
+ "description_width": ""
605
+ }
606
+ },
607
+ "21c7f83b908e445a81ebfa9f14413968": {
608
+ "model_module": "@jupyter-widgets/controls",
609
+ "model_module_version": "1.5.0",
610
+ "model_name": "HTMLModel",
611
+ "state": {
612
+ "_dom_classes": [],
613
+ "_model_module": "@jupyter-widgets/controls",
614
+ "_model_module_version": "1.5.0",
615
+ "_model_name": "HTMLModel",
616
+ "_view_count": null,
617
+ "_view_module": "@jupyter-widgets/controls",
618
+ "_view_module_version": "1.5.0",
619
+ "_view_name": "HTMLView",
620
+ "description": "",
621
+ "description_tooltip": null,
622
+ "layout": "IPY_MODEL_8079f854cbe4408bb10bfeebf5705545",
623
+ "placeholder": "​",
624
+ "style": "IPY_MODEL_c25bca25edd4448fb5f9bc2ea46d0bb2",
625
+ "value": "Downloading: 100%"
626
+ }
627
+ },
628
+ "29bc27d54f454b04bb9f55ad7af2798d": {
629
+ "model_module": "@jupyter-widgets/base",
630
+ "model_module_version": "1.2.0",
631
+ "model_name": "LayoutModel",
632
+ "state": {
633
+ "_model_module": "@jupyter-widgets/base",
634
+ "_model_module_version": "1.2.0",
635
+ "_model_name": "LayoutModel",
636
+ "_view_count": null,
637
+ "_view_module": "@jupyter-widgets/base",
638
+ "_view_module_version": "1.2.0",
639
+ "_view_name": "LayoutView",
640
+ "align_content": null,
641
+ "align_items": null,
642
+ "align_self": null,
643
+ "border": null,
644
+ "bottom": null,
645
+ "display": null,
646
+ "flex": null,
647
+ "flex_flow": null,
648
+ "grid_area": null,
649
+ "grid_auto_columns": null,
650
+ "grid_auto_flow": null,
651
+ "grid_auto_rows": null,
652
+ "grid_column": null,
653
+ "grid_gap": null,
654
+ "grid_row": null,
655
+ "grid_template_areas": null,
656
+ "grid_template_columns": null,
657
+ "grid_template_rows": null,
658
+ "height": null,
659
+ "justify_content": null,
660
+ "justify_items": null,
661
+ "left": null,
662
+ "margin": null,
663
+ "max_height": null,
664
+ "max_width": null,
665
+ "min_height": null,
666
+ "min_width": null,
667
+ "object_fit": null,
668
+ "object_position": null,
669
+ "order": null,
670
+ "overflow": null,
671
+ "overflow_x": null,
672
+ "overflow_y": null,
673
+ "padding": null,
674
+ "right": null,
675
+ "top": null,
676
+ "visibility": null,
677
+ "width": null
678
+ }
679
+ },
680
+ "2fc85bd32a4f4c1a815b0c950a425139": {
681
+ "model_module": "@jupyter-widgets/controls",
682
+ "model_module_version": "1.5.0",
683
+ "model_name": "ProgressStyleModel",
684
+ "state": {
685
+ "_model_module": "@jupyter-widgets/controls",
686
+ "_model_module_version": "1.5.0",
687
+ "_model_name": "ProgressStyleModel",
688
+ "_view_count": null,
689
+ "_view_module": "@jupyter-widgets/base",
690
+ "_view_module_version": "1.2.0",
691
+ "_view_name": "StyleView",
692
+ "bar_color": null,
693
+ "description_width": ""
694
+ }
695
+ },
696
+ "34a0159763bc439b9f6a8acf283a078c": {
697
+ "model_module": "@jupyter-widgets/controls",
698
+ "model_module_version": "1.5.0",
699
+ "model_name": "HTMLModel",
700
+ "state": {
701
+ "_dom_classes": [],
702
+ "_model_module": "@jupyter-widgets/controls",
703
+ "_model_module_version": "1.5.0",
704
+ "_model_name": "HTMLModel",
705
+ "_view_count": null,
706
+ "_view_module": "@jupyter-widgets/controls",
707
+ "_view_module_version": "1.5.0",
708
+ "_view_name": "HTMLView",
709
+ "description": "",
710
+ "description_tooltip": null,
711
+ "layout": "IPY_MODEL_0ae05f7aeceb446a9377659afffc651a",
712
+ "placeholder": "​",
713
+ "style": "IPY_MODEL_b3ca770ee13442c284eca297c2e74b87",
714
+ "value": "Downloading: 100%"
715
+ }
716
+ },
717
+ "35dc15c4f3a642d6a91e5b614e3eeae2": {
718
+ "model_module": "@jupyter-widgets/base",
719
+ "model_module_version": "1.2.0",
720
+ "model_name": "LayoutModel",
721
+ "state": {
722
+ "_model_module": "@jupyter-widgets/base",
723
+ "_model_module_version": "1.2.0",
724
+ "_model_name": "LayoutModel",
725
+ "_view_count": null,
726
+ "_view_module": "@jupyter-widgets/base",
727
+ "_view_module_version": "1.2.0",
728
+ "_view_name": "LayoutView",
729
+ "align_content": null,
730
+ "align_items": null,
731
+ "align_self": null,
732
+ "border": null,
733
+ "bottom": null,
734
+ "display": null,
735
+ "flex": null,
736
+ "flex_flow": null,
737
+ "grid_area": null,
738
+ "grid_auto_columns": null,
739
+ "grid_auto_flow": null,
740
+ "grid_auto_rows": null,
741
+ "grid_column": null,
742
+ "grid_gap": null,
743
+ "grid_row": null,
744
+ "grid_template_areas": null,
745
+ "grid_template_columns": null,
746
+ "grid_template_rows": null,
747
+ "height": null,
748
+ "justify_content": null,
749
+ "justify_items": null,
750
+ "left": null,
751
+ "margin": null,
752
+ "max_height": null,
753
+ "max_width": null,
754
+ "min_height": null,
755
+ "min_width": null,
756
+ "object_fit": null,
757
+ "object_position": null,
758
+ "order": null,
759
+ "overflow": null,
760
+ "overflow_x": null,
761
+ "overflow_y": null,
762
+ "padding": null,
763
+ "right": null,
764
+ "top": null,
765
+ "visibility": null,
766
+ "width": null
767
+ }
768
+ },
769
+ "3ad6e8dd676741b19c37e7a195404159": {
770
+ "model_module": "@jupyter-widgets/controls",
771
+ "model_module_version": "1.5.0",
772
+ "model_name": "FloatProgressModel",
773
+ "state": {
774
+ "_dom_classes": [],
775
+ "_model_module": "@jupyter-widgets/controls",
776
+ "_model_module_version": "1.5.0",
777
+ "_model_name": "FloatProgressModel",
778
+ "_view_count": null,
779
+ "_view_module": "@jupyter-widgets/controls",
780
+ "_view_module_version": "1.5.0",
781
+ "_view_name": "ProgressView",
782
+ "bar_style": "success",
783
+ "description": "",
784
+ "description_tooltip": null,
785
+ "layout": "IPY_MODEL_35dc15c4f3a642d6a91e5b614e3eeae2",
786
+ "max": 456318,
787
+ "min": 0,
788
+ "orientation": "horizontal",
789
+ "style": "IPY_MODEL_e0c281acda434dcba0e5c76e3520be24",
790
+ "value": 456318
791
+ }
792
+ },
793
+ "3c9e08c8687a48febfe1b62a19f39bf5": {
794
+ "model_module": "@jupyter-widgets/controls",
795
+ "model_module_version": "1.5.0",
796
+ "model_name": "FloatProgressModel",
797
+ "state": {
798
+ "_dom_classes": [],
799
+ "_model_module": "@jupyter-widgets/controls",
800
+ "_model_module_version": "1.5.0",
801
+ "_model_name": "FloatProgressModel",
802
+ "_view_count": null,
803
+ "_view_module": "@jupyter-widgets/controls",
804
+ "_view_module_version": "1.5.0",
805
+ "_view_name": "ProgressView",
806
+ "bar_style": "success",
807
+ "description": "",
808
+ "description_tooltip": null,
809
+ "layout": "IPY_MODEL_cdeca46f826c47c0afd432695518c88d",
810
+ "max": 496313727,
811
+ "min": 0,
812
+ "orientation": "horizontal",
813
+ "style": "IPY_MODEL_5b3cf105e6cd4143a3c14a24ac8ba78b",
814
+ "value": 496313727
815
+ }
816
+ },
817
+ "4412e352d17a46aea2bd613c05c64deb": {
818
+ "model_module": "@jupyter-widgets/controls",
819
+ "model_module_version": "1.5.0",
820
+ "model_name": "HTMLModel",
821
+ "state": {
822
+ "_dom_classes": [],
823
+ "_model_module": "@jupyter-widgets/controls",
824
+ "_model_module_version": "1.5.0",
825
+ "_model_name": "HTMLModel",
826
+ "_view_count": null,
827
+ "_view_module": "@jupyter-widgets/controls",
828
+ "_view_module_version": "1.5.0",
829
+ "_view_name": "HTMLView",
830
+ "description": "",
831
+ "description_tooltip": null,
832
+ "layout": "IPY_MODEL_ed3a2ae417d34e848393ceff1a1c6dda",
833
+ "placeholder": "​",
834
+ "style": "IPY_MODEL_fa9e0e07bfaf44cf90bbf2bcbfa4c8b7",
835
+ "value": " 79.0/79.0 [00:00&lt;00:00, 1.76kB/s]"
836
+ }
837
+ },
838
+ "49b4341a29c04ad098bbaee977fa3d24": {
839
+ "model_module": "@jupyter-widgets/base",
840
+ "model_module_version": "1.2.0",
841
+ "model_name": "LayoutModel",
842
+ "state": {
843
+ "_model_module": "@jupyter-widgets/base",
844
+ "_model_module_version": "1.2.0",
845
+ "_model_name": "LayoutModel",
846
+ "_view_count": null,
847
+ "_view_module": "@jupyter-widgets/base",
848
+ "_view_module_version": "1.2.0",
849
+ "_view_name": "LayoutView",
850
+ "align_content": null,
851
+ "align_items": null,
852
+ "align_self": null,
853
+ "border": null,
854
+ "bottom": null,
855
+ "display": null,
856
+ "flex": null,
857
+ "flex_flow": null,
858
+ "grid_area": null,
859
+ "grid_auto_columns": null,
860
+ "grid_auto_flow": null,
861
+ "grid_auto_rows": null,
862
+ "grid_column": null,
863
+ "grid_gap": null,
864
+ "grid_row": null,
865
+ "grid_template_areas": null,
866
+ "grid_template_columns": null,
867
+ "grid_template_rows": null,
868
+ "height": null,
869
+ "justify_content": null,
870
+ "justify_items": null,
871
+ "left": null,
872
+ "margin": null,
873
+ "max_height": null,
874
+ "max_width": null,
875
+ "min_height": null,
876
+ "min_width": null,
877
+ "object_fit": null,
878
+ "object_position": null,
879
+ "order": null,
880
+ "overflow": null,
881
+ "overflow_x": null,
882
+ "overflow_y": null,
883
+ "padding": null,
884
+ "right": null,
885
+ "top": null,
886
+ "visibility": null,
887
+ "width": null
888
+ }
889
+ },
890
+ "49c791ac93c5475aa30eaedb78b79087": {
891
+ "model_module": "@jupyter-widgets/controls",
892
+ "model_module_version": "1.5.0",
893
+ "model_name": "ProgressStyleModel",
894
+ "state": {
895
+ "_model_module": "@jupyter-widgets/controls",
896
+ "_model_module_version": "1.5.0",
897
+ "_model_name": "ProgressStyleModel",
898
+ "_view_count": null,
899
+ "_view_module": "@jupyter-widgets/base",
900
+ "_view_module_version": "1.2.0",
901
+ "_view_name": "StyleView",
902
+ "bar_color": null,
903
+ "description_width": ""
904
+ }
905
+ },
906
+ "4eedff35b3484162aa55502afb6fff76": {
907
+ "model_module": "@jupyter-widgets/base",
908
+ "model_module_version": "1.2.0",
909
+ "model_name": "LayoutModel",
910
+ "state": {
911
+ "_model_module": "@jupyter-widgets/base",
912
+ "_model_module_version": "1.2.0",
913
+ "_model_name": "LayoutModel",
914
+ "_view_count": null,
915
+ "_view_module": "@jupyter-widgets/base",
916
+ "_view_module_version": "1.2.0",
917
+ "_view_name": "LayoutView",
918
+ "align_content": null,
919
+ "align_items": null,
920
+ "align_self": null,
921
+ "border": null,
922
+ "bottom": null,
923
+ "display": null,
924
+ "flex": null,
925
+ "flex_flow": null,
926
+ "grid_area": null,
927
+ "grid_auto_columns": null,
928
+ "grid_auto_flow": null,
929
+ "grid_auto_rows": null,
930
+ "grid_column": null,
931
+ "grid_gap": null,
932
+ "grid_row": null,
933
+ "grid_template_areas": null,
934
+ "grid_template_columns": null,
935
+ "grid_template_rows": null,
936
+ "height": null,
937
+ "justify_content": null,
938
+ "justify_items": null,
939
+ "left": null,
940
+ "margin": null,
941
+ "max_height": null,
942
+ "max_width": null,
943
+ "min_height": null,
944
+ "min_width": null,
945
+ "object_fit": null,
946
+ "object_position": null,
947
+ "order": null,
948
+ "overflow": null,
949
+ "overflow_x": null,
950
+ "overflow_y": null,
951
+ "padding": null,
952
+ "right": null,
953
+ "top": null,
954
+ "visibility": null,
955
+ "width": null
956
+ }
957
+ },
958
+ "5017133388af4033a9fe0ab649087d39": {
959
+ "model_module": "@jupyter-widgets/base",
960
+ "model_module_version": "1.2.0",
961
+ "model_name": "LayoutModel",
962
+ "state": {
963
+ "_model_module": "@jupyter-widgets/base",
964
+ "_model_module_version": "1.2.0",
965
+ "_model_name": "LayoutModel",
966
+ "_view_count": null,
967
+ "_view_module": "@jupyter-widgets/base",
968
+ "_view_module_version": "1.2.0",
969
+ "_view_name": "LayoutView",
970
+ "align_content": null,
971
+ "align_items": null,
972
+ "align_self": null,
973
+ "border": null,
974
+ "bottom": null,
975
+ "display": null,
976
+ "flex": null,
977
+ "flex_flow": null,
978
+ "grid_area": null,
979
+ "grid_auto_columns": null,
980
+ "grid_auto_flow": null,
981
+ "grid_auto_rows": null,
982
+ "grid_column": null,
983
+ "grid_gap": null,
984
+ "grid_row": null,
985
+ "grid_template_areas": null,
986
+ "grid_template_columns": null,
987
+ "grid_template_rows": null,
988
+ "height": null,
989
+ "justify_content": null,
990
+ "justify_items": null,
991
+ "left": null,
992
+ "margin": null,
993
+ "max_height": null,
994
+ "max_width": null,
995
+ "min_height": null,
996
+ "min_width": null,
997
+ "object_fit": null,
998
+ "object_position": null,
999
+ "order": null,
1000
+ "overflow": null,
1001
+ "overflow_x": null,
1002
+ "overflow_y": null,
1003
+ "padding": null,
1004
+ "right": null,
1005
+ "top": null,
1006
+ "visibility": null,
1007
+ "width": null
1008
+ }
1009
+ },
1010
+ "5b3cf105e6cd4143a3c14a24ac8ba78b": {
1011
+ "model_module": "@jupyter-widgets/controls",
1012
+ "model_module_version": "1.5.0",
1013
+ "model_name": "ProgressStyleModel",
1014
+ "state": {
1015
+ "_model_module": "@jupyter-widgets/controls",
1016
+ "_model_module_version": "1.5.0",
1017
+ "_model_name": "ProgressStyleModel",
1018
+ "_view_count": null,
1019
+ "_view_module": "@jupyter-widgets/base",
1020
+ "_view_module_version": "1.2.0",
1021
+ "_view_name": "StyleView",
1022
+ "bar_color": null,
1023
+ "description_width": ""
1024
+ }
1025
+ },
1026
+ "5d6f839735924f5caf548265afa68bb3": {
1027
+ "model_module": "@jupyter-widgets/controls",
1028
+ "model_module_version": "1.5.0",
1029
+ "model_name": "HTMLModel",
1030
+ "state": {
1031
+ "_dom_classes": [],
1032
+ "_model_module": "@jupyter-widgets/controls",
1033
+ "_model_module_version": "1.5.0",
1034
+ "_model_name": "HTMLModel",
1035
+ "_view_count": null,
1036
+ "_view_module": "@jupyter-widgets/controls",
1037
+ "_view_module_version": "1.5.0",
1038
+ "_view_name": "HTMLView",
1039
+ "description": "",
1040
+ "description_tooltip": null,
1041
+ "layout": "IPY_MODEL_ab44aa2368ba41b4a5c4f0c91735f5b7",
1042
+ "placeholder": "​",
1043
+ "style": "IPY_MODEL_16bc9b844cf542b986ecded9201d0933",
1044
+ "value": " 571/571 [00:00&lt;00:00, 13.5kB/s]"
1045
+ }
1046
+ },
1047
+ "5def7472f09b46b89d5c5e7529502530": {
1048
+ "model_module": "@jupyter-widgets/controls",
1049
+ "model_module_version": "1.5.0",
1050
+ "model_name": "DescriptionStyleModel",
1051
+ "state": {
1052
+ "_model_module": "@jupyter-widgets/controls",
1053
+ "_model_module_version": "1.5.0",
1054
+ "_model_name": "DescriptionStyleModel",
1055
+ "_view_count": null,
1056
+ "_view_module": "@jupyter-widgets/base",
1057
+ "_view_module_version": "1.2.0",
1058
+ "_view_name": "StyleView",
1059
+ "description_width": ""
1060
+ }
1061
+ },
1062
+ "628463620d8047a29ffe3e6b2da2b7e4": {
1063
+ "model_module": "@jupyter-widgets/base",
1064
+ "model_module_version": "1.2.0",
1065
+ "model_name": "LayoutModel",
1066
+ "state": {
1067
+ "_model_module": "@jupyter-widgets/base",
1068
+ "_model_module_version": "1.2.0",
1069
+ "_model_name": "LayoutModel",
1070
+ "_view_count": null,
1071
+ "_view_module": "@jupyter-widgets/base",
1072
+ "_view_module_version": "1.2.0",
1073
+ "_view_name": "LayoutView",
1074
+ "align_content": null,
1075
+ "align_items": null,
1076
+ "align_self": null,
1077
+ "border": null,
1078
+ "bottom": null,
1079
+ "display": null,
1080
+ "flex": null,
1081
+ "flex_flow": null,
1082
+ "grid_area": null,
1083
+ "grid_auto_columns": null,
1084
+ "grid_auto_flow": null,
1085
+ "grid_auto_rows": null,
1086
+ "grid_column": null,
1087
+ "grid_gap": null,
1088
+ "grid_row": null,
1089
+ "grid_template_areas": null,
1090
+ "grid_template_columns": null,
1091
+ "grid_template_rows": null,
1092
+ "height": null,
1093
+ "justify_content": null,
1094
+ "justify_items": null,
1095
+ "left": null,
1096
+ "margin": null,
1097
+ "max_height": null,
1098
+ "max_width": null,
1099
+ "min_height": null,
1100
+ "min_width": null,
1101
+ "object_fit": null,
1102
+ "object_position": null,
1103
+ "order": null,
1104
+ "overflow": null,
1105
+ "overflow_x": null,
1106
+ "overflow_y": null,
1107
+ "padding": null,
1108
+ "right": null,
1109
+ "top": null,
1110
+ "visibility": null,
1111
+ "width": null
1112
+ }
1113
+ },
1114
+ "635a87ec61844004a3e54bcbf7e3b311": {
1115
+ "model_module": "@jupyter-widgets/controls",
1116
+ "model_module_version": "1.5.0",
1117
+ "model_name": "HBoxModel",
1118
+ "state": {
1119
+ "_dom_classes": [],
1120
+ "_model_module": "@jupyter-widgets/controls",
1121
+ "_model_module_version": "1.5.0",
1122
+ "_model_name": "HBoxModel",
1123
+ "_view_count": null,
1124
+ "_view_module": "@jupyter-widgets/controls",
1125
+ "_view_module_version": "1.5.0",
1126
+ "_view_name": "HBoxView",
1127
+ "box_style": "",
1128
+ "children": [
1129
+ "IPY_MODEL_76456029fe0d464d98e32bc9ee8210d0",
1130
+ "IPY_MODEL_3ad6e8dd676741b19c37e7a195404159",
1131
+ "IPY_MODEL_ce2f1d9ad04e48b0b1274f09a02fd818"
1132
+ ],
1133
+ "layout": "IPY_MODEL_68da7173d0f248398ccf4708e4c54985"
1134
+ }
1135
+ },
1136
+ "66e9d6f92ecf49468b6e30edc93184f4": {
1137
+ "model_module": "@jupyter-widgets/controls",
1138
+ "model_module_version": "1.5.0",
1139
+ "model_name": "ProgressStyleModel",
1140
+ "state": {
1141
+ "_model_module": "@jupyter-widgets/controls",
1142
+ "_model_module_version": "1.5.0",
1143
+ "_model_name": "ProgressStyleModel",
1144
+ "_view_count": null,
1145
+ "_view_module": "@jupyter-widgets/base",
1146
+ "_view_module_version": "1.2.0",
1147
+ "_view_name": "StyleView",
1148
+ "bar_color": null,
1149
+ "description_width": ""
1150
+ }
1151
+ },
1152
+ "68da7173d0f248398ccf4708e4c54985": {
1153
+ "model_module": "@jupyter-widgets/base",
1154
+ "model_module_version": "1.2.0",
1155
+ "model_name": "LayoutModel",
1156
+ "state": {
1157
+ "_model_module": "@jupyter-widgets/base",
1158
+ "_model_module_version": "1.2.0",
1159
+ "_model_name": "LayoutModel",
1160
+ "_view_count": null,
1161
+ "_view_module": "@jupyter-widgets/base",
1162
+ "_view_module_version": "1.2.0",
1163
+ "_view_name": "LayoutView",
1164
+ "align_content": null,
1165
+ "align_items": null,
1166
+ "align_self": null,
1167
+ "border": null,
1168
+ "bottom": null,
1169
+ "display": null,
1170
+ "flex": null,
1171
+ "flex_flow": null,
1172
+ "grid_area": null,
1173
+ "grid_auto_columns": null,
1174
+ "grid_auto_flow": null,
1175
+ "grid_auto_rows": null,
1176
+ "grid_column": null,
1177
+ "grid_gap": null,
1178
+ "grid_row": null,
1179
+ "grid_template_areas": null,
1180
+ "grid_template_columns": null,
1181
+ "grid_template_rows": null,
1182
+ "height": null,
1183
+ "justify_content": null,
1184
+ "justify_items": null,
1185
+ "left": null,
1186
+ "margin": null,
1187
+ "max_height": null,
1188
+ "max_width": null,
1189
+ "min_height": null,
1190
+ "min_width": null,
1191
+ "object_fit": null,
1192
+ "object_position": null,
1193
+ "order": null,
1194
+ "overflow": null,
1195
+ "overflow_x": null,
1196
+ "overflow_y": null,
1197
+ "padding": null,
1198
+ "right": null,
1199
+ "top": null,
1200
+ "visibility": null,
1201
+ "width": null
1202
+ }
1203
+ },
1204
+ "70deb9ee359b4c66b5bda8d5ab045ccc": {
1205
+ "model_module": "@jupyter-widgets/controls",
1206
+ "model_module_version": "1.5.0",
1207
+ "model_name": "DescriptionStyleModel",
1208
+ "state": {
1209
+ "_model_module": "@jupyter-widgets/controls",
1210
+ "_model_module_version": "1.5.0",
1211
+ "_model_name": "DescriptionStyleModel",
1212
+ "_view_count": null,
1213
+ "_view_module": "@jupyter-widgets/base",
1214
+ "_view_module_version": "1.2.0",
1215
+ "_view_name": "StyleView",
1216
+ "description_width": ""
1217
+ }
1218
+ },
1219
+ "714a9c756ed94605a17bdac2d845da0e": {
1220
+ "model_module": "@jupyter-widgets/base",
1221
+ "model_module_version": "1.2.0",
1222
+ "model_name": "LayoutModel",
1223
+ "state": {
1224
+ "_model_module": "@jupyter-widgets/base",
1225
+ "_model_module_version": "1.2.0",
1226
+ "_model_name": "LayoutModel",
1227
+ "_view_count": null,
1228
+ "_view_module": "@jupyter-widgets/base",
1229
+ "_view_module_version": "1.2.0",
1230
+ "_view_name": "LayoutView",
1231
+ "align_content": null,
1232
+ "align_items": null,
1233
+ "align_self": null,
1234
+ "border": null,
1235
+ "bottom": null,
1236
+ "display": null,
1237
+ "flex": null,
1238
+ "flex_flow": null,
1239
+ "grid_area": null,
1240
+ "grid_auto_columns": null,
1241
+ "grid_auto_flow": null,
1242
+ "grid_auto_rows": null,
1243
+ "grid_column": null,
1244
+ "grid_gap": null,
1245
+ "grid_row": null,
1246
+ "grid_template_areas": null,
1247
+ "grid_template_columns": null,
1248
+ "grid_template_rows": null,
1249
+ "height": null,
1250
+ "justify_content": null,
1251
+ "justify_items": null,
1252
+ "left": null,
1253
+ "margin": null,
1254
+ "max_height": null,
1255
+ "max_width": null,
1256
+ "min_height": null,
1257
+ "min_width": null,
1258
+ "object_fit": null,
1259
+ "object_position": null,
1260
+ "order": null,
1261
+ "overflow": null,
1262
+ "overflow_x": null,
1263
+ "overflow_y": null,
1264
+ "padding": null,
1265
+ "right": null,
1266
+ "top": null,
1267
+ "visibility": null,
1268
+ "width": null
1269
+ }
1270
+ },
1271
+ "72c7898038084500adadf89255705ccb": {
1272
+ "model_module": "@jupyter-widgets/controls",
1273
+ "model_module_version": "1.5.0",
1274
+ "model_name": "DescriptionStyleModel",
1275
+ "state": {
1276
+ "_model_module": "@jupyter-widgets/controls",
1277
+ "_model_module_version": "1.5.0",
1278
+ "_model_name": "DescriptionStyleModel",
1279
+ "_view_count": null,
1280
+ "_view_module": "@jupyter-widgets/base",
1281
+ "_view_module_version": "1.2.0",
1282
+ "_view_name": "StyleView",
1283
+ "description_width": ""
1284
+ }
1285
+ },
1286
+ "76456029fe0d464d98e32bc9ee8210d0": {
1287
+ "model_module": "@jupyter-widgets/controls",
1288
+ "model_module_version": "1.5.0",
1289
+ "model_name": "HTMLModel",
1290
+ "state": {
1291
+ "_dom_classes": [],
1292
+ "_model_module": "@jupyter-widgets/controls",
1293
+ "_model_module_version": "1.5.0",
1294
+ "_model_name": "HTMLModel",
1295
+ "_view_count": null,
1296
+ "_view_module": "@jupyter-widgets/controls",
1297
+ "_view_module_version": "1.5.0",
1298
+ "_view_name": "HTMLView",
1299
+ "description": "",
1300
+ "description_tooltip": null,
1301
+ "layout": "IPY_MODEL_833b4eb61076480c916cf5474f303ea2",
1302
+ "placeholder": "​",
1303
+ "style": "IPY_MODEL_91cb66e6bcc64473ad21368790c63949",
1304
+ "value": "Downloading: 100%"
1305
+ }
1306
+ },
1307
+ "7ab15056a33642ee936540ba139de6c3": {
1308
+ "model_module": "@jupyter-widgets/controls",
1309
+ "model_module_version": "1.5.0",
1310
+ "model_name": "HTMLModel",
1311
+ "state": {
1312
+ "_dom_classes": [],
1313
+ "_model_module": "@jupyter-widgets/controls",
1314
+ "_model_module_version": "1.5.0",
1315
+ "_model_name": "HTMLModel",
1316
+ "_view_count": null,
1317
+ "_view_module": "@jupyter-widgets/controls",
1318
+ "_view_module_version": "1.5.0",
1319
+ "_view_name": "HTMLView",
1320
+ "description": "",
1321
+ "description_tooltip": null,
1322
+ "layout": "IPY_MODEL_714a9c756ed94605a17bdac2d845da0e",
1323
+ "placeholder": "​",
1324
+ "style": "IPY_MODEL_f702af98c35b44348c7944139ca93013",
1325
+ "value": "Downloading: 100%"
1326
+ }
1327
+ },
1328
+ "8079f854cbe4408bb10bfeebf5705545": {
1329
+ "model_module": "@jupyter-widgets/base",
1330
+ "model_module_version": "1.2.0",
1331
+ "model_name": "LayoutModel",
1332
+ "state": {
1333
+ "_model_module": "@jupyter-widgets/base",
1334
+ "_model_module_version": "1.2.0",
1335
+ "_model_name": "LayoutModel",
1336
+ "_view_count": null,
1337
+ "_view_module": "@jupyter-widgets/base",
1338
+ "_view_module_version": "1.2.0",
1339
+ "_view_name": "LayoutView",
1340
+ "align_content": null,
1341
+ "align_items": null,
1342
+ "align_self": null,
1343
+ "border": null,
1344
+ "bottom": null,
1345
+ "display": null,
1346
+ "flex": null,
1347
+ "flex_flow": null,
1348
+ "grid_area": null,
1349
+ "grid_auto_columns": null,
1350
+ "grid_auto_flow": null,
1351
+ "grid_auto_rows": null,
1352
+ "grid_column": null,
1353
+ "grid_gap": null,
1354
+ "grid_row": null,
1355
+ "grid_template_areas": null,
1356
+ "grid_template_columns": null,
1357
+ "grid_template_rows": null,
1358
+ "height": null,
1359
+ "justify_content": null,
1360
+ "justify_items": null,
1361
+ "left": null,
1362
+ "margin": null,
1363
+ "max_height": null,
1364
+ "max_width": null,
1365
+ "min_height": null,
1366
+ "min_width": null,
1367
+ "object_fit": null,
1368
+ "object_position": null,
1369
+ "order": null,
1370
+ "overflow": null,
1371
+ "overflow_x": null,
1372
+ "overflow_y": null,
1373
+ "padding": null,
1374
+ "right": null,
1375
+ "top": null,
1376
+ "visibility": null,
1377
+ "width": null
1378
+ }
1379
+ },
1380
+ "833b4eb61076480c916cf5474f303ea2": {
1381
+ "model_module": "@jupyter-widgets/base",
1382
+ "model_module_version": "1.2.0",
1383
+ "model_name": "LayoutModel",
1384
+ "state": {
1385
+ "_model_module": "@jupyter-widgets/base",
1386
+ "_model_module_version": "1.2.0",
1387
+ "_model_name": "LayoutModel",
1388
+ "_view_count": null,
1389
+ "_view_module": "@jupyter-widgets/base",
1390
+ "_view_module_version": "1.2.0",
1391
+ "_view_name": "LayoutView",
1392
+ "align_content": null,
1393
+ "align_items": null,
1394
+ "align_self": null,
1395
+ "border": null,
1396
+ "bottom": null,
1397
+ "display": null,
1398
+ "flex": null,
1399
+ "flex_flow": null,
1400
+ "grid_area": null,
1401
+ "grid_auto_columns": null,
1402
+ "grid_auto_flow": null,
1403
+ "grid_auto_rows": null,
1404
+ "grid_column": null,
1405
+ "grid_gap": null,
1406
+ "grid_row": null,
1407
+ "grid_template_areas": null,
1408
+ "grid_template_columns": null,
1409
+ "grid_template_rows": null,
1410
+ "height": null,
1411
+ "justify_content": null,
1412
+ "justify_items": null,
1413
+ "left": null,
1414
+ "margin": null,
1415
+ "max_height": null,
1416
+ "max_width": null,
1417
+ "min_height": null,
1418
+ "min_width": null,
1419
+ "object_fit": null,
1420
+ "object_position": null,
1421
+ "order": null,
1422
+ "overflow": null,
1423
+ "overflow_x": null,
1424
+ "overflow_y": null,
1425
+ "padding": null,
1426
+ "right": null,
1427
+ "top": null,
1428
+ "visibility": null,
1429
+ "width": null
1430
+ }
1431
+ },
1432
+ "91cb66e6bcc64473ad21368790c63949": {
1433
+ "model_module": "@jupyter-widgets/controls",
1434
+ "model_module_version": "1.5.0",
1435
+ "model_name": "DescriptionStyleModel",
1436
+ "state": {
1437
+ "_model_module": "@jupyter-widgets/controls",
1438
+ "_model_module_version": "1.5.0",
1439
+ "_model_name": "DescriptionStyleModel",
1440
+ "_view_count": null,
1441
+ "_view_module": "@jupyter-widgets/base",
1442
+ "_view_module_version": "1.2.0",
1443
+ "_view_name": "StyleView",
1444
+ "description_width": ""
1445
+ }
1446
+ },
1447
+ "998908abf1fe4e54b18b2d3029c89671": {
1448
+ "model_module": "@jupyter-widgets/base",
1449
+ "model_module_version": "1.2.0",
1450
+ "model_name": "LayoutModel",
1451
+ "state": {
1452
+ "_model_module": "@jupyter-widgets/base",
1453
+ "_model_module_version": "1.2.0",
1454
+ "_model_name": "LayoutModel",
1455
+ "_view_count": null,
1456
+ "_view_module": "@jupyter-widgets/base",
1457
+ "_view_module_version": "1.2.0",
1458
+ "_view_name": "LayoutView",
1459
+ "align_content": null,
1460
+ "align_items": null,
1461
+ "align_self": null,
1462
+ "border": null,
1463
+ "bottom": null,
1464
+ "display": null,
1465
+ "flex": null,
1466
+ "flex_flow": null,
1467
+ "grid_area": null,
1468
+ "grid_auto_columns": null,
1469
+ "grid_auto_flow": null,
1470
+ "grid_auto_rows": null,
1471
+ "grid_column": null,
1472
+ "grid_gap": null,
1473
+ "grid_row": null,
1474
+ "grid_template_areas": null,
1475
+ "grid_template_columns": null,
1476
+ "grid_template_rows": null,
1477
+ "height": null,
1478
+ "justify_content": null,
1479
+ "justify_items": null,
1480
+ "left": null,
1481
+ "margin": null,
1482
+ "max_height": null,
1483
+ "max_width": null,
1484
+ "min_height": null,
1485
+ "min_width": null,
1486
+ "object_fit": null,
1487
+ "object_position": null,
1488
+ "order": null,
1489
+ "overflow": null,
1490
+ "overflow_x": null,
1491
+ "overflow_y": null,
1492
+ "padding": null,
1493
+ "right": null,
1494
+ "top": null,
1495
+ "visibility": null,
1496
+ "width": null
1497
+ }
1498
+ },
1499
+ "a1cbf24a1d5d45bd86369acffdbbfc94": {
1500
+ "model_module": "@jupyter-widgets/base",
1501
+ "model_module_version": "1.2.0",
1502
+ "model_name": "LayoutModel",
1503
+ "state": {
1504
+ "_model_module": "@jupyter-widgets/base",
1505
+ "_model_module_version": "1.2.0",
1506
+ "_model_name": "LayoutModel",
1507
+ "_view_count": null,
1508
+ "_view_module": "@jupyter-widgets/base",
1509
+ "_view_module_version": "1.2.0",
1510
+ "_view_name": "LayoutView",
1511
+ "align_content": null,
1512
+ "align_items": null,
1513
+ "align_self": null,
1514
+ "border": null,
1515
+ "bottom": null,
1516
+ "display": null,
1517
+ "flex": null,
1518
+ "flex_flow": null,
1519
+ "grid_area": null,
1520
+ "grid_auto_columns": null,
1521
+ "grid_auto_flow": null,
1522
+ "grid_auto_rows": null,
1523
+ "grid_column": null,
1524
+ "grid_gap": null,
1525
+ "grid_row": null,
1526
+ "grid_template_areas": null,
1527
+ "grid_template_columns": null,
1528
+ "grid_template_rows": null,
1529
+ "height": null,
1530
+ "justify_content": null,
1531
+ "justify_items": null,
1532
+ "left": null,
1533
+ "margin": null,
1534
+ "max_height": null,
1535
+ "max_width": null,
1536
+ "min_height": null,
1537
+ "min_width": null,
1538
+ "object_fit": null,
1539
+ "object_position": null,
1540
+ "order": null,
1541
+ "overflow": null,
1542
+ "overflow_x": null,
1543
+ "overflow_y": null,
1544
+ "padding": null,
1545
+ "right": null,
1546
+ "top": null,
1547
+ "visibility": null,
1548
+ "width": null
1549
+ }
1550
+ },
1551
+ "ab44aa2368ba41b4a5c4f0c91735f5b7": {
1552
+ "model_module": "@jupyter-widgets/base",
1553
+ "model_module_version": "1.2.0",
1554
+ "model_name": "LayoutModel",
1555
+ "state": {
1556
+ "_model_module": "@jupyter-widgets/base",
1557
+ "_model_module_version": "1.2.0",
1558
+ "_model_name": "LayoutModel",
1559
+ "_view_count": null,
1560
+ "_view_module": "@jupyter-widgets/base",
1561
+ "_view_module_version": "1.2.0",
1562
+ "_view_name": "LayoutView",
1563
+ "align_content": null,
1564
+ "align_items": null,
1565
+ "align_self": null,
1566
+ "border": null,
1567
+ "bottom": null,
1568
+ "display": null,
1569
+ "flex": null,
1570
+ "flex_flow": null,
1571
+ "grid_area": null,
1572
+ "grid_auto_columns": null,
1573
+ "grid_auto_flow": null,
1574
+ "grid_auto_rows": null,
1575
+ "grid_column": null,
1576
+ "grid_gap": null,
1577
+ "grid_row": null,
1578
+ "grid_template_areas": null,
1579
+ "grid_template_columns": null,
1580
+ "grid_template_rows": null,
1581
+ "height": null,
1582
+ "justify_content": null,
1583
+ "justify_items": null,
1584
+ "left": null,
1585
+ "margin": null,
1586
+ "max_height": null,
1587
+ "max_width": null,
1588
+ "min_height": null,
1589
+ "min_width": null,
1590
+ "object_fit": null,
1591
+ "object_position": null,
1592
+ "order": null,
1593
+ "overflow": null,
1594
+ "overflow_x": null,
1595
+ "overflow_y": null,
1596
+ "padding": null,
1597
+ "right": null,
1598
+ "top": null,
1599
+ "visibility": null,
1600
+ "width": null
1601
+ }
1602
+ },
1603
+ "ac5efc5ee6c6479ea7f0c4d386377c7c": {
1604
+ "model_module": "@jupyter-widgets/controls",
1605
+ "model_module_version": "1.5.0",
1606
+ "model_name": "HTMLModel",
1607
+ "state": {
1608
+ "_dom_classes": [],
1609
+ "_model_module": "@jupyter-widgets/controls",
1610
+ "_model_module_version": "1.5.0",
1611
+ "_model_name": "HTMLModel",
1612
+ "_view_count": null,
1613
+ "_view_module": "@jupyter-widgets/controls",
1614
+ "_view_module_version": "1.5.0",
1615
+ "_view_name": "HTMLView",
1616
+ "description": "",
1617
+ "description_tooltip": null,
1618
+ "layout": "IPY_MODEL_29bc27d54f454b04bb9f55ad7af2798d",
1619
+ "placeholder": "​",
1620
+ "style": "IPY_MODEL_f67bdd880f4b4500b2a7473b1b3909af",
1621
+ "value": " 496M/496M [00:08&lt;00:00, 65.2MB/s]"
1622
+ }
1623
+ },
1624
+ "b3ca770ee13442c284eca297c2e74b87": {
1625
+ "model_module": "@jupyter-widgets/controls",
1626
+ "model_module_version": "1.5.0",
1627
+ "model_name": "DescriptionStyleModel",
1628
+ "state": {
1629
+ "_model_module": "@jupyter-widgets/controls",
1630
+ "_model_module_version": "1.5.0",
1631
+ "_model_name": "DescriptionStyleModel",
1632
+ "_view_count": null,
1633
+ "_view_module": "@jupyter-widgets/base",
1634
+ "_view_module_version": "1.2.0",
1635
+ "_view_name": "StyleView",
1636
+ "description_width": ""
1637
+ }
1638
+ },
1639
+ "bfe472d9a3cc41889b268de2ddf923c4": {
1640
+ "model_module": "@jupyter-widgets/base",
1641
+ "model_module_version": "1.2.0",
1642
+ "model_name": "LayoutModel",
1643
+ "state": {
1644
+ "_model_module": "@jupyter-widgets/base",
1645
+ "_model_module_version": "1.2.0",
1646
+ "_model_name": "LayoutModel",
1647
+ "_view_count": null,
1648
+ "_view_module": "@jupyter-widgets/base",
1649
+ "_view_module_version": "1.2.0",
1650
+ "_view_name": "LayoutView",
1651
+ "align_content": null,
1652
+ "align_items": null,
1653
+ "align_self": null,
1654
+ "border": null,
1655
+ "bottom": null,
1656
+ "display": null,
1657
+ "flex": null,
1658
+ "flex_flow": null,
1659
+ "grid_area": null,
1660
+ "grid_auto_columns": null,
1661
+ "grid_auto_flow": null,
1662
+ "grid_auto_rows": null,
1663
+ "grid_column": null,
1664
+ "grid_gap": null,
1665
+ "grid_row": null,
1666
+ "grid_template_areas": null,
1667
+ "grid_template_columns": null,
1668
+ "grid_template_rows": null,
1669
+ "height": null,
1670
+ "justify_content": null,
1671
+ "justify_items": null,
1672
+ "left": null,
1673
+ "margin": null,
1674
+ "max_height": null,
1675
+ "max_width": null,
1676
+ "min_height": null,
1677
+ "min_width": null,
1678
+ "object_fit": null,
1679
+ "object_position": null,
1680
+ "order": null,
1681
+ "overflow": null,
1682
+ "overflow_x": null,
1683
+ "overflow_y": null,
1684
+ "padding": null,
1685
+ "right": null,
1686
+ "top": null,
1687
+ "visibility": null,
1688
+ "width": null
1689
+ }
1690
+ },
1691
+ "c180adf8a96b406b81c2165183a69ae2": {
1692
+ "model_module": "@jupyter-widgets/base",
1693
+ "model_module_version": "1.2.0",
1694
+ "model_name": "LayoutModel",
1695
+ "state": {
1696
+ "_model_module": "@jupyter-widgets/base",
1697
+ "_model_module_version": "1.2.0",
1698
+ "_model_name": "LayoutModel",
1699
+ "_view_count": null,
1700
+ "_view_module": "@jupyter-widgets/base",
1701
+ "_view_module_version": "1.2.0",
1702
+ "_view_name": "LayoutView",
1703
+ "align_content": null,
1704
+ "align_items": null,
1705
+ "align_self": null,
1706
+ "border": null,
1707
+ "bottom": null,
1708
+ "display": null,
1709
+ "flex": null,
1710
+ "flex_flow": null,
1711
+ "grid_area": null,
1712
+ "grid_auto_columns": null,
1713
+ "grid_auto_flow": null,
1714
+ "grid_auto_rows": null,
1715
+ "grid_column": null,
1716
+ "grid_gap": null,
1717
+ "grid_row": null,
1718
+ "grid_template_areas": null,
1719
+ "grid_template_columns": null,
1720
+ "grid_template_rows": null,
1721
+ "height": null,
1722
+ "justify_content": null,
1723
+ "justify_items": null,
1724
+ "left": null,
1725
+ "margin": null,
1726
+ "max_height": null,
1727
+ "max_width": null,
1728
+ "min_height": null,
1729
+ "min_width": null,
1730
+ "object_fit": null,
1731
+ "object_position": null,
1732
+ "order": null,
1733
+ "overflow": null,
1734
+ "overflow_x": null,
1735
+ "overflow_y": null,
1736
+ "padding": null,
1737
+ "right": null,
1738
+ "top": null,
1739
+ "visibility": null,
1740
+ "width": null
1741
+ }
1742
+ },
1743
+ "c25bca25edd4448fb5f9bc2ea46d0bb2": {
1744
+ "model_module": "@jupyter-widgets/controls",
1745
+ "model_module_version": "1.5.0",
1746
+ "model_name": "DescriptionStyleModel",
1747
+ "state": {
1748
+ "_model_module": "@jupyter-widgets/controls",
1749
+ "_model_module_version": "1.5.0",
1750
+ "_model_name": "DescriptionStyleModel",
1751
+ "_view_count": null,
1752
+ "_view_module": "@jupyter-widgets/base",
1753
+ "_view_module_version": "1.2.0",
1754
+ "_view_name": "StyleView",
1755
+ "description_width": ""
1756
+ }
1757
+ },
1758
+ "c6f59fbd37844799b9d826ef467ad582": {
1759
+ "model_module": "@jupyter-widgets/controls",
1760
+ "model_module_version": "1.5.0",
1761
+ "model_name": "HTMLModel",
1762
+ "state": {
1763
+ "_dom_classes": [],
1764
+ "_model_module": "@jupyter-widgets/controls",
1765
+ "_model_module_version": "1.5.0",
1766
+ "_model_name": "HTMLModel",
1767
+ "_view_count": null,
1768
+ "_view_module": "@jupyter-widgets/controls",
1769
+ "_view_module_version": "1.5.0",
1770
+ "_view_name": "HTMLView",
1771
+ "description": "",
1772
+ "description_tooltip": null,
1773
+ "layout": "IPY_MODEL_c180adf8a96b406b81c2165183a69ae2",
1774
+ "placeholder": "​",
1775
+ "style": "IPY_MODEL_5def7472f09b46b89d5c5e7529502530",
1776
+ "value": " 899k/899k [00:00&lt;00:00, 5.95MB/s]"
1777
+ }
1778
+ },
1779
+ "c75f8e86f4944551a64ce198dcf4addf": {
1780
+ "model_module": "@jupyter-widgets/controls",
1781
+ "model_module_version": "1.5.0",
1782
+ "model_name": "DescriptionStyleModel",
1783
+ "state": {
1784
+ "_model_module": "@jupyter-widgets/controls",
1785
+ "_model_module_version": "1.5.0",
1786
+ "_model_name": "DescriptionStyleModel",
1787
+ "_view_count": null,
1788
+ "_view_module": "@jupyter-widgets/base",
1789
+ "_view_module_version": "1.2.0",
1790
+ "_view_name": "StyleView",
1791
+ "description_width": ""
1792
+ }
1793
+ },
1794
+ "c868e015e9044d7fa5f37d12e84d2b4a": {
1795
+ "model_module": "@jupyter-widgets/controls",
1796
+ "model_module_version": "1.5.0",
1797
+ "model_name": "HTMLModel",
1798
+ "state": {
1799
+ "_dom_classes": [],
1800
+ "_model_module": "@jupyter-widgets/controls",
1801
+ "_model_module_version": "1.5.0",
1802
+ "_model_name": "HTMLModel",
1803
+ "_view_count": null,
1804
+ "_view_module": "@jupyter-widgets/controls",
1805
+ "_view_module_version": "1.5.0",
1806
+ "_view_name": "HTMLView",
1807
+ "description": "",
1808
+ "description_tooltip": null,
1809
+ "layout": "IPY_MODEL_c88605579333498689af59d0e5dd7af1",
1810
+ "placeholder": "​",
1811
+ "style": "IPY_MODEL_c75f8e86f4944551a64ce198dcf4addf",
1812
+ "value": "Downloading: 100%"
1813
+ }
1814
+ },
1815
+ "c88605579333498689af59d0e5dd7af1": {
1816
+ "model_module": "@jupyter-widgets/base",
1817
+ "model_module_version": "1.2.0",
1818
+ "model_name": "LayoutModel",
1819
+ "state": {
1820
+ "_model_module": "@jupyter-widgets/base",
1821
+ "_model_module_version": "1.2.0",
1822
+ "_model_name": "LayoutModel",
1823
+ "_view_count": null,
1824
+ "_view_module": "@jupyter-widgets/base",
1825
+ "_view_module_version": "1.2.0",
1826
+ "_view_name": "LayoutView",
1827
+ "align_content": null,
1828
+ "align_items": null,
1829
+ "align_self": null,
1830
+ "border": null,
1831
+ "bottom": null,
1832
+ "display": null,
1833
+ "flex": null,
1834
+ "flex_flow": null,
1835
+ "grid_area": null,
1836
+ "grid_auto_columns": null,
1837
+ "grid_auto_flow": null,
1838
+ "grid_auto_rows": null,
1839
+ "grid_column": null,
1840
+ "grid_gap": null,
1841
+ "grid_row": null,
1842
+ "grid_template_areas": null,
1843
+ "grid_template_columns": null,
1844
+ "grid_template_rows": null,
1845
+ "height": null,
1846
+ "justify_content": null,
1847
+ "justify_items": null,
1848
+ "left": null,
1849
+ "margin": null,
1850
+ "max_height": null,
1851
+ "max_width": null,
1852
+ "min_height": null,
1853
+ "min_width": null,
1854
+ "object_fit": null,
1855
+ "object_position": null,
1856
+ "order": null,
1857
+ "overflow": null,
1858
+ "overflow_x": null,
1859
+ "overflow_y": null,
1860
+ "padding": null,
1861
+ "right": null,
1862
+ "top": null,
1863
+ "visibility": null,
1864
+ "width": null
1865
+ }
1866
+ },
1867
+ "ca89cc19693245758407f73bcb17e6bf": {
1868
+ "model_module": "@jupyter-widgets/controls",
1869
+ "model_module_version": "1.5.0",
1870
+ "model_name": "HTMLModel",
1871
+ "state": {
1872
+ "_dom_classes": [],
1873
+ "_model_module": "@jupyter-widgets/controls",
1874
+ "_model_module_version": "1.5.0",
1875
+ "_model_name": "HTMLModel",
1876
+ "_view_count": null,
1877
+ "_view_module": "@jupyter-widgets/controls",
1878
+ "_view_module_version": "1.5.0",
1879
+ "_view_name": "HTMLView",
1880
+ "description": "",
1881
+ "description_tooltip": null,
1882
+ "layout": "IPY_MODEL_4eedff35b3484162aa55502afb6fff76",
1883
+ "placeholder": "​",
1884
+ "style": "IPY_MODEL_70deb9ee359b4c66b5bda8d5ab045ccc",
1885
+ "value": "Downloading: 100%"
1886
+ }
1887
+ },
1888
+ "cdeca46f826c47c0afd432695518c88d": {
1889
+ "model_module": "@jupyter-widgets/base",
1890
+ "model_module_version": "1.2.0",
1891
+ "model_name": "LayoutModel",
1892
+ "state": {
1893
+ "_model_module": "@jupyter-widgets/base",
1894
+ "_model_module_version": "1.2.0",
1895
+ "_model_name": "LayoutModel",
1896
+ "_view_count": null,
1897
+ "_view_module": "@jupyter-widgets/base",
1898
+ "_view_module_version": "1.2.0",
1899
+ "_view_name": "LayoutView",
1900
+ "align_content": null,
1901
+ "align_items": null,
1902
+ "align_self": null,
1903
+ "border": null,
1904
+ "bottom": null,
1905
+ "display": null,
1906
+ "flex": null,
1907
+ "flex_flow": null,
1908
+ "grid_area": null,
1909
+ "grid_auto_columns": null,
1910
+ "grid_auto_flow": null,
1911
+ "grid_auto_rows": null,
1912
+ "grid_column": null,
1913
+ "grid_gap": null,
1914
+ "grid_row": null,
1915
+ "grid_template_areas": null,
1916
+ "grid_template_columns": null,
1917
+ "grid_template_rows": null,
1918
+ "height": null,
1919
+ "justify_content": null,
1920
+ "justify_items": null,
1921
+ "left": null,
1922
+ "margin": null,
1923
+ "max_height": null,
1924
+ "max_width": null,
1925
+ "min_height": null,
1926
+ "min_width": null,
1927
+ "object_fit": null,
1928
+ "object_position": null,
1929
+ "order": null,
1930
+ "overflow": null,
1931
+ "overflow_x": null,
1932
+ "overflow_y": null,
1933
+ "padding": null,
1934
+ "right": null,
1935
+ "top": null,
1936
+ "visibility": null,
1937
+ "width": null
1938
+ }
1939
+ },
1940
+ "ce2ef08501544214b6575bb8b3539bb7": {
1941
+ "model_module": "@jupyter-widgets/controls",
1942
+ "model_module_version": "1.5.0",
1943
+ "model_name": "HBoxModel",
1944
+ "state": {
1945
+ "_dom_classes": [],
1946
+ "_model_module": "@jupyter-widgets/controls",
1947
+ "_model_module_version": "1.5.0",
1948
+ "_model_name": "HBoxModel",
1949
+ "_view_count": null,
1950
+ "_view_module": "@jupyter-widgets/controls",
1951
+ "_view_module_version": "1.5.0",
1952
+ "_view_name": "HBoxView",
1953
+ "box_style": "",
1954
+ "children": [
1955
+ "IPY_MODEL_7ab15056a33642ee936540ba139de6c3",
1956
+ "IPY_MODEL_d0b912dc473e447196768387b0eb40d5",
1957
+ "IPY_MODEL_5d6f839735924f5caf548265afa68bb3"
1958
+ ],
1959
+ "layout": "IPY_MODEL_998908abf1fe4e54b18b2d3029c89671"
1960
+ }
1961
+ },
1962
+ "ce2f1d9ad04e48b0b1274f09a02fd818": {
1963
+ "model_module": "@jupyter-widgets/controls",
1964
+ "model_module_version": "1.5.0",
1965
+ "model_name": "HTMLModel",
1966
+ "state": {
1967
+ "_dom_classes": [],
1968
+ "_model_module": "@jupyter-widgets/controls",
1969
+ "_model_module_version": "1.5.0",
1970
+ "_model_name": "HTMLModel",
1971
+ "_view_count": null,
1972
+ "_view_module": "@jupyter-widgets/controls",
1973
+ "_view_module_version": "1.5.0",
1974
+ "_view_name": "HTMLView",
1975
+ "description": "",
1976
+ "description_tooltip": null,
1977
+ "layout": "IPY_MODEL_ce53e3ac9df3436394c390344365703e",
1978
+ "placeholder": "​",
1979
+ "style": "IPY_MODEL_dd267e21d7394376a9e90fec45585d1c",
1980
+ "value": " 456k/456k [00:00&lt;00:00, 9.29kB/s]"
1981
+ }
1982
+ },
1983
+ "ce53e3ac9df3436394c390344365703e": {
1984
+ "model_module": "@jupyter-widgets/base",
1985
+ "model_module_version": "1.2.0",
1986
+ "model_name": "LayoutModel",
1987
+ "state": {
1988
+ "_model_module": "@jupyter-widgets/base",
1989
+ "_model_module_version": "1.2.0",
1990
+ "_model_name": "LayoutModel",
1991
+ "_view_count": null,
1992
+ "_view_module": "@jupyter-widgets/base",
1993
+ "_view_module_version": "1.2.0",
1994
+ "_view_name": "LayoutView",
1995
+ "align_content": null,
1996
+ "align_items": null,
1997
+ "align_self": null,
1998
+ "border": null,
1999
+ "bottom": null,
2000
+ "display": null,
2001
+ "flex": null,
2002
+ "flex_flow": null,
2003
+ "grid_area": null,
2004
+ "grid_auto_columns": null,
2005
+ "grid_auto_flow": null,
2006
+ "grid_auto_rows": null,
2007
+ "grid_column": null,
2008
+ "grid_gap": null,
2009
+ "grid_row": null,
2010
+ "grid_template_areas": null,
2011
+ "grid_template_columns": null,
2012
+ "grid_template_rows": null,
2013
+ "height": null,
2014
+ "justify_content": null,
2015
+ "justify_items": null,
2016
+ "left": null,
2017
+ "margin": null,
2018
+ "max_height": null,
2019
+ "max_width": null,
2020
+ "min_height": null,
2021
+ "min_width": null,
2022
+ "object_fit": null,
2023
+ "object_position": null,
2024
+ "order": null,
2025
+ "overflow": null,
2026
+ "overflow_x": null,
2027
+ "overflow_y": null,
2028
+ "padding": null,
2029
+ "right": null,
2030
+ "top": null,
2031
+ "visibility": null,
2032
+ "width": null
2033
+ }
2034
+ },
2035
+ "d0b912dc473e447196768387b0eb40d5": {
2036
+ "model_module": "@jupyter-widgets/controls",
2037
+ "model_module_version": "1.5.0",
2038
+ "model_name": "FloatProgressModel",
2039
+ "state": {
2040
+ "_dom_classes": [],
2041
+ "_model_module": "@jupyter-widgets/controls",
2042
+ "_model_module_version": "1.5.0",
2043
+ "_model_name": "FloatProgressModel",
2044
+ "_view_count": null,
2045
+ "_view_module": "@jupyter-widgets/controls",
2046
+ "_view_module_version": "1.5.0",
2047
+ "_view_name": "ProgressView",
2048
+ "bar_style": "success",
2049
+ "description": "",
2050
+ "description_tooltip": null,
2051
+ "layout": "IPY_MODEL_628463620d8047a29ffe3e6b2da2b7e4",
2052
+ "max": 571,
2053
+ "min": 0,
2054
+ "orientation": "horizontal",
2055
+ "style": "IPY_MODEL_66e9d6f92ecf49468b6e30edc93184f4",
2056
+ "value": 571
2057
+ }
2058
+ },
2059
+ "d20ada954dfe47d1a60313e224863d8a": {
2060
+ "model_module": "@jupyter-widgets/controls",
2061
+ "model_module_version": "1.5.0",
2062
+ "model_name": "FloatProgressModel",
2063
+ "state": {
2064
+ "_dom_classes": [],
2065
+ "_model_module": "@jupyter-widgets/controls",
2066
+ "_model_module_version": "1.5.0",
2067
+ "_model_name": "FloatProgressModel",
2068
+ "_view_count": null,
2069
+ "_view_module": "@jupyter-widgets/controls",
2070
+ "_view_module_version": "1.5.0",
2071
+ "_view_name": "ProgressView",
2072
+ "bar_style": "success",
2073
+ "description": "",
2074
+ "description_tooltip": null,
2075
+ "layout": "IPY_MODEL_0435c0e06ebd41d7af7d6a8dbfaf41d5",
2076
+ "max": 898822,
2077
+ "min": 0,
2078
+ "orientation": "horizontal",
2079
+ "style": "IPY_MODEL_49c791ac93c5475aa30eaedb78b79087",
2080
+ "value": 898822
2081
+ }
2082
+ },
2083
+ "dd267e21d7394376a9e90fec45585d1c": {
2084
+ "model_module": "@jupyter-widgets/controls",
2085
+ "model_module_version": "1.5.0",
2086
+ "model_name": "DescriptionStyleModel",
2087
+ "state": {
2088
+ "_model_module": "@jupyter-widgets/controls",
2089
+ "_model_module_version": "1.5.0",
2090
+ "_model_name": "DescriptionStyleModel",
2091
+ "_view_count": null,
2092
+ "_view_module": "@jupyter-widgets/base",
2093
+ "_view_module_version": "1.2.0",
2094
+ "_view_name": "StyleView",
2095
+ "description_width": ""
2096
+ }
2097
+ },
2098
+ "e0c281acda434dcba0e5c76e3520be24": {
2099
+ "model_module": "@jupyter-widgets/controls",
2100
+ "model_module_version": "1.5.0",
2101
+ "model_name": "ProgressStyleModel",
2102
+ "state": {
2103
+ "_model_module": "@jupyter-widgets/controls",
2104
+ "_model_module_version": "1.5.0",
2105
+ "_model_name": "ProgressStyleModel",
2106
+ "_view_count": null,
2107
+ "_view_module": "@jupyter-widgets/base",
2108
+ "_view_module_version": "1.2.0",
2109
+ "_view_name": "StyleView",
2110
+ "bar_color": null,
2111
+ "description_width": ""
2112
+ }
2113
+ },
2114
+ "e4aaebdf7559461bb2dcde03914be1e6": {
2115
+ "model_module": "@jupyter-widgets/base",
2116
+ "model_module_version": "1.2.0",
2117
+ "model_name": "LayoutModel",
2118
+ "state": {
2119
+ "_model_module": "@jupyter-widgets/base",
2120
+ "_model_module_version": "1.2.0",
2121
+ "_model_name": "LayoutModel",
2122
+ "_view_count": null,
2123
+ "_view_module": "@jupyter-widgets/base",
2124
+ "_view_module_version": "1.2.0",
2125
+ "_view_name": "LayoutView",
2126
+ "align_content": null,
2127
+ "align_items": null,
2128
+ "align_self": null,
2129
+ "border": null,
2130
+ "bottom": null,
2131
+ "display": null,
2132
+ "flex": null,
2133
+ "flex_flow": null,
2134
+ "grid_area": null,
2135
+ "grid_auto_columns": null,
2136
+ "grid_auto_flow": null,
2137
+ "grid_auto_rows": null,
2138
+ "grid_column": null,
2139
+ "grid_gap": null,
2140
+ "grid_row": null,
2141
+ "grid_template_areas": null,
2142
+ "grid_template_columns": null,
2143
+ "grid_template_rows": null,
2144
+ "height": null,
2145
+ "justify_content": null,
2146
+ "justify_items": null,
2147
+ "left": null,
2148
+ "margin": null,
2149
+ "max_height": null,
2150
+ "max_width": null,
2151
+ "min_height": null,
2152
+ "min_width": null,
2153
+ "object_fit": null,
2154
+ "object_position": null,
2155
+ "order": null,
2156
+ "overflow": null,
2157
+ "overflow_x": null,
2158
+ "overflow_y": null,
2159
+ "padding": null,
2160
+ "right": null,
2161
+ "top": null,
2162
+ "visibility": null,
2163
+ "width": null
2164
+ }
2165
+ },
2166
+ "e5ee0642b8ca471caf5d54612c60a094": {
2167
+ "model_module": "@jupyter-widgets/controls",
2168
+ "model_module_version": "1.5.0",
2169
+ "model_name": "HBoxModel",
2170
+ "state": {
2171
+ "_dom_classes": [],
2172
+ "_model_module": "@jupyter-widgets/controls",
2173
+ "_model_module_version": "1.5.0",
2174
+ "_model_name": "HBoxModel",
2175
+ "_view_count": null,
2176
+ "_view_module": "@jupyter-widgets/controls",
2177
+ "_view_module_version": "1.5.0",
2178
+ "_view_name": "HBoxView",
2179
+ "box_style": "",
2180
+ "children": [
2181
+ "IPY_MODEL_c868e015e9044d7fa5f37d12e84d2b4a",
2182
+ "IPY_MODEL_3c9e08c8687a48febfe1b62a19f39bf5",
2183
+ "IPY_MODEL_ac5efc5ee6c6479ea7f0c4d386377c7c"
2184
+ ],
2185
+ "layout": "IPY_MODEL_e851fe751ef0460295ffba48a5530fb0"
2186
+ }
2187
+ },
2188
+ "e6bfde37270840a691dc5d7d26e9a0bd": {
2189
+ "model_module": "@jupyter-widgets/controls",
2190
+ "model_module_version": "1.5.0",
2191
+ "model_name": "FloatProgressModel",
2192
+ "state": {
2193
+ "_dom_classes": [],
2194
+ "_model_module": "@jupyter-widgets/controls",
2195
+ "_model_module_version": "1.5.0",
2196
+ "_model_name": "FloatProgressModel",
2197
+ "_view_count": null,
2198
+ "_view_module": "@jupyter-widgets/controls",
2199
+ "_view_module_version": "1.5.0",
2200
+ "_view_name": "ProgressView",
2201
+ "bar_style": "success",
2202
+ "description": "",
2203
+ "description_tooltip": null,
2204
+ "layout": "IPY_MODEL_e4aaebdf7559461bb2dcde03914be1e6",
2205
+ "max": 79,
2206
+ "min": 0,
2207
+ "orientation": "horizontal",
2208
+ "style": "IPY_MODEL_2fc85bd32a4f4c1a815b0c950a425139",
2209
+ "value": 79
2210
+ }
2211
+ },
2212
+ "e851fe751ef0460295ffba48a5530fb0": {
2213
+ "model_module": "@jupyter-widgets/base",
2214
+ "model_module_version": "1.2.0",
2215
+ "model_name": "LayoutModel",
2216
+ "state": {
2217
+ "_model_module": "@jupyter-widgets/base",
2218
+ "_model_module_version": "1.2.0",
2219
+ "_model_name": "LayoutModel",
2220
+ "_view_count": null,
2221
+ "_view_module": "@jupyter-widgets/base",
2222
+ "_view_module_version": "1.2.0",
2223
+ "_view_name": "LayoutView",
2224
+ "align_content": null,
2225
+ "align_items": null,
2226
+ "align_self": null,
2227
+ "border": null,
2228
+ "bottom": null,
2229
+ "display": null,
2230
+ "flex": null,
2231
+ "flex_flow": null,
2232
+ "grid_area": null,
2233
+ "grid_auto_columns": null,
2234
+ "grid_auto_flow": null,
2235
+ "grid_auto_rows": null,
2236
+ "grid_column": null,
2237
+ "grid_gap": null,
2238
+ "grid_row": null,
2239
+ "grid_template_areas": null,
2240
+ "grid_template_columns": null,
2241
+ "grid_template_rows": null,
2242
+ "height": null,
2243
+ "justify_content": null,
2244
+ "justify_items": null,
2245
+ "left": null,
2246
+ "margin": null,
2247
+ "max_height": null,
2248
+ "max_width": null,
2249
+ "min_height": null,
2250
+ "min_width": null,
2251
+ "object_fit": null,
2252
+ "object_position": null,
2253
+ "order": null,
2254
+ "overflow": null,
2255
+ "overflow_x": null,
2256
+ "overflow_y": null,
2257
+ "padding": null,
2258
+ "right": null,
2259
+ "top": null,
2260
+ "visibility": null,
2261
+ "width": null
2262
+ }
2263
+ },
2264
+ "e8fc4c435bab435bbc35fb5ab82583da": {
2265
+ "model_module": "@jupyter-widgets/controls",
2266
+ "model_module_version": "1.5.0",
2267
+ "model_name": "HBoxModel",
2268
+ "state": {
2269
+ "_dom_classes": [],
2270
+ "_model_module": "@jupyter-widgets/controls",
2271
+ "_model_module_version": "1.5.0",
2272
+ "_model_name": "HBoxModel",
2273
+ "_view_count": null,
2274
+ "_view_module": "@jupyter-widgets/controls",
2275
+ "_view_module_version": "1.5.0",
2276
+ "_view_name": "HBoxView",
2277
+ "box_style": "",
2278
+ "children": [
2279
+ "IPY_MODEL_34a0159763bc439b9f6a8acf283a078c",
2280
+ "IPY_MODEL_e6bfde37270840a691dc5d7d26e9a0bd",
2281
+ "IPY_MODEL_4412e352d17a46aea2bd613c05c64deb"
2282
+ ],
2283
+ "layout": "IPY_MODEL_5017133388af4033a9fe0ab649087d39"
2284
+ }
2285
+ },
2286
+ "ed3a2ae417d34e848393ceff1a1c6dda": {
2287
+ "model_module": "@jupyter-widgets/base",
2288
+ "model_module_version": "1.2.0",
2289
+ "model_name": "LayoutModel",
2290
+ "state": {
2291
+ "_model_module": "@jupyter-widgets/base",
2292
+ "_model_module_version": "1.2.0",
2293
+ "_model_name": "LayoutModel",
2294
+ "_view_count": null,
2295
+ "_view_module": "@jupyter-widgets/base",
2296
+ "_view_module_version": "1.2.0",
2297
+ "_view_name": "LayoutView",
2298
+ "align_content": null,
2299
+ "align_items": null,
2300
+ "align_self": null,
2301
+ "border": null,
2302
+ "bottom": null,
2303
+ "display": null,
2304
+ "flex": null,
2305
+ "flex_flow": null,
2306
+ "grid_area": null,
2307
+ "grid_auto_columns": null,
2308
+ "grid_auto_flow": null,
2309
+ "grid_auto_rows": null,
2310
+ "grid_column": null,
2311
+ "grid_gap": null,
2312
+ "grid_row": null,
2313
+ "grid_template_areas": null,
2314
+ "grid_template_columns": null,
2315
+ "grid_template_rows": null,
2316
+ "height": null,
2317
+ "justify_content": null,
2318
+ "justify_items": null,
2319
+ "left": null,
2320
+ "margin": null,
2321
+ "max_height": null,
2322
+ "max_width": null,
2323
+ "min_height": null,
2324
+ "min_width": null,
2325
+ "object_fit": null,
2326
+ "object_position": null,
2327
+ "order": null,
2328
+ "overflow": null,
2329
+ "overflow_x": null,
2330
+ "overflow_y": null,
2331
+ "padding": null,
2332
+ "right": null,
2333
+ "top": null,
2334
+ "visibility": null,
2335
+ "width": null
2336
+ }
2337
+ },
2338
+ "f67bdd880f4b4500b2a7473b1b3909af": {
2339
+ "model_module": "@jupyter-widgets/controls",
2340
+ "model_module_version": "1.5.0",
2341
+ "model_name": "DescriptionStyleModel",
2342
+ "state": {
2343
+ "_model_module": "@jupyter-widgets/controls",
2344
+ "_model_module_version": "1.5.0",
2345
+ "_model_name": "DescriptionStyleModel",
2346
+ "_view_count": null,
2347
+ "_view_module": "@jupyter-widgets/base",
2348
+ "_view_module_version": "1.2.0",
2349
+ "_view_name": "StyleView",
2350
+ "description_width": ""
2351
+ }
2352
+ },
2353
+ "f702af98c35b44348c7944139ca93013": {
2354
+ "model_module": "@jupyter-widgets/controls",
2355
+ "model_module_version": "1.5.0",
2356
+ "model_name": "DescriptionStyleModel",
2357
+ "state": {
2358
+ "_model_module": "@jupyter-widgets/controls",
2359
+ "_model_module_version": "1.5.0",
2360
+ "_model_name": "DescriptionStyleModel",
2361
+ "_view_count": null,
2362
+ "_view_module": "@jupyter-widgets/base",
2363
+ "_view_module_version": "1.2.0",
2364
+ "_view_name": "StyleView",
2365
+ "description_width": ""
2366
+ }
2367
+ },
2368
+ "fa9e0e07bfaf44cf90bbf2bcbfa4c8b7": {
2369
+ "model_module": "@jupyter-widgets/controls",
2370
+ "model_module_version": "1.5.0",
2371
+ "model_name": "DescriptionStyleModel",
2372
+ "state": {
2373
+ "_model_module": "@jupyter-widgets/controls",
2374
+ "_model_module_version": "1.5.0",
2375
+ "_model_name": "DescriptionStyleModel",
2376
+ "_view_count": null,
2377
+ "_view_module": "@jupyter-widgets/base",
2378
+ "_view_module_version": "1.2.0",
2379
+ "_view_name": "StyleView",
2380
+ "description_width": ""
2381
+ }
2382
+ },
2383
+ "faab2b55f5724e5785c260109d1f8483": {
2384
+ "model_module": "@jupyter-widgets/base",
2385
+ "model_module_version": "1.2.0",
2386
+ "model_name": "LayoutModel",
2387
+ "state": {
2388
+ "_model_module": "@jupyter-widgets/base",
2389
+ "_model_module_version": "1.2.0",
2390
+ "_model_name": "LayoutModel",
2391
+ "_view_count": null,
2392
+ "_view_module": "@jupyter-widgets/base",
2393
+ "_view_module_version": "1.2.0",
2394
+ "_view_name": "LayoutView",
2395
+ "align_content": null,
2396
+ "align_items": null,
2397
+ "align_self": null,
2398
+ "border": null,
2399
+ "bottom": null,
2400
+ "display": null,
2401
+ "flex": null,
2402
+ "flex_flow": null,
2403
+ "grid_area": null,
2404
+ "grid_auto_columns": null,
2405
+ "grid_auto_flow": null,
2406
+ "grid_auto_rows": null,
2407
+ "grid_column": null,
2408
+ "grid_gap": null,
2409
+ "grid_row": null,
2410
+ "grid_template_areas": null,
2411
+ "grid_template_columns": null,
2412
+ "grid_template_rows": null,
2413
+ "height": null,
2414
+ "justify_content": null,
2415
+ "justify_items": null,
2416
+ "left": null,
2417
+ "margin": null,
2418
+ "max_height": null,
2419
+ "max_width": null,
2420
+ "min_height": null,
2421
+ "min_width": null,
2422
+ "object_fit": null,
2423
+ "object_position": null,
2424
+ "order": null,
2425
+ "overflow": null,
2426
+ "overflow_x": null,
2427
+ "overflow_y": null,
2428
+ "padding": null,
2429
+ "right": null,
2430
+ "top": null,
2431
+ "visibility": null,
2432
+ "width": null
2433
+ }
2434
+ }
2435
+ }
2436
+ }
2437
+ },
2438
+ "nbformat": 4,
2439
+ "nbformat_minor": 0
2440
+ }
app.py ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+ import os
3
+
4
+
5
+ # st.title('Ask Me Anything πŸ“š')
6
+ st.markdown("<h1 style='text-align: center; color: white;'>Ask Me Anything πŸŽ“</h1>", unsafe_allow_html=True)
7
+ st.markdown('')
8
+ st.markdown('')
9
+
10
+ st.session_state['new']=True
11
+ # if st.session_state.new==True:
12
+ # os.system('!pip install torch==1.10.2+cu113 torchvision==0.11.3+cu113 torchaudio===0.10.2+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html')
13
+ # os.system('!pip install transformers')
14
+ # st.session_state.new=False
15
+
16
+ from transformers import AutoModelForQuestionAnswering, AutoTokenizer, pipeline
17
+
18
+
19
+ # creating the q/a pipeline
20
+ nlp = pipeline('question-answering', model='deepset/roberta-base-squad2', tokenizer='deepset/roberta-base-squad2')
21
+
22
+ text = st.text_area('Gimme Stuff To Study πŸ“š')
23
+
24
+ st.markdown('---')
25
+ ques=st.text_input('Ask Me Anything From The Information You Have Given')
26
+
27
+ #forming a question directory
28
+ ques_dict = {
29
+ 'question':ques,
30
+ 'context':text
31
+ }
32
+
33
+ butt = st.button('Ask 🀷🏻')
34
+
35
+ if butt==True:
36
+ results = nlp(ques_dict)
37
+ st.markdown('---')
38
+ st.subheader('Here Is Your Answer')
39
+ st.success(results['answer'])
40
+ st.balloons()
41
+
requirements.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ streamlit==1.13.0
2
+ transformers==4.22.2
3
+ torch==1.10.2+cu113 torchvision==0.11.3+cu113 torchaudio===0.10.2+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html