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_name": "Python 3"
|
13 |
+
},
|
14 |
+
"language_info": {
|
15 |
+
"name": "python"
|
16 |
+
},
|
17 |
+
"accelerator": "GPU",
|
18 |
+
"widgets": {
|
19 |
+
"application/vnd.jupyter.widget-state+json": {
|
20 |
+
"25ac757f00114342abfe1d1b30265214": {
|
21 |
+
"model_module": "@jupyter-widgets/controls",
|
22 |
+
"model_name": "HBoxModel",
|
23 |
+
"model_module_version": "1.5.0",
|
24 |
+
"state": {
|
25 |
+
"_dom_classes": [],
|
26 |
+
"_model_module": "@jupyter-widgets/controls",
|
27 |
+
"_model_module_version": "1.5.0",
|
28 |
+
"_model_name": "HBoxModel",
|
29 |
+
"_view_count": null,
|
30 |
+
"_view_module": "@jupyter-widgets/controls",
|
31 |
+
"_view_module_version": "1.5.0",
|
32 |
+
"_view_name": "HBoxView",
|
33 |
+
"box_style": "",
|
34 |
+
"children": [
|
35 |
+
"IPY_MODEL_fb2bc34d59d84389aa06ef7911352755",
|
36 |
+
"IPY_MODEL_96c8549716a04e00924338f3fd51dee3",
|
37 |
+
"IPY_MODEL_375bcd3d6d084f4d94991532ebe1f0f5"
|
38 |
+
],
|
39 |
+
"layout": "IPY_MODEL_4924299e525345b9958a512efb68b588"
|
40 |
+
}
|
41 |
+
},
|
42 |
+
"fb2bc34d59d84389aa06ef7911352755": {
|
43 |
+
"model_module": "@jupyter-widgets/controls",
|
44 |
+
"model_name": "HTMLModel",
|
45 |
+
"model_module_version": "1.5.0",
|
46 |
+
"state": {
|
47 |
+
"_dom_classes": [],
|
48 |
+
"_model_module": "@jupyter-widgets/controls",
|
49 |
+
"_model_module_version": "1.5.0",
|
50 |
+
"_model_name": "HTMLModel",
|
51 |
+
"_view_count": null,
|
52 |
+
"_view_module": "@jupyter-widgets/controls",
|
53 |
+
"_view_module_version": "1.5.0",
|
54 |
+
"_view_name": "HTMLView",
|
55 |
+
"description": "",
|
56 |
+
"description_tooltip": null,
|
57 |
+
"layout": "IPY_MODEL_7248b46c4b6a422d95faf1ec623a3a50",
|
58 |
+
"placeholder": "",
|
59 |
+
"style": "IPY_MODEL_249f40bec83a4ad5b31591907cd03561",
|
60 |
+
"value": "tokenizer_config.json: 100%"
|
61 |
+
}
|
62 |
+
},
|
63 |
+
"96c8549716a04e00924338f3fd51dee3": {
|
64 |
+
"model_module": "@jupyter-widgets/controls",
|
65 |
+
"model_name": "FloatProgressModel",
|
66 |
+
"model_module_version": "1.5.0",
|
67 |
+
"state": {
|
68 |
+
"_dom_classes": [],
|
69 |
+
"_model_module": "@jupyter-widgets/controls",
|
70 |
+
"_model_module_version": "1.5.0",
|
71 |
+
"_model_name": "FloatProgressModel",
|
72 |
+
"_view_count": null,
|
73 |
+
"_view_module": "@jupyter-widgets/controls",
|
74 |
+
"_view_module_version": "1.5.0",
|
75 |
+
"_view_name": "ProgressView",
|
76 |
+
"bar_style": "success",
|
77 |
+
"description": "",
|
78 |
+
"description_tooltip": null,
|
79 |
+
"layout": "IPY_MODEL_7f84f3f4bee4477e8fa1f8e83ef4bee0",
|
80 |
+
"max": 5349,
|
81 |
+
"min": 0,
|
82 |
+
"orientation": "horizontal",
|
83 |
+
"style": "IPY_MODEL_a06a675a11594ef98998a29b81d3b4a4",
|
84 |
+
"value": 5349
|
85 |
+
}
|
86 |
+
},
|
87 |
+
"375bcd3d6d084f4d94991532ebe1f0f5": {
|
88 |
+
"model_module": "@jupyter-widgets/controls",
|
89 |
+
"model_name": "HTMLModel",
|
90 |
+
"model_module_version": "1.5.0",
|
91 |
+
"state": {
|
92 |
+
"_dom_classes": [],
|
93 |
+
"_model_module": "@jupyter-widgets/controls",
|
94 |
+
"_model_module_version": "1.5.0",
|
95 |
+
"_model_name": "HTMLModel",
|
96 |
+
"_view_count": null,
|
97 |
+
"_view_module": "@jupyter-widgets/controls",
|
98 |
+
"_view_module_version": "1.5.0",
|
99 |
+
"_view_name": "HTMLView",
|
100 |
+
"description": "",
|
101 |
+
"description_tooltip": null,
|
102 |
+
"layout": "IPY_MODEL_6ac6c23ba8884c2684f907d263279fd7",
|
103 |
+
"placeholder": "",
|
104 |
+
"style": "IPY_MODEL_3af5638fcff9441ea00dbda99afb64d7",
|
105 |
+
"value": " 5.35k/5.35k [00:00<00:00, 399kB/s]"
|
106 |
+
}
|
107 |
+
},
|
108 |
+
"4924299e525345b9958a512efb68b588": {
|
109 |
+
"model_module": "@jupyter-widgets/base",
|
110 |
+
"model_name": "LayoutModel",
|
111 |
+
"model_module_version": "1.2.0",
|
112 |
+
"state": {
|
113 |
+
"_model_module": "@jupyter-widgets/base",
|
114 |
+
"_model_module_version": "1.2.0",
|
115 |
+
"_model_name": "LayoutModel",
|
116 |
+
"_view_count": null,
|
117 |
+
"_view_module": "@jupyter-widgets/base",
|
118 |
+
"_view_module_version": "1.2.0",
|
119 |
+
"_view_name": "LayoutView",
|
120 |
+
"align_content": null,
|
121 |
+
"align_items": null,
|
122 |
+
"align_self": null,
|
123 |
+
"border": null,
|
124 |
+
"bottom": null,
|
125 |
+
"display": null,
|
126 |
+
"flex": null,
|
127 |
+
"flex_flow": null,
|
128 |
+
"grid_area": null,
|
129 |
+
"grid_auto_columns": null,
|
130 |
+
"grid_auto_flow": null,
|
131 |
+
"grid_auto_rows": null,
|
132 |
+
"grid_column": null,
|
133 |
+
"grid_gap": null,
|
134 |
+
"grid_row": null,
|
135 |
+
"grid_template_areas": null,
|
136 |
+
"grid_template_columns": null,
|
137 |
+
"grid_template_rows": null,
|
138 |
+
"height": null,
|
139 |
+
"justify_content": null,
|
140 |
+
"justify_items": null,
|
141 |
+
"left": null,
|
142 |
+
"margin": null,
|
143 |
+
"max_height": null,
|
144 |
+
"max_width": null,
|
145 |
+
"min_height": null,
|
146 |
+
"min_width": null,
|
147 |
+
"object_fit": null,
|
148 |
+
"object_position": null,
|
149 |
+
"order": null,
|
150 |
+
"overflow": null,
|
151 |
+
"overflow_x": null,
|
152 |
+
"overflow_y": null,
|
153 |
+
"padding": null,
|
154 |
+
"right": null,
|
155 |
+
"top": null,
|
156 |
+
"visibility": null,
|
157 |
+
"width": null
|
158 |
+
}
|
159 |
+
},
|
160 |
+
"7248b46c4b6a422d95faf1ec623a3a50": {
|
161 |
+
"model_module": "@jupyter-widgets/base",
|
162 |
+
"model_name": "LayoutModel",
|
163 |
+
"model_module_version": "1.2.0",
|
164 |
+
"state": {
|
165 |
+
"_model_module": "@jupyter-widgets/base",
|
166 |
+
"_model_module_version": "1.2.0",
|
167 |
+
"_model_name": "LayoutModel",
|
168 |
+
"_view_count": null,
|
169 |
+
"_view_module": "@jupyter-widgets/base",
|
170 |
+
"_view_module_version": "1.2.0",
|
171 |
+
"_view_name": "LayoutView",
|
172 |
+
"align_content": null,
|
173 |
+
"align_items": null,
|
174 |
+
"align_self": null,
|
175 |
+
"border": null,
|
176 |
+
"bottom": null,
|
177 |
+
"display": null,
|
178 |
+
"flex": null,
|
179 |
+
"flex_flow": null,
|
180 |
+
"grid_area": null,
|
181 |
+
"grid_auto_columns": null,
|
182 |
+
"grid_auto_flow": null,
|
183 |
+
"grid_auto_rows": null,
|
184 |
+
"grid_column": null,
|
185 |
+
"grid_gap": null,
|
186 |
+
"grid_row": null,
|
187 |
+
"grid_template_areas": null,
|
188 |
+
"grid_template_columns": null,
|
189 |
+
"grid_template_rows": null,
|
190 |
+
"height": null,
|
191 |
+
"justify_content": null,
|
192 |
+
"justify_items": null,
|
193 |
+
"left": null,
|
194 |
+
"margin": null,
|
195 |
+
"max_height": null,
|
196 |
+
"max_width": null,
|
197 |
+
"min_height": null,
|
198 |
+
"min_width": null,
|
199 |
+
"object_fit": null,
|
200 |
+
"object_position": null,
|
201 |
+
"order": null,
|
202 |
+
"overflow": null,
|
203 |
+
"overflow_x": null,
|
204 |
+
"overflow_y": null,
|
205 |
+
"padding": null,
|
206 |
+
"right": null,
|
207 |
+
"top": null,
|
208 |
+
"visibility": null,
|
209 |
+
"width": null
|
210 |
+
}
|
211 |
+
},
|
212 |
+
"249f40bec83a4ad5b31591907cd03561": {
|
213 |
+
"model_module": "@jupyter-widgets/controls",
|
214 |
+
"model_name": "DescriptionStyleModel",
|
215 |
+
"model_module_version": "1.5.0",
|
216 |
+
"state": {
|
217 |
+
"_model_module": "@jupyter-widgets/controls",
|
218 |
+
"_model_module_version": "1.5.0",
|
219 |
+
"_model_name": "DescriptionStyleModel",
|
220 |
+
"_view_count": null,
|
221 |
+
"_view_module": "@jupyter-widgets/base",
|
222 |
+
"_view_module_version": "1.2.0",
|
223 |
+
"_view_name": "StyleView",
|
224 |
+
"description_width": ""
|
225 |
+
}
|
226 |
+
},
|
227 |
+
"7f84f3f4bee4477e8fa1f8e83ef4bee0": {
|
228 |
+
"model_module": "@jupyter-widgets/base",
|
229 |
+
"model_name": "LayoutModel",
|
230 |
+
"model_module_version": "1.2.0",
|
231 |
+
"state": {
|
232 |
+
"_model_module": "@jupyter-widgets/base",
|
233 |
+
"_model_module_version": "1.2.0",
|
234 |
+
"_model_name": "LayoutModel",
|
235 |
+
"_view_count": null,
|
236 |
+
"_view_module": "@jupyter-widgets/base",
|
237 |
+
"_view_module_version": "1.2.0",
|
238 |
+
"_view_name": "LayoutView",
|
239 |
+
"align_content": null,
|
240 |
+
"align_items": null,
|
241 |
+
"align_self": null,
|
242 |
+
"border": null,
|
243 |
+
"bottom": null,
|
244 |
+
"display": null,
|
245 |
+
"flex": null,
|
246 |
+
"flex_flow": null,
|
247 |
+
"grid_area": null,
|
248 |
+
"grid_auto_columns": null,
|
249 |
+
"grid_auto_flow": null,
|
250 |
+
"grid_auto_rows": null,
|
251 |
+
"grid_column": null,
|
252 |
+
"grid_gap": null,
|
253 |
+
"grid_row": null,
|
254 |
+
"grid_template_areas": null,
|
255 |
+
"grid_template_columns": null,
|
256 |
+
"grid_template_rows": null,
|
257 |
+
"height": null,
|
258 |
+
"justify_content": null,
|
259 |
+
"justify_items": null,
|
260 |
+
"left": null,
|
261 |
+
"margin": null,
|
262 |
+
"max_height": null,
|
263 |
+
"max_width": null,
|
264 |
+
"min_height": null,
|
265 |
+
"min_width": null,
|
266 |
+
"object_fit": null,
|
267 |
+
"object_position": null,
|
268 |
+
"order": null,
|
269 |
+
"overflow": null,
|
270 |
+
"overflow_x": null,
|
271 |
+
"overflow_y": null,
|
272 |
+
"padding": null,
|
273 |
+
"right": null,
|
274 |
+
"top": null,
|
275 |
+
"visibility": null,
|
276 |
+
"width": null
|
277 |
+
}
|
278 |
+
},
|
279 |
+
"a06a675a11594ef98998a29b81d3b4a4": {
|
280 |
+
"model_module": "@jupyter-widgets/controls",
|
281 |
+
"model_name": "ProgressStyleModel",
|
282 |
+
"model_module_version": "1.5.0",
|
283 |
+
"state": {
|
284 |
+
"_model_module": "@jupyter-widgets/controls",
|
285 |
+
"_model_module_version": "1.5.0",
|
286 |
+
"_model_name": "ProgressStyleModel",
|
287 |
+
"_view_count": null,
|
288 |
+
"_view_module": "@jupyter-widgets/base",
|
289 |
+
"_view_module_version": "1.2.0",
|
290 |
+
"_view_name": "StyleView",
|
291 |
+
"bar_color": null,
|
292 |
+
"description_width": ""
|
293 |
+
}
|
294 |
+
},
|
295 |
+
"6ac6c23ba8884c2684f907d263279fd7": {
|
296 |
+
"model_module": "@jupyter-widgets/base",
|
297 |
+
"model_name": "LayoutModel",
|
298 |
+
"model_module_version": "1.2.0",
|
299 |
+
"state": {
|
300 |
+
"_model_module": "@jupyter-widgets/base",
|
301 |
+
"_model_module_version": "1.2.0",
|
302 |
+
"_model_name": "LayoutModel",
|
303 |
+
"_view_count": null,
|
304 |
+
"_view_module": "@jupyter-widgets/base",
|
305 |
+
"_view_module_version": "1.2.0",
|
306 |
+
"_view_name": "LayoutView",
|
307 |
+
"align_content": null,
|
308 |
+
"align_items": null,
|
309 |
+
"align_self": null,
|
310 |
+
"border": null,
|
311 |
+
"bottom": null,
|
312 |
+
"display": null,
|
313 |
+
"flex": null,
|
314 |
+
"flex_flow": null,
|
315 |
+
"grid_area": null,
|
316 |
+
"grid_auto_columns": null,
|
317 |
+
"grid_auto_flow": null,
|
318 |
+
"grid_auto_rows": null,
|
319 |
+
"grid_column": null,
|
320 |
+
"grid_gap": null,
|
321 |
+
"grid_row": null,
|
322 |
+
"grid_template_areas": null,
|
323 |
+
"grid_template_columns": null,
|
324 |
+
"grid_template_rows": null,
|
325 |
+
"height": null,
|
326 |
+
"justify_content": null,
|
327 |
+
"justify_items": null,
|
328 |
+
"left": null,
|
329 |
+
"margin": null,
|
330 |
+
"max_height": null,
|
331 |
+
"max_width": null,
|
332 |
+
"min_height": null,
|
333 |
+
"min_width": null,
|
334 |
+
"object_fit": null,
|
335 |
+
"object_position": null,
|
336 |
+
"order": null,
|
337 |
+
"overflow": null,
|
338 |
+
"overflow_x": null,
|
339 |
+
"overflow_y": null,
|
340 |
+
"padding": null,
|
341 |
+
"right": null,
|
342 |
+
"top": null,
|
343 |
+
"visibility": null,
|
344 |
+
"width": null
|
345 |
+
}
|
346 |
+
},
|
347 |
+
"3af5638fcff9441ea00dbda99afb64d7": {
|
348 |
+
"model_module": "@jupyter-widgets/controls",
|
349 |
+
"model_name": "DescriptionStyleModel",
|
350 |
+
"model_module_version": "1.5.0",
|
351 |
+
"state": {
|
352 |
+
"_model_module": "@jupyter-widgets/controls",
|
353 |
+
"_model_module_version": "1.5.0",
|
354 |
+
"_model_name": "DescriptionStyleModel",
|
355 |
+
"_view_count": null,
|
356 |
+
"_view_module": "@jupyter-widgets/base",
|
357 |
+
"_view_module_version": "1.2.0",
|
358 |
+
"_view_name": "StyleView",
|
359 |
+
"description_width": ""
|
360 |
+
}
|
361 |
+
},
|
362 |
+
"494fa84f1d144081a22f211784399137": {
|
363 |
+
"model_module": "@jupyter-widgets/controls",
|
364 |
+
"model_name": "HBoxModel",
|
365 |
+
"model_module_version": "1.5.0",
|
366 |
+
"state": {
|
367 |
+
"_dom_classes": [],
|
368 |
+
"_model_module": "@jupyter-widgets/controls",
|
369 |
+
"_model_module_version": "1.5.0",
|
370 |
+
"_model_name": "HBoxModel",
|
371 |
+
"_view_count": null,
|
372 |
+
"_view_module": "@jupyter-widgets/controls",
|
373 |
+
"_view_module_version": "1.5.0",
|
374 |
+
"_view_name": "HBoxView",
|
375 |
+
"box_style": "",
|
376 |
+
"children": [
|
377 |
+
"IPY_MODEL_985c92acbfac43aa9f83a4f46de04c49",
|
378 |
+
"IPY_MODEL_5136ce50cc454b79970ce5722a90724c",
|
379 |
+
"IPY_MODEL_e573df86b3ae46c991571e75063bbc84"
|
380 |
+
],
|
381 |
+
"layout": "IPY_MODEL_797cb60b235f4534a336455511818498"
|
382 |
+
}
|
383 |
+
},
|
384 |
+
"985c92acbfac43aa9f83a4f46de04c49": {
|
385 |
+
"model_module": "@jupyter-widgets/controls",
|
386 |
+
"model_name": "HTMLModel",
|
387 |
+
"model_module_version": "1.5.0",
|
388 |
+
"state": {
|
389 |
+
"_dom_classes": [],
|
390 |
+
"_model_module": "@jupyter-widgets/controls",
|
391 |
+
"_model_module_version": "1.5.0",
|
392 |
+
"_model_name": "HTMLModel",
|
393 |
+
"_view_count": null,
|
394 |
+
"_view_module": "@jupyter-widgets/controls",
|
395 |
+
"_view_module_version": "1.5.0",
|
396 |
+
"_view_name": "HTMLView",
|
397 |
+
"description": "",
|
398 |
+
"description_tooltip": null,
|
399 |
+
"layout": "IPY_MODEL_6fa48af8697244018a68208fea30083d",
|
400 |
+
"placeholder": "",
|
401 |
+
"style": "IPY_MODEL_b90eff25148f4b128526d2588e3f3a07",
|
402 |
+
"value": "tokenizer.json: 100%"
|
403 |
+
}
|
404 |
+
},
|
405 |
+
"5136ce50cc454b79970ce5722a90724c": {
|
406 |
+
"model_module": "@jupyter-widgets/controls",
|
407 |
+
"model_name": "FloatProgressModel",
|
408 |
+
"model_module_version": "1.5.0",
|
409 |
+
"state": {
|
410 |
+
"_dom_classes": [],
|
411 |
+
"_model_module": "@jupyter-widgets/controls",
|
412 |
+
"_model_module_version": "1.5.0",
|
413 |
+
"_model_name": "FloatProgressModel",
|
414 |
+
"_view_count": null,
|
415 |
+
"_view_module": "@jupyter-widgets/controls",
|
416 |
+
"_view_module_version": "1.5.0",
|
417 |
+
"_view_name": "ProgressView",
|
418 |
+
"bar_style": "success",
|
419 |
+
"description": "",
|
420 |
+
"description_tooltip": null,
|
421 |
+
"layout": "IPY_MODEL_729509fdf1c349a3a4a15bd8950a7dee",
|
422 |
+
"max": 2113738,
|
423 |
+
"min": 0,
|
424 |
+
"orientation": "horizontal",
|
425 |
+
"style": "IPY_MODEL_4f60b050e3d34a2d92b8771c4b5413a5",
|
426 |
+
"value": 2113738
|
427 |
+
}
|
428 |
+
},
|
429 |
+
"e573df86b3ae46c991571e75063bbc84": {
|
430 |
+
"model_module": "@jupyter-widgets/controls",
|
431 |
+
"model_name": "HTMLModel",
|
432 |
+
"model_module_version": "1.5.0",
|
433 |
+
"state": {
|
434 |
+
"_dom_classes": [],
|
435 |
+
"_model_module": "@jupyter-widgets/controls",
|
436 |
+
"_model_module_version": "1.5.0",
|
437 |
+
"_model_name": "HTMLModel",
|
438 |
+
"_view_count": null,
|
439 |
+
"_view_module": "@jupyter-widgets/controls",
|
440 |
+
"_view_module_version": "1.5.0",
|
441 |
+
"_view_name": "HTMLView",
|
442 |
+
"description": "",
|
443 |
+
"description_tooltip": null,
|
444 |
+
"layout": "IPY_MODEL_9ddd8c63c47045079bb200e2b50243ec",
|
445 |
+
"placeholder": "",
|
446 |
+
"style": "IPY_MODEL_1ce55b924cb94196aeb9fb749e6eedd6",
|
447 |
+
"value": " 2.11M/2.11M [00:00<00:00, 5.15MB/s]"
|
448 |
+
}
|
449 |
+
},
|
450 |
+
"797cb60b235f4534a336455511818498": {
|
451 |
+
"model_module": "@jupyter-widgets/base",
|
452 |
+
"model_name": "LayoutModel",
|
453 |
+
"model_module_version": "1.2.0",
|
454 |
+
"state": {
|
455 |
+
"_model_module": "@jupyter-widgets/base",
|
456 |
+
"_model_module_version": "1.2.0",
|
457 |
+
"_model_name": "LayoutModel",
|
458 |
+
"_view_count": null,
|
459 |
+
"_view_module": "@jupyter-widgets/base",
|
460 |
+
"_view_module_version": "1.2.0",
|
461 |
+
"_view_name": "LayoutView",
|
462 |
+
"align_content": null,
|
463 |
+
"align_items": null,
|
464 |
+
"align_self": null,
|
465 |
+
"border": null,
|
466 |
+
"bottom": null,
|
467 |
+
"display": null,
|
468 |
+
"flex": null,
|
469 |
+
"flex_flow": null,
|
470 |
+
"grid_area": null,
|
471 |
+
"grid_auto_columns": null,
|
472 |
+
"grid_auto_flow": null,
|
473 |
+
"grid_auto_rows": null,
|
474 |
+
"grid_column": null,
|
475 |
+
"grid_gap": null,
|
476 |
+
"grid_row": null,
|
477 |
+
"grid_template_areas": null,
|
478 |
+
"grid_template_columns": null,
|
479 |
+
"grid_template_rows": null,
|
480 |
+
"height": null,
|
481 |
+
"justify_content": null,
|
482 |
+
"justify_items": null,
|
483 |
+
"left": null,
|
484 |
+
"margin": null,
|
485 |
+
"max_height": null,
|
486 |
+
"max_width": null,
|
487 |
+
"min_height": null,
|
488 |
+
"min_width": null,
|
489 |
+
"object_fit": null,
|
490 |
+
"object_position": null,
|
491 |
+
"order": null,
|
492 |
+
"overflow": null,
|
493 |
+
"overflow_x": null,
|
494 |
+
"overflow_y": null,
|
495 |
+
"padding": null,
|
496 |
+
"right": null,
|
497 |
+
"top": null,
|
498 |
+
"visibility": null,
|
499 |
+
"width": null
|
500 |
+
}
|
501 |
+
},
|
502 |
+
"6fa48af8697244018a68208fea30083d": {
|
503 |
+
"model_module": "@jupyter-widgets/base",
|
504 |
+
"model_name": "LayoutModel",
|
505 |
+
"model_module_version": "1.2.0",
|
506 |
+
"state": {
|
507 |
+
"_model_module": "@jupyter-widgets/base",
|
508 |
+
"_model_module_version": "1.2.0",
|
509 |
+
"_model_name": "LayoutModel",
|
510 |
+
"_view_count": null,
|
511 |
+
"_view_module": "@jupyter-widgets/base",
|
512 |
+
"_view_module_version": "1.2.0",
|
513 |
+
"_view_name": "LayoutView",
|
514 |
+
"align_content": null,
|
515 |
+
"align_items": null,
|
516 |
+
"align_self": null,
|
517 |
+
"border": null,
|
518 |
+
"bottom": null,
|
519 |
+
"display": null,
|
520 |
+
"flex": null,
|
521 |
+
"flex_flow": null,
|
522 |
+
"grid_area": null,
|
523 |
+
"grid_auto_columns": null,
|
524 |
+
"grid_auto_flow": null,
|
525 |
+
"grid_auto_rows": null,
|
526 |
+
"grid_column": null,
|
527 |
+
"grid_gap": null,
|
528 |
+
"grid_row": null,
|
529 |
+
"grid_template_areas": null,
|
530 |
+
"grid_template_columns": null,
|
531 |
+
"grid_template_rows": null,
|
532 |
+
"height": null,
|
533 |
+
"justify_content": null,
|
534 |
+
"justify_items": null,
|
535 |
+
"left": null,
|
536 |
+
"margin": null,
|
537 |
+
"max_height": null,
|
538 |
+
"max_width": null,
|
539 |
+
"min_height": null,
|
540 |
+
"min_width": null,
|
541 |
+
"object_fit": null,
|
542 |
+
"object_position": null,
|
543 |
+
"order": null,
|
544 |
+
"overflow": null,
|
545 |
+
"overflow_x": null,
|
546 |
+
"overflow_y": null,
|
547 |
+
"padding": null,
|
548 |
+
"right": null,
|
549 |
+
"top": null,
|
550 |
+
"visibility": null,
|
551 |
+
"width": null
|
552 |
+
}
|
553 |
+
},
|
554 |
+
"b90eff25148f4b128526d2588e3f3a07": {
|
555 |
+
"model_module": "@jupyter-widgets/controls",
|
556 |
+
"model_name": "DescriptionStyleModel",
|
557 |
+
"model_module_version": "1.5.0",
|
558 |
+
"state": {
|
559 |
+
"_model_module": "@jupyter-widgets/controls",
|
560 |
+
"_model_module_version": "1.5.0",
|
561 |
+
"_model_name": "DescriptionStyleModel",
|
562 |
+
"_view_count": null,
|
563 |
+
"_view_module": "@jupyter-widgets/base",
|
564 |
+
"_view_module_version": "1.2.0",
|
565 |
+
"_view_name": "StyleView",
|
566 |
+
"description_width": ""
|
567 |
+
}
|
568 |
+
},
|
569 |
+
"729509fdf1c349a3a4a15bd8950a7dee": {
|
570 |
+
"model_module": "@jupyter-widgets/base",
|
571 |
+
"model_name": "LayoutModel",
|
572 |
+
"model_module_version": "1.2.0",
|
573 |
+
"state": {
|
574 |
+
"_model_module": "@jupyter-widgets/base",
|
575 |
+
"_model_module_version": "1.2.0",
|
576 |
+
"_model_name": "LayoutModel",
|
577 |
+
"_view_count": null,
|
578 |
+
"_view_module": "@jupyter-widgets/base",
|
579 |
+
"_view_module_version": "1.2.0",
|
580 |
+
"_view_name": "LayoutView",
|
581 |
+
"align_content": null,
|
582 |
+
"align_items": null,
|
583 |
+
"align_self": null,
|
584 |
+
"border": null,
|
585 |
+
"bottom": null,
|
586 |
+
"display": null,
|
587 |
+
"flex": null,
|
588 |
+
"flex_flow": null,
|
589 |
+
"grid_area": null,
|
590 |
+
"grid_auto_columns": null,
|
591 |
+
"grid_auto_flow": null,
|
592 |
+
"grid_auto_rows": null,
|
593 |
+
"grid_column": null,
|
594 |
+
"grid_gap": null,
|
595 |
+
"grid_row": null,
|
596 |
+
"grid_template_areas": null,
|
597 |
+
"grid_template_columns": null,
|
598 |
+
"grid_template_rows": null,
|
599 |
+
"height": null,
|
600 |
+
"justify_content": null,
|
601 |
+
"justify_items": null,
|
602 |
+
"left": null,
|
603 |
+
"margin": null,
|
604 |
+
"max_height": null,
|
605 |
+
"max_width": null,
|
606 |
+
"min_height": null,
|
607 |
+
"min_width": null,
|
608 |
+
"object_fit": null,
|
609 |
+
"object_position": null,
|
610 |
+
"order": null,
|
611 |
+
"overflow": null,
|
612 |
+
"overflow_x": null,
|
613 |
+
"overflow_y": null,
|
614 |
+
"padding": null,
|
615 |
+
"right": null,
|
616 |
+
"top": null,
|
617 |
+
"visibility": null,
|
618 |
+
"width": null
|
619 |
+
}
|
620 |
+
},
|
621 |
+
"4f60b050e3d34a2d92b8771c4b5413a5": {
|
622 |
+
"model_module": "@jupyter-widgets/controls",
|
623 |
+
"model_name": "ProgressStyleModel",
|
624 |
+
"model_module_version": "1.5.0",
|
625 |
+
"state": {
|
626 |
+
"_model_module": "@jupyter-widgets/controls",
|
627 |
+
"_model_module_version": "1.5.0",
|
628 |
+
"_model_name": "ProgressStyleModel",
|
629 |
+
"_view_count": null,
|
630 |
+
"_view_module": "@jupyter-widgets/base",
|
631 |
+
"_view_module_version": "1.2.0",
|
632 |
+
"_view_name": "StyleView",
|
633 |
+
"bar_color": null,
|
634 |
+
"description_width": ""
|
635 |
+
}
|
636 |
+
},
|
637 |
+
"9ddd8c63c47045079bb200e2b50243ec": {
|
638 |
+
"model_module": "@jupyter-widgets/base",
|
639 |
+
"model_name": "LayoutModel",
|
640 |
+
"model_module_version": "1.2.0",
|
641 |
+
"state": {
|
642 |
+
"_model_module": "@jupyter-widgets/base",
|
643 |
+
"_model_module_version": "1.2.0",
|
644 |
+
"_model_name": "LayoutModel",
|
645 |
+
"_view_count": null,
|
646 |
+
"_view_module": "@jupyter-widgets/base",
|
647 |
+
"_view_module_version": "1.2.0",
|
648 |
+
"_view_name": "LayoutView",
|
649 |
+
"align_content": null,
|
650 |
+
"align_items": null,
|
651 |
+
"align_self": null,
|
652 |
+
"border": null,
|
653 |
+
"bottom": null,
|
654 |
+
"display": null,
|
655 |
+
"flex": null,
|
656 |
+
"flex_flow": null,
|
657 |
+
"grid_area": null,
|
658 |
+
"grid_auto_columns": null,
|
659 |
+
"grid_auto_flow": null,
|
660 |
+
"grid_auto_rows": null,
|
661 |
+
"grid_column": null,
|
662 |
+
"grid_gap": null,
|
663 |
+
"grid_row": null,
|
664 |
+
"grid_template_areas": null,
|
665 |
+
"grid_template_columns": null,
|
666 |
+
"grid_template_rows": null,
|
667 |
+
"height": null,
|
668 |
+
"justify_content": null,
|
669 |
+
"justify_items": null,
|
670 |
+
"left": null,
|
671 |
+
"margin": null,
|
672 |
+
"max_height": null,
|
673 |
+
"max_width": null,
|
674 |
+
"min_height": null,
|
675 |
+
"min_width": null,
|
676 |
+
"object_fit": null,
|
677 |
+
"object_position": null,
|
678 |
+
"order": null,
|
679 |
+
"overflow": null,
|
680 |
+
"overflow_x": null,
|
681 |
+
"overflow_y": null,
|
682 |
+
"padding": null,
|
683 |
+
"right": null,
|
684 |
+
"top": null,
|
685 |
+
"visibility": null,
|
686 |
+
"width": null
|
687 |
+
}
|
688 |
+
},
|
689 |
+
"1ce55b924cb94196aeb9fb749e6eedd6": {
|
690 |
+
"model_module": "@jupyter-widgets/controls",
|
691 |
+
"model_name": "DescriptionStyleModel",
|
692 |
+
"model_module_version": "1.5.0",
|
693 |
+
"state": {
|
694 |
+
"_model_module": "@jupyter-widgets/controls",
|
695 |
+
"_model_module_version": "1.5.0",
|
696 |
+
"_model_name": "DescriptionStyleModel",
|
697 |
+
"_view_count": null,
|
698 |
+
"_view_module": "@jupyter-widgets/base",
|
699 |
+
"_view_module_version": "1.2.0",
|
700 |
+
"_view_name": "StyleView",
|
701 |
+
"description_width": ""
|
702 |
+
}
|
703 |
+
},
|
704 |
+
"c06c9f29f97f4953a8c0da04891fe67c": {
|
705 |
+
"model_module": "@jupyter-widgets/controls",
|
706 |
+
"model_name": "HBoxModel",
|
707 |
+
"model_module_version": "1.5.0",
|
708 |
+
"state": {
|
709 |
+
"_dom_classes": [],
|
710 |
+
"_model_module": "@jupyter-widgets/controls",
|
711 |
+
"_model_module_version": "1.5.0",
|
712 |
+
"_model_name": "HBoxModel",
|
713 |
+
"_view_count": null,
|
714 |
+
"_view_module": "@jupyter-widgets/controls",
|
715 |
+
"_view_module_version": "1.5.0",
|
716 |
+
"_view_name": "HBoxView",
|
717 |
+
"box_style": "",
|
718 |
+
"children": [
|
719 |
+
"IPY_MODEL_bb4163b18ba545ff9a9041ccc5fac5cc",
|
720 |
+
"IPY_MODEL_e631ba8f9e9b4c7d883cc35932f0e7c3",
|
721 |
+
"IPY_MODEL_6fc9d8176b0148afa38622bd357048e1"
|
722 |
+
],
|
723 |
+
"layout": "IPY_MODEL_52a8000ccaa2430fab6d4e94446032aa"
|
724 |
+
}
|
725 |
+
},
|
726 |
+
"bb4163b18ba545ff9a9041ccc5fac5cc": {
|
727 |
+
"model_module": "@jupyter-widgets/controls",
|
728 |
+
"model_name": "HTMLModel",
|
729 |
+
"model_module_version": "1.5.0",
|
730 |
+
"state": {
|
731 |
+
"_dom_classes": [],
|
732 |
+
"_model_module": "@jupyter-widgets/controls",
|
733 |
+
"_model_module_version": "1.5.0",
|
734 |
+
"_model_name": "HTMLModel",
|
735 |
+
"_view_count": null,
|
736 |
+
"_view_module": "@jupyter-widgets/controls",
|
737 |
+
"_view_module_version": "1.5.0",
|
738 |
+
"_view_name": "HTMLView",
|
739 |
+
"description": "",
|
740 |
+
"description_tooltip": null,
|
741 |
+
"layout": "IPY_MODEL_57db9c51cb894112893a686ee7d91d2f",
|
742 |
+
"placeholder": "",
|
743 |
+
"style": "IPY_MODEL_2c1050117b3d439fb1abc166fa1d370d",
|
744 |
+
"value": "special_tokens_map.json: 100%"
|
745 |
+
}
|
746 |
+
},
|
747 |
+
"e631ba8f9e9b4c7d883cc35932f0e7c3": {
|
748 |
+
"model_module": "@jupyter-widgets/controls",
|
749 |
+
"model_name": "FloatProgressModel",
|
750 |
+
"model_module_version": "1.5.0",
|
751 |
+
"state": {
|
752 |
+
"_dom_classes": [],
|
753 |
+
"_model_module": "@jupyter-widgets/controls",
|
754 |
+
"_model_module_version": "1.5.0",
|
755 |
+
"_model_name": "FloatProgressModel",
|
756 |
+
"_view_count": null,
|
757 |
+
"_view_module": "@jupyter-widgets/controls",
|
758 |
+
"_view_module_version": "1.5.0",
|
759 |
+
"_view_name": "ProgressView",
|
760 |
+
"bar_style": "success",
|
761 |
+
"description": "",
|
762 |
+
"description_tooltip": null,
|
763 |
+
"layout": "IPY_MODEL_c90eaa2fea154de299131ae8d8cdb926",
|
764 |
+
"max": 359,
|
765 |
+
"min": 0,
|
766 |
+
"orientation": "horizontal",
|
767 |
+
"style": "IPY_MODEL_4cd82029a9b94d31ae1fca343c631f3b",
|
768 |
+
"value": 359
|
769 |
+
}
|
770 |
+
},
|
771 |
+
"6fc9d8176b0148afa38622bd357048e1": {
|
772 |
+
"model_module": "@jupyter-widgets/controls",
|
773 |
+
"model_name": "HTMLModel",
|
774 |
+
"model_module_version": "1.5.0",
|
775 |
+
"state": {
|
776 |
+
"_dom_classes": [],
|
777 |
+
"_model_module": "@jupyter-widgets/controls",
|
778 |
+
"_model_module_version": "1.5.0",
|
779 |
+
"_model_name": "HTMLModel",
|
780 |
+
"_view_count": null,
|
781 |
+
"_view_module": "@jupyter-widgets/controls",
|
782 |
+
"_view_module_version": "1.5.0",
|
783 |
+
"_view_name": "HTMLView",
|
784 |
+
"description": "",
|
785 |
+
"description_tooltip": null,
|
786 |
+
"layout": "IPY_MODEL_ce511ff0c5af400ba97cf7813b19acf4",
|
787 |
+
"placeholder": "",
|
788 |
+
"style": "IPY_MODEL_aa67416c04044814ba41de8b7b751c92",
|
789 |
+
"value": " 359/359 [00:00<00:00, 27.0kB/s]"
|
790 |
+
}
|
791 |
+
},
|
792 |
+
"52a8000ccaa2430fab6d4e94446032aa": {
|
793 |
+
"model_module": "@jupyter-widgets/base",
|
794 |
+
"model_name": "LayoutModel",
|
795 |
+
"model_module_version": "1.2.0",
|
796 |
+
"state": {
|
797 |
+
"_model_module": "@jupyter-widgets/base",
|
798 |
+
"_model_module_version": "1.2.0",
|
799 |
+
"_model_name": "LayoutModel",
|
800 |
+
"_view_count": null,
|
801 |
+
"_view_module": "@jupyter-widgets/base",
|
802 |
+
"_view_module_version": "1.2.0",
|
803 |
+
"_view_name": "LayoutView",
|
804 |
+
"align_content": null,
|
805 |
+
"align_items": null,
|
806 |
+
"align_self": null,
|
807 |
+
"border": null,
|
808 |
+
"bottom": null,
|
809 |
+
"display": null,
|
810 |
+
"flex": null,
|
811 |
+
"flex_flow": null,
|
812 |
+
"grid_area": null,
|
813 |
+
"grid_auto_columns": null,
|
814 |
+
"grid_auto_flow": null,
|
815 |
+
"grid_auto_rows": null,
|
816 |
+
"grid_column": null,
|
817 |
+
"grid_gap": null,
|
818 |
+
"grid_row": null,
|
819 |
+
"grid_template_areas": null,
|
820 |
+
"grid_template_columns": null,
|
821 |
+
"grid_template_rows": null,
|
822 |
+
"height": null,
|
823 |
+
"justify_content": null,
|
824 |
+
"justify_items": null,
|
825 |
+
"left": null,
|
826 |
+
"margin": null,
|
827 |
+
"max_height": null,
|
828 |
+
"max_width": null,
|
829 |
+
"min_height": null,
|
830 |
+
"min_width": null,
|
831 |
+
"object_fit": null,
|
832 |
+
"object_position": null,
|
833 |
+
"order": null,
|
834 |
+
"overflow": null,
|
835 |
+
"overflow_x": null,
|
836 |
+
"overflow_y": null,
|
837 |
+
"padding": null,
|
838 |
+
"right": null,
|
839 |
+
"top": null,
|
840 |
+
"visibility": null,
|
841 |
+
"width": null
|
842 |
+
}
|
843 |
+
},
|
844 |
+
"57db9c51cb894112893a686ee7d91d2f": {
|
845 |
+
"model_module": "@jupyter-widgets/base",
|
846 |
+
"model_name": "LayoutModel",
|
847 |
+
"model_module_version": "1.2.0",
|
848 |
+
"state": {
|
849 |
+
"_model_module": "@jupyter-widgets/base",
|
850 |
+
"_model_module_version": "1.2.0",
|
851 |
+
"_model_name": "LayoutModel",
|
852 |
+
"_view_count": null,
|
853 |
+
"_view_module": "@jupyter-widgets/base",
|
854 |
+
"_view_module_version": "1.2.0",
|
855 |
+
"_view_name": "LayoutView",
|
856 |
+
"align_content": null,
|
857 |
+
"align_items": null,
|
858 |
+
"align_self": null,
|
859 |
+
"border": null,
|
860 |
+
"bottom": null,
|
861 |
+
"display": null,
|
862 |
+
"flex": null,
|
863 |
+
"flex_flow": null,
|
864 |
+
"grid_area": null,
|
865 |
+
"grid_auto_columns": null,
|
866 |
+
"grid_auto_flow": null,
|
867 |
+
"grid_auto_rows": null,
|
868 |
+
"grid_column": null,
|
869 |
+
"grid_gap": null,
|
870 |
+
"grid_row": null,
|
871 |
+
"grid_template_areas": null,
|
872 |
+
"grid_template_columns": null,
|
873 |
+
"grid_template_rows": null,
|
874 |
+
"height": null,
|
875 |
+
"justify_content": null,
|
876 |
+
"justify_items": null,
|
877 |
+
"left": null,
|
878 |
+
"margin": null,
|
879 |
+
"max_height": null,
|
880 |
+
"max_width": null,
|
881 |
+
"min_height": null,
|
882 |
+
"min_width": null,
|
883 |
+
"object_fit": null,
|
884 |
+
"object_position": null,
|
885 |
+
"order": null,
|
886 |
+
"overflow": null,
|
887 |
+
"overflow_x": null,
|
888 |
+
"overflow_y": null,
|
889 |
+
"padding": null,
|
890 |
+
"right": null,
|
891 |
+
"top": null,
|
892 |
+
"visibility": null,
|
893 |
+
"width": null
|
894 |
+
}
|
895 |
+
},
|
896 |
+
"2c1050117b3d439fb1abc166fa1d370d": {
|
897 |
+
"model_module": "@jupyter-widgets/controls",
|
898 |
+
"model_name": "DescriptionStyleModel",
|
899 |
+
"model_module_version": "1.5.0",
|
900 |
+
"state": {
|
901 |
+
"_model_module": "@jupyter-widgets/controls",
|
902 |
+
"_model_module_version": "1.5.0",
|
903 |
+
"_model_name": "DescriptionStyleModel",
|
904 |
+
"_view_count": null,
|
905 |
+
"_view_module": "@jupyter-widgets/base",
|
906 |
+
"_view_module_version": "1.2.0",
|
907 |
+
"_view_name": "StyleView",
|
908 |
+
"description_width": ""
|
909 |
+
}
|
910 |
+
},
|
911 |
+
"c90eaa2fea154de299131ae8d8cdb926": {
|
912 |
+
"model_module": "@jupyter-widgets/base",
|
913 |
+
"model_name": "LayoutModel",
|
914 |
+
"model_module_version": "1.2.0",
|
915 |
+
"state": {
|
916 |
+
"_model_module": "@jupyter-widgets/base",
|
917 |
+
"_model_module_version": "1.2.0",
|
918 |
+
"_model_name": "LayoutModel",
|
919 |
+
"_view_count": null,
|
920 |
+
"_view_module": "@jupyter-widgets/base",
|
921 |
+
"_view_module_version": "1.2.0",
|
922 |
+
"_view_name": "LayoutView",
|
923 |
+
"align_content": null,
|
924 |
+
"align_items": null,
|
925 |
+
"align_self": null,
|
926 |
+
"border": null,
|
927 |
+
"bottom": null,
|
928 |
+
"display": null,
|
929 |
+
"flex": null,
|
930 |
+
"flex_flow": null,
|
931 |
+
"grid_area": null,
|
932 |
+
"grid_auto_columns": null,
|
933 |
+
"grid_auto_flow": null,
|
934 |
+
"grid_auto_rows": null,
|
935 |
+
"grid_column": null,
|
936 |
+
"grid_gap": null,
|
937 |
+
"grid_row": null,
|
938 |
+
"grid_template_areas": null,
|
939 |
+
"grid_template_columns": null,
|
940 |
+
"grid_template_rows": null,
|
941 |
+
"height": null,
|
942 |
+
"justify_content": null,
|
943 |
+
"justify_items": null,
|
944 |
+
"left": null,
|
945 |
+
"margin": null,
|
946 |
+
"max_height": null,
|
947 |
+
"max_width": null,
|
948 |
+
"min_height": null,
|
949 |
+
"min_width": null,
|
950 |
+
"object_fit": null,
|
951 |
+
"object_position": null,
|
952 |
+
"order": null,
|
953 |
+
"overflow": null,
|
954 |
+
"overflow_x": null,
|
955 |
+
"overflow_y": null,
|
956 |
+
"padding": null,
|
957 |
+
"right": null,
|
958 |
+
"top": null,
|
959 |
+
"visibility": null,
|
960 |
+
"width": null
|
961 |
+
}
|
962 |
+
},
|
963 |
+
"4cd82029a9b94d31ae1fca343c631f3b": {
|
964 |
+
"model_module": "@jupyter-widgets/controls",
|
965 |
+
"model_name": "ProgressStyleModel",
|
966 |
+
"model_module_version": "1.5.0",
|
967 |
+
"state": {
|
968 |
+
"_model_module": "@jupyter-widgets/controls",
|
969 |
+
"_model_module_version": "1.5.0",
|
970 |
+
"_model_name": "ProgressStyleModel",
|
971 |
+
"_view_count": null,
|
972 |
+
"_view_module": "@jupyter-widgets/base",
|
973 |
+
"_view_module_version": "1.2.0",
|
974 |
+
"_view_name": "StyleView",
|
975 |
+
"bar_color": null,
|
976 |
+
"description_width": ""
|
977 |
+
}
|
978 |
+
},
|
979 |
+
"ce511ff0c5af400ba97cf7813b19acf4": {
|
980 |
+
"model_module": "@jupyter-widgets/base",
|
981 |
+
"model_name": "LayoutModel",
|
982 |
+
"model_module_version": "1.2.0",
|
983 |
+
"state": {
|
984 |
+
"_model_module": "@jupyter-widgets/base",
|
985 |
+
"_model_module_version": "1.2.0",
|
986 |
+
"_model_name": "LayoutModel",
|
987 |
+
"_view_count": null,
|
988 |
+
"_view_module": "@jupyter-widgets/base",
|
989 |
+
"_view_module_version": "1.2.0",
|
990 |
+
"_view_name": "LayoutView",
|
991 |
+
"align_content": null,
|
992 |
+
"align_items": null,
|
993 |
+
"align_self": null,
|
994 |
+
"border": null,
|
995 |
+
"bottom": null,
|
996 |
+
"display": null,
|
997 |
+
"flex": null,
|
998 |
+
"flex_flow": null,
|
999 |
+
"grid_area": null,
|
1000 |
+
"grid_auto_columns": null,
|
1001 |
+
"grid_auto_flow": null,
|
1002 |
+
"grid_auto_rows": null,
|
1003 |
+
"grid_column": null,
|
1004 |
+
"grid_gap": null,
|
1005 |
+
"grid_row": null,
|
1006 |
+
"grid_template_areas": null,
|
1007 |
+
"grid_template_columns": null,
|
1008 |
+
"grid_template_rows": null,
|
1009 |
+
"height": null,
|
1010 |
+
"justify_content": null,
|
1011 |
+
"justify_items": null,
|
1012 |
+
"left": null,
|
1013 |
+
"margin": null,
|
1014 |
+
"max_height": null,
|
1015 |
+
"max_width": null,
|
1016 |
+
"min_height": null,
|
1017 |
+
"min_width": null,
|
1018 |
+
"object_fit": null,
|
1019 |
+
"object_position": null,
|
1020 |
+
"order": null,
|
1021 |
+
"overflow": null,
|
1022 |
+
"overflow_x": null,
|
1023 |
+
"overflow_y": null,
|
1024 |
+
"padding": null,
|
1025 |
+
"right": null,
|
1026 |
+
"top": null,
|
1027 |
+
"visibility": null,
|
1028 |
+
"width": null
|
1029 |
+
}
|
1030 |
+
},
|
1031 |
+
"aa67416c04044814ba41de8b7b751c92": {
|
1032 |
+
"model_module": "@jupyter-widgets/controls",
|
1033 |
+
"model_name": "DescriptionStyleModel",
|
1034 |
+
"model_module_version": "1.5.0",
|
1035 |
+
"state": {
|
1036 |
+
"_model_module": "@jupyter-widgets/controls",
|
1037 |
+
"_model_module_version": "1.5.0",
|
1038 |
+
"_model_name": "DescriptionStyleModel",
|
1039 |
+
"_view_count": null,
|
1040 |
+
"_view_module": "@jupyter-widgets/base",
|
1041 |
+
"_view_module_version": "1.2.0",
|
1042 |
+
"_view_name": "StyleView",
|
1043 |
+
"description_width": ""
|
1044 |
+
}
|
1045 |
+
},
|
1046 |
+
"206af374676748de9e11df96ad2df295": {
|
1047 |
+
"model_module": "@jupyter-widgets/controls",
|
1048 |
+
"model_name": "HBoxModel",
|
1049 |
+
"model_module_version": "1.5.0",
|
1050 |
+
"state": {
|
1051 |
+
"_dom_classes": [],
|
1052 |
+
"_model_module": "@jupyter-widgets/controls",
|
1053 |
+
"_model_module_version": "1.5.0",
|
1054 |
+
"_model_name": "HBoxModel",
|
1055 |
+
"_view_count": null,
|
1056 |
+
"_view_module": "@jupyter-widgets/controls",
|
1057 |
+
"_view_module_version": "1.5.0",
|
1058 |
+
"_view_name": "HBoxView",
|
1059 |
+
"box_style": "",
|
1060 |
+
"children": [
|
1061 |
+
"IPY_MODEL_eaabccf2af324298916efc5a6320f787",
|
1062 |
+
"IPY_MODEL_e020696f07364dd39e1a9bfa9fd92f2e",
|
1063 |
+
"IPY_MODEL_cc746bf7b7b143bb99af1cd5ff6fd267"
|
1064 |
+
],
|
1065 |
+
"layout": "IPY_MODEL_1d382eaa72e14f3aa2a48c5dba9f2e8d"
|
1066 |
+
}
|
1067 |
+
},
|
1068 |
+
"eaabccf2af324298916efc5a6320f787": {
|
1069 |
+
"model_module": "@jupyter-widgets/controls",
|
1070 |
+
"model_name": "HTMLModel",
|
1071 |
+
"model_module_version": "1.5.0",
|
1072 |
+
"state": {
|
1073 |
+
"_dom_classes": [],
|
1074 |
+
"_model_module": "@jupyter-widgets/controls",
|
1075 |
+
"_model_module_version": "1.5.0",
|
1076 |
+
"_model_name": "HTMLModel",
|
1077 |
+
"_view_count": null,
|
1078 |
+
"_view_module": "@jupyter-widgets/controls",
|
1079 |
+
"_view_module_version": "1.5.0",
|
1080 |
+
"_view_name": "HTMLView",
|
1081 |
+
"description": "",
|
1082 |
+
"description_tooltip": null,
|
1083 |
+
"layout": "IPY_MODEL_0feb2581de7340d593500bc920913180",
|
1084 |
+
"placeholder": "",
|
1085 |
+
"style": "IPY_MODEL_8bd252feb31749f9b84867aa864841fd",
|
1086 |
+
"value": "config.json: 100%"
|
1087 |
+
}
|
1088 |
+
},
|
1089 |
+
"e020696f07364dd39e1a9bfa9fd92f2e": {
|
1090 |
+
"model_module": "@jupyter-widgets/controls",
|
1091 |
+
"model_name": "FloatProgressModel",
|
1092 |
+
"model_module_version": "1.5.0",
|
1093 |
+
"state": {
|
1094 |
+
"_dom_classes": [],
|
1095 |
+
"_model_module": "@jupyter-widgets/controls",
|
1096 |
+
"_model_module_version": "1.5.0",
|
1097 |
+
"_model_name": "FloatProgressModel",
|
1098 |
+
"_view_count": null,
|
1099 |
+
"_view_module": "@jupyter-widgets/controls",
|
1100 |
+
"_view_module_version": "1.5.0",
|
1101 |
+
"_view_name": "ProgressView",
|
1102 |
+
"bar_style": "success",
|
1103 |
+
"description": "",
|
1104 |
+
"description_tooltip": null,
|
1105 |
+
"layout": "IPY_MODEL_dce17a5dfe93445e86eab212e2a1a1cd",
|
1106 |
+
"max": 200,
|
1107 |
+
"min": 0,
|
1108 |
+
"orientation": "horizontal",
|
1109 |
+
"style": "IPY_MODEL_c5e9a9c9d8504b28901c6e8d191ad7ec",
|
1110 |
+
"value": 200
|
1111 |
+
}
|
1112 |
+
},
|
1113 |
+
"cc746bf7b7b143bb99af1cd5ff6fd267": {
|
1114 |
+
"model_module": "@jupyter-widgets/controls",
|
1115 |
+
"model_name": "HTMLModel",
|
1116 |
+
"model_module_version": "1.5.0",
|
1117 |
+
"state": {
|
1118 |
+
"_dom_classes": [],
|
1119 |
+
"_model_module": "@jupyter-widgets/controls",
|
1120 |
+
"_model_module_version": "1.5.0",
|
1121 |
+
"_model_name": "HTMLModel",
|
1122 |
+
"_view_count": null,
|
1123 |
+
"_view_module": "@jupyter-widgets/controls",
|
1124 |
+
"_view_module_version": "1.5.0",
|
1125 |
+
"_view_name": "HTMLView",
|
1126 |
+
"description": "",
|
1127 |
+
"description_tooltip": null,
|
1128 |
+
"layout": "IPY_MODEL_073bc18d8cd74c1c8e227cd349a51d85",
|
1129 |
+
"placeholder": "",
|
1130 |
+
"style": "IPY_MODEL_2f147c232ee945f9bf2542c4548eec16",
|
1131 |
+
"value": " 200/200 [00:00<00:00, 18.1kB/s]"
|
1132 |
+
}
|
1133 |
+
},
|
1134 |
+
"1d382eaa72e14f3aa2a48c5dba9f2e8d": {
|
1135 |
+
"model_module": "@jupyter-widgets/base",
|
1136 |
+
"model_name": "LayoutModel",
|
1137 |
+
"model_module_version": "1.2.0",
|
1138 |
+
"state": {
|
1139 |
+
"_model_module": "@jupyter-widgets/base",
|
1140 |
+
"_model_module_version": "1.2.0",
|
1141 |
+
"_model_name": "LayoutModel",
|
1142 |
+
"_view_count": null,
|
1143 |
+
"_view_module": "@jupyter-widgets/base",
|
1144 |
+
"_view_module_version": "1.2.0",
|
1145 |
+
"_view_name": "LayoutView",
|
1146 |
+
"align_content": null,
|
1147 |
+
"align_items": null,
|
1148 |
+
"align_self": null,
|
1149 |
+
"border": null,
|
1150 |
+
"bottom": null,
|
1151 |
+
"display": null,
|
1152 |
+
"flex": null,
|
1153 |
+
"flex_flow": null,
|
1154 |
+
"grid_area": null,
|
1155 |
+
"grid_auto_columns": null,
|
1156 |
+
"grid_auto_flow": null,
|
1157 |
+
"grid_auto_rows": null,
|
1158 |
+
"grid_column": null,
|
1159 |
+
"grid_gap": null,
|
1160 |
+
"grid_row": null,
|
1161 |
+
"grid_template_areas": null,
|
1162 |
+
"grid_template_columns": null,
|
1163 |
+
"grid_template_rows": null,
|
1164 |
+
"height": null,
|
1165 |
+
"justify_content": null,
|
1166 |
+
"justify_items": null,
|
1167 |
+
"left": null,
|
1168 |
+
"margin": null,
|
1169 |
+
"max_height": null,
|
1170 |
+
"max_width": null,
|
1171 |
+
"min_height": null,
|
1172 |
+
"min_width": null,
|
1173 |
+
"object_fit": null,
|
1174 |
+
"object_position": null,
|
1175 |
+
"order": null,
|
1176 |
+
"overflow": null,
|
1177 |
+
"overflow_x": null,
|
1178 |
+
"overflow_y": null,
|
1179 |
+
"padding": null,
|
1180 |
+
"right": null,
|
1181 |
+
"top": null,
|
1182 |
+
"visibility": null,
|
1183 |
+
"width": null
|
1184 |
+
}
|
1185 |
+
},
|
1186 |
+
"0feb2581de7340d593500bc920913180": {
|
1187 |
+
"model_module": "@jupyter-widgets/base",
|
1188 |
+
"model_name": "LayoutModel",
|
1189 |
+
"model_module_version": "1.2.0",
|
1190 |
+
"state": {
|
1191 |
+
"_model_module": "@jupyter-widgets/base",
|
1192 |
+
"_model_module_version": "1.2.0",
|
1193 |
+
"_model_name": "LayoutModel",
|
1194 |
+
"_view_count": null,
|
1195 |
+
"_view_module": "@jupyter-widgets/base",
|
1196 |
+
"_view_module_version": "1.2.0",
|
1197 |
+
"_view_name": "LayoutView",
|
1198 |
+
"align_content": null,
|
1199 |
+
"align_items": null,
|
1200 |
+
"align_self": null,
|
1201 |
+
"border": null,
|
1202 |
+
"bottom": null,
|
1203 |
+
"display": null,
|
1204 |
+
"flex": null,
|
1205 |
+
"flex_flow": null,
|
1206 |
+
"grid_area": null,
|
1207 |
+
"grid_auto_columns": null,
|
1208 |
+
"grid_auto_flow": null,
|
1209 |
+
"grid_auto_rows": null,
|
1210 |
+
"grid_column": null,
|
1211 |
+
"grid_gap": null,
|
1212 |
+
"grid_row": null,
|
1213 |
+
"grid_template_areas": null,
|
1214 |
+
"grid_template_columns": null,
|
1215 |
+
"grid_template_rows": null,
|
1216 |
+
"height": null,
|
1217 |
+
"justify_content": null,
|
1218 |
+
"justify_items": null,
|
1219 |
+
"left": null,
|
1220 |
+
"margin": null,
|
1221 |
+
"max_height": null,
|
1222 |
+
"max_width": null,
|
1223 |
+
"min_height": null,
|
1224 |
+
"min_width": null,
|
1225 |
+
"object_fit": null,
|
1226 |
+
"object_position": null,
|
1227 |
+
"order": null,
|
1228 |
+
"overflow": null,
|
1229 |
+
"overflow_x": null,
|
1230 |
+
"overflow_y": null,
|
1231 |
+
"padding": null,
|
1232 |
+
"right": null,
|
1233 |
+
"top": null,
|
1234 |
+
"visibility": null,
|
1235 |
+
"width": null
|
1236 |
+
}
|
1237 |
+
},
|
1238 |
+
"8bd252feb31749f9b84867aa864841fd": {
|
1239 |
+
"model_module": "@jupyter-widgets/controls",
|
1240 |
+
"model_name": "DescriptionStyleModel",
|
1241 |
+
"model_module_version": "1.5.0",
|
1242 |
+
"state": {
|
1243 |
+
"_model_module": "@jupyter-widgets/controls",
|
1244 |
+
"_model_module_version": "1.5.0",
|
1245 |
+
"_model_name": "DescriptionStyleModel",
|
1246 |
+
"_view_count": null,
|
1247 |
+
"_view_module": "@jupyter-widgets/base",
|
1248 |
+
"_view_module_version": "1.2.0",
|
1249 |
+
"_view_name": "StyleView",
|
1250 |
+
"description_width": ""
|
1251 |
+
}
|
1252 |
+
},
|
1253 |
+
"dce17a5dfe93445e86eab212e2a1a1cd": {
|
1254 |
+
"model_module": "@jupyter-widgets/base",
|
1255 |
+
"model_name": "LayoutModel",
|
1256 |
+
"model_module_version": "1.2.0",
|
1257 |
+
"state": {
|
1258 |
+
"_model_module": "@jupyter-widgets/base",
|
1259 |
+
"_model_module_version": "1.2.0",
|
1260 |
+
"_model_name": "LayoutModel",
|
1261 |
+
"_view_count": null,
|
1262 |
+
"_view_module": "@jupyter-widgets/base",
|
1263 |
+
"_view_module_version": "1.2.0",
|
1264 |
+
"_view_name": "LayoutView",
|
1265 |
+
"align_content": null,
|
1266 |
+
"align_items": null,
|
1267 |
+
"align_self": null,
|
1268 |
+
"border": null,
|
1269 |
+
"bottom": null,
|
1270 |
+
"display": null,
|
1271 |
+
"flex": null,
|
1272 |
+
"flex_flow": null,
|
1273 |
+
"grid_area": null,
|
1274 |
+
"grid_auto_columns": null,
|
1275 |
+
"grid_auto_flow": null,
|
1276 |
+
"grid_auto_rows": null,
|
1277 |
+
"grid_column": null,
|
1278 |
+
"grid_gap": null,
|
1279 |
+
"grid_row": null,
|
1280 |
+
"grid_template_areas": null,
|
1281 |
+
"grid_template_columns": null,
|
1282 |
+
"grid_template_rows": null,
|
1283 |
+
"height": null,
|
1284 |
+
"justify_content": null,
|
1285 |
+
"justify_items": null,
|
1286 |
+
"left": null,
|
1287 |
+
"margin": null,
|
1288 |
+
"max_height": null,
|
1289 |
+
"max_width": null,
|
1290 |
+
"min_height": null,
|
1291 |
+
"min_width": null,
|
1292 |
+
"object_fit": null,
|
1293 |
+
"object_position": null,
|
1294 |
+
"order": null,
|
1295 |
+
"overflow": null,
|
1296 |
+
"overflow_x": null,
|
1297 |
+
"overflow_y": null,
|
1298 |
+
"padding": null,
|
1299 |
+
"right": null,
|
1300 |
+
"top": null,
|
1301 |
+
"visibility": null,
|
1302 |
+
"width": null
|
1303 |
+
}
|
1304 |
+
},
|
1305 |
+
"c5e9a9c9d8504b28901c6e8d191ad7ec": {
|
1306 |
+
"model_module": "@jupyter-widgets/controls",
|
1307 |
+
"model_name": "ProgressStyleModel",
|
1308 |
+
"model_module_version": "1.5.0",
|
1309 |
+
"state": {
|
1310 |
+
"_model_module": "@jupyter-widgets/controls",
|
1311 |
+
"_model_module_version": "1.5.0",
|
1312 |
+
"_model_name": "ProgressStyleModel",
|
1313 |
+
"_view_count": null,
|
1314 |
+
"_view_module": "@jupyter-widgets/base",
|
1315 |
+
"_view_module_version": "1.2.0",
|
1316 |
+
"_view_name": "StyleView",
|
1317 |
+
"bar_color": null,
|
1318 |
+
"description_width": ""
|
1319 |
+
}
|
1320 |
+
},
|
1321 |
+
"073bc18d8cd74c1c8e227cd349a51d85": {
|
1322 |
+
"model_module": "@jupyter-widgets/base",
|
1323 |
+
"model_name": "LayoutModel",
|
1324 |
+
"model_module_version": "1.2.0",
|
1325 |
+
"state": {
|
1326 |
+
"_model_module": "@jupyter-widgets/base",
|
1327 |
+
"_model_module_version": "1.2.0",
|
1328 |
+
"_model_name": "LayoutModel",
|
1329 |
+
"_view_count": null,
|
1330 |
+
"_view_module": "@jupyter-widgets/base",
|
1331 |
+
"_view_module_version": "1.2.0",
|
1332 |
+
"_view_name": "LayoutView",
|
1333 |
+
"align_content": null,
|
1334 |
+
"align_items": null,
|
1335 |
+
"align_self": null,
|
1336 |
+
"border": null,
|
1337 |
+
"bottom": null,
|
1338 |
+
"display": null,
|
1339 |
+
"flex": null,
|
1340 |
+
"flex_flow": null,
|
1341 |
+
"grid_area": null,
|
1342 |
+
"grid_auto_columns": null,
|
1343 |
+
"grid_auto_flow": null,
|
1344 |
+
"grid_auto_rows": null,
|
1345 |
+
"grid_column": null,
|
1346 |
+
"grid_gap": null,
|
1347 |
+
"grid_row": null,
|
1348 |
+
"grid_template_areas": null,
|
1349 |
+
"grid_template_columns": null,
|
1350 |
+
"grid_template_rows": null,
|
1351 |
+
"height": null,
|
1352 |
+
"justify_content": null,
|
1353 |
+
"justify_items": null,
|
1354 |
+
"left": null,
|
1355 |
+
"margin": null,
|
1356 |
+
"max_height": null,
|
1357 |
+
"max_width": null,
|
1358 |
+
"min_height": null,
|
1359 |
+
"min_width": null,
|
1360 |
+
"object_fit": null,
|
1361 |
+
"object_position": null,
|
1362 |
+
"order": null,
|
1363 |
+
"overflow": null,
|
1364 |
+
"overflow_x": null,
|
1365 |
+
"overflow_y": null,
|
1366 |
+
"padding": null,
|
1367 |
+
"right": null,
|
1368 |
+
"top": null,
|
1369 |
+
"visibility": null,
|
1370 |
+
"width": null
|
1371 |
+
}
|
1372 |
+
},
|
1373 |
+
"2f147c232ee945f9bf2542c4548eec16": {
|
1374 |
+
"model_module": "@jupyter-widgets/controls",
|
1375 |
+
"model_name": "DescriptionStyleModel",
|
1376 |
+
"model_module_version": "1.5.0",
|
1377 |
+
"state": {
|
1378 |
+
"_model_module": "@jupyter-widgets/controls",
|
1379 |
+
"_model_module_version": "1.5.0",
|
1380 |
+
"_model_name": "DescriptionStyleModel",
|
1381 |
+
"_view_count": null,
|
1382 |
+
"_view_module": "@jupyter-widgets/base",
|
1383 |
+
"_view_module_version": "1.2.0",
|
1384 |
+
"_view_name": "StyleView",
|
1385 |
+
"description_width": ""
|
1386 |
+
}
|
1387 |
+
},
|
1388 |
+
"a6dd77ab2a2548f8bad8928beac6c474": {
|
1389 |
+
"model_module": "@jupyter-widgets/controls",
|
1390 |
+
"model_name": "HBoxModel",
|
1391 |
+
"model_module_version": "1.5.0",
|
1392 |
+
"state": {
|
1393 |
+
"_dom_classes": [],
|
1394 |
+
"_model_module": "@jupyter-widgets/controls",
|
1395 |
+
"_model_module_version": "1.5.0",
|
1396 |
+
"_model_name": "HBoxModel",
|
1397 |
+
"_view_count": null,
|
1398 |
+
"_view_module": "@jupyter-widgets/controls",
|
1399 |
+
"_view_module_version": "1.5.0",
|
1400 |
+
"_view_name": "HBoxView",
|
1401 |
+
"box_style": "",
|
1402 |
+
"children": [
|
1403 |
+
"IPY_MODEL_47007135f8cb4dabbfce20ee564b32cb",
|
1404 |
+
"IPY_MODEL_c6d7f45118b14ade9fd6f6891eefe686",
|
1405 |
+
"IPY_MODEL_0258f73607dd47d28cfd3f69a1710ce0"
|
1406 |
+
],
|
1407 |
+
"layout": "IPY_MODEL_2c4c78a83f444ef7b464c7f5fbb48ade"
|
1408 |
+
}
|
1409 |
+
},
|
1410 |
+
"47007135f8cb4dabbfce20ee564b32cb": {
|
1411 |
+
"model_module": "@jupyter-widgets/controls",
|
1412 |
+
"model_name": "HTMLModel",
|
1413 |
+
"model_module_version": "1.5.0",
|
1414 |
+
"state": {
|
1415 |
+
"_dom_classes": [],
|
1416 |
+
"_model_module": "@jupyter-widgets/controls",
|
1417 |
+
"_model_module_version": "1.5.0",
|
1418 |
+
"_model_name": "HTMLModel",
|
1419 |
+
"_view_count": null,
|
1420 |
+
"_view_module": "@jupyter-widgets/controls",
|
1421 |
+
"_view_module_version": "1.5.0",
|
1422 |
+
"_view_name": "HTMLView",
|
1423 |
+
"description": "",
|
1424 |
+
"description_tooltip": null,
|
1425 |
+
"layout": "IPY_MODEL_5c5d0c8aed734cd1a3eced971ca2ce6b",
|
1426 |
+
"placeholder": "",
|
1427 |
+
"style": "IPY_MODEL_0aceba2582eb4da090606ac62dfc4713",
|
1428 |
+
"value": "pytorch_model.bin: 100%"
|
1429 |
+
}
|
1430 |
+
},
|
1431 |
+
"c6d7f45118b14ade9fd6f6891eefe686": {
|
1432 |
+
"model_module": "@jupyter-widgets/controls",
|
1433 |
+
"model_name": "FloatProgressModel",
|
1434 |
+
"model_module_version": "1.5.0",
|
1435 |
+
"state": {
|
1436 |
+
"_dom_classes": [],
|
1437 |
+
"_model_module": "@jupyter-widgets/controls",
|
1438 |
+
"_model_module_version": "1.5.0",
|
1439 |
+
"_model_name": "FloatProgressModel",
|
1440 |
+
"_view_count": null,
|
1441 |
+
"_view_module": "@jupyter-widgets/controls",
|
1442 |
+
"_view_module_version": "1.5.0",
|
1443 |
+
"_view_name": "ProgressView",
|
1444 |
+
"bar_style": "success",
|
1445 |
+
"description": "",
|
1446 |
+
"description_tooltip": null,
|
1447 |
+
"layout": "IPY_MODEL_f906ebf80e714e019c30512f7bb49b2c",
|
1448 |
+
"max": 5536937322,
|
1449 |
+
"min": 0,
|
1450 |
+
"orientation": "horizontal",
|
1451 |
+
"style": "IPY_MODEL_b3e491041ac84f85950ee72d1f174347",
|
1452 |
+
"value": 5536937322
|
1453 |
+
}
|
1454 |
+
},
|
1455 |
+
"0258f73607dd47d28cfd3f69a1710ce0": {
|
1456 |
+
"model_module": "@jupyter-widgets/controls",
|
1457 |
+
"model_name": "HTMLModel",
|
1458 |
+
"model_module_version": "1.5.0",
|
1459 |
+
"state": {
|
1460 |
+
"_dom_classes": [],
|
1461 |
+
"_model_module": "@jupyter-widgets/controls",
|
1462 |
+
"_model_module_version": "1.5.0",
|
1463 |
+
"_model_name": "HTMLModel",
|
1464 |
+
"_view_count": null,
|
1465 |
+
"_view_module": "@jupyter-widgets/controls",
|
1466 |
+
"_view_module_version": "1.5.0",
|
1467 |
+
"_view_name": "HTMLView",
|
1468 |
+
"description": "",
|
1469 |
+
"description_tooltip": null,
|
1470 |
+
"layout": "IPY_MODEL_a0cde38d14df40cabd59bd771659c286",
|
1471 |
+
"placeholder": "",
|
1472 |
+
"style": "IPY_MODEL_8d62f1f34ba34f18b5b7a99faff2dfd6",
|
1473 |
+
"value": " 5.54G/5.54G [00:17<00:00, 349MB/s]"
|
1474 |
+
}
|
1475 |
+
},
|
1476 |
+
"2c4c78a83f444ef7b464c7f5fbb48ade": {
|
1477 |
+
"model_module": "@jupyter-widgets/base",
|
1478 |
+
"model_name": "LayoutModel",
|
1479 |
+
"model_module_version": "1.2.0",
|
1480 |
+
"state": {
|
1481 |
+
"_model_module": "@jupyter-widgets/base",
|
1482 |
+
"_model_module_version": "1.2.0",
|
1483 |
+
"_model_name": "LayoutModel",
|
1484 |
+
"_view_count": null,
|
1485 |
+
"_view_module": "@jupyter-widgets/base",
|
1486 |
+
"_view_module_version": "1.2.0",
|
1487 |
+
"_view_name": "LayoutView",
|
1488 |
+
"align_content": null,
|
1489 |
+
"align_items": null,
|
1490 |
+
"align_self": null,
|
1491 |
+
"border": null,
|
1492 |
+
"bottom": null,
|
1493 |
+
"display": null,
|
1494 |
+
"flex": null,
|
1495 |
+
"flex_flow": null,
|
1496 |
+
"grid_area": null,
|
1497 |
+
"grid_auto_columns": null,
|
1498 |
+
"grid_auto_flow": null,
|
1499 |
+
"grid_auto_rows": null,
|
1500 |
+
"grid_column": null,
|
1501 |
+
"grid_gap": null,
|
1502 |
+
"grid_row": null,
|
1503 |
+
"grid_template_areas": null,
|
1504 |
+
"grid_template_columns": null,
|
1505 |
+
"grid_template_rows": null,
|
1506 |
+
"height": null,
|
1507 |
+
"justify_content": null,
|
1508 |
+
"justify_items": null,
|
1509 |
+
"left": null,
|
1510 |
+
"margin": null,
|
1511 |
+
"max_height": null,
|
1512 |
+
"max_width": null,
|
1513 |
+
"min_height": null,
|
1514 |
+
"min_width": null,
|
1515 |
+
"object_fit": null,
|
1516 |
+
"object_position": null,
|
1517 |
+
"order": null,
|
1518 |
+
"overflow": null,
|
1519 |
+
"overflow_x": null,
|
1520 |
+
"overflow_y": null,
|
1521 |
+
"padding": null,
|
1522 |
+
"right": null,
|
1523 |
+
"top": null,
|
1524 |
+
"visibility": null,
|
1525 |
+
"width": null
|
1526 |
+
}
|
1527 |
+
},
|
1528 |
+
"5c5d0c8aed734cd1a3eced971ca2ce6b": {
|
1529 |
+
"model_module": "@jupyter-widgets/base",
|
1530 |
+
"model_name": "LayoutModel",
|
1531 |
+
"model_module_version": "1.2.0",
|
1532 |
+
"state": {
|
1533 |
+
"_model_module": "@jupyter-widgets/base",
|
1534 |
+
"_model_module_version": "1.2.0",
|
1535 |
+
"_model_name": "LayoutModel",
|
1536 |
+
"_view_count": null,
|
1537 |
+
"_view_module": "@jupyter-widgets/base",
|
1538 |
+
"_view_module_version": "1.2.0",
|
1539 |
+
"_view_name": "LayoutView",
|
1540 |
+
"align_content": null,
|
1541 |
+
"align_items": null,
|
1542 |
+
"align_self": null,
|
1543 |
+
"border": null,
|
1544 |
+
"bottom": null,
|
1545 |
+
"display": null,
|
1546 |
+
"flex": null,
|
1547 |
+
"flex_flow": null,
|
1548 |
+
"grid_area": null,
|
1549 |
+
"grid_auto_columns": null,
|
1550 |
+
"grid_auto_flow": null,
|
1551 |
+
"grid_auto_rows": null,
|
1552 |
+
"grid_column": null,
|
1553 |
+
"grid_gap": null,
|
1554 |
+
"grid_row": null,
|
1555 |
+
"grid_template_areas": null,
|
1556 |
+
"grid_template_columns": null,
|
1557 |
+
"grid_template_rows": null,
|
1558 |
+
"height": null,
|
1559 |
+
"justify_content": null,
|
1560 |
+
"justify_items": null,
|
1561 |
+
"left": null,
|
1562 |
+
"margin": null,
|
1563 |
+
"max_height": null,
|
1564 |
+
"max_width": null,
|
1565 |
+
"min_height": null,
|
1566 |
+
"min_width": null,
|
1567 |
+
"object_fit": null,
|
1568 |
+
"object_position": null,
|
1569 |
+
"order": null,
|
1570 |
+
"overflow": null,
|
1571 |
+
"overflow_x": null,
|
1572 |
+
"overflow_y": null,
|
1573 |
+
"padding": null,
|
1574 |
+
"right": null,
|
1575 |
+
"top": null,
|
1576 |
+
"visibility": null,
|
1577 |
+
"width": null
|
1578 |
+
}
|
1579 |
+
},
|
1580 |
+
"0aceba2582eb4da090606ac62dfc4713": {
|
1581 |
+
"model_module": "@jupyter-widgets/controls",
|
1582 |
+
"model_name": "DescriptionStyleModel",
|
1583 |
+
"model_module_version": "1.5.0",
|
1584 |
+
"state": {
|
1585 |
+
"_model_module": "@jupyter-widgets/controls",
|
1586 |
+
"_model_module_version": "1.5.0",
|
1587 |
+
"_model_name": "DescriptionStyleModel",
|
1588 |
+
"_view_count": null,
|
1589 |
+
"_view_module": "@jupyter-widgets/base",
|
1590 |
+
"_view_module_version": "1.2.0",
|
1591 |
+
"_view_name": "StyleView",
|
1592 |
+
"description_width": ""
|
1593 |
+
}
|
1594 |
+
},
|
1595 |
+
"f906ebf80e714e019c30512f7bb49b2c": {
|
1596 |
+
"model_module": "@jupyter-widgets/base",
|
1597 |
+
"model_name": "LayoutModel",
|
1598 |
+
"model_module_version": "1.2.0",
|
1599 |
+
"state": {
|
1600 |
+
"_model_module": "@jupyter-widgets/base",
|
1601 |
+
"_model_module_version": "1.2.0",
|
1602 |
+
"_model_name": "LayoutModel",
|
1603 |
+
"_view_count": null,
|
1604 |
+
"_view_module": "@jupyter-widgets/base",
|
1605 |
+
"_view_module_version": "1.2.0",
|
1606 |
+
"_view_name": "LayoutView",
|
1607 |
+
"align_content": null,
|
1608 |
+
"align_items": null,
|
1609 |
+
"align_self": null,
|
1610 |
+
"border": null,
|
1611 |
+
"bottom": null,
|
1612 |
+
"display": null,
|
1613 |
+
"flex": null,
|
1614 |
+
"flex_flow": null,
|
1615 |
+
"grid_area": null,
|
1616 |
+
"grid_auto_columns": null,
|
1617 |
+
"grid_auto_flow": null,
|
1618 |
+
"grid_auto_rows": null,
|
1619 |
+
"grid_column": null,
|
1620 |
+
"grid_gap": null,
|
1621 |
+
"grid_row": null,
|
1622 |
+
"grid_template_areas": null,
|
1623 |
+
"grid_template_columns": null,
|
1624 |
+
"grid_template_rows": null,
|
1625 |
+
"height": null,
|
1626 |
+
"justify_content": null,
|
1627 |
+
"justify_items": null,
|
1628 |
+
"left": null,
|
1629 |
+
"margin": null,
|
1630 |
+
"max_height": null,
|
1631 |
+
"max_width": null,
|
1632 |
+
"min_height": null,
|
1633 |
+
"min_width": null,
|
1634 |
+
"object_fit": null,
|
1635 |
+
"object_position": null,
|
1636 |
+
"order": null,
|
1637 |
+
"overflow": null,
|
1638 |
+
"overflow_x": null,
|
1639 |
+
"overflow_y": null,
|
1640 |
+
"padding": null,
|
1641 |
+
"right": null,
|
1642 |
+
"top": null,
|
1643 |
+
"visibility": null,
|
1644 |
+
"width": null
|
1645 |
+
}
|
1646 |
+
},
|
1647 |
+
"b3e491041ac84f85950ee72d1f174347": {
|
1648 |
+
"model_module": "@jupyter-widgets/controls",
|
1649 |
+
"model_name": "ProgressStyleModel",
|
1650 |
+
"model_module_version": "1.5.0",
|
1651 |
+
"state": {
|
1652 |
+
"_model_module": "@jupyter-widgets/controls",
|
1653 |
+
"_model_module_version": "1.5.0",
|
1654 |
+
"_model_name": "ProgressStyleModel",
|
1655 |
+
"_view_count": null,
|
1656 |
+
"_view_module": "@jupyter-widgets/base",
|
1657 |
+
"_view_module_version": "1.2.0",
|
1658 |
+
"_view_name": "StyleView",
|
1659 |
+
"bar_color": null,
|
1660 |
+
"description_width": ""
|
1661 |
+
}
|
1662 |
+
},
|
1663 |
+
"a0cde38d14df40cabd59bd771659c286": {
|
1664 |
+
"model_module": "@jupyter-widgets/base",
|
1665 |
+
"model_name": "LayoutModel",
|
1666 |
+
"model_module_version": "1.2.0",
|
1667 |
+
"state": {
|
1668 |
+
"_model_module": "@jupyter-widgets/base",
|
1669 |
+
"_model_module_version": "1.2.0",
|
1670 |
+
"_model_name": "LayoutModel",
|
1671 |
+
"_view_count": null,
|
1672 |
+
"_view_module": "@jupyter-widgets/base",
|
1673 |
+
"_view_module_version": "1.2.0",
|
1674 |
+
"_view_name": "LayoutView",
|
1675 |
+
"align_content": null,
|
1676 |
+
"align_items": null,
|
1677 |
+
"align_self": null,
|
1678 |
+
"border": null,
|
1679 |
+
"bottom": null,
|
1680 |
+
"display": null,
|
1681 |
+
"flex": null,
|
1682 |
+
"flex_flow": null,
|
1683 |
+
"grid_area": null,
|
1684 |
+
"grid_auto_columns": null,
|
1685 |
+
"grid_auto_flow": null,
|
1686 |
+
"grid_auto_rows": null,
|
1687 |
+
"grid_column": null,
|
1688 |
+
"grid_gap": null,
|
1689 |
+
"grid_row": null,
|
1690 |
+
"grid_template_areas": null,
|
1691 |
+
"grid_template_columns": null,
|
1692 |
+
"grid_template_rows": null,
|
1693 |
+
"height": null,
|
1694 |
+
"justify_content": null,
|
1695 |
+
"justify_items": null,
|
1696 |
+
"left": null,
|
1697 |
+
"margin": null,
|
1698 |
+
"max_height": null,
|
1699 |
+
"max_width": null,
|
1700 |
+
"min_height": null,
|
1701 |
+
"min_width": null,
|
1702 |
+
"object_fit": null,
|
1703 |
+
"object_position": null,
|
1704 |
+
"order": null,
|
1705 |
+
"overflow": null,
|
1706 |
+
"overflow_x": null,
|
1707 |
+
"overflow_y": null,
|
1708 |
+
"padding": null,
|
1709 |
+
"right": null,
|
1710 |
+
"top": null,
|
1711 |
+
"visibility": null,
|
1712 |
+
"width": null
|
1713 |
+
}
|
1714 |
+
},
|
1715 |
+
"8d62f1f34ba34f18b5b7a99faff2dfd6": {
|
1716 |
+
"model_module": "@jupyter-widgets/controls",
|
1717 |
+
"model_name": "DescriptionStyleModel",
|
1718 |
+
"model_module_version": "1.5.0",
|
1719 |
+
"state": {
|
1720 |
+
"_model_module": "@jupyter-widgets/controls",
|
1721 |
+
"_model_module_version": "1.5.0",
|
1722 |
+
"_model_name": "DescriptionStyleModel",
|
1723 |
+
"_view_count": null,
|
1724 |
+
"_view_module": "@jupyter-widgets/base",
|
1725 |
+
"_view_module_version": "1.2.0",
|
1726 |
+
"_view_name": "StyleView",
|
1727 |
+
"description_width": ""
|
1728 |
+
}
|
1729 |
+
}
|
1730 |
+
}
|
1731 |
+
}
|
1732 |
+
},
|
1733 |
+
"cells": [
|
1734 |
+
{
|
1735 |
+
"cell_type": "code",
|
1736 |
+
"execution_count": 1,
|
1737 |
+
"metadata": {
|
1738 |
+
"colab": {
|
1739 |
+
"base_uri": "https://localhost:8080/"
|
1740 |
+
},
|
1741 |
+
"id": "JyGfY-l3N9_W",
|
1742 |
+
"outputId": "628e000f-8db0-42bd-8f97-3ad4d5faff3f"
|
1743 |
+
},
|
1744 |
+
"outputs": [
|
1745 |
+
{
|
1746 |
+
"output_type": "stream",
|
1747 |
+
"name": "stdout",
|
1748 |
+
"text": [
|
1749 |
+
"Mounted at /gdrive\n",
|
1750 |
+
"ln: failed to create symbolic link '/content/workspace/workspace': File exists\n",
|
1751 |
+
"ln: failed to create symbolic link '/content/home/home': File exists\n",
|
1752 |
+
"ln: failed to create symbolic link '/content/data/data': File exists\n",
|
1753 |
+
"env: HOME=/content/drive/MyDrive/home\n",
|
1754 |
+
"/content/drive/MyDrive/home\n"
|
1755 |
+
]
|
1756 |
+
}
|
1757 |
+
],
|
1758 |
+
"source": [
|
1759 |
+
"# from google.colab import drive\n",
|
1760 |
+
"# drive.mount('/gdrive',force_remount=True)\n",
|
1761 |
+
"# !ln -s \"/gdrive/My Drive/workspace\" \"/content/workspace\"\n",
|
1762 |
+
"# !ln -s \"/gdrive/My Drive/home\" \"/content/home\"\n",
|
1763 |
+
"# !ln -s \"/gdrive/My Drive/data\" \"/content/data\"\n",
|
1764 |
+
"# %env HOME=/content/drive/MyDrive/home\n",
|
1765 |
+
"# !eval echo ~$USER"
|
1766 |
+
]
|
1767 |
+
},
|
1768 |
+
{
|
1769 |
+
"cell_type": "code",
|
1770 |
+
"source": [
|
1771 |
+
"!export LC_ALL=\"en_US.UTF-8\"\n",
|
1772 |
+
"!export LD_LIBRARY_PATH=\"/usr/lib64-nvidia\"\n",
|
1773 |
+
"!export LIBRARY_PATH=\"/usr/local/cuda/lib64/stubs\"\n",
|
1774 |
+
"!ldconfig /usr/lib64-nvidia"
|
1775 |
+
],
|
1776 |
+
"metadata": {
|
1777 |
+
"colab": {
|
1778 |
+
"base_uri": "https://localhost:8080/"
|
1779 |
+
},
|
1780 |
+
"id": "gxA7zmFIvuAG",
|
1781 |
+
"outputId": "bff0d73e-ca3c-4379-aa40-5363d0e3f1fe"
|
1782 |
+
},
|
1783 |
+
"execution_count": 1,
|
1784 |
+
"outputs": [
|
1785 |
+
{
|
1786 |
+
"output_type": "stream",
|
1787 |
+
"name": "stdout",
|
1788 |
+
"text": [
|
1789 |
+
"/sbin/ldconfig.real: /usr/local/lib/libtbbbind_2_0.so.3 is not a symbolic link\n",
|
1790 |
+
"\n",
|
1791 |
+
"/sbin/ldconfig.real: /usr/local/lib/libtbbmalloc_proxy.so.2 is not a symbolic link\n",
|
1792 |
+
"\n",
|
1793 |
+
"/sbin/ldconfig.real: /usr/local/lib/libtbbmalloc.so.2 is not a symbolic link\n",
|
1794 |
+
"\n",
|
1795 |
+
"/sbin/ldconfig.real: /usr/local/lib/libtbb.so.12 is not a symbolic link\n",
|
1796 |
+
"\n",
|
1797 |
+
"/sbin/ldconfig.real: /usr/local/lib/libtbbbind_2_5.so.3 is not a symbolic link\n",
|
1798 |
+
"\n",
|
1799 |
+
"/sbin/ldconfig.real: /usr/local/lib/libtbbbind.so.3 is not a symbolic link\n",
|
1800 |
+
"\n"
|
1801 |
+
]
|
1802 |
+
}
|
1803 |
+
]
|
1804 |
+
},
|
1805 |
+
{
|
1806 |
+
"cell_type": "code",
|
1807 |
+
"source": [
|
1808 |
+
"!pip install -q causal-conv1d==1.0.0\n",
|
1809 |
+
"!pip install -q mamba-ssm==1.0.1"
|
1810 |
+
],
|
1811 |
+
"metadata": {
|
1812 |
+
"id": "oWado1xXOZvs"
|
1813 |
+
},
|
1814 |
+
"execution_count": 3,
|
1815 |
+
"outputs": []
|
1816 |
+
},
|
1817 |
+
{
|
1818 |
+
"cell_type": "code",
|
1819 |
+
"source": [
|
1820 |
+
"# from google.colab import output\n",
|
1821 |
+
"# output.clear()\n",
|
1822 |
+
"# del tokenizer\n",
|
1823 |
+
"# del model"
|
1824 |
+
],
|
1825 |
+
"metadata": {
|
1826 |
+
"id": "jMftjcXoHbQ8"
|
1827 |
+
},
|
1828 |
+
"execution_count": 18,
|
1829 |
+
"outputs": []
|
1830 |
+
},
|
1831 |
+
{
|
1832 |
+
"cell_type": "code",
|
1833 |
+
"source": [
|
1834 |
+
"import torch\n",
|
1835 |
+
"from transformers import AutoTokenizer\n",
|
1836 |
+
"from mamba_ssm.models.mixer_seq_simple import MambaLMHeadModel\n",
|
1837 |
+
"\n",
|
1838 |
+
"# Check if GPU is available and set the device accordingly\n",
|
1839 |
+
"device = torch.device(\"cuda\" if torch.cuda.is_available() else \"cpu\")\n",
|
1840 |
+
"\n",
|
1841 |
+
"# Print out the device information\n",
|
1842 |
+
"if device.type == 'cuda':\n",
|
1843 |
+
" print(f\"Using GPU: {torch.cuda.get_device_name(0)}\")\n",
|
1844 |
+
"else:\n",
|
1845 |
+
" print(\"Using CPU\")\n",
|
1846 |
+
"\n",
|
1847 |
+
"# Load the tokenizer\n",
|
1848 |
+
"tokenizer = AutoTokenizer.from_pretrained(\"venkycs/mamba-2.8b-cybersec\")\n",
|
1849 |
+
"tokenizer.eos_token = \"<|endoftext|>\"\n",
|
1850 |
+
"tokenizer.pad_token = tokenizer.eos_token\n",
|
1851 |
+
"\n",
|
1852 |
+
"# Load the model\n",
|
1853 |
+
"model = MambaLMHeadModel.from_pretrained(\"venkycs/mamba-2.8b-cybersec\")\n",
|
1854 |
+
"\n",
|
1855 |
+
"# Move the model to the selected device\n",
|
1856 |
+
"model = model.to(device)\n",
|
1857 |
+
"\n",
|
1858 |
+
"# Rest of your code for model usage follows...\n"
|
1859 |
+
],
|
1860 |
+
"metadata": {
|
1861 |
+
"id": "3OotKz-7PZ_Z",
|
1862 |
+
"colab": {
|
1863 |
+
"base_uri": "https://localhost:8080/",
|
1864 |
+
"height": 230,
|
1865 |
+
"referenced_widgets": [
|
1866 |
+
"25ac757f00114342abfe1d1b30265214",
|
1867 |
+
"fb2bc34d59d84389aa06ef7911352755",
|
1868 |
+
"96c8549716a04e00924338f3fd51dee3",
|
1869 |
+
"375bcd3d6d084f4d94991532ebe1f0f5",
|
1870 |
+
"4924299e525345b9958a512efb68b588",
|
1871 |
+
"7248b46c4b6a422d95faf1ec623a3a50",
|
1872 |
+
"249f40bec83a4ad5b31591907cd03561",
|
1873 |
+
"7f84f3f4bee4477e8fa1f8e83ef4bee0",
|
1874 |
+
"a06a675a11594ef98998a29b81d3b4a4",
|
1875 |
+
"6ac6c23ba8884c2684f907d263279fd7",
|
1876 |
+
"3af5638fcff9441ea00dbda99afb64d7",
|
1877 |
+
"494fa84f1d144081a22f211784399137",
|
1878 |
+
"985c92acbfac43aa9f83a4f46de04c49",
|
1879 |
+
"5136ce50cc454b79970ce5722a90724c",
|
1880 |
+
"e573df86b3ae46c991571e75063bbc84",
|
1881 |
+
"797cb60b235f4534a336455511818498",
|
1882 |
+
"6fa48af8697244018a68208fea30083d",
|
1883 |
+
"b90eff25148f4b128526d2588e3f3a07",
|
1884 |
+
"729509fdf1c349a3a4a15bd8950a7dee",
|
1885 |
+
"4f60b050e3d34a2d92b8771c4b5413a5",
|
1886 |
+
"9ddd8c63c47045079bb200e2b50243ec",
|
1887 |
+
"1ce55b924cb94196aeb9fb749e6eedd6",
|
1888 |
+
"c06c9f29f97f4953a8c0da04891fe67c",
|
1889 |
+
"bb4163b18ba545ff9a9041ccc5fac5cc",
|
1890 |
+
"e631ba8f9e9b4c7d883cc35932f0e7c3",
|
1891 |
+
"6fc9d8176b0148afa38622bd357048e1",
|
1892 |
+
"52a8000ccaa2430fab6d4e94446032aa",
|
1893 |
+
"57db9c51cb894112893a686ee7d91d2f",
|
1894 |
+
"2c1050117b3d439fb1abc166fa1d370d",
|
1895 |
+
"c90eaa2fea154de299131ae8d8cdb926",
|
1896 |
+
"4cd82029a9b94d31ae1fca343c631f3b",
|
1897 |
+
"ce511ff0c5af400ba97cf7813b19acf4",
|
1898 |
+
"aa67416c04044814ba41de8b7b751c92",
|
1899 |
+
"206af374676748de9e11df96ad2df295",
|
1900 |
+
"eaabccf2af324298916efc5a6320f787",
|
1901 |
+
"e020696f07364dd39e1a9bfa9fd92f2e",
|
1902 |
+
"cc746bf7b7b143bb99af1cd5ff6fd267",
|
1903 |
+
"1d382eaa72e14f3aa2a48c5dba9f2e8d",
|
1904 |
+
"0feb2581de7340d593500bc920913180",
|
1905 |
+
"8bd252feb31749f9b84867aa864841fd",
|
1906 |
+
"dce17a5dfe93445e86eab212e2a1a1cd",
|
1907 |
+
"c5e9a9c9d8504b28901c6e8d191ad7ec",
|
1908 |
+
"073bc18d8cd74c1c8e227cd349a51d85",
|
1909 |
+
"2f147c232ee945f9bf2542c4548eec16",
|
1910 |
+
"a6dd77ab2a2548f8bad8928beac6c474",
|
1911 |
+
"47007135f8cb4dabbfce20ee564b32cb",
|
1912 |
+
"c6d7f45118b14ade9fd6f6891eefe686",
|
1913 |
+
"0258f73607dd47d28cfd3f69a1710ce0",
|
1914 |
+
"2c4c78a83f444ef7b464c7f5fbb48ade",
|
1915 |
+
"5c5d0c8aed734cd1a3eced971ca2ce6b",
|
1916 |
+
"0aceba2582eb4da090606ac62dfc4713",
|
1917 |
+
"f906ebf80e714e019c30512f7bb49b2c",
|
1918 |
+
"b3e491041ac84f85950ee72d1f174347",
|
1919 |
+
"a0cde38d14df40cabd59bd771659c286",
|
1920 |
+
"8d62f1f34ba34f18b5b7a99faff2dfd6"
|
1921 |
+
]
|
1922 |
+
},
|
1923 |
+
"outputId": "7b533315-a82f-464b-a124-331dbc20f3af"
|
1924 |
+
},
|
1925 |
+
"execution_count": 2,
|
1926 |
+
"outputs": [
|
1927 |
+
{
|
1928 |
+
"output_type": "stream",
|
1929 |
+
"name": "stdout",
|
1930 |
+
"text": [
|
1931 |
+
"Using GPU: Tesla V100-SXM2-16GB\n"
|
1932 |
+
]
|
1933 |
+
},
|
1934 |
+
{
|
1935 |
+
"output_type": "display_data",
|
1936 |
+
"data": {
|
1937 |
+
"text/plain": [
|
1938 |
+
"tokenizer_config.json: 0%| | 0.00/5.35k [00:00<?, ?B/s]"
|
1939 |
+
],
|
1940 |
+
"application/vnd.jupyter.widget-view+json": {
|
1941 |
+
"version_major": 2,
|
1942 |
+
"version_minor": 0,
|
1943 |
+
"model_id": "25ac757f00114342abfe1d1b30265214"
|
1944 |
+
}
|
1945 |
+
},
|
1946 |
+
"metadata": {}
|
1947 |
+
},
|
1948 |
+
{
|
1949 |
+
"output_type": "display_data",
|
1950 |
+
"data": {
|
1951 |
+
"text/plain": [
|
1952 |
+
"tokenizer.json: 0%| | 0.00/2.11M [00:00<?, ?B/s]"
|
1953 |
+
],
|
1954 |
+
"application/vnd.jupyter.widget-view+json": {
|
1955 |
+
"version_major": 2,
|
1956 |
+
"version_minor": 0,
|
1957 |
+
"model_id": "494fa84f1d144081a22f211784399137"
|
1958 |
+
}
|
1959 |
+
},
|
1960 |
+
"metadata": {}
|
1961 |
+
},
|
1962 |
+
{
|
1963 |
+
"output_type": "display_data",
|
1964 |
+
"data": {
|
1965 |
+
"text/plain": [
|
1966 |
+
"special_tokens_map.json: 0%| | 0.00/359 [00:00<?, ?B/s]"
|
1967 |
+
],
|
1968 |
+
"application/vnd.jupyter.widget-view+json": {
|
1969 |
+
"version_major": 2,
|
1970 |
+
"version_minor": 0,
|
1971 |
+
"model_id": "c06c9f29f97f4953a8c0da04891fe67c"
|
1972 |
+
}
|
1973 |
+
},
|
1974 |
+
"metadata": {}
|
1975 |
+
},
|
1976 |
+
{
|
1977 |
+
"output_type": "stream",
|
1978 |
+
"name": "stderr",
|
1979 |
+
"text": [
|
1980 |
+
"Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.\n"
|
1981 |
+
]
|
1982 |
+
},
|
1983 |
+
{
|
1984 |
+
"output_type": "display_data",
|
1985 |
+
"data": {
|
1986 |
+
"text/plain": [
|
1987 |
+
"config.json: 0%| | 0.00/200 [00:00<?, ?B/s]"
|
1988 |
+
],
|
1989 |
+
"application/vnd.jupyter.widget-view+json": {
|
1990 |
+
"version_major": 2,
|
1991 |
+
"version_minor": 0,
|
1992 |
+
"model_id": "206af374676748de9e11df96ad2df295"
|
1993 |
+
}
|
1994 |
+
},
|
1995 |
+
"metadata": {}
|
1996 |
+
},
|
1997 |
+
{
|
1998 |
+
"output_type": "display_data",
|
1999 |
+
"data": {
|
2000 |
+
"text/plain": [
|
2001 |
+
"pytorch_model.bin: 0%| | 0.00/5.54G [00:00<?, ?B/s]"
|
2002 |
+
],
|
2003 |
+
"application/vnd.jupyter.widget-view+json": {
|
2004 |
+
"version_major": 2,
|
2005 |
+
"version_minor": 0,
|
2006 |
+
"model_id": "a6dd77ab2a2548f8bad8928beac6c474"
|
2007 |
+
}
|
2008 |
+
},
|
2009 |
+
"metadata": {}
|
2010 |
+
}
|
2011 |
+
]
|
2012 |
+
},
|
2013 |
+
{
|
2014 |
+
"cell_type": "code",
|
2015 |
+
"source": [
|
2016 |
+
"model"
|
2017 |
+
],
|
2018 |
+
"metadata": {
|
2019 |
+
"colab": {
|
2020 |
+
"base_uri": "https://localhost:8080/"
|
2021 |
+
},
|
2022 |
+
"id": "oZzGhRUkt8fP",
|
2023 |
+
"outputId": "2d431cce-a737-4678-b931-a68215f6b6d1"
|
2024 |
+
},
|
2025 |
+
"execution_count": 3,
|
2026 |
+
"outputs": [
|
2027 |
+
{
|
2028 |
+
"output_type": "execute_result",
|
2029 |
+
"data": {
|
2030 |
+
"text/plain": [
|
2031 |
+
"MambaLMHeadModel(\n",
|
2032 |
+
" (backbone): MixerModel(\n",
|
2033 |
+
" (embedding): Embedding(50280, 2560)\n",
|
2034 |
+
" (layers): ModuleList(\n",
|
2035 |
+
" (0-63): 64 x Block(\n",
|
2036 |
+
" (mixer): Mamba(\n",
|
2037 |
+
" (in_proj): Linear(in_features=2560, out_features=10240, bias=False)\n",
|
2038 |
+
" (conv1d): Conv1d(5120, 5120, kernel_size=(4,), stride=(1,), padding=(3,), groups=5120)\n",
|
2039 |
+
" (act): SiLU()\n",
|
2040 |
+
" (x_proj): Linear(in_features=5120, out_features=192, bias=False)\n",
|
2041 |
+
" (dt_proj): Linear(in_features=160, out_features=5120, bias=True)\n",
|
2042 |
+
" (out_proj): Linear(in_features=5120, out_features=2560, bias=False)\n",
|
2043 |
+
" )\n",
|
2044 |
+
" (norm): RMSNorm()\n",
|
2045 |
+
" )\n",
|
2046 |
+
" )\n",
|
2047 |
+
" (norm_f): RMSNorm()\n",
|
2048 |
+
" )\n",
|
2049 |
+
" (lm_head): Linear(in_features=2560, out_features=50280, bias=False)\n",
|
2050 |
+
")"
|
2051 |
+
]
|
2052 |
+
},
|
2053 |
+
"metadata": {},
|
2054 |
+
"execution_count": 3
|
2055 |
+
}
|
2056 |
+
]
|
2057 |
+
},
|
2058 |
+
{
|
2059 |
+
"cell_type": "code",
|
2060 |
+
"source": [
|
2061 |
+
"# Print memory footprint of the model\n",
|
2062 |
+
"if device.type == 'cuda':\n",
|
2063 |
+
" print(f\"Model memory footprint: {torch.cuda.memory_allocated(device)/1024**2:.2f} MB\")\n",
|
2064 |
+
"else:\n",
|
2065 |
+
" print(\"Memory footprint measurement is only available for GPU.\")"
|
2066 |
+
],
|
2067 |
+
"metadata": {
|
2068 |
+
"colab": {
|
2069 |
+
"base_uri": "https://localhost:8080/"
|
2070 |
+
},
|
2071 |
+
"id": "luB8-Eq4uCph",
|
2072 |
+
"outputId": "9510c659-bae6-414d-96f4-4171f2f840c7"
|
2073 |
+
},
|
2074 |
+
"execution_count": 4,
|
2075 |
+
"outputs": [
|
2076 |
+
{
|
2077 |
+
"output_type": "stream",
|
2078 |
+
"name": "stdout",
|
2079 |
+
"text": [
|
2080 |
+
"Model memory footprint: 10561.38 MB\n"
|
2081 |
+
]
|
2082 |
+
}
|
2083 |
+
]
|
2084 |
+
},
|
2085 |
+
{
|
2086 |
+
"cell_type": "code",
|
2087 |
+
"source": [
|
2088 |
+
"model = model.half()"
|
2089 |
+
],
|
2090 |
+
"metadata": {
|
2091 |
+
"id": "QYfDpTX4uM1d"
|
2092 |
+
},
|
2093 |
+
"execution_count": 5,
|
2094 |
+
"outputs": []
|
2095 |
+
},
|
2096 |
+
{
|
2097 |
+
"cell_type": "code",
|
2098 |
+
"source": [
|
2099 |
+
"# Print memory footprint of the model\n",
|
2100 |
+
"if device.type == 'cuda':\n",
|
2101 |
+
" print(f\"Model memory footprint: {torch.cuda.memory_allocated(device)/1024**2:.2f} MB\")\n",
|
2102 |
+
"else:\n",
|
2103 |
+
" print(\"Memory footprint measurement is only available for GPU.\")"
|
2104 |
+
],
|
2105 |
+
"metadata": {
|
2106 |
+
"colab": {
|
2107 |
+
"base_uri": "https://localhost:8080/"
|
2108 |
+
},
|
2109 |
+
"id": "VTY0e20puQzs",
|
2110 |
+
"outputId": "92288a12-05bd-44eb-b72f-698c0b7aeef0"
|
2111 |
+
},
|
2112 |
+
"execution_count": 6,
|
2113 |
+
"outputs": [
|
2114 |
+
{
|
2115 |
+
"output_type": "stream",
|
2116 |
+
"name": "stdout",
|
2117 |
+
"text": [
|
2118 |
+
"Model memory footprint: 5345.00 MB\n"
|
2119 |
+
]
|
2120 |
+
}
|
2121 |
+
]
|
2122 |
+
},
|
2123 |
+
{
|
2124 |
+
"cell_type": "code",
|
2125 |
+
"source": [
|
2126 |
+
"messages = []\n",
|
2127 |
+
"\n",
|
2128 |
+
"# Informing the user about how to exit the chat\n",
|
2129 |
+
"print(\"You can exit the chat anytime by typing 'bye' or 'quit'.\")\n",
|
2130 |
+
"\n",
|
2131 |
+
"while True:\n",
|
2132 |
+
" user_message = input(\"\\nUser: \")\n",
|
2133 |
+
"\n",
|
2134 |
+
" # Check if the user's message is 'bye' or 'quit'\n",
|
2135 |
+
" if user_message.lower() in ['bye', 'quit']:\n",
|
2136 |
+
" print(\"Exiting the chat.\")\n",
|
2137 |
+
" break\n",
|
2138 |
+
"\n",
|
2139 |
+
" messages.append(dict(\n",
|
2140 |
+
" role=\"user\",\n",
|
2141 |
+
" content=user_message\n",
|
2142 |
+
" ))\n",
|
2143 |
+
"\n",
|
2144 |
+
" input_ids = tokenizer.apply_chat_template(messages, return_tensors=\"pt\", add_generation_prompt=True).to(device)\n",
|
2145 |
+
"\n",
|
2146 |
+
" out = model.generate(input_ids=input_ids, max_length=2000, temperature=0.9, top_p=0.7, eos_token_id=tokenizer.eos_token_id)\n",
|
2147 |
+
"\n",
|
2148 |
+
" decoded = tokenizer.batch_decode(out)\n",
|
2149 |
+
" messages.append(dict(\n",
|
2150 |
+
" role=\"assistant\",\n",
|
2151 |
+
" content=decoded[0].split(\"\\n\")[-2])\n",
|
2152 |
+
" )\n",
|
2153 |
+
"\n",
|
2154 |
+
" print(\"AI Assistant:\", decoded[0].split(\"\\n\")[-1])\n"
|
2155 |
+
],
|
2156 |
+
"metadata": {
|
2157 |
+
"colab": {
|
2158 |
+
"base_uri": "https://localhost:8080/"
|
2159 |
+
},
|
2160 |
+
"id": "CzhhSwMcuS4d",
|
2161 |
+
"outputId": "45834eec-7443-434d-d304-4f495eeaeec7"
|
2162 |
+
},
|
2163 |
+
"execution_count": null,
|
2164 |
+
"outputs": [
|
2165 |
+
{
|
2166 |
+
"output_type": "stream",
|
2167 |
+
"name": "stdout",
|
2168 |
+
"text": [
|
2169 |
+
"You can exit the chat anytime by typing 'bye' or 'quit'.\n",
|
2170 |
+
"\n",
|
2171 |
+
"User: hi\n",
|
2172 |
+
"AI Assistant: Hello! I'm a helpful AI Assistant and expert in Security Incident Handling. I help organizations develop Security Incident Handling related training with appropriate solutions. I provide specific scenarios and clear steps for better understanding.<|endoftext|>\n",
|
2173 |
+
"\n",
|
2174 |
+
"User: How can AI be used to enhance network security?\n",
|
2175 |
+
"AI Assistant: AI can be used to enhance network security in various ways, such as detecting and responding to threats in real-time, identifying anomalous behavior, and automating security incident response. AI can also help in predicting and preventing future security breaches by analyzing historical data and identifying patterns of attack.<|endoftext|>\n",
|
2176 |
+
"\n",
|
2177 |
+
"User: Can you explain how the MITRE ATT&CK framework can be integrated into security training programs?\n",
|
2178 |
+
"AI Assistant: Certainly! The MITRE ATT&CK framework can be integrated into security training programs by first familiarizing the participants with the ATT&CK matrix, which outlines various tactics and techniques used by threat actors. Then, educators can use this framework to create scenario-based training exercises that simulate real-world cyber attacks. Participants can practice identifying and responding to these tactics, which will enhance their ability to detect and mitigate cyber threats in real-world situations.<|endoftext|>\n",
|
2179 |
+
"\n",
|
2180 |
+
"User: Give me more information and I want to learn practical steps \n",
|
2181 |
+
"AI Assistant: Certainly! The MITRE ATT&CK framework is a comprehensive matrix of tactics and techniques used by threat actors. To integrate it into security training programs, you can start by creating a module that introduces the framework's structure and concepts. Then, develop scenarios that walk through real-world attack scenarios based on MITRE ATT&CK tactics and techniques. Include hands-on exercises where trainees can practice identifying and responding to these tactics using simulated attack scenarios. This practical approach will help trainees understand how to apply the framework in real-world situations.<|endoftext|>\n",
|
2182 |
+
"\n",
|
2183 |
+
"User: Give me markdown format, high level steps may be 10 key points\n",
|
2184 |
+
"AI Assistant: By following these steps, you can ensure that your organization's security training program is practical and effective in mitigating the risks associated with network security.<|endoftext|>\n",
|
2185 |
+
"\n",
|
2186 |
+
"User: give me 3 more \n",
|
2187 |
+
"AI Assistant: By integrating these steps, organizations can better prepare for and respond to cyber threats using the MITRE ATT&CK framework.<|endoftext|>\n"
|
2188 |
+
]
|
2189 |
+
}
|
2190 |
+
]
|
2191 |
+
},
|
2192 |
+
{
|
2193 |
+
"cell_type": "code",
|
2194 |
+
"source": [
|
2195 |
+
"# Better to save locally, these model is not yet convered to hf\n",
|
2196 |
+
"# tokenizer.save_pretrained('/content/home/mamba2.8b-cybersec')"
|
2197 |
+
],
|
2198 |
+
"metadata": {
|
2199 |
+
"colab": {
|
2200 |
+
"base_uri": "https://localhost:8080/"
|
2201 |
+
},
|
2202 |
+
"id": "eeueGN3_zd7x",
|
2203 |
+
"outputId": "3e6f8af2-66ea-4081-c79b-1f231a315771"
|
2204 |
+
},
|
2205 |
+
"execution_count": 17,
|
2206 |
+
"outputs": [
|
2207 |
+
{
|
2208 |
+
"output_type": "execute_result",
|
2209 |
+
"data": {
|
2210 |
+
"text/plain": [
|
2211 |
+
"('/content/home/mamba2.8b-cybersec/tokenizer_config.json',\n",
|
2212 |
+
" '/content/home/mamba2.8b-cybersec/special_tokens_map.json',\n",
|
2213 |
+
" '/content/home/mamba2.8b-cybersec/tokenizer.json')"
|
2214 |
+
]
|
2215 |
+
},
|
2216 |
+
"metadata": {},
|
2217 |
+
"execution_count": 17
|
2218 |
+
}
|
2219 |
+
]
|
2220 |
+
},
|
2221 |
+
{
|
2222 |
+
"cell_type": "code",
|
2223 |
+
"source": [
|
2224 |
+
"# save_directory = \"/content/home/mamba2.8b-cybersec\"\n",
|
2225 |
+
"# # Save the model weights\n",
|
2226 |
+
"# # model.save_pretrained('/content/home/mamba2.8b-cybersec')\n",
|
2227 |
+
"# model_weights_path = os.path.join(save_directory, 'pytorch_model.bin')\n",
|
2228 |
+
"# torch.save(model.state_dict(), model_weights_path)"
|
2229 |
+
],
|
2230 |
+
"metadata": {
|
2231 |
+
"id": "JSEWOQDoz_E0"
|
2232 |
+
},
|
2233 |
+
"execution_count": 16,
|
2234 |
+
"outputs": []
|
2235 |
+
}
|
2236 |
+
]
|
2237 |
+
}
|