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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "code",
5
+ "execution_count": null,
6
+ "metadata": {
7
+ "id": "DcVroPzJGSmF"
8
+ },
9
+ "outputs": [],
10
+ "source": [
11
+ "# Capture to supress the download ouput\n",
12
+ "%%capture\n",
13
+ "!pip install gradio\n",
14
+ "!pip install pandas\n",
15
+ "!pip install transformers\n",
16
+ "!pip install parsezeeklogs\n",
17
+ "!pip install elasticsearch"
18
+ ]
19
+ },
20
+ {
21
+ "cell_type": "code",
22
+ "execution_count": null,
23
+ "metadata": {
24
+ "id": "QAuyiuBVD6W0",
25
+ "colab": {
26
+ "base_uri": "https://localhost:8080/",
27
+ "height": 209,
28
+ "referenced_widgets": [
29
+ "8ce4b836aa3e477e8b7ef619e2aad379",
30
+ "9fc195cbc0ab44d3b2caef4e9d5cd7e4",
31
+ "208371dac7324ae6a5ff5c0e104f07d4",
32
+ "7c429465b13a49c58e15ea1f9be2dd3f",
33
+ "0d28fd5f117e4eccb84cc72f6b5dbdaf",
34
+ "fc24eb54482d403ca28752084cba1b92",
35
+ "7cea43e313334f0c9d78f8a513b64e33",
36
+ "3607a93ac1614594bd49127f694f0fa9",
37
+ "dc564fefb36749a68877e219db9c9b9c",
38
+ "1e7e950717df4ad29905fdcd8942f244",
39
+ "59f3a39b2c094ff19b9b81f0ec082733",
40
+ "cf61686e52ac4b8187df2a7ea98dbaae",
41
+ "4d8339f273de436ba2955aff0bedc873",
42
+ "6e1b9450575142c7bbdbfbadd79a6008",
43
+ "b72fd88c4d3448bea2bfb98e75c462fe",
44
+ "760492bec49949799cae059957b8807c",
45
+ "491e99c4d6194f9fa500d3b6a3a70ff4",
46
+ "4855ed1a689f4f08848a595cc63026aa",
47
+ "62f133d6cf944a8cbb7de0277ec8655f",
48
+ "776fe42efbb14fdcbf89f40c92b45230",
49
+ "7756b5dbf53b478f98f19bf24bc29a97",
50
+ "257d1b39f41f4f46a83d90f7ca1e72cf",
51
+ "5a7eac88e76f49edad4140b35fc0c03a",
52
+ "981b74de825c45e88b81ea2105ee64f5",
53
+ "92a9c39b562b4ac79e83e0ada53ee123",
54
+ "f18f14b562fe4d3ba0d69f5a0297b788",
55
+ "f63a3dc5a90b4bb591c95f350efe563f",
56
+ "5498fedebecf4b42a9316c212bae4684",
57
+ "f40ed5e9373644228f65ceb44cb28c76",
58
+ "22ed475f9bdb4ecd866ea2e35224c541",
59
+ "15a2f206e98b4f8593b47124cbd56b69",
60
+ "acc7c8deb1184c48a2b48e08554eca44",
61
+ "644c02cdf7f74d16b0a8830e27fd7577",
62
+ "0e214948af5043aab1b559f261d10013",
63
+ "ba3072d9129740948a06f2f4eb429806",
64
+ "4372f6a06f7147dd8a9d60143960421d",
65
+ "11171c48c15b4b40ad26b7190b3a7243",
66
+ "ea111b9e906044ed89683bc0f717dfa5",
67
+ "611afee6ff4a4c93bdd132617e03f337",
68
+ "5e760399683a45729bc7890e739f06b1",
69
+ "a6533cd00a90435ca33627daee3cd7a7",
70
+ "7cca1b7ba2d24cc59c358ae566b85fea",
71
+ "b38af74875b245a6b3dec5ec735cfbd1",
72
+ "fcbf9c420867408cb10f9b66df7e971b",
73
+ "883362b7c2824133af0a309d7adb8634",
74
+ "c81c7a188b2846fc86d3193fe46c2e5c",
75
+ "148a29a036734ae6b785c845460ed2f1",
76
+ "1ac807d4690040f98624d94057fd9b86",
77
+ "e1c9095e8bea4049868db47aa07e13a4",
78
+ "9221503b241444ed880531377c869643",
79
+ "68482da651824c8cae38d329cbf84d01",
80
+ "f7aaf3b5ebe54c7ab586aa927c716aac",
81
+ "0c1a5c251083445f851e2bdd6be10bee",
82
+ "a6a74beac434477e9a28faf0d805c3da",
83
+ "5262f69cbd47414bbb11ad127b3baf6e",
84
+ "79f5f4671c1c445ebce566880c00cc2f",
85
+ "f697a4925a7f4f9db55bb9d037a358ee",
86
+ "0bf0f0871e2446f39a1fb44da0f4b6a8",
87
+ "35ad3c303c6c4fa19fccdbf145da1a14",
88
+ "29658529d63c4311ba13c68b3e99b76c",
89
+ "18536baa9e254eeb892060a56f3518ea",
90
+ "b770889f875746e99f791c75a785da65",
91
+ "ac1d1802ba02481f9645a894818f7ff3",
92
+ "9e9b170cd9444221b07ef1995de7bb51",
93
+ "257cd80aa7f44f9192ca7144714f07c7",
94
+ "2d7f11edb838484d9b102a799d1c2fc5"
95
+ ]
96
+ },
97
+ "outputId": "e2ee3c95-5d52-4835-9567-a537f40cf0d2"
98
+ },
99
+ "outputs": [
100
+ {
101
+ "output_type": "display_data",
102
+ "data": {
103
+ "text/plain": [
104
+ "tokenizer_config.json: 0%| | 0.00/29.0 [00:00<?, ?B/s]"
105
+ ],
106
+ "application/vnd.jupyter.widget-view+json": {
107
+ "version_major": 2,
108
+ "version_minor": 0,
109
+ "model_id": "8ce4b836aa3e477e8b7ef619e2aad379"
110
+ }
111
+ },
112
+ "metadata": {}
113
+ },
114
+ {
115
+ "output_type": "display_data",
116
+ "data": {
117
+ "text/plain": [
118
+ "vocab.txt: 0%| | 0.00/213k [00:00<?, ?B/s]"
119
+ ],
120
+ "application/vnd.jupyter.widget-view+json": {
121
+ "version_major": 2,
122
+ "version_minor": 0,
123
+ "model_id": "cf61686e52ac4b8187df2a7ea98dbaae"
124
+ }
125
+ },
126
+ "metadata": {}
127
+ },
128
+ {
129
+ "output_type": "display_data",
130
+ "data": {
131
+ "text/plain": [
132
+ "tokenizer.json: 0%| | 0.00/436k [00:00<?, ?B/s]"
133
+ ],
134
+ "application/vnd.jupyter.widget-view+json": {
135
+ "version_major": 2,
136
+ "version_minor": 0,
137
+ "model_id": "5a7eac88e76f49edad4140b35fc0c03a"
138
+ }
139
+ },
140
+ "metadata": {}
141
+ },
142
+ {
143
+ "output_type": "display_data",
144
+ "data": {
145
+ "text/plain": [
146
+ "config.json: 0%| | 0.00/570 [00:00<?, ?B/s]"
147
+ ],
148
+ "application/vnd.jupyter.widget-view+json": {
149
+ "version_major": 2,
150
+ "version_minor": 0,
151
+ "model_id": "0e214948af5043aab1b559f261d10013"
152
+ }
153
+ },
154
+ "metadata": {}
155
+ },
156
+ {
157
+ "output_type": "display_data",
158
+ "data": {
159
+ "text/plain": [
160
+ "config.json: 0%| | 0.00/717 [00:00<?, ?B/s]"
161
+ ],
162
+ "application/vnd.jupyter.widget-view+json": {
163
+ "version_major": 2,
164
+ "version_minor": 0,
165
+ "model_id": "883362b7c2824133af0a309d7adb8634"
166
+ }
167
+ },
168
+ "metadata": {}
169
+ },
170
+ {
171
+ "output_type": "display_data",
172
+ "data": {
173
+ "text/plain": [
174
+ "pytorch_model.bin: 0%| | 0.00/438M [00:00<?, ?B/s]"
175
+ ],
176
+ "application/vnd.jupyter.widget-view+json": {
177
+ "version_major": 2,
178
+ "version_minor": 0,
179
+ "model_id": "79f5f4671c1c445ebce566880c00cc2f"
180
+ }
181
+ },
182
+ "metadata": {}
183
+ }
184
+ ],
185
+ "source": [
186
+ "# Define imports for model use\n",
187
+ "import torch\n",
188
+ "from transformers import pipeline\n",
189
+ "from parsezeeklogs import ParseZeekLogs\n",
190
+ "from transformers import BertTokenizer\n",
191
+ "import gradio as gr\n",
192
+ "import pandas as pd\n",
193
+ "\n",
194
+ "# Define model\n",
195
+ "pipe = pipeline(model=\"yashika0998/IoT-23-BERT-Network-Logs-Classification\", tokenizer=BertTokenizer.from_pretrained(\"bert-base-cased\"))"
196
+ ]
197
+ },
198
+ {
199
+ "cell_type": "code",
200
+ "execution_count": null,
201
+ "metadata": {
202
+ "id": "bSHZQ2C3MURT"
203
+ },
204
+ "outputs": [],
205
+ "source": [
206
+ "# Define string constants\n",
207
+ "LOG = \"conn.log Output\"\n",
208
+ "HEADER_TABLE = \"Headers Table\"\n",
209
+ "SENTENCES = \"Sentences\"\n",
210
+ "OUT = \"out\"\n",
211
+ "INPUT_TYPES = [LOG, HEADER_TABLE, SENTENCES]\n",
212
+ "STEPS = [HEADER_TABLE, SENTENCES]\n",
213
+ "HEADERS=['id.resp_p', 'proto', 'conn_state', 'orig_pkts', 'orig_ip_bytes', 'resp_ip_bytes']"
214
+ ]
215
+ },
216
+ {
217
+ "cell_type": "code",
218
+ "execution_count": null,
219
+ "metadata": {
220
+ "id": "A8tRc3JlIeVF"
221
+ },
222
+ "outputs": [],
223
+ "source": [
224
+ "# Define sentence-ization functions\n",
225
+ "# Dictionary of feature names to use in the make sentence function\n",
226
+ "feature_names = {'id.resp_p':'response port',\n",
227
+ " 'proto':'transport protocol',\n",
228
+ " 'orig_pkts':'number of packets sent by the origin',\n",
229
+ " 'conn_state':'connection state',\n",
230
+ " 'orig_ip_bytes':'number of IP level bytes sent by the originator',\n",
231
+ " 'resp_ip_bytes':'number of IP level bytes sent by the responder'}\n",
232
+ "\n",
233
+ "# Function to make sentences out of the data\n",
234
+ "def make_sentence(row):\n",
235
+ " sentences = {}\n",
236
+ " for feature in row.keys():\n",
237
+ " if feature == 'label' or feature == \"#\":\n",
238
+ " sentences[feature] = row[feature]\n",
239
+ " else:\n",
240
+ " sentences[feature] = feature_names[feature] + \" is \" + str(row[feature]) + \".\"\n",
241
+ " return sentences\n",
242
+ "\n",
243
+ "# Take all sentence observations and make them into paragraph inputs\n",
244
+ "def make_paragraphs(ser):\n",
245
+ " paragraphs_list = []\n",
246
+ " for index,obs in ser.items():\n",
247
+ " new_para = obs['id.resp_p'] + \" \" + obs['proto'] + \" \" + obs['conn_state'] + \" \" + obs['orig_pkts'] + \" \" + obs['orig_ip_bytes'] + \" \" + obs['resp_ip_bytes']\n",
248
+ " paragraphs_list.append(new_para)\n",
249
+ " return pd.Series(paragraphs_list, name=\"Sentences\", index=ser.index).to_frame()"
250
+ ]
251
+ },
252
+ {
253
+ "cell_type": "code",
254
+ "execution_count": null,
255
+ "metadata": {
256
+ "id": "AkqQD0b4SqNG"
257
+ },
258
+ "outputs": [],
259
+ "source": [
260
+ "# Define prediction Functions For Different Settings\n",
261
+ "def predictFromSentences(sentenceTable):\n",
262
+ " output = pipe(sentenceTable[SENTENCES].tolist()) # This does the prediction!\n",
263
+ " return { OUT: pd.DataFrame({\"Output\": [\"Malicious\" if pred['label'] == \"LABEL_0\" else \"Benign\" for pred in output] }) }\n",
264
+ "\n",
265
+ "def predictFromHeaderTable(headerTable):\n",
266
+ " sentences = headerTable.apply(make_sentence, axis=1);\n",
267
+ " paragraphs = make_paragraphs(sentences)\n",
268
+ " return {\n",
269
+ " SENTENCES: paragraphs,\n",
270
+ " OUT: predictFromSentences(paragraphs)[OUT]\n",
271
+ " }\n",
272
+ "\n",
273
+ "def predictFromFileUpload(fileUpload):\n",
274
+ " if(fileUpload is None):\n",
275
+ " raise gr.Error(\"No file uploaded\")\n",
276
+ " fileType = fileUpload.split('.')[-1]\n",
277
+ " if(fileType == 'csv'):\n",
278
+ " dataFrame = pd.read_csv(fileUpload, usecols=HEADERS)\n",
279
+ " elif(fileType == 'log' or fileType == 'labeled'):\n",
280
+ " with open('out.csv',\"w\") as outfile:\n",
281
+ " for log_record in ParseZeekLogs(fileUpload, output_format=\"csv\", safe_headers=False, fields=HEADERS):\n",
282
+ " if log_record is not None:\n",
283
+ " outfile.write(log_record + \"\\n\")\n",
284
+ " dataFrame = pd.read_csv('out.csv', names=HEADERS)\n",
285
+ " result = predictFromHeaderTable(dataFrame)\n",
286
+ " toReturn = {\n",
287
+ " HEADER_TABLE: dataFrame,\n",
288
+ " SENTENCES: result[SENTENCES],\n",
289
+ " OUT: result[OUT]\n",
290
+ " }\n",
291
+ " return toReturn"
292
+ ]
293
+ },
294
+ {
295
+ "cell_type": "code",
296
+ "source": [
297
+ "def makeIndexColumn(allInputs):\n",
298
+ " def _makeIndexColumnFor(column):\n",
299
+ " theseHeaders = allInputs[column].columns\n",
300
+ " newHeaders = ['#', *theseHeaders]\n",
301
+ " allInputs[column]['#'] = allInputs[column].index\n",
302
+ " allInputs[column] = allInputs[column][newHeaders]\n",
303
+ "\n",
304
+ " if(SENTENCES in allInputs):\n",
305
+ " _makeIndexColumnFor(SENTENCES)\n",
306
+ " if(HEADER_TABLE in allInputs):\n",
307
+ " _makeIndexColumnFor(HEADER_TABLE)\n",
308
+ " if(OUT in allInputs):\n",
309
+ " _makeIndexColumnFor(OUT)\n",
310
+ " return allInputs\n",
311
+ "\n",
312
+ "def predict(inputType, fileUpload, headerTable, sentenceTable, out):\n",
313
+ " output = {};\n",
314
+ " if(inputType == LOG):\n",
315
+ " # Process File Upload\n",
316
+ " output = makeIndexColumn(predictFromFileUpload(fileUpload))\n",
317
+ " return [output[HEADER_TABLE], output[SENTENCES], output[OUT]]\n",
318
+ " elif(inputType == HEADER_TABLE):\n",
319
+ " # Process Header Table\n",
320
+ " output = makeIndexColumn(predictFromHeaderTable(headerTable))\n",
321
+ " return [headerTable, output[SENTENCES], output[OUT]]\n",
322
+ " elif(inputType == SENTENCES):\n",
323
+ " # Process From Sentences\n",
324
+ " output = makeIndexColumn(predictFromSentences(sentenceTable))\n",
325
+ " return [headerTable, sentenceTable, output[OUT]]\n",
326
+ "\n",
327
+ "# Update UI\n",
328
+ "def updateInputOutputBlocks(inputType, steps):\n",
329
+ " # Update visibility and Interactivity of Gradio Blocks based on Settings\n",
330
+ " fileUpload = gr.File(\n",
331
+ " visible=(True if inputType == LOG else False),\n",
332
+ " interactive=(1 if inputType == LOG else 0)\n",
333
+ " )\n",
334
+ " headerTable = gr.Dataframe(\n",
335
+ " visible=(True if (inputType == HEADER_TABLE or HEADER_TABLE in steps) else False),\n",
336
+ " interactive=(1 if inputType == HEADER_TABLE else 0)\n",
337
+ " )\n",
338
+ " sentenceTable = gr.Dataframe(\n",
339
+ " interactive=(1 if inputType == SENTENCES else 0),\n",
340
+ " visible=(True if (inputType == SENTENCES or SENTENCES in steps) else False)\n",
341
+ " )\n",
342
+ " return fileUpload, headerTable, sentenceTable"
343
+ ],
344
+ "metadata": {
345
+ "id": "kHzuc3_sbTLa"
346
+ },
347
+ "execution_count": null,
348
+ "outputs": []
349
+ },
350
+ {
351
+ "cell_type": "code",
352
+ "execution_count": null,
353
+ "metadata": {
354
+ "colab": {
355
+ "base_uri": "https://localhost:8080/",
356
+ "height": 643
357
+ },
358
+ "id": "KFoJQQScGYjh",
359
+ "outputId": "c7160221-6116-478e-b4ee-b1e5fad514c8"
360
+ },
361
+ "outputs": [
362
+ {
363
+ "output_type": "stream",
364
+ "name": "stdout",
365
+ "text": [
366
+ "Setting queue=True in a Colab notebook requires sharing enabled. Setting `share=True` (you can turn this off by setting `share=False` in `launch()` explicitly).\n",
367
+ "\n",
368
+ "Colab notebook detected. To show errors in colab notebook, set debug=True in launch()\n",
369
+ "Running on public URL: https://275d064dabebea6639.gradio.live\n",
370
+ "\n",
371
+ "This share link expires in 72 hours. For free permanent hosting and GPU upgrades, run `gradio deploy` from Terminal to deploy to Spaces (https://huggingface.co/spaces)\n"
372
+ ]
373
+ },
374
+ {
375
+ "output_type": "display_data",
376
+ "data": {
377
+ "text/plain": [
378
+ "<IPython.core.display.HTML object>"
379
+ ],
380
+ "text/html": [
381
+ "<div><iframe src=\"https://275d064dabebea6639.gradio.live\" width=\"100%\" height=\"500\" allow=\"autoplay; camera; microphone; clipboard-read; clipboard-write;\" frameborder=\"0\" allowfullscreen></iframe></div>"
382
+ ]
383
+ },
384
+ "metadata": {}
385
+ },
386
+ {
387
+ "output_type": "execute_result",
388
+ "data": {
389
+ "text/plain": []
390
+ },
391
+ "metadata": {},
392
+ "execution_count": 7
393
+ }
394
+ ],
395
+ "source": [
396
+ "# Create Gradio UI\n",
397
+ "with gr.Blocks() as app:\n",
398
+ " gr.Markdown(\"\"\"\n",
399
+ " # Network Log Predictions\n",
400
+ " Input log information below and click 'Run' to get predictions from our model!\n",
401
+ " Access the settings at the bottom for different types of input and to see inbetween steps.\n",
402
+ " \"\"\")\n",
403
+ " # Inputs / Outputs\n",
404
+ " fileUpload = gr.File(file_types=[\".log\", \".log.labeled\", \".csv\"], label=\"Zeek Log File\", visible=False, file_count='single')\n",
405
+ " headerTable = gr.Dataframe(row_count = (2, \"dynamic\"), col_count=(7,\"fixed\"), headers=['#', *HEADERS], label=\"Header Inputs\", interactive=1)\n",
406
+ " sentenceTable = gr.Dataframe(row_count = (2, \"dynamic\"), col_count=(2, \"fixed\"), headers=[\"#\", \"Sentence\"], label=\"Sentences\", interactive=0, visible=False)\n",
407
+ " out = gr.Dataframe(row_count = (2, \"dynamic\"), col_count=(2, \"fixed\"), headers=['#', \"Output\"], label=\"Predictions\", column_widths=[\"60px\", \"100%\"])\n",
408
+ " btn = gr.Button(\"Run\")\n",
409
+ "\n",
410
+ " # Settings\n",
411
+ " with gr.Accordion(\"Settings\", open=False):\n",
412
+ " inputType = gr.Radio(INPUT_TYPES, value=\"Headers Table\", label=\"Input\")\n",
413
+ " steps = gr.CheckboxGroup(STEPS, label=\"Display Intermediary Steps\")\n",
414
+ " inputType.change(\n",
415
+ " fn=updateInputOutputBlocks,\n",
416
+ " inputs=[inputType, steps],\n",
417
+ " outputs=[fileUpload, headerTable, sentenceTable]\n",
418
+ " )\n",
419
+ " steps.change(\n",
420
+ " fn=updateInputOutputBlocks,\n",
421
+ " inputs=[inputType, steps],\n",
422
+ " outputs=[fileUpload, headerTable, sentenceTable]\n",
423
+ " )\n",
424
+ " # Assign Callback\n",
425
+ " btn.click(\n",
426
+ " fn=predict,\n",
427
+ " inputs=[inputType, fileUpload, headerTable, sentenceTable, out],\n",
428
+ " outputs=[headerTable, sentenceTable, out]\n",
429
+ " )\n",
430
+ "\n",
431
+ " # Add tokenization and prediction functions\n",
432
+ " #btn.click(fn=get_predictions, inputs=tokenize_inputs(sentence_input), outputs=out)\n",
433
+ "\n",
434
+ "\n",
435
+ "app.launch()"
436
+ ]
437
+ },
438
+ {
439
+ "cell_type": "markdown",
440
+ "source": [
441
+ "### Export the model in ONNX format\n"
442
+ ],
443
+ "metadata": {
444
+ "id": "j-rm_JVGJyNa"
445
+ }
446
+ },
447
+ {
448
+ "cell_type": "code",
449
+ "source": [
450
+ "!pip install transformers[onnx]\n",
451
+ "!pip install optimum\n",
452
+ "!pip install onnxruntime"
453
+ ],
454
+ "metadata": {
455
+ "id": "7B2dgJ3QJw4Q"
456
+ },
457
+ "execution_count": null,
458
+ "outputs": []
459
+ },
460
+ {
461
+ "cell_type": "code",
462
+ "source": [
463
+ "import torch"
464
+ ],
465
+ "metadata": {
466
+ "id": "KWYKCewEaFTj"
467
+ },
468
+ "execution_count": null,
469
+ "outputs": []
470
+ },
471
+ {
472
+ "cell_type": "code",
473
+ "source": [
474
+ "from transformers import AutoModelForSequenceClassification\n",
475
+ "from transformers import BertTokenizer\n",
476
+ "tokenizer = BertTokenizer.from_pretrained(\"bert-base-cased\")\n",
477
+ "\n",
478
+ "model = AutoModelForSequenceClassification.from_pretrained(\"19kmunz/IoT-23-BERT-Network-Logs-Classification\")"
479
+ ],
480
+ "metadata": {
481
+ "id": "CGRovdz3Vtm-"
482
+ },
483
+ "execution_count": null,
484
+ "outputs": []
485
+ },
486
+ {
487
+ "cell_type": "code",
488
+ "source": [
489
+ "dummy_input = [\"response port is 8081. transport protocol is tcp. connection state is S0. number of packets sent by the origin is 2. number of IP level bytes sent by the originator is 80. number of IP level bytes sent by the responder is 0\"] * model.config.max_position_embeddings\n",
490
+ "dummy_input = tokenizer(dummy_input, return_tensors=\"pt\").input_ids"
491
+ ],
492
+ "metadata": {
493
+ "id": "WCE1457dV7NH"
494
+ },
495
+ "execution_count": null,
496
+ "outputs": []
497
+ },
498
+ {
499
+ "cell_type": "code",
500
+ "source": [
501
+ "import torch\n",
502
+ "torch.onnx.export(model, dummy_input, \"IoT-23-BERT-Network-Logs-Classification.onnx\", export_params=True)"
503
+ ],
504
+ "metadata": {
505
+ "id": "4ZvVODyvWCAM"
506
+ },
507
+ "execution_count": null,
508
+ "outputs": []
509
+ },
510
+ {
511
+ "cell_type": "code",
512
+ "source": [
513
+ "from google.colab import drive\n",
514
+ "drive.mount('/content/drive')"
515
+ ],
516
+ "metadata": {
517
+ "id": "cBS82h8xWC-7"
518
+ },
519
+ "execution_count": null,
520
+ "outputs": []
521
+ },
522
+ {
523
+ "cell_type": "code",
524
+ "source": [
525
+ "export_dir = \"/content/drive/MyDrive/CS513 Final Project/ONNX_model\"\n",
526
+ "torch.onnx.export(model, dummy_input, export_dir + \"/IoT-23-BERT-Network-Logs-Classification.onnx\", export_params=True)"
527
+ ],
528
+ "metadata": {
529
+ "id": "DSOYqFdkWDbp"
530
+ },
531
+ "execution_count": null,
532
+ "outputs": []
533
+ }
534
+ ],
535
+ "metadata": {
536
+ "colab": {
537
+ "provenance": []
538
+ },
539
+ "kernelspec": {
540
+ "display_name": "Python 3",
541
+ "name": "python3"
542
+ },
543
+ "language_info": {
544
+ "name": "python"
545
+ },
546
+ "widgets": {
547
+ "application/vnd.jupyter.widget-state+json": {
548
+ "8ce4b836aa3e477e8b7ef619e2aad379": {
549
+ "model_module": "@jupyter-widgets/controls",
550
+ "model_name": "HBoxModel",
551
+ "model_module_version": "1.5.0",
552
+ "state": {
553
+ "_dom_classes": [],
554
+ "_model_module": "@jupyter-widgets/controls",
555
+ "_model_module_version": "1.5.0",
556
+ "_model_name": "HBoxModel",
557
+ "_view_count": null,
558
+ "_view_module": "@jupyter-widgets/controls",
559
+ "_view_module_version": "1.5.0",
560
+ "_view_name": "HBoxView",
561
+ "box_style": "",
562
+ "children": [
563
+ "IPY_MODEL_9fc195cbc0ab44d3b2caef4e9d5cd7e4",
564
+ "IPY_MODEL_208371dac7324ae6a5ff5c0e104f07d4",
565
+ "IPY_MODEL_7c429465b13a49c58e15ea1f9be2dd3f"
566
+ ],
567
+ "layout": "IPY_MODEL_0d28fd5f117e4eccb84cc72f6b5dbdaf"
568
+ }
569
+ },
570
+ "9fc195cbc0ab44d3b2caef4e9d5cd7e4": {
571
+ "model_module": "@jupyter-widgets/controls",
572
+ "model_name": "HTMLModel",
573
+ "model_module_version": "1.5.0",
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_fc24eb54482d403ca28752084cba1b92",
586
+ "placeholder": "​",
587
+ "style": "IPY_MODEL_7cea43e313334f0c9d78f8a513b64e33",
588
+ "value": "tokenizer_config.json: 100%"
589
+ }
590
+ },
591
+ "208371dac7324ae6a5ff5c0e104f07d4": {
592
+ "model_module": "@jupyter-widgets/controls",
593
+ "model_name": "FloatProgressModel",
594
+ "model_module_version": "1.5.0",
595
+ "state": {
596
+ "_dom_classes": [],
597
+ "_model_module": "@jupyter-widgets/controls",
598
+ "_model_module_version": "1.5.0",
599
+ "_model_name": "FloatProgressModel",
600
+ "_view_count": null,
601
+ "_view_module": "@jupyter-widgets/controls",
602
+ "_view_module_version": "1.5.0",
603
+ "_view_name": "ProgressView",
604
+ "bar_style": "success",
605
+ "description": "",
606
+ "description_tooltip": null,
607
+ "layout": "IPY_MODEL_3607a93ac1614594bd49127f694f0fa9",
608
+ "max": 29,
609
+ "min": 0,
610
+ "orientation": "horizontal",
611
+ "style": "IPY_MODEL_dc564fefb36749a68877e219db9c9b9c",
612
+ "value": 29
613
+ }
614
+ },
615
+ "7c429465b13a49c58e15ea1f9be2dd3f": {
616
+ "model_module": "@jupyter-widgets/controls",
617
+ "model_name": "HTMLModel",
618
+ "model_module_version": "1.5.0",
619
+ "state": {
620
+ "_dom_classes": [],
621
+ "_model_module": "@jupyter-widgets/controls",
622
+ "_model_module_version": "1.5.0",
623
+ "_model_name": "HTMLModel",
624
+ "_view_count": null,
625
+ "_view_module": "@jupyter-widgets/controls",
626
+ "_view_module_version": "1.5.0",
627
+ "_view_name": "HTMLView",
628
+ "description": "",
629
+ "description_tooltip": null,
630
+ "layout": "IPY_MODEL_1e7e950717df4ad29905fdcd8942f244",
631
+ "placeholder": "​",
632
+ "style": "IPY_MODEL_59f3a39b2c094ff19b9b81f0ec082733",
633
+ "value": " 29.0/29.0 [00:00&lt;00:00, 1.12kB/s]"
634
+ }
635
+ },
636
+ "0d28fd5f117e4eccb84cc72f6b5dbdaf": {
637
+ "model_module": "@jupyter-widgets/base",
638
+ "model_name": "LayoutModel",
639
+ "model_module_version": "1.2.0",
640
+ "state": {
641
+ "_model_module": "@jupyter-widgets/base",
642
+ "_model_module_version": "1.2.0",
643
+ "_model_name": "LayoutModel",
644
+ "_view_count": null,
645
+ "_view_module": "@jupyter-widgets/base",
646
+ "_view_module_version": "1.2.0",
647
+ "_view_name": "LayoutView",
648
+ "align_content": null,
649
+ "align_items": null,
650
+ "align_self": null,
651
+ "border": null,
652
+ "bottom": null,
653
+ "display": null,
654
+ "flex": null,
655
+ "flex_flow": null,
656
+ "grid_area": null,
657
+ "grid_auto_columns": null,
658
+ "grid_auto_flow": null,
659
+ "grid_auto_rows": null,
660
+ "grid_column": null,
661
+ "grid_gap": null,
662
+ "grid_row": null,
663
+ "grid_template_areas": null,
664
+ "grid_template_columns": null,
665
+ "grid_template_rows": null,
666
+ "height": null,
667
+ "justify_content": null,
668
+ "justify_items": null,
669
+ "left": null,
670
+ "margin": null,
671
+ "max_height": null,
672
+ "max_width": null,
673
+ "min_height": null,
674
+ "min_width": null,
675
+ "object_fit": null,
676
+ "object_position": null,
677
+ "order": null,
678
+ "overflow": null,
679
+ "overflow_x": null,
680
+ "overflow_y": null,
681
+ "padding": null,
682
+ "right": null,
683
+ "top": null,
684
+ "visibility": null,
685
+ "width": null
686
+ }
687
+ },
688
+ "fc24eb54482d403ca28752084cba1b92": {
689
+ "model_module": "@jupyter-widgets/base",
690
+ "model_name": "LayoutModel",
691
+ "model_module_version": "1.2.0",
692
+ "state": {
693
+ "_model_module": "@jupyter-widgets/base",
694
+ "_model_module_version": "1.2.0",
695
+ "_model_name": "LayoutModel",
696
+ "_view_count": null,
697
+ "_view_module": "@jupyter-widgets/base",
698
+ "_view_module_version": "1.2.0",
699
+ "_view_name": "LayoutView",
700
+ "align_content": null,
701
+ "align_items": null,
702
+ "align_self": null,
703
+ "border": null,
704
+ "bottom": null,
705
+ "display": null,
706
+ "flex": null,
707
+ "flex_flow": null,
708
+ "grid_area": null,
709
+ "grid_auto_columns": null,
710
+ "grid_auto_flow": null,
711
+ "grid_auto_rows": null,
712
+ "grid_column": null,
713
+ "grid_gap": null,
714
+ "grid_row": null,
715
+ "grid_template_areas": null,
716
+ "grid_template_columns": null,
717
+ "grid_template_rows": null,
718
+ "height": null,
719
+ "justify_content": null,
720
+ "justify_items": null,
721
+ "left": null,
722
+ "margin": null,
723
+ "max_height": null,
724
+ "max_width": null,
725
+ "min_height": null,
726
+ "min_width": null,
727
+ "object_fit": null,
728
+ "object_position": null,
729
+ "order": null,
730
+ "overflow": null,
731
+ "overflow_x": null,
732
+ "overflow_y": null,
733
+ "padding": null,
734
+ "right": null,
735
+ "top": null,
736
+ "visibility": null,
737
+ "width": null
738
+ }
739
+ },
740
+ "7cea43e313334f0c9d78f8a513b64e33": {
741
+ "model_module": "@jupyter-widgets/controls",
742
+ "model_name": "DescriptionStyleModel",
743
+ "model_module_version": "1.5.0",
744
+ "state": {
745
+ "_model_module": "@jupyter-widgets/controls",
746
+ "_model_module_version": "1.5.0",
747
+ "_model_name": "DescriptionStyleModel",
748
+ "_view_count": null,
749
+ "_view_module": "@jupyter-widgets/base",
750
+ "_view_module_version": "1.2.0",
751
+ "_view_name": "StyleView",
752
+ "description_width": ""
753
+ }
754
+ },
755
+ "3607a93ac1614594bd49127f694f0fa9": {
756
+ "model_module": "@jupyter-widgets/base",
757
+ "model_name": "LayoutModel",
758
+ "model_module_version": "1.2.0",
759
+ "state": {
760
+ "_model_module": "@jupyter-widgets/base",
761
+ "_model_module_version": "1.2.0",
762
+ "_model_name": "LayoutModel",
763
+ "_view_count": null,
764
+ "_view_module": "@jupyter-widgets/base",
765
+ "_view_module_version": "1.2.0",
766
+ "_view_name": "LayoutView",
767
+ "align_content": null,
768
+ "align_items": null,
769
+ "align_self": null,
770
+ "border": null,
771
+ "bottom": null,
772
+ "display": null,
773
+ "flex": null,
774
+ "flex_flow": null,
775
+ "grid_area": null,
776
+ "grid_auto_columns": null,
777
+ "grid_auto_flow": null,
778
+ "grid_auto_rows": null,
779
+ "grid_column": null,
780
+ "grid_gap": null,
781
+ "grid_row": null,
782
+ "grid_template_areas": null,
783
+ "grid_template_columns": null,
784
+ "grid_template_rows": null,
785
+ "height": null,
786
+ "justify_content": null,
787
+ "justify_items": null,
788
+ "left": null,
789
+ "margin": null,
790
+ "max_height": null,
791
+ "max_width": null,
792
+ "min_height": null,
793
+ "min_width": null,
794
+ "object_fit": null,
795
+ "object_position": null,
796
+ "order": null,
797
+ "overflow": null,
798
+ "overflow_x": null,
799
+ "overflow_y": null,
800
+ "padding": null,
801
+ "right": null,
802
+ "top": null,
803
+ "visibility": null,
804
+ "width": null
805
+ }
806
+ },
807
+ "dc564fefb36749a68877e219db9c9b9c": {
808
+ "model_module": "@jupyter-widgets/controls",
809
+ "model_name": "ProgressStyleModel",
810
+ "model_module_version": "1.5.0",
811
+ "state": {
812
+ "_model_module": "@jupyter-widgets/controls",
813
+ "_model_module_version": "1.5.0",
814
+ "_model_name": "ProgressStyleModel",
815
+ "_view_count": null,
816
+ "_view_module": "@jupyter-widgets/base",
817
+ "_view_module_version": "1.2.0",
818
+ "_view_name": "StyleView",
819
+ "bar_color": null,
820
+ "description_width": ""
821
+ }
822
+ },
823
+ "1e7e950717df4ad29905fdcd8942f244": {
824
+ "model_module": "@jupyter-widgets/base",
825
+ "model_name": "LayoutModel",
826
+ "model_module_version": "1.2.0",
827
+ "state": {
828
+ "_model_module": "@jupyter-widgets/base",
829
+ "_model_module_version": "1.2.0",
830
+ "_model_name": "LayoutModel",
831
+ "_view_count": null,
832
+ "_view_module": "@jupyter-widgets/base",
833
+ "_view_module_version": "1.2.0",
834
+ "_view_name": "LayoutView",
835
+ "align_content": null,
836
+ "align_items": null,
837
+ "align_self": null,
838
+ "border": null,
839
+ "bottom": null,
840
+ "display": null,
841
+ "flex": null,
842
+ "flex_flow": null,
843
+ "grid_area": null,
844
+ "grid_auto_columns": null,
845
+ "grid_auto_flow": null,
846
+ "grid_auto_rows": null,
847
+ "grid_column": null,
848
+ "grid_gap": null,
849
+ "grid_row": null,
850
+ "grid_template_areas": null,
851
+ "grid_template_columns": null,
852
+ "grid_template_rows": null,
853
+ "height": null,
854
+ "justify_content": null,
855
+ "justify_items": null,
856
+ "left": null,
857
+ "margin": null,
858
+ "max_height": null,
859
+ "max_width": null,
860
+ "min_height": null,
861
+ "min_width": null,
862
+ "object_fit": null,
863
+ "object_position": null,
864
+ "order": null,
865
+ "overflow": null,
866
+ "overflow_x": null,
867
+ "overflow_y": null,
868
+ "padding": null,
869
+ "right": null,
870
+ "top": null,
871
+ "visibility": null,
872
+ "width": null
873
+ }
874
+ },
875
+ "59f3a39b2c094ff19b9b81f0ec082733": {
876
+ "model_module": "@jupyter-widgets/controls",
877
+ "model_name": "DescriptionStyleModel",
878
+ "model_module_version": "1.5.0",
879
+ "state": {
880
+ "_model_module": "@jupyter-widgets/controls",
881
+ "_model_module_version": "1.5.0",
882
+ "_model_name": "DescriptionStyleModel",
883
+ "_view_count": null,
884
+ "_view_module": "@jupyter-widgets/base",
885
+ "_view_module_version": "1.2.0",
886
+ "_view_name": "StyleView",
887
+ "description_width": ""
888
+ }
889
+ },
890
+ "cf61686e52ac4b8187df2a7ea98dbaae": {
891
+ "model_module": "@jupyter-widgets/controls",
892
+ "model_name": "HBoxModel",
893
+ "model_module_version": "1.5.0",
894
+ "state": {
895
+ "_dom_classes": [],
896
+ "_model_module": "@jupyter-widgets/controls",
897
+ "_model_module_version": "1.5.0",
898
+ "_model_name": "HBoxModel",
899
+ "_view_count": null,
900
+ "_view_module": "@jupyter-widgets/controls",
901
+ "_view_module_version": "1.5.0",
902
+ "_view_name": "HBoxView",
903
+ "box_style": "",
904
+ "children": [
905
+ "IPY_MODEL_4d8339f273de436ba2955aff0bedc873",
906
+ "IPY_MODEL_6e1b9450575142c7bbdbfbadd79a6008",
907
+ "IPY_MODEL_b72fd88c4d3448bea2bfb98e75c462fe"
908
+ ],
909
+ "layout": "IPY_MODEL_760492bec49949799cae059957b8807c"
910
+ }
911
+ },
912
+ "4d8339f273de436ba2955aff0bedc873": {
913
+ "model_module": "@jupyter-widgets/controls",
914
+ "model_name": "HTMLModel",
915
+ "model_module_version": "1.5.0",
916
+ "state": {
917
+ "_dom_classes": [],
918
+ "_model_module": "@jupyter-widgets/controls",
919
+ "_model_module_version": "1.5.0",
920
+ "_model_name": "HTMLModel",
921
+ "_view_count": null,
922
+ "_view_module": "@jupyter-widgets/controls",
923
+ "_view_module_version": "1.5.0",
924
+ "_view_name": "HTMLView",
925
+ "description": "",
926
+ "description_tooltip": null,
927
+ "layout": "IPY_MODEL_491e99c4d6194f9fa500d3b6a3a70ff4",
928
+ "placeholder": "​",
929
+ "style": "IPY_MODEL_4855ed1a689f4f08848a595cc63026aa",
930
+ "value": "vocab.txt: 100%"
931
+ }
932
+ },
933
+ "6e1b9450575142c7bbdbfbadd79a6008": {
934
+ "model_module": "@jupyter-widgets/controls",
935
+ "model_name": "FloatProgressModel",
936
+ "model_module_version": "1.5.0",
937
+ "state": {
938
+ "_dom_classes": [],
939
+ "_model_module": "@jupyter-widgets/controls",
940
+ "_model_module_version": "1.5.0",
941
+ "_model_name": "FloatProgressModel",
942
+ "_view_count": null,
943
+ "_view_module": "@jupyter-widgets/controls",
944
+ "_view_module_version": "1.5.0",
945
+ "_view_name": "ProgressView",
946
+ "bar_style": "success",
947
+ "description": "",
948
+ "description_tooltip": null,
949
+ "layout": "IPY_MODEL_62f133d6cf944a8cbb7de0277ec8655f",
950
+ "max": 213450,
951
+ "min": 0,
952
+ "orientation": "horizontal",
953
+ "style": "IPY_MODEL_776fe42efbb14fdcbf89f40c92b45230",
954
+ "value": 213450
955
+ }
956
+ },
957
+ "b72fd88c4d3448bea2bfb98e75c462fe": {
958
+ "model_module": "@jupyter-widgets/controls",
959
+ "model_name": "HTMLModel",
960
+ "model_module_version": "1.5.0",
961
+ "state": {
962
+ "_dom_classes": [],
963
+ "_model_module": "@jupyter-widgets/controls",
964
+ "_model_module_version": "1.5.0",
965
+ "_model_name": "HTMLModel",
966
+ "_view_count": null,
967
+ "_view_module": "@jupyter-widgets/controls",
968
+ "_view_module_version": "1.5.0",
969
+ "_view_name": "HTMLView",
970
+ "description": "",
971
+ "description_tooltip": null,
972
+ "layout": "IPY_MODEL_7756b5dbf53b478f98f19bf24bc29a97",
973
+ "placeholder": "​",
974
+ "style": "IPY_MODEL_257d1b39f41f4f46a83d90f7ca1e72cf",
975
+ "value": " 213k/213k [00:00&lt;00:00, 1.70MB/s]"
976
+ }
977
+ },
978
+ "760492bec49949799cae059957b8807c": {
979
+ "model_module": "@jupyter-widgets/base",
980
+ "model_name": "LayoutModel",
981
+ "model_module_version": "1.2.0",
982
+ "state": {
983
+ "_model_module": "@jupyter-widgets/base",
984
+ "_model_module_version": "1.2.0",
985
+ "_model_name": "LayoutModel",
986
+ "_view_count": null,
987
+ "_view_module": "@jupyter-widgets/base",
988
+ "_view_module_version": "1.2.0",
989
+ "_view_name": "LayoutView",
990
+ "align_content": null,
991
+ "align_items": null,
992
+ "align_self": null,
993
+ "border": null,
994
+ "bottom": null,
995
+ "display": null,
996
+ "flex": null,
997
+ "flex_flow": null,
998
+ "grid_area": null,
999
+ "grid_auto_columns": null,
1000
+ "grid_auto_flow": null,
1001
+ "grid_auto_rows": null,
1002
+ "grid_column": null,
1003
+ "grid_gap": null,
1004
+ "grid_row": null,
1005
+ "grid_template_areas": null,
1006
+ "grid_template_columns": null,
1007
+ "grid_template_rows": null,
1008
+ "height": null,
1009
+ "justify_content": null,
1010
+ "justify_items": null,
1011
+ "left": null,
1012
+ "margin": null,
1013
+ "max_height": null,
1014
+ "max_width": null,
1015
+ "min_height": null,
1016
+ "min_width": null,
1017
+ "object_fit": null,
1018
+ "object_position": null,
1019
+ "order": null,
1020
+ "overflow": null,
1021
+ "overflow_x": null,
1022
+ "overflow_y": null,
1023
+ "padding": null,
1024
+ "right": null,
1025
+ "top": null,
1026
+ "visibility": null,
1027
+ "width": null
1028
+ }
1029
+ },
1030
+ "491e99c4d6194f9fa500d3b6a3a70ff4": {
1031
+ "model_module": "@jupyter-widgets/base",
1032
+ "model_name": "LayoutModel",
1033
+ "model_module_version": "1.2.0",
1034
+ "state": {
1035
+ "_model_module": "@jupyter-widgets/base",
1036
+ "_model_module_version": "1.2.0",
1037
+ "_model_name": "LayoutModel",
1038
+ "_view_count": null,
1039
+ "_view_module": "@jupyter-widgets/base",
1040
+ "_view_module_version": "1.2.0",
1041
+ "_view_name": "LayoutView",
1042
+ "align_content": null,
1043
+ "align_items": null,
1044
+ "align_self": null,
1045
+ "border": null,
1046
+ "bottom": null,
1047
+ "display": null,
1048
+ "flex": null,
1049
+ "flex_flow": null,
1050
+ "grid_area": null,
1051
+ "grid_auto_columns": null,
1052
+ "grid_auto_flow": null,
1053
+ "grid_auto_rows": null,
1054
+ "grid_column": null,
1055
+ "grid_gap": null,
1056
+ "grid_row": null,
1057
+ "grid_template_areas": null,
1058
+ "grid_template_columns": null,
1059
+ "grid_template_rows": null,
1060
+ "height": null,
1061
+ "justify_content": null,
1062
+ "justify_items": null,
1063
+ "left": null,
1064
+ "margin": null,
1065
+ "max_height": null,
1066
+ "max_width": null,
1067
+ "min_height": null,
1068
+ "min_width": null,
1069
+ "object_fit": null,
1070
+ "object_position": null,
1071
+ "order": null,
1072
+ "overflow": null,
1073
+ "overflow_x": null,
1074
+ "overflow_y": null,
1075
+ "padding": null,
1076
+ "right": null,
1077
+ "top": null,
1078
+ "visibility": null,
1079
+ "width": null
1080
+ }
1081
+ },
1082
+ "4855ed1a689f4f08848a595cc63026aa": {
1083
+ "model_module": "@jupyter-widgets/controls",
1084
+ "model_name": "DescriptionStyleModel",
1085
+ "model_module_version": "1.5.0",
1086
+ "state": {
1087
+ "_model_module": "@jupyter-widgets/controls",
1088
+ "_model_module_version": "1.5.0",
1089
+ "_model_name": "DescriptionStyleModel",
1090
+ "_view_count": null,
1091
+ "_view_module": "@jupyter-widgets/base",
1092
+ "_view_module_version": "1.2.0",
1093
+ "_view_name": "StyleView",
1094
+ "description_width": ""
1095
+ }
1096
+ },
1097
+ "62f133d6cf944a8cbb7de0277ec8655f": {
1098
+ "model_module": "@jupyter-widgets/base",
1099
+ "model_name": "LayoutModel",
1100
+ "model_module_version": "1.2.0",
1101
+ "state": {
1102
+ "_model_module": "@jupyter-widgets/base",
1103
+ "_model_module_version": "1.2.0",
1104
+ "_model_name": "LayoutModel",
1105
+ "_view_count": null,
1106
+ "_view_module": "@jupyter-widgets/base",
1107
+ "_view_module_version": "1.2.0",
1108
+ "_view_name": "LayoutView",
1109
+ "align_content": null,
1110
+ "align_items": null,
1111
+ "align_self": null,
1112
+ "border": null,
1113
+ "bottom": null,
1114
+ "display": null,
1115
+ "flex": null,
1116
+ "flex_flow": null,
1117
+ "grid_area": null,
1118
+ "grid_auto_columns": null,
1119
+ "grid_auto_flow": null,
1120
+ "grid_auto_rows": null,
1121
+ "grid_column": null,
1122
+ "grid_gap": null,
1123
+ "grid_row": null,
1124
+ "grid_template_areas": null,
1125
+ "grid_template_columns": null,
1126
+ "grid_template_rows": null,
1127
+ "height": null,
1128
+ "justify_content": null,
1129
+ "justify_items": null,
1130
+ "left": null,
1131
+ "margin": null,
1132
+ "max_height": null,
1133
+ "max_width": null,
1134
+ "min_height": null,
1135
+ "min_width": null,
1136
+ "object_fit": null,
1137
+ "object_position": null,
1138
+ "order": null,
1139
+ "overflow": null,
1140
+ "overflow_x": null,
1141
+ "overflow_y": null,
1142
+ "padding": null,
1143
+ "right": null,
1144
+ "top": null,
1145
+ "visibility": null,
1146
+ "width": null
1147
+ }
1148
+ },
1149
+ "776fe42efbb14fdcbf89f40c92b45230": {
1150
+ "model_module": "@jupyter-widgets/controls",
1151
+ "model_name": "ProgressStyleModel",
1152
+ "model_module_version": "1.5.0",
1153
+ "state": {
1154
+ "_model_module": "@jupyter-widgets/controls",
1155
+ "_model_module_version": "1.5.0",
1156
+ "_model_name": "ProgressStyleModel",
1157
+ "_view_count": null,
1158
+ "_view_module": "@jupyter-widgets/base",
1159
+ "_view_module_version": "1.2.0",
1160
+ "_view_name": "StyleView",
1161
+ "bar_color": null,
1162
+ "description_width": ""
1163
+ }
1164
+ },
1165
+ "7756b5dbf53b478f98f19bf24bc29a97": {
1166
+ "model_module": "@jupyter-widgets/base",
1167
+ "model_name": "LayoutModel",
1168
+ "model_module_version": "1.2.0",
1169
+ "state": {
1170
+ "_model_module": "@jupyter-widgets/base",
1171
+ "_model_module_version": "1.2.0",
1172
+ "_model_name": "LayoutModel",
1173
+ "_view_count": null,
1174
+ "_view_module": "@jupyter-widgets/base",
1175
+ "_view_module_version": "1.2.0",
1176
+ "_view_name": "LayoutView",
1177
+ "align_content": null,
1178
+ "align_items": null,
1179
+ "align_self": null,
1180
+ "border": null,
1181
+ "bottom": null,
1182
+ "display": null,
1183
+ "flex": null,
1184
+ "flex_flow": null,
1185
+ "grid_area": null,
1186
+ "grid_auto_columns": null,
1187
+ "grid_auto_flow": null,
1188
+ "grid_auto_rows": null,
1189
+ "grid_column": null,
1190
+ "grid_gap": null,
1191
+ "grid_row": null,
1192
+ "grid_template_areas": null,
1193
+ "grid_template_columns": null,
1194
+ "grid_template_rows": null,
1195
+ "height": null,
1196
+ "justify_content": null,
1197
+ "justify_items": null,
1198
+ "left": null,
1199
+ "margin": null,
1200
+ "max_height": null,
1201
+ "max_width": null,
1202
+ "min_height": null,
1203
+ "min_width": null,
1204
+ "object_fit": null,
1205
+ "object_position": null,
1206
+ "order": null,
1207
+ "overflow": null,
1208
+ "overflow_x": null,
1209
+ "overflow_y": null,
1210
+ "padding": null,
1211
+ "right": null,
1212
+ "top": null,
1213
+ "visibility": null,
1214
+ "width": null
1215
+ }
1216
+ },
1217
+ "257d1b39f41f4f46a83d90f7ca1e72cf": {
1218
+ "model_module": "@jupyter-widgets/controls",
1219
+ "model_name": "DescriptionStyleModel",
1220
+ "model_module_version": "1.5.0",
1221
+ "state": {
1222
+ "_model_module": "@jupyter-widgets/controls",
1223
+ "_model_module_version": "1.5.0",
1224
+ "_model_name": "DescriptionStyleModel",
1225
+ "_view_count": null,
1226
+ "_view_module": "@jupyter-widgets/base",
1227
+ "_view_module_version": "1.2.0",
1228
+ "_view_name": "StyleView",
1229
+ "description_width": ""
1230
+ }
1231
+ },
1232
+ "5a7eac88e76f49edad4140b35fc0c03a": {
1233
+ "model_module": "@jupyter-widgets/controls",
1234
+ "model_name": "HBoxModel",
1235
+ "model_module_version": "1.5.0",
1236
+ "state": {
1237
+ "_dom_classes": [],
1238
+ "_model_module": "@jupyter-widgets/controls",
1239
+ "_model_module_version": "1.5.0",
1240
+ "_model_name": "HBoxModel",
1241
+ "_view_count": null,
1242
+ "_view_module": "@jupyter-widgets/controls",
1243
+ "_view_module_version": "1.5.0",
1244
+ "_view_name": "HBoxView",
1245
+ "box_style": "",
1246
+ "children": [
1247
+ "IPY_MODEL_981b74de825c45e88b81ea2105ee64f5",
1248
+ "IPY_MODEL_92a9c39b562b4ac79e83e0ada53ee123",
1249
+ "IPY_MODEL_f18f14b562fe4d3ba0d69f5a0297b788"
1250
+ ],
1251
+ "layout": "IPY_MODEL_f63a3dc5a90b4bb591c95f350efe563f"
1252
+ }
1253
+ },
1254
+ "981b74de825c45e88b81ea2105ee64f5": {
1255
+ "model_module": "@jupyter-widgets/controls",
1256
+ "model_name": "HTMLModel",
1257
+ "model_module_version": "1.5.0",
1258
+ "state": {
1259
+ "_dom_classes": [],
1260
+ "_model_module": "@jupyter-widgets/controls",
1261
+ "_model_module_version": "1.5.0",
1262
+ "_model_name": "HTMLModel",
1263
+ "_view_count": null,
1264
+ "_view_module": "@jupyter-widgets/controls",
1265
+ "_view_module_version": "1.5.0",
1266
+ "_view_name": "HTMLView",
1267
+ "description": "",
1268
+ "description_tooltip": null,
1269
+ "layout": "IPY_MODEL_5498fedebecf4b42a9316c212bae4684",
1270
+ "placeholder": "​",
1271
+ "style": "IPY_MODEL_f40ed5e9373644228f65ceb44cb28c76",
1272
+ "value": "tokenizer.json: 100%"
1273
+ }
1274
+ },
1275
+ "92a9c39b562b4ac79e83e0ada53ee123": {
1276
+ "model_module": "@jupyter-widgets/controls",
1277
+ "model_name": "FloatProgressModel",
1278
+ "model_module_version": "1.5.0",
1279
+ "state": {
1280
+ "_dom_classes": [],
1281
+ "_model_module": "@jupyter-widgets/controls",
1282
+ "_model_module_version": "1.5.0",
1283
+ "_model_name": "FloatProgressModel",
1284
+ "_view_count": null,
1285
+ "_view_module": "@jupyter-widgets/controls",
1286
+ "_view_module_version": "1.5.0",
1287
+ "_view_name": "ProgressView",
1288
+ "bar_style": "success",
1289
+ "description": "",
1290
+ "description_tooltip": null,
1291
+ "layout": "IPY_MODEL_22ed475f9bdb4ecd866ea2e35224c541",
1292
+ "max": 435797,
1293
+ "min": 0,
1294
+ "orientation": "horizontal",
1295
+ "style": "IPY_MODEL_15a2f206e98b4f8593b47124cbd56b69",
1296
+ "value": 435797
1297
+ }
1298
+ },
1299
+ "f18f14b562fe4d3ba0d69f5a0297b788": {
1300
+ "model_module": "@jupyter-widgets/controls",
1301
+ "model_name": "HTMLModel",
1302
+ "model_module_version": "1.5.0",
1303
+ "state": {
1304
+ "_dom_classes": [],
1305
+ "_model_module": "@jupyter-widgets/controls",
1306
+ "_model_module_version": "1.5.0",
1307
+ "_model_name": "HTMLModel",
1308
+ "_view_count": null,
1309
+ "_view_module": "@jupyter-widgets/controls",
1310
+ "_view_module_version": "1.5.0",
1311
+ "_view_name": "HTMLView",
1312
+ "description": "",
1313
+ "description_tooltip": null,
1314
+ "layout": "IPY_MODEL_acc7c8deb1184c48a2b48e08554eca44",
1315
+ "placeholder": "​",
1316
+ "style": "IPY_MODEL_644c02cdf7f74d16b0a8830e27fd7577",
1317
+ "value": " 436k/436k [00:00&lt;00:00, 14.1MB/s]"
1318
+ }
1319
+ },
1320
+ "f63a3dc5a90b4bb591c95f350efe563f": {
1321
+ "model_module": "@jupyter-widgets/base",
1322
+ "model_name": "LayoutModel",
1323
+ "model_module_version": "1.2.0",
1324
+ "state": {
1325
+ "_model_module": "@jupyter-widgets/base",
1326
+ "_model_module_version": "1.2.0",
1327
+ "_model_name": "LayoutModel",
1328
+ "_view_count": null,
1329
+ "_view_module": "@jupyter-widgets/base",
1330
+ "_view_module_version": "1.2.0",
1331
+ "_view_name": "LayoutView",
1332
+ "align_content": null,
1333
+ "align_items": null,
1334
+ "align_self": null,
1335
+ "border": null,
1336
+ "bottom": null,
1337
+ "display": null,
1338
+ "flex": null,
1339
+ "flex_flow": null,
1340
+ "grid_area": null,
1341
+ "grid_auto_columns": null,
1342
+ "grid_auto_flow": null,
1343
+ "grid_auto_rows": null,
1344
+ "grid_column": null,
1345
+ "grid_gap": null,
1346
+ "grid_row": null,
1347
+ "grid_template_areas": null,
1348
+ "grid_template_columns": null,
1349
+ "grid_template_rows": null,
1350
+ "height": null,
1351
+ "justify_content": null,
1352
+ "justify_items": null,
1353
+ "left": null,
1354
+ "margin": null,
1355
+ "max_height": null,
1356
+ "max_width": null,
1357
+ "min_height": null,
1358
+ "min_width": null,
1359
+ "object_fit": null,
1360
+ "object_position": null,
1361
+ "order": null,
1362
+ "overflow": null,
1363
+ "overflow_x": null,
1364
+ "overflow_y": null,
1365
+ "padding": null,
1366
+ "right": null,
1367
+ "top": null,
1368
+ "visibility": null,
1369
+ "width": null
1370
+ }
1371
+ },
1372
+ "5498fedebecf4b42a9316c212bae4684": {
1373
+ "model_module": "@jupyter-widgets/base",
1374
+ "model_name": "LayoutModel",
1375
+ "model_module_version": "1.2.0",
1376
+ "state": {
1377
+ "_model_module": "@jupyter-widgets/base",
1378
+ "_model_module_version": "1.2.0",
1379
+ "_model_name": "LayoutModel",
1380
+ "_view_count": null,
1381
+ "_view_module": "@jupyter-widgets/base",
1382
+ "_view_module_version": "1.2.0",
1383
+ "_view_name": "LayoutView",
1384
+ "align_content": null,
1385
+ "align_items": null,
1386
+ "align_self": null,
1387
+ "border": null,
1388
+ "bottom": null,
1389
+ "display": null,
1390
+ "flex": null,
1391
+ "flex_flow": null,
1392
+ "grid_area": null,
1393
+ "grid_auto_columns": null,
1394
+ "grid_auto_flow": null,
1395
+ "grid_auto_rows": null,
1396
+ "grid_column": null,
1397
+ "grid_gap": null,
1398
+ "grid_row": null,
1399
+ "grid_template_areas": null,
1400
+ "grid_template_columns": null,
1401
+ "grid_template_rows": null,
1402
+ "height": null,
1403
+ "justify_content": null,
1404
+ "justify_items": null,
1405
+ "left": null,
1406
+ "margin": null,
1407
+ "max_height": null,
1408
+ "max_width": null,
1409
+ "min_height": null,
1410
+ "min_width": null,
1411
+ "object_fit": null,
1412
+ "object_position": null,
1413
+ "order": null,
1414
+ "overflow": null,
1415
+ "overflow_x": null,
1416
+ "overflow_y": null,
1417
+ "padding": null,
1418
+ "right": null,
1419
+ "top": null,
1420
+ "visibility": null,
1421
+ "width": null
1422
+ }
1423
+ },
1424
+ "f40ed5e9373644228f65ceb44cb28c76": {
1425
+ "model_module": "@jupyter-widgets/controls",
1426
+ "model_name": "DescriptionStyleModel",
1427
+ "model_module_version": "1.5.0",
1428
+ "state": {
1429
+ "_model_module": "@jupyter-widgets/controls",
1430
+ "_model_module_version": "1.5.0",
1431
+ "_model_name": "DescriptionStyleModel",
1432
+ "_view_count": null,
1433
+ "_view_module": "@jupyter-widgets/base",
1434
+ "_view_module_version": "1.2.0",
1435
+ "_view_name": "StyleView",
1436
+ "description_width": ""
1437
+ }
1438
+ },
1439
+ "22ed475f9bdb4ecd866ea2e35224c541": {
1440
+ "model_module": "@jupyter-widgets/base",
1441
+ "model_name": "LayoutModel",
1442
+ "model_module_version": "1.2.0",
1443
+ "state": {
1444
+ "_model_module": "@jupyter-widgets/base",
1445
+ "_model_module_version": "1.2.0",
1446
+ "_model_name": "LayoutModel",
1447
+ "_view_count": null,
1448
+ "_view_module": "@jupyter-widgets/base",
1449
+ "_view_module_version": "1.2.0",
1450
+ "_view_name": "LayoutView",
1451
+ "align_content": null,
1452
+ "align_items": null,
1453
+ "align_self": null,
1454
+ "border": null,
1455
+ "bottom": null,
1456
+ "display": null,
1457
+ "flex": null,
1458
+ "flex_flow": null,
1459
+ "grid_area": null,
1460
+ "grid_auto_columns": null,
1461
+ "grid_auto_flow": null,
1462
+ "grid_auto_rows": null,
1463
+ "grid_column": null,
1464
+ "grid_gap": null,
1465
+ "grid_row": null,
1466
+ "grid_template_areas": null,
1467
+ "grid_template_columns": null,
1468
+ "grid_template_rows": null,
1469
+ "height": null,
1470
+ "justify_content": null,
1471
+ "justify_items": null,
1472
+ "left": null,
1473
+ "margin": null,
1474
+ "max_height": null,
1475
+ "max_width": null,
1476
+ "min_height": null,
1477
+ "min_width": null,
1478
+ "object_fit": null,
1479
+ "object_position": null,
1480
+ "order": null,
1481
+ "overflow": null,
1482
+ "overflow_x": null,
1483
+ "overflow_y": null,
1484
+ "padding": null,
1485
+ "right": null,
1486
+ "top": null,
1487
+ "visibility": null,
1488
+ "width": null
1489
+ }
1490
+ },
1491
+ "15a2f206e98b4f8593b47124cbd56b69": {
1492
+ "model_module": "@jupyter-widgets/controls",
1493
+ "model_name": "ProgressStyleModel",
1494
+ "model_module_version": "1.5.0",
1495
+ "state": {
1496
+ "_model_module": "@jupyter-widgets/controls",
1497
+ "_model_module_version": "1.5.0",
1498
+ "_model_name": "ProgressStyleModel",
1499
+ "_view_count": null,
1500
+ "_view_module": "@jupyter-widgets/base",
1501
+ "_view_module_version": "1.2.0",
1502
+ "_view_name": "StyleView",
1503
+ "bar_color": null,
1504
+ "description_width": ""
1505
+ }
1506
+ },
1507
+ "acc7c8deb1184c48a2b48e08554eca44": {
1508
+ "model_module": "@jupyter-widgets/base",
1509
+ "model_name": "LayoutModel",
1510
+ "model_module_version": "1.2.0",
1511
+ "state": {
1512
+ "_model_module": "@jupyter-widgets/base",
1513
+ "_model_module_version": "1.2.0",
1514
+ "_model_name": "LayoutModel",
1515
+ "_view_count": null,
1516
+ "_view_module": "@jupyter-widgets/base",
1517
+ "_view_module_version": "1.2.0",
1518
+ "_view_name": "LayoutView",
1519
+ "align_content": null,
1520
+ "align_items": null,
1521
+ "align_self": null,
1522
+ "border": null,
1523
+ "bottom": null,
1524
+ "display": null,
1525
+ "flex": null,
1526
+ "flex_flow": null,
1527
+ "grid_area": null,
1528
+ "grid_auto_columns": null,
1529
+ "grid_auto_flow": null,
1530
+ "grid_auto_rows": null,
1531
+ "grid_column": null,
1532
+ "grid_gap": null,
1533
+ "grid_row": null,
1534
+ "grid_template_areas": null,
1535
+ "grid_template_columns": null,
1536
+ "grid_template_rows": null,
1537
+ "height": null,
1538
+ "justify_content": null,
1539
+ "justify_items": null,
1540
+ "left": null,
1541
+ "margin": null,
1542
+ "max_height": null,
1543
+ "max_width": null,
1544
+ "min_height": null,
1545
+ "min_width": null,
1546
+ "object_fit": null,
1547
+ "object_position": null,
1548
+ "order": null,
1549
+ "overflow": null,
1550
+ "overflow_x": null,
1551
+ "overflow_y": null,
1552
+ "padding": null,
1553
+ "right": null,
1554
+ "top": null,
1555
+ "visibility": null,
1556
+ "width": null
1557
+ }
1558
+ },
1559
+ "644c02cdf7f74d16b0a8830e27fd7577": {
1560
+ "model_module": "@jupyter-widgets/controls",
1561
+ "model_name": "DescriptionStyleModel",
1562
+ "model_module_version": "1.5.0",
1563
+ "state": {
1564
+ "_model_module": "@jupyter-widgets/controls",
1565
+ "_model_module_version": "1.5.0",
1566
+ "_model_name": "DescriptionStyleModel",
1567
+ "_view_count": null,
1568
+ "_view_module": "@jupyter-widgets/base",
1569
+ "_view_module_version": "1.2.0",
1570
+ "_view_name": "StyleView",
1571
+ "description_width": ""
1572
+ }
1573
+ },
1574
+ "0e214948af5043aab1b559f261d10013": {
1575
+ "model_module": "@jupyter-widgets/controls",
1576
+ "model_name": "HBoxModel",
1577
+ "model_module_version": "1.5.0",
1578
+ "state": {
1579
+ "_dom_classes": [],
1580
+ "_model_module": "@jupyter-widgets/controls",
1581
+ "_model_module_version": "1.5.0",
1582
+ "_model_name": "HBoxModel",
1583
+ "_view_count": null,
1584
+ "_view_module": "@jupyter-widgets/controls",
1585
+ "_view_module_version": "1.5.0",
1586
+ "_view_name": "HBoxView",
1587
+ "box_style": "",
1588
+ "children": [
1589
+ "IPY_MODEL_ba3072d9129740948a06f2f4eb429806",
1590
+ "IPY_MODEL_4372f6a06f7147dd8a9d60143960421d",
1591
+ "IPY_MODEL_11171c48c15b4b40ad26b7190b3a7243"
1592
+ ],
1593
+ "layout": "IPY_MODEL_ea111b9e906044ed89683bc0f717dfa5"
1594
+ }
1595
+ },
1596
+ "ba3072d9129740948a06f2f4eb429806": {
1597
+ "model_module": "@jupyter-widgets/controls",
1598
+ "model_name": "HTMLModel",
1599
+ "model_module_version": "1.5.0",
1600
+ "state": {
1601
+ "_dom_classes": [],
1602
+ "_model_module": "@jupyter-widgets/controls",
1603
+ "_model_module_version": "1.5.0",
1604
+ "_model_name": "HTMLModel",
1605
+ "_view_count": null,
1606
+ "_view_module": "@jupyter-widgets/controls",
1607
+ "_view_module_version": "1.5.0",
1608
+ "_view_name": "HTMLView",
1609
+ "description": "",
1610
+ "description_tooltip": null,
1611
+ "layout": "IPY_MODEL_611afee6ff4a4c93bdd132617e03f337",
1612
+ "placeholder": "​",
1613
+ "style": "IPY_MODEL_5e760399683a45729bc7890e739f06b1",
1614
+ "value": "config.json: 100%"
1615
+ }
1616
+ },
1617
+ "4372f6a06f7147dd8a9d60143960421d": {
1618
+ "model_module": "@jupyter-widgets/controls",
1619
+ "model_name": "FloatProgressModel",
1620
+ "model_module_version": "1.5.0",
1621
+ "state": {
1622
+ "_dom_classes": [],
1623
+ "_model_module": "@jupyter-widgets/controls",
1624
+ "_model_module_version": "1.5.0",
1625
+ "_model_name": "FloatProgressModel",
1626
+ "_view_count": null,
1627
+ "_view_module": "@jupyter-widgets/controls",
1628
+ "_view_module_version": "1.5.0",
1629
+ "_view_name": "ProgressView",
1630
+ "bar_style": "success",
1631
+ "description": "",
1632
+ "description_tooltip": null,
1633
+ "layout": "IPY_MODEL_a6533cd00a90435ca33627daee3cd7a7",
1634
+ "max": 570,
1635
+ "min": 0,
1636
+ "orientation": "horizontal",
1637
+ "style": "IPY_MODEL_7cca1b7ba2d24cc59c358ae566b85fea",
1638
+ "value": 570
1639
+ }
1640
+ },
1641
+ "11171c48c15b4b40ad26b7190b3a7243": {
1642
+ "model_module": "@jupyter-widgets/controls",
1643
+ "model_name": "HTMLModel",
1644
+ "model_module_version": "1.5.0",
1645
+ "state": {
1646
+ "_dom_classes": [],
1647
+ "_model_module": "@jupyter-widgets/controls",
1648
+ "_model_module_version": "1.5.0",
1649
+ "_model_name": "HTMLModel",
1650
+ "_view_count": null,
1651
+ "_view_module": "@jupyter-widgets/controls",
1652
+ "_view_module_version": "1.5.0",
1653
+ "_view_name": "HTMLView",
1654
+ "description": "",
1655
+ "description_tooltip": null,
1656
+ "layout": "IPY_MODEL_b38af74875b245a6b3dec5ec735cfbd1",
1657
+ "placeholder": "​",
1658
+ "style": "IPY_MODEL_fcbf9c420867408cb10f9b66df7e971b",
1659
+ "value": " 570/570 [00:00&lt;00:00, 20.6kB/s]"
1660
+ }
1661
+ },
1662
+ "ea111b9e906044ed89683bc0f717dfa5": {
1663
+ "model_module": "@jupyter-widgets/base",
1664
+ "model_name": "LayoutModel",
1665
+ "model_module_version": "1.2.0",
1666
+ "state": {
1667
+ "_model_module": "@jupyter-widgets/base",
1668
+ "_model_module_version": "1.2.0",
1669
+ "_model_name": "LayoutModel",
1670
+ "_view_count": null,
1671
+ "_view_module": "@jupyter-widgets/base",
1672
+ "_view_module_version": "1.2.0",
1673
+ "_view_name": "LayoutView",
1674
+ "align_content": null,
1675
+ "align_items": null,
1676
+ "align_self": null,
1677
+ "border": null,
1678
+ "bottom": null,
1679
+ "display": null,
1680
+ "flex": null,
1681
+ "flex_flow": null,
1682
+ "grid_area": null,
1683
+ "grid_auto_columns": null,
1684
+ "grid_auto_flow": null,
1685
+ "grid_auto_rows": null,
1686
+ "grid_column": null,
1687
+ "grid_gap": null,
1688
+ "grid_row": null,
1689
+ "grid_template_areas": null,
1690
+ "grid_template_columns": null,
1691
+ "grid_template_rows": null,
1692
+ "height": null,
1693
+ "justify_content": null,
1694
+ "justify_items": null,
1695
+ "left": null,
1696
+ "margin": null,
1697
+ "max_height": null,
1698
+ "max_width": null,
1699
+ "min_height": null,
1700
+ "min_width": null,
1701
+ "object_fit": null,
1702
+ "object_position": null,
1703
+ "order": null,
1704
+ "overflow": null,
1705
+ "overflow_x": null,
1706
+ "overflow_y": null,
1707
+ "padding": null,
1708
+ "right": null,
1709
+ "top": null,
1710
+ "visibility": null,
1711
+ "width": null
1712
+ }
1713
+ },
1714
+ "611afee6ff4a4c93bdd132617e03f337": {
1715
+ "model_module": "@jupyter-widgets/base",
1716
+ "model_name": "LayoutModel",
1717
+ "model_module_version": "1.2.0",
1718
+ "state": {
1719
+ "_model_module": "@jupyter-widgets/base",
1720
+ "_model_module_version": "1.2.0",
1721
+ "_model_name": "LayoutModel",
1722
+ "_view_count": null,
1723
+ "_view_module": "@jupyter-widgets/base",
1724
+ "_view_module_version": "1.2.0",
1725
+ "_view_name": "LayoutView",
1726
+ "align_content": null,
1727
+ "align_items": null,
1728
+ "align_self": null,
1729
+ "border": null,
1730
+ "bottom": null,
1731
+ "display": null,
1732
+ "flex": null,
1733
+ "flex_flow": null,
1734
+ "grid_area": null,
1735
+ "grid_auto_columns": null,
1736
+ "grid_auto_flow": null,
1737
+ "grid_auto_rows": null,
1738
+ "grid_column": null,
1739
+ "grid_gap": null,
1740
+ "grid_row": null,
1741
+ "grid_template_areas": null,
1742
+ "grid_template_columns": null,
1743
+ "grid_template_rows": null,
1744
+ "height": null,
1745
+ "justify_content": null,
1746
+ "justify_items": null,
1747
+ "left": null,
1748
+ "margin": null,
1749
+ "max_height": null,
1750
+ "max_width": null,
1751
+ "min_height": null,
1752
+ "min_width": null,
1753
+ "object_fit": null,
1754
+ "object_position": null,
1755
+ "order": null,
1756
+ "overflow": null,
1757
+ "overflow_x": null,
1758
+ "overflow_y": null,
1759
+ "padding": null,
1760
+ "right": null,
1761
+ "top": null,
1762
+ "visibility": null,
1763
+ "width": null
1764
+ }
1765
+ },
1766
+ "5e760399683a45729bc7890e739f06b1": {
1767
+ "model_module": "@jupyter-widgets/controls",
1768
+ "model_name": "DescriptionStyleModel",
1769
+ "model_module_version": "1.5.0",
1770
+ "state": {
1771
+ "_model_module": "@jupyter-widgets/controls",
1772
+ "_model_module_version": "1.5.0",
1773
+ "_model_name": "DescriptionStyleModel",
1774
+ "_view_count": null,
1775
+ "_view_module": "@jupyter-widgets/base",
1776
+ "_view_module_version": "1.2.0",
1777
+ "_view_name": "StyleView",
1778
+ "description_width": ""
1779
+ }
1780
+ },
1781
+ "a6533cd00a90435ca33627daee3cd7a7": {
1782
+ "model_module": "@jupyter-widgets/base",
1783
+ "model_name": "LayoutModel",
1784
+ "model_module_version": "1.2.0",
1785
+ "state": {
1786
+ "_model_module": "@jupyter-widgets/base",
1787
+ "_model_module_version": "1.2.0",
1788
+ "_model_name": "LayoutModel",
1789
+ "_view_count": null,
1790
+ "_view_module": "@jupyter-widgets/base",
1791
+ "_view_module_version": "1.2.0",
1792
+ "_view_name": "LayoutView",
1793
+ "align_content": null,
1794
+ "align_items": null,
1795
+ "align_self": null,
1796
+ "border": null,
1797
+ "bottom": null,
1798
+ "display": null,
1799
+ "flex": null,
1800
+ "flex_flow": null,
1801
+ "grid_area": null,
1802
+ "grid_auto_columns": null,
1803
+ "grid_auto_flow": null,
1804
+ "grid_auto_rows": null,
1805
+ "grid_column": null,
1806
+ "grid_gap": null,
1807
+ "grid_row": null,
1808
+ "grid_template_areas": null,
1809
+ "grid_template_columns": null,
1810
+ "grid_template_rows": null,
1811
+ "height": null,
1812
+ "justify_content": null,
1813
+ "justify_items": null,
1814
+ "left": null,
1815
+ "margin": null,
1816
+ "max_height": null,
1817
+ "max_width": null,
1818
+ "min_height": null,
1819
+ "min_width": null,
1820
+ "object_fit": null,
1821
+ "object_position": null,
1822
+ "order": null,
1823
+ "overflow": null,
1824
+ "overflow_x": null,
1825
+ "overflow_y": null,
1826
+ "padding": null,
1827
+ "right": null,
1828
+ "top": null,
1829
+ "visibility": null,
1830
+ "width": null
1831
+ }
1832
+ },
1833
+ "7cca1b7ba2d24cc59c358ae566b85fea": {
1834
+ "model_module": "@jupyter-widgets/controls",
1835
+ "model_name": "ProgressStyleModel",
1836
+ "model_module_version": "1.5.0",
1837
+ "state": {
1838
+ "_model_module": "@jupyter-widgets/controls",
1839
+ "_model_module_version": "1.5.0",
1840
+ "_model_name": "ProgressStyleModel",
1841
+ "_view_count": null,
1842
+ "_view_module": "@jupyter-widgets/base",
1843
+ "_view_module_version": "1.2.0",
1844
+ "_view_name": "StyleView",
1845
+ "bar_color": null,
1846
+ "description_width": ""
1847
+ }
1848
+ },
1849
+ "b38af74875b245a6b3dec5ec735cfbd1": {
1850
+ "model_module": "@jupyter-widgets/base",
1851
+ "model_name": "LayoutModel",
1852
+ "model_module_version": "1.2.0",
1853
+ "state": {
1854
+ "_model_module": "@jupyter-widgets/base",
1855
+ "_model_module_version": "1.2.0",
1856
+ "_model_name": "LayoutModel",
1857
+ "_view_count": null,
1858
+ "_view_module": "@jupyter-widgets/base",
1859
+ "_view_module_version": "1.2.0",
1860
+ "_view_name": "LayoutView",
1861
+ "align_content": null,
1862
+ "align_items": null,
1863
+ "align_self": null,
1864
+ "border": null,
1865
+ "bottom": null,
1866
+ "display": null,
1867
+ "flex": null,
1868
+ "flex_flow": null,
1869
+ "grid_area": null,
1870
+ "grid_auto_columns": null,
1871
+ "grid_auto_flow": null,
1872
+ "grid_auto_rows": null,
1873
+ "grid_column": null,
1874
+ "grid_gap": null,
1875
+ "grid_row": null,
1876
+ "grid_template_areas": null,
1877
+ "grid_template_columns": null,
1878
+ "grid_template_rows": null,
1879
+ "height": null,
1880
+ "justify_content": null,
1881
+ "justify_items": null,
1882
+ "left": null,
1883
+ "margin": null,
1884
+ "max_height": null,
1885
+ "max_width": null,
1886
+ "min_height": null,
1887
+ "min_width": null,
1888
+ "object_fit": null,
1889
+ "object_position": null,
1890
+ "order": null,
1891
+ "overflow": null,
1892
+ "overflow_x": null,
1893
+ "overflow_y": null,
1894
+ "padding": null,
1895
+ "right": null,
1896
+ "top": null,
1897
+ "visibility": null,
1898
+ "width": null
1899
+ }
1900
+ },
1901
+ "fcbf9c420867408cb10f9b66df7e971b": {
1902
+ "model_module": "@jupyter-widgets/controls",
1903
+ "model_name": "DescriptionStyleModel",
1904
+ "model_module_version": "1.5.0",
1905
+ "state": {
1906
+ "_model_module": "@jupyter-widgets/controls",
1907
+ "_model_module_version": "1.5.0",
1908
+ "_model_name": "DescriptionStyleModel",
1909
+ "_view_count": null,
1910
+ "_view_module": "@jupyter-widgets/base",
1911
+ "_view_module_version": "1.2.0",
1912
+ "_view_name": "StyleView",
1913
+ "description_width": ""
1914
+ }
1915
+ },
1916
+ "883362b7c2824133af0a309d7adb8634": {
1917
+ "model_module": "@jupyter-widgets/controls",
1918
+ "model_name": "HBoxModel",
1919
+ "model_module_version": "1.5.0",
1920
+ "state": {
1921
+ "_dom_classes": [],
1922
+ "_model_module": "@jupyter-widgets/controls",
1923
+ "_model_module_version": "1.5.0",
1924
+ "_model_name": "HBoxModel",
1925
+ "_view_count": null,
1926
+ "_view_module": "@jupyter-widgets/controls",
1927
+ "_view_module_version": "1.5.0",
1928
+ "_view_name": "HBoxView",
1929
+ "box_style": "",
1930
+ "children": [
1931
+ "IPY_MODEL_c81c7a188b2846fc86d3193fe46c2e5c",
1932
+ "IPY_MODEL_148a29a036734ae6b785c845460ed2f1",
1933
+ "IPY_MODEL_1ac807d4690040f98624d94057fd9b86"
1934
+ ],
1935
+ "layout": "IPY_MODEL_e1c9095e8bea4049868db47aa07e13a4"
1936
+ }
1937
+ },
1938
+ "c81c7a188b2846fc86d3193fe46c2e5c": {
1939
+ "model_module": "@jupyter-widgets/controls",
1940
+ "model_name": "HTMLModel",
1941
+ "model_module_version": "1.5.0",
1942
+ "state": {
1943
+ "_dom_classes": [],
1944
+ "_model_module": "@jupyter-widgets/controls",
1945
+ "_model_module_version": "1.5.0",
1946
+ "_model_name": "HTMLModel",
1947
+ "_view_count": null,
1948
+ "_view_module": "@jupyter-widgets/controls",
1949
+ "_view_module_version": "1.5.0",
1950
+ "_view_name": "HTMLView",
1951
+ "description": "",
1952
+ "description_tooltip": null,
1953
+ "layout": "IPY_MODEL_9221503b241444ed880531377c869643",
1954
+ "placeholder": "​",
1955
+ "style": "IPY_MODEL_68482da651824c8cae38d329cbf84d01",
1956
+ "value": "config.json: 100%"
1957
+ }
1958
+ },
1959
+ "148a29a036734ae6b785c845460ed2f1": {
1960
+ "model_module": "@jupyter-widgets/controls",
1961
+ "model_name": "FloatProgressModel",
1962
+ "model_module_version": "1.5.0",
1963
+ "state": {
1964
+ "_dom_classes": [],
1965
+ "_model_module": "@jupyter-widgets/controls",
1966
+ "_model_module_version": "1.5.0",
1967
+ "_model_name": "FloatProgressModel",
1968
+ "_view_count": null,
1969
+ "_view_module": "@jupyter-widgets/controls",
1970
+ "_view_module_version": "1.5.0",
1971
+ "_view_name": "ProgressView",
1972
+ "bar_style": "success",
1973
+ "description": "",
1974
+ "description_tooltip": null,
1975
+ "layout": "IPY_MODEL_f7aaf3b5ebe54c7ab586aa927c716aac",
1976
+ "max": 717,
1977
+ "min": 0,
1978
+ "orientation": "horizontal",
1979
+ "style": "IPY_MODEL_0c1a5c251083445f851e2bdd6be10bee",
1980
+ "value": 717
1981
+ }
1982
+ },
1983
+ "1ac807d4690040f98624d94057fd9b86": {
1984
+ "model_module": "@jupyter-widgets/controls",
1985
+ "model_name": "HTMLModel",
1986
+ "model_module_version": "1.5.0",
1987
+ "state": {
1988
+ "_dom_classes": [],
1989
+ "_model_module": "@jupyter-widgets/controls",
1990
+ "_model_module_version": "1.5.0",
1991
+ "_model_name": "HTMLModel",
1992
+ "_view_count": null,
1993
+ "_view_module": "@jupyter-widgets/controls",
1994
+ "_view_module_version": "1.5.0",
1995
+ "_view_name": "HTMLView",
1996
+ "description": "",
1997
+ "description_tooltip": null,
1998
+ "layout": "IPY_MODEL_a6a74beac434477e9a28faf0d805c3da",
1999
+ "placeholder": "​",
2000
+ "style": "IPY_MODEL_5262f69cbd47414bbb11ad127b3baf6e",
2001
+ "value": " 717/717 [00:00&lt;00:00, 31.1kB/s]"
2002
+ }
2003
+ },
2004
+ "e1c9095e8bea4049868db47aa07e13a4": {
2005
+ "model_module": "@jupyter-widgets/base",
2006
+ "model_name": "LayoutModel",
2007
+ "model_module_version": "1.2.0",
2008
+ "state": {
2009
+ "_model_module": "@jupyter-widgets/base",
2010
+ "_model_module_version": "1.2.0",
2011
+ "_model_name": "LayoutModel",
2012
+ "_view_count": null,
2013
+ "_view_module": "@jupyter-widgets/base",
2014
+ "_view_module_version": "1.2.0",
2015
+ "_view_name": "LayoutView",
2016
+ "align_content": null,
2017
+ "align_items": null,
2018
+ "align_self": null,
2019
+ "border": null,
2020
+ "bottom": null,
2021
+ "display": null,
2022
+ "flex": null,
2023
+ "flex_flow": null,
2024
+ "grid_area": null,
2025
+ "grid_auto_columns": null,
2026
+ "grid_auto_flow": null,
2027
+ "grid_auto_rows": null,
2028
+ "grid_column": null,
2029
+ "grid_gap": null,
2030
+ "grid_row": null,
2031
+ "grid_template_areas": null,
2032
+ "grid_template_columns": null,
2033
+ "grid_template_rows": null,
2034
+ "height": null,
2035
+ "justify_content": null,
2036
+ "justify_items": null,
2037
+ "left": null,
2038
+ "margin": null,
2039
+ "max_height": null,
2040
+ "max_width": null,
2041
+ "min_height": null,
2042
+ "min_width": null,
2043
+ "object_fit": null,
2044
+ "object_position": null,
2045
+ "order": null,
2046
+ "overflow": null,
2047
+ "overflow_x": null,
2048
+ "overflow_y": null,
2049
+ "padding": null,
2050
+ "right": null,
2051
+ "top": null,
2052
+ "visibility": null,
2053
+ "width": null
2054
+ }
2055
+ },
2056
+ "9221503b241444ed880531377c869643": {
2057
+ "model_module": "@jupyter-widgets/base",
2058
+ "model_name": "LayoutModel",
2059
+ "model_module_version": "1.2.0",
2060
+ "state": {
2061
+ "_model_module": "@jupyter-widgets/base",
2062
+ "_model_module_version": "1.2.0",
2063
+ "_model_name": "LayoutModel",
2064
+ "_view_count": null,
2065
+ "_view_module": "@jupyter-widgets/base",
2066
+ "_view_module_version": "1.2.0",
2067
+ "_view_name": "LayoutView",
2068
+ "align_content": null,
2069
+ "align_items": null,
2070
+ "align_self": null,
2071
+ "border": null,
2072
+ "bottom": null,
2073
+ "display": null,
2074
+ "flex": null,
2075
+ "flex_flow": null,
2076
+ "grid_area": null,
2077
+ "grid_auto_columns": null,
2078
+ "grid_auto_flow": null,
2079
+ "grid_auto_rows": null,
2080
+ "grid_column": null,
2081
+ "grid_gap": null,
2082
+ "grid_row": null,
2083
+ "grid_template_areas": null,
2084
+ "grid_template_columns": null,
2085
+ "grid_template_rows": null,
2086
+ "height": null,
2087
+ "justify_content": null,
2088
+ "justify_items": null,
2089
+ "left": null,
2090
+ "margin": null,
2091
+ "max_height": null,
2092
+ "max_width": null,
2093
+ "min_height": null,
2094
+ "min_width": null,
2095
+ "object_fit": null,
2096
+ "object_position": null,
2097
+ "order": null,
2098
+ "overflow": null,
2099
+ "overflow_x": null,
2100
+ "overflow_y": null,
2101
+ "padding": null,
2102
+ "right": null,
2103
+ "top": null,
2104
+ "visibility": null,
2105
+ "width": null
2106
+ }
2107
+ },
2108
+ "68482da651824c8cae38d329cbf84d01": {
2109
+ "model_module": "@jupyter-widgets/controls",
2110
+ "model_name": "DescriptionStyleModel",
2111
+ "model_module_version": "1.5.0",
2112
+ "state": {
2113
+ "_model_module": "@jupyter-widgets/controls",
2114
+ "_model_module_version": "1.5.0",
2115
+ "_model_name": "DescriptionStyleModel",
2116
+ "_view_count": null,
2117
+ "_view_module": "@jupyter-widgets/base",
2118
+ "_view_module_version": "1.2.0",
2119
+ "_view_name": "StyleView",
2120
+ "description_width": ""
2121
+ }
2122
+ },
2123
+ "f7aaf3b5ebe54c7ab586aa927c716aac": {
2124
+ "model_module": "@jupyter-widgets/base",
2125
+ "model_name": "LayoutModel",
2126
+ "model_module_version": "1.2.0",
2127
+ "state": {
2128
+ "_model_module": "@jupyter-widgets/base",
2129
+ "_model_module_version": "1.2.0",
2130
+ "_model_name": "LayoutModel",
2131
+ "_view_count": null,
2132
+ "_view_module": "@jupyter-widgets/base",
2133
+ "_view_module_version": "1.2.0",
2134
+ "_view_name": "LayoutView",
2135
+ "align_content": null,
2136
+ "align_items": null,
2137
+ "align_self": null,
2138
+ "border": null,
2139
+ "bottom": null,
2140
+ "display": null,
2141
+ "flex": null,
2142
+ "flex_flow": null,
2143
+ "grid_area": null,
2144
+ "grid_auto_columns": null,
2145
+ "grid_auto_flow": null,
2146
+ "grid_auto_rows": null,
2147
+ "grid_column": null,
2148
+ "grid_gap": null,
2149
+ "grid_row": null,
2150
+ "grid_template_areas": null,
2151
+ "grid_template_columns": null,
2152
+ "grid_template_rows": null,
2153
+ "height": null,
2154
+ "justify_content": null,
2155
+ "justify_items": null,
2156
+ "left": null,
2157
+ "margin": null,
2158
+ "max_height": null,
2159
+ "max_width": null,
2160
+ "min_height": null,
2161
+ "min_width": null,
2162
+ "object_fit": null,
2163
+ "object_position": null,
2164
+ "order": null,
2165
+ "overflow": null,
2166
+ "overflow_x": null,
2167
+ "overflow_y": null,
2168
+ "padding": null,
2169
+ "right": null,
2170
+ "top": null,
2171
+ "visibility": null,
2172
+ "width": null
2173
+ }
2174
+ },
2175
+ "0c1a5c251083445f851e2bdd6be10bee": {
2176
+ "model_module": "@jupyter-widgets/controls",
2177
+ "model_name": "ProgressStyleModel",
2178
+ "model_module_version": "1.5.0",
2179
+ "state": {
2180
+ "_model_module": "@jupyter-widgets/controls",
2181
+ "_model_module_version": "1.5.0",
2182
+ "_model_name": "ProgressStyleModel",
2183
+ "_view_count": null,
2184
+ "_view_module": "@jupyter-widgets/base",
2185
+ "_view_module_version": "1.2.0",
2186
+ "_view_name": "StyleView",
2187
+ "bar_color": null,
2188
+ "description_width": ""
2189
+ }
2190
+ },
2191
+ "a6a74beac434477e9a28faf0d805c3da": {
2192
+ "model_module": "@jupyter-widgets/base",
2193
+ "model_name": "LayoutModel",
2194
+ "model_module_version": "1.2.0",
2195
+ "state": {
2196
+ "_model_module": "@jupyter-widgets/base",
2197
+ "_model_module_version": "1.2.0",
2198
+ "_model_name": "LayoutModel",
2199
+ "_view_count": null,
2200
+ "_view_module": "@jupyter-widgets/base",
2201
+ "_view_module_version": "1.2.0",
2202
+ "_view_name": "LayoutView",
2203
+ "align_content": null,
2204
+ "align_items": null,
2205
+ "align_self": null,
2206
+ "border": null,
2207
+ "bottom": null,
2208
+ "display": null,
2209
+ "flex": null,
2210
+ "flex_flow": null,
2211
+ "grid_area": null,
2212
+ "grid_auto_columns": null,
2213
+ "grid_auto_flow": null,
2214
+ "grid_auto_rows": null,
2215
+ "grid_column": null,
2216
+ "grid_gap": null,
2217
+ "grid_row": null,
2218
+ "grid_template_areas": null,
2219
+ "grid_template_columns": null,
2220
+ "grid_template_rows": null,
2221
+ "height": null,
2222
+ "justify_content": null,
2223
+ "justify_items": null,
2224
+ "left": null,
2225
+ "margin": null,
2226
+ "max_height": null,
2227
+ "max_width": null,
2228
+ "min_height": null,
2229
+ "min_width": null,
2230
+ "object_fit": null,
2231
+ "object_position": null,
2232
+ "order": null,
2233
+ "overflow": null,
2234
+ "overflow_x": null,
2235
+ "overflow_y": null,
2236
+ "padding": null,
2237
+ "right": null,
2238
+ "top": null,
2239
+ "visibility": null,
2240
+ "width": null
2241
+ }
2242
+ },
2243
+ "5262f69cbd47414bbb11ad127b3baf6e": {
2244
+ "model_module": "@jupyter-widgets/controls",
2245
+ "model_name": "DescriptionStyleModel",
2246
+ "model_module_version": "1.5.0",
2247
+ "state": {
2248
+ "_model_module": "@jupyter-widgets/controls",
2249
+ "_model_module_version": "1.5.0",
2250
+ "_model_name": "DescriptionStyleModel",
2251
+ "_view_count": null,
2252
+ "_view_module": "@jupyter-widgets/base",
2253
+ "_view_module_version": "1.2.0",
2254
+ "_view_name": "StyleView",
2255
+ "description_width": ""
2256
+ }
2257
+ },
2258
+ "79f5f4671c1c445ebce566880c00cc2f": {
2259
+ "model_module": "@jupyter-widgets/controls",
2260
+ "model_name": "HBoxModel",
2261
+ "model_module_version": "1.5.0",
2262
+ "state": {
2263
+ "_dom_classes": [],
2264
+ "_model_module": "@jupyter-widgets/controls",
2265
+ "_model_module_version": "1.5.0",
2266
+ "_model_name": "HBoxModel",
2267
+ "_view_count": null,
2268
+ "_view_module": "@jupyter-widgets/controls",
2269
+ "_view_module_version": "1.5.0",
2270
+ "_view_name": "HBoxView",
2271
+ "box_style": "",
2272
+ "children": [
2273
+ "IPY_MODEL_f697a4925a7f4f9db55bb9d037a358ee",
2274
+ "IPY_MODEL_0bf0f0871e2446f39a1fb44da0f4b6a8",
2275
+ "IPY_MODEL_35ad3c303c6c4fa19fccdbf145da1a14"
2276
+ ],
2277
+ "layout": "IPY_MODEL_29658529d63c4311ba13c68b3e99b76c"
2278
+ }
2279
+ },
2280
+ "f697a4925a7f4f9db55bb9d037a358ee": {
2281
+ "model_module": "@jupyter-widgets/controls",
2282
+ "model_name": "HTMLModel",
2283
+ "model_module_version": "1.5.0",
2284
+ "state": {
2285
+ "_dom_classes": [],
2286
+ "_model_module": "@jupyter-widgets/controls",
2287
+ "_model_module_version": "1.5.0",
2288
+ "_model_name": "HTMLModel",
2289
+ "_view_count": null,
2290
+ "_view_module": "@jupyter-widgets/controls",
2291
+ "_view_module_version": "1.5.0",
2292
+ "_view_name": "HTMLView",
2293
+ "description": "",
2294
+ "description_tooltip": null,
2295
+ "layout": "IPY_MODEL_18536baa9e254eeb892060a56f3518ea",
2296
+ "placeholder": "​",
2297
+ "style": "IPY_MODEL_b770889f875746e99f791c75a785da65",
2298
+ "value": "pytorch_model.bin: 100%"
2299
+ }
2300
+ },
2301
+ "0bf0f0871e2446f39a1fb44da0f4b6a8": {
2302
+ "model_module": "@jupyter-widgets/controls",
2303
+ "model_name": "FloatProgressModel",
2304
+ "model_module_version": "1.5.0",
2305
+ "state": {
2306
+ "_dom_classes": [],
2307
+ "_model_module": "@jupyter-widgets/controls",
2308
+ "_model_module_version": "1.5.0",
2309
+ "_model_name": "FloatProgressModel",
2310
+ "_view_count": null,
2311
+ "_view_module": "@jupyter-widgets/controls",
2312
+ "_view_module_version": "1.5.0",
2313
+ "_view_name": "ProgressView",
2314
+ "bar_style": "success",
2315
+ "description": "",
2316
+ "description_tooltip": null,
2317
+ "layout": "IPY_MODEL_ac1d1802ba02481f9645a894818f7ff3",
2318
+ "max": 438005109,
2319
+ "min": 0,
2320
+ "orientation": "horizontal",
2321
+ "style": "IPY_MODEL_9e9b170cd9444221b07ef1995de7bb51",
2322
+ "value": 438005109
2323
+ }
2324
+ },
2325
+ "35ad3c303c6c4fa19fccdbf145da1a14": {
2326
+ "model_module": "@jupyter-widgets/controls",
2327
+ "model_name": "HTMLModel",
2328
+ "model_module_version": "1.5.0",
2329
+ "state": {
2330
+ "_dom_classes": [],
2331
+ "_model_module": "@jupyter-widgets/controls",
2332
+ "_model_module_version": "1.5.0",
2333
+ "_model_name": "HTMLModel",
2334
+ "_view_count": null,
2335
+ "_view_module": "@jupyter-widgets/controls",
2336
+ "_view_module_version": "1.5.0",
2337
+ "_view_name": "HTMLView",
2338
+ "description": "",
2339
+ "description_tooltip": null,
2340
+ "layout": "IPY_MODEL_257cd80aa7f44f9192ca7144714f07c7",
2341
+ "placeholder": "​",
2342
+ "style": "IPY_MODEL_2d7f11edb838484d9b102a799d1c2fc5",
2343
+ "value": " 438M/438M [00:09&lt;00:00, 51.6MB/s]"
2344
+ }
2345
+ },
2346
+ "29658529d63c4311ba13c68b3e99b76c": {
2347
+ "model_module": "@jupyter-widgets/base",
2348
+ "model_name": "LayoutModel",
2349
+ "model_module_version": "1.2.0",
2350
+ "state": {
2351
+ "_model_module": "@jupyter-widgets/base",
2352
+ "_model_module_version": "1.2.0",
2353
+ "_model_name": "LayoutModel",
2354
+ "_view_count": null,
2355
+ "_view_module": "@jupyter-widgets/base",
2356
+ "_view_module_version": "1.2.0",
2357
+ "_view_name": "LayoutView",
2358
+ "align_content": null,
2359
+ "align_items": null,
2360
+ "align_self": null,
2361
+ "border": null,
2362
+ "bottom": null,
2363
+ "display": null,
2364
+ "flex": null,
2365
+ "flex_flow": null,
2366
+ "grid_area": null,
2367
+ "grid_auto_columns": null,
2368
+ "grid_auto_flow": null,
2369
+ "grid_auto_rows": null,
2370
+ "grid_column": null,
2371
+ "grid_gap": null,
2372
+ "grid_row": null,
2373
+ "grid_template_areas": null,
2374
+ "grid_template_columns": null,
2375
+ "grid_template_rows": null,
2376
+ "height": null,
2377
+ "justify_content": null,
2378
+ "justify_items": null,
2379
+ "left": null,
2380
+ "margin": null,
2381
+ "max_height": null,
2382
+ "max_width": null,
2383
+ "min_height": null,
2384
+ "min_width": null,
2385
+ "object_fit": null,
2386
+ "object_position": null,
2387
+ "order": null,
2388
+ "overflow": null,
2389
+ "overflow_x": null,
2390
+ "overflow_y": null,
2391
+ "padding": null,
2392
+ "right": null,
2393
+ "top": null,
2394
+ "visibility": null,
2395
+ "width": null
2396
+ }
2397
+ },
2398
+ "18536baa9e254eeb892060a56f3518ea": {
2399
+ "model_module": "@jupyter-widgets/base",
2400
+ "model_name": "LayoutModel",
2401
+ "model_module_version": "1.2.0",
2402
+ "state": {
2403
+ "_model_module": "@jupyter-widgets/base",
2404
+ "_model_module_version": "1.2.0",
2405
+ "_model_name": "LayoutModel",
2406
+ "_view_count": null,
2407
+ "_view_module": "@jupyter-widgets/base",
2408
+ "_view_module_version": "1.2.0",
2409
+ "_view_name": "LayoutView",
2410
+ "align_content": null,
2411
+ "align_items": null,
2412
+ "align_self": null,
2413
+ "border": null,
2414
+ "bottom": null,
2415
+ "display": null,
2416
+ "flex": null,
2417
+ "flex_flow": null,
2418
+ "grid_area": null,
2419
+ "grid_auto_columns": null,
2420
+ "grid_auto_flow": null,
2421
+ "grid_auto_rows": null,
2422
+ "grid_column": null,
2423
+ "grid_gap": null,
2424
+ "grid_row": null,
2425
+ "grid_template_areas": null,
2426
+ "grid_template_columns": null,
2427
+ "grid_template_rows": null,
2428
+ "height": null,
2429
+ "justify_content": null,
2430
+ "justify_items": null,
2431
+ "left": null,
2432
+ "margin": null,
2433
+ "max_height": null,
2434
+ "max_width": null,
2435
+ "min_height": null,
2436
+ "min_width": null,
2437
+ "object_fit": null,
2438
+ "object_position": null,
2439
+ "order": null,
2440
+ "overflow": null,
2441
+ "overflow_x": null,
2442
+ "overflow_y": null,
2443
+ "padding": null,
2444
+ "right": null,
2445
+ "top": null,
2446
+ "visibility": null,
2447
+ "width": null
2448
+ }
2449
+ },
2450
+ "b770889f875746e99f791c75a785da65": {
2451
+ "model_module": "@jupyter-widgets/controls",
2452
+ "model_name": "DescriptionStyleModel",
2453
+ "model_module_version": "1.5.0",
2454
+ "state": {
2455
+ "_model_module": "@jupyter-widgets/controls",
2456
+ "_model_module_version": "1.5.0",
2457
+ "_model_name": "DescriptionStyleModel",
2458
+ "_view_count": null,
2459
+ "_view_module": "@jupyter-widgets/base",
2460
+ "_view_module_version": "1.2.0",
2461
+ "_view_name": "StyleView",
2462
+ "description_width": ""
2463
+ }
2464
+ },
2465
+ "ac1d1802ba02481f9645a894818f7ff3": {
2466
+ "model_module": "@jupyter-widgets/base",
2467
+ "model_name": "LayoutModel",
2468
+ "model_module_version": "1.2.0",
2469
+ "state": {
2470
+ "_model_module": "@jupyter-widgets/base",
2471
+ "_model_module_version": "1.2.0",
2472
+ "_model_name": "LayoutModel",
2473
+ "_view_count": null,
2474
+ "_view_module": "@jupyter-widgets/base",
2475
+ "_view_module_version": "1.2.0",
2476
+ "_view_name": "LayoutView",
2477
+ "align_content": null,
2478
+ "align_items": null,
2479
+ "align_self": null,
2480
+ "border": null,
2481
+ "bottom": null,
2482
+ "display": null,
2483
+ "flex": null,
2484
+ "flex_flow": null,
2485
+ "grid_area": null,
2486
+ "grid_auto_columns": null,
2487
+ "grid_auto_flow": null,
2488
+ "grid_auto_rows": null,
2489
+ "grid_column": null,
2490
+ "grid_gap": null,
2491
+ "grid_row": null,
2492
+ "grid_template_areas": null,
2493
+ "grid_template_columns": null,
2494
+ "grid_template_rows": null,
2495
+ "height": null,
2496
+ "justify_content": null,
2497
+ "justify_items": null,
2498
+ "left": null,
2499
+ "margin": null,
2500
+ "max_height": null,
2501
+ "max_width": null,
2502
+ "min_height": null,
2503
+ "min_width": null,
2504
+ "object_fit": null,
2505
+ "object_position": null,
2506
+ "order": null,
2507
+ "overflow": null,
2508
+ "overflow_x": null,
2509
+ "overflow_y": null,
2510
+ "padding": null,
2511
+ "right": null,
2512
+ "top": null,
2513
+ "visibility": null,
2514
+ "width": null
2515
+ }
2516
+ },
2517
+ "9e9b170cd9444221b07ef1995de7bb51": {
2518
+ "model_module": "@jupyter-widgets/controls",
2519
+ "model_name": "ProgressStyleModel",
2520
+ "model_module_version": "1.5.0",
2521
+ "state": {
2522
+ "_model_module": "@jupyter-widgets/controls",
2523
+ "_model_module_version": "1.5.0",
2524
+ "_model_name": "ProgressStyleModel",
2525
+ "_view_count": null,
2526
+ "_view_module": "@jupyter-widgets/base",
2527
+ "_view_module_version": "1.2.0",
2528
+ "_view_name": "StyleView",
2529
+ "bar_color": null,
2530
+ "description_width": ""
2531
+ }
2532
+ },
2533
+ "257cd80aa7f44f9192ca7144714f07c7": {
2534
+ "model_module": "@jupyter-widgets/base",
2535
+ "model_name": "LayoutModel",
2536
+ "model_module_version": "1.2.0",
2537
+ "state": {
2538
+ "_model_module": "@jupyter-widgets/base",
2539
+ "_model_module_version": "1.2.0",
2540
+ "_model_name": "LayoutModel",
2541
+ "_view_count": null,
2542
+ "_view_module": "@jupyter-widgets/base",
2543
+ "_view_module_version": "1.2.0",
2544
+ "_view_name": "LayoutView",
2545
+ "align_content": null,
2546
+ "align_items": null,
2547
+ "align_self": null,
2548
+ "border": null,
2549
+ "bottom": null,
2550
+ "display": null,
2551
+ "flex": null,
2552
+ "flex_flow": null,
2553
+ "grid_area": null,
2554
+ "grid_auto_columns": null,
2555
+ "grid_auto_flow": null,
2556
+ "grid_auto_rows": null,
2557
+ "grid_column": null,
2558
+ "grid_gap": null,
2559
+ "grid_row": null,
2560
+ "grid_template_areas": null,
2561
+ "grid_template_columns": null,
2562
+ "grid_template_rows": null,
2563
+ "height": null,
2564
+ "justify_content": null,
2565
+ "justify_items": null,
2566
+ "left": null,
2567
+ "margin": null,
2568
+ "max_height": null,
2569
+ "max_width": null,
2570
+ "min_height": null,
2571
+ "min_width": null,
2572
+ "object_fit": null,
2573
+ "object_position": null,
2574
+ "order": null,
2575
+ "overflow": null,
2576
+ "overflow_x": null,
2577
+ "overflow_y": null,
2578
+ "padding": null,
2579
+ "right": null,
2580
+ "top": null,
2581
+ "visibility": null,
2582
+ "width": null
2583
+ }
2584
+ },
2585
+ "2d7f11edb838484d9b102a799d1c2fc5": {
2586
+ "model_module": "@jupyter-widgets/controls",
2587
+ "model_name": "DescriptionStyleModel",
2588
+ "model_module_version": "1.5.0",
2589
+ "state": {
2590
+ "_model_module": "@jupyter-widgets/controls",
2591
+ "_model_module_version": "1.5.0",
2592
+ "_model_name": "DescriptionStyleModel",
2593
+ "_view_count": null,
2594
+ "_view_module": "@jupyter-widgets/base",
2595
+ "_view_module_version": "1.2.0",
2596
+ "_view_name": "StyleView",
2597
+ "description_width": ""
2598
+ }
2599
+ }
2600
+ }
2601
+ }
2602
+ },
2603
+ "nbformat": 4,
2604
+ "nbformat_minor": 0
2605
+ }