├── README.md ├── hg_03_pipeline.ipynb └── hg_01_get_started.ipynb /README.md: -------------------------------------------------------------------------------- 1 | # 小白入门HuggingFace 2 | 3 | 最近在学习HuggingFace的Transformer库,顺手写一个入门系列,分享我的学习心得。供小白们使用(编程大佬可以另找教程)。 4 | 5 | # 01 概念扫盲 6 | 7 | 学习三大概念,Transformers / Tokenizer / Pipeline 8 | 9 | [Python Notebook](./hg_01_get_started.ipynb) 10 | -------------------------------------------------------------------------------- /hg_03_pipeline.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": { 6 | "id": "view-in-github", 7 | "colab_type": "text" 8 | }, 9 | "source": [ 10 | "\"Open" 11 | ] 12 | }, 13 | { 14 | "cell_type": "markdown", 15 | "source": [ 16 | "# 小白入门HuggingFace\n", 17 | "\n", 18 | "## 03 Transformers的神器 - Pipeline\n", 19 | "\n", 20 | "`Pipeline` 特性极度简化模型使用过程,使得从Hub上使用任何模型进行各种任务变得有趣而简单。即使没有特定模态经验,或者不熟悉模型背后逻辑的小白,仍然可以通过 `Pipeline` 进行推理!\n", 21 | "\n", 22 | "`Transformers` 为 `Pipeline` 特性提供了接口 `pipeline()` 函数。\n", 23 | "\n", 24 | "我们在本期会学习如何使用 `pipeline()` 函数。\n", 25 | "\n" 26 | ], 27 | "metadata": { 28 | "id": "XzGma6-y5lNI" 29 | } 30 | }, 31 | { 32 | "cell_type": "markdown", 33 | "source": [ 34 | "## 准备Python环境" 35 | ], 36 | "metadata": { 37 | "id": "YoK0g55O9YqX" 38 | } 39 | }, 40 | { 41 | "cell_type": "code", 42 | "source": [ 43 | "!pip install git+https://github.com/huggingface/transformers sentencepiece --quiet" 44 | ], 45 | "metadata": { 46 | "id": "TOyVaq6r3oVB", 47 | "colab": { 48 | "base_uri": "https://localhost:8080/" 49 | }, 50 | "outputId": "90528b97-e6e5-46e7-8e6a-1d603ea61eea" 51 | }, 52 | "execution_count": 1, 53 | "outputs": [ 54 | { 55 | "output_type": "stream", 56 | "name": "stdout", 57 | "text": [ 58 | " Installing build dependencies ... \u001b[?25l\u001b[?25hdone\n", 59 | " Getting requirements to build wheel ... \u001b[?25l\u001b[?25hdone\n", 60 | " Preparing metadata (pyproject.toml) ... \u001b[?25l\u001b[?25hdone\n", 61 | "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m1.3/1.3 MB\u001b[0m \u001b[31m8.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", 62 | "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m268.8/268.8 kB\u001b[0m \u001b[31m12.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", 63 | "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m7.8/7.8 MB\u001b[0m \u001b[31m32.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", 64 | "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m1.3/1.3 MB\u001b[0m \u001b[31m45.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", 65 | "\u001b[?25h Building wheel for transformers (pyproject.toml) ... \u001b[?25l\u001b[?25hdone\n" 66 | ] 67 | } 68 | ] 69 | }, 70 | { 71 | "cell_type": "markdown", 72 | "source": [ 73 | "## 文本摘要生成的例子\n", 74 | "\n", 75 | "每个任务类型都有相应的Pipeline类,但使用通用的 `pipeline()` 函数更简单,该函数会自动加载默认模型,或指定模型,以及能够对您的任务进行推理的预处理类。\n" 76 | ], 77 | "metadata": { 78 | "id": "H0shki19igLy" 79 | } 80 | }, 81 | { 82 | "cell_type": "code", 83 | "source": [ 84 | "from transformers import pipeline\n", 85 | "\n", 86 | "generator = pipeline(\"summarization\")\n", 87 | "print(generator.__class__)" 88 | ], 89 | "metadata": { 90 | "id": "_XNULrGSFgLP" 91 | }, 92 | "execution_count": null, 93 | "outputs": [] 94 | }, 95 | { 96 | "cell_type": "code", 97 | "source": [ 98 | "from transformers import pipeline\n", 99 | "\n", 100 | "generator = pipeline(model=\"knkarthick/MEETING_SUMMARY\")\n", 101 | "print(generator.__class__)" 102 | ], 103 | "metadata": { 104 | "id": "PHDOh5YMmMjZ", 105 | "colab": { 106 | "base_uri": "https://localhost:8080/" 107 | }, 108 | "outputId": "651c268a-4d18-478b-ea7b-e00e1857490b" 109 | }, 110 | "execution_count": 12, 111 | "outputs": [ 112 | { 113 | "output_type": "stream", 114 | "name": "stdout", 115 | "text": [ 116 | "\n" 117 | ] 118 | } 119 | ] 120 | }, 121 | { 122 | "cell_type": "code", 123 | "source": [ 124 | "text = \"\"\"\n", 125 | "London, the capital of England and the United Kingdom, is a 21st-century city with history stretching back to Roman times. At its centre stand the imposing Houses of Parliament, the iconic ‘Big Ben’ clock tower and Westminster Abbey, site of British monarch coronations. Across the Thames River, the London Eye observation wheel provides panoramic views of the South Bank cultural complex, and the entire city.\n", 126 | "\"\"\"\n", 127 | "generator(text)" 128 | ], 129 | "metadata": { 130 | "colab": { 131 | "base_uri": "https://localhost:8080/" 132 | }, 133 | "id": "61tt3lAY7Bql", 134 | "outputId": "c9d8d7ab-d808-4e13-9fc4-c200bf2f4318" 135 | }, 136 | "execution_count": 13, 137 | "outputs": [ 138 | { 139 | "output_type": "execute_result", 140 | "data": { 141 | "text/plain": [ 142 | "[{'summary_text': 'The London Eye offers panoramic views of the South Bank and the entire city.'}]" 143 | ] 144 | }, 145 | "metadata": {}, 146 | "execution_count": 13 147 | } 148 | ] 149 | }, 150 | { 151 | "cell_type": "markdown", 152 | "source": [ 153 | "## 图像识别的例子" 154 | ], 155 | "metadata": { 156 | "id": "keIow8Vc7k3M" 157 | } 158 | }, 159 | { 160 | "cell_type": "code", 161 | "source": [ 162 | "from transformers import pipeline\n", 163 | "\n", 164 | "classifier = pipeline(model=\"google/vit-base-patch16-224\")\n", 165 | "print(classifier.__class__)" 166 | ], 167 | "metadata": { 168 | "colab": { 169 | "base_uri": "https://localhost:8080/", 170 | "height": 131, 171 | "referenced_widgets": [ 172 | "6b4722b93c0247008728657d0e0be540", 173 | "d98ca9f76a0f46bca2349d7b222487fb", 174 | "59cfc5ed51334bf8926f3cb4ec1260e0", 175 | "736b7508a32a484db1e3260cb6c733c4", 176 | "6ab9e6dd63894b7b9f92792b504b7049", 177 | "d991952f303f4a909d0bb93b83ab7840", 178 | "62d5127d95cb4144b2792e2d8ed3ce36", 179 | "94bc7af313424f228edbc92ea7a2714f", 180 | "f90259de1d0d49f6a9bf0fbaa8937799", 181 | "3bff5db28e1940ccba51d4282f25b9e7", 182 | "33d9c7bbb86a46719376e25637212df8", 183 | "8309d6a2a11c4737ab58dea91000ded7", 184 | "23f842a3dfb1483294f23aaf1c91a7ad", 185 | "758bfa223b9f4353930fd2e1cce8e50d", 186 | "ec85612565cd4e51b96800d992791f7a", 187 | "1b20af991c3f4703bcefbdb37a92c7d0", 188 | "409465b44e7445ab877effe195229bfa", 189 | "477c973abbd248599eb1c373097dae07", 190 | "64452cf304dd4acbbb55e9042128c2fc", 191 | "2be9ddb688d74a4c8ca56ebaf310396b", 192 | "e544fa4415394901a8d7f8fec4bd5b48", 193 | "d30c521c24aa44d6900fe8f5081b1d80", 194 | "0a63605f941e4da7a5a18ad2704436eb", 195 | "deb3a260ec3649129831437f3708057f", 196 | "4657ed4b130a4798999ed4210456e1b5", 197 | "eb4285ff38d142979b11bff48599de55", 198 | "af0ea49fd4524238b85bf15f26fe63a4", 199 | "07ef0ef611dd4feebb6c46cf49cc1f9b", 200 | "2a89a26df32a4d698e1ac7eb654d1555", 201 | "3d91055bce57403fbb6361a415d15758", 202 | "ab2ad8732ca74ff8b6c819f82111eac0", 203 | "929448ec053b4b8baf197d806310d30a", 204 | "d092a59b17814a7499547c5f6b65514f" 205 | ] 206 | }, 207 | "id": "yEB6C4FW7qdn", 208 | "outputId": "9e0228cf-ec4b-4e1e-a629-67910fdb2f7e" 209 | }, 210 | "execution_count": 14, 211 | "outputs": [ 212 | { 213 | "output_type": "display_data", 214 | "data": { 215 | "text/plain": [ 216 | "Downloading (…)lve/main/config.json: 0%| | 0.00/69.7k [00:00\n" 259 | ] 260 | } 261 | ] 262 | }, 263 | { 264 | "cell_type": "code", 265 | "source": [ 266 | "image_url = \"https://huggingface.co/datasets/Narsil/image_dummy/raw/main/parrots.png\"\n", 267 | "classifier(image_url)" 268 | ], 269 | "metadata": { 270 | "colab": { 271 | "base_uri": "https://localhost:8080/" 272 | }, 273 | "id": "nOtQ0QxK8PWj", 274 | "outputId": "68063850-9ef8-439c-962b-6cb1d41e1305" 275 | }, 276 | "execution_count": 15, 277 | "outputs": [ 278 | { 279 | "output_type": "execute_result", 280 | "data": { 281 | "text/plain": [ 282 | "[{'score': 0.9905232787132263, 'label': 'macaw'},\n", 283 | " {'score': 0.005603468045592308,\n", 284 | " 'label': 'African grey, African gray, Psittacus erithacus'},\n", 285 | " {'score': 0.0010569051373749971, 'label': 'toucan'},\n", 286 | " {'score': 0.0006811480852775276,\n", 287 | " 'label': 'sulphur-crested cockatoo, Kakatoe galerita, Cacatua galerita'},\n", 288 | " {'score': 0.0006714325281791389, 'label': 'lorikeet'}]" 289 | ] 290 | }, 291 | "metadata": {}, 292 | "execution_count": 15 293 | } 294 | ] 295 | }, 296 | { 297 | "cell_type": "markdown", 298 | "source": [ 299 | "## pipeline函数的参数\n", 300 | "\n", 301 | "`pipeline()` 函数除了 `task`, `model` 参数,还支持一系列模型通用的参数,和模型特定的参数。\n", 302 | "\n", 303 | "介绍几个模型通用的重要的参数:\n", 304 | "\n", 305 | "1. `device`\n", 306 | "\n", 307 | " device参数接受以下几种可能的值:\n", 308 | " - cpu:将模型加载到CPU上进行推理。\n", 309 | " - cuda:将模型加载到第一块GPU进行推理,等同于'cuda:0'。\n", 310 | " - cuda:X:将模型加载到编号为X的GPU上进行推理,X是GPU编号。\n", 311 | " - mps:将模型加载到Mac OS上的Apple M1或M2芯片上利用Metal Performance Shaders (MPS) 进行推理。\n", 312 | " - tpu:将模型加载到Tensor Processing Unit (TPU) 上进行推理,如Google Colab中的TPU。\n", 313 | " - auto:自动选择一个可用的设备,会按优先级首先选择TPU,然后是GPU,最后是CPU。\n", 314 | "\n", 315 | " 在huggingface transformers的pipeline函数中,device参数也可以设置为一个整数,比如0,是为了将模型加载到特定编号的 `GPU` 进行推理。\n", 316 | "\n", 317 | "2. `batch_size`\n", 318 | "\n", 319 | " 默认情况下,pipeline并不会做批量推理(batch inference)。但是,pipeline函数依然提供了 `batch_size` 参数支持必要的batch inference。\n", 320 | " \n", 321 | " `batch_size` 参数会影响到:\n", 322 | " - 推理速度:增加batch_size通常可以提高GPU利用效率,加速推理速度。但若过大也会导致OOM。\n", 323 | " - 内存占用:较大的batch_size会占用更多GPU显存。\n", 324 | " - 推理效果:某些模型对batch_size比较敏感,大小不同会影响准确率。\n", 325 | " - 支持长度:一些模型对最大输入长度有限制,batch_size过大可能超出模型支持长度。\n", 326 | " - 输出:输出会是一个批量结果列表,如果只需要单条结果,需要索引获取。\n", 327 | "\n", 328 | " 所以设置合适的batch_size需要综合考虑这些因素。\n" 329 | ], 330 | "metadata": { 331 | "id": "ipOO4IeY92jy" 332 | } 333 | }, 334 | { 335 | "cell_type": "markdown", 336 | "source": [ 337 | "### 模型特有的参数\n", 338 | "\n", 339 | "我们以文本分类为例,介绍模型特有参数的使用。\n", 340 | "\n", 341 | "文本分类的pipeline,由类 `TextClassificationPipeline` 实现,请参考文档 [TextClassificationPipeline](https://huggingface.co/docs/transformers/v4.31.0/en/main_classes/pipelines#transformers.TextClassificationPipeline)\n", 342 | "\n", 343 | "该类提供了模型特有的参数 `return_all_scores`,它用来标识是否返回所有预测分数或者只返回预测命中类别的分数。\n", 344 | "\n", 345 | "示例如下:" 346 | ], 347 | "metadata": { 348 | "id": "n68aOKnNAIDb" 349 | } 350 | }, 351 | { 352 | "cell_type": "code", 353 | "source": [ 354 | "from transformers import pipeline\n", 355 | "classifier = pipeline(model=\"ProsusAI/finbert\")\n", 356 | "print(classifier.__class__)" 357 | ], 358 | "metadata": { 359 | "colab": { 360 | "base_uri": "https://localhost:8080/" 361 | }, 362 | "id": "8D5-3El_Bf3-", 363 | "outputId": "685869fc-508c-4ba8-ebbc-a862f9115313" 364 | }, 365 | "execution_count": 16, 366 | "outputs": [ 367 | { 368 | "output_type": "stream", 369 | "name": "stdout", 370 | "text": [ 371 | "\n" 372 | ] 373 | } 374 | ] 375 | }, 376 | { 377 | "cell_type": "code", 378 | "source": [ 379 | "sentence = \"\"\"\n", 380 | "Hundreds of new North Sea oil and gas licences to boost British energy independence and grow the economy\n", 381 | "\"\"\"" 382 | ], 383 | "metadata": { 384 | "id": "Z2jibPmOB9dL" 385 | }, 386 | "execution_count": 17, 387 | "outputs": [] 388 | }, 389 | { 390 | "cell_type": "code", 391 | "source": [ 392 | "classifier(sentence)" 393 | ], 394 | "metadata": { 395 | "colab": { 396 | "base_uri": "https://localhost:8080/" 397 | }, 398 | "id": "ZUM7IUJWCACw", 399 | "outputId": "35f5363a-1a4e-4594-ad96-31fff42de4be" 400 | }, 401 | "execution_count": 18, 402 | "outputs": [ 403 | { 404 | "output_type": "execute_result", 405 | "data": { 406 | "text/plain": [ 407 | "[{'label': 'positive', 'score': 0.886681854724884}]" 408 | ] 409 | }, 410 | "metadata": {}, 411 | "execution_count": 18 412 | } 413 | ] 414 | }, 415 | { 416 | "cell_type": "code", 417 | "source": [ 418 | "classifier(sentence, return_all_scores=True)" 419 | ], 420 | "metadata": { 421 | "colab": { 422 | "base_uri": "https://localhost:8080/" 423 | }, 424 | "id": "Xzt-2cDgCF8R", 425 | "outputId": "0831a1e1-0459-405b-86ee-9d0d46d1e1fe" 426 | }, 427 | "execution_count": 19, 428 | "outputs": [ 429 | { 430 | "output_type": "execute_result", 431 | "data": { 432 | "text/plain": [ 433 | "[[{'label': 'positive', 'score': 0.886681854724884},\n", 434 | " {'label': 'negative', 'score': 0.009547530673444271},\n", 435 | " {'label': 'neutral', 'score': 0.10377060621976852}]]" 436 | ] 437 | }, 438 | "metadata": {}, 439 | "execution_count": 19 440 | } 441 | ] 442 | } 443 | ], 444 | "metadata": { 445 | "accelerator": "GPU", 446 | "colab": { 447 | "machine_shape": "hm", 448 | "provenance": [], 449 | "gpuClass": "premium", 450 | "gpuType": "V100", 451 | "include_colab_link": true 452 | }, 453 | "gpuClass": "premium", 454 | "kernelspec": { 455 | "display_name": "Python 3", 456 | "name": "python3" 457 | }, 458 | "language_info": { 459 | "name": "python" 460 | }, 461 | "widgets": { 462 | "application/vnd.jupyter.widget-state+json": { 463 | "6b4722b93c0247008728657d0e0be540": { 464 | "model_module": "@jupyter-widgets/controls", 465 | "model_name": "HBoxModel", 466 | "model_module_version": "1.5.0", 467 | "state": { 468 | "_dom_classes": [], 469 | "_model_module": "@jupyter-widgets/controls", 470 | "_model_module_version": "1.5.0", 471 | "_model_name": "HBoxModel", 472 | "_view_count": null, 473 | "_view_module": "@jupyter-widgets/controls", 474 | "_view_module_version": "1.5.0", 475 | "_view_name": "HBoxView", 476 | "box_style": "", 477 | "children": [ 478 | "IPY_MODEL_d98ca9f76a0f46bca2349d7b222487fb", 479 | "IPY_MODEL_59cfc5ed51334bf8926f3cb4ec1260e0", 480 | "IPY_MODEL_736b7508a32a484db1e3260cb6c733c4" 481 | ], 482 | "layout": "IPY_MODEL_6ab9e6dd63894b7b9f92792b504b7049" 483 | } 484 | }, 485 | "d98ca9f76a0f46bca2349d7b222487fb": { 486 | "model_module": "@jupyter-widgets/controls", 487 | "model_name": "HTMLModel", 488 | "model_module_version": "1.5.0", 489 | "state": { 490 | "_dom_classes": [], 491 | "_model_module": "@jupyter-widgets/controls", 492 | "_model_module_version": "1.5.0", 493 | "_model_name": "HTMLModel", 494 | "_view_count": null, 495 | "_view_module": "@jupyter-widgets/controls", 496 | "_view_module_version": "1.5.0", 497 | "_view_name": "HTMLView", 498 | "description": "", 499 | "description_tooltip": null, 500 | "layout": "IPY_MODEL_d991952f303f4a909d0bb93b83ab7840", 501 | "placeholder": "​", 502 | "style": "IPY_MODEL_62d5127d95cb4144b2792e2d8ed3ce36", 503 | "value": "Downloading (…)lve/main/config.json: 100%" 504 | } 505 | }, 506 | "59cfc5ed51334bf8926f3cb4ec1260e0": { 507 | "model_module": "@jupyter-widgets/controls", 508 | "model_name": "FloatProgressModel", 509 | "model_module_version": "1.5.0", 510 | "state": { 511 | "_dom_classes": [], 512 | "_model_module": "@jupyter-widgets/controls", 513 | "_model_module_version": "1.5.0", 514 | "_model_name": "FloatProgressModel", 515 | "_view_count": null, 516 | "_view_module": "@jupyter-widgets/controls", 517 | "_view_module_version": "1.5.0", 518 | "_view_name": "ProgressView", 519 | "bar_style": "success", 520 | "description": "", 521 | "description_tooltip": null, 522 | "layout": "IPY_MODEL_94bc7af313424f228edbc92ea7a2714f", 523 | "max": 69665, 524 | "min": 0, 525 | "orientation": "horizontal", 526 | "style": "IPY_MODEL_f90259de1d0d49f6a9bf0fbaa8937799", 527 | "value": 69665 528 | } 529 | }, 530 | "736b7508a32a484db1e3260cb6c733c4": { 531 | "model_module": "@jupyter-widgets/controls", 532 | "model_name": "HTMLModel", 533 | "model_module_version": "1.5.0", 534 | "state": { 535 | "_dom_classes": [], 536 | "_model_module": "@jupyter-widgets/controls", 537 | "_model_module_version": "1.5.0", 538 | "_model_name": "HTMLModel", 539 | "_view_count": null, 540 | "_view_module": "@jupyter-widgets/controls", 541 | "_view_module_version": "1.5.0", 542 | "_view_name": "HTMLView", 543 | "description": "", 544 | "description_tooltip": null, 545 | "layout": "IPY_MODEL_3bff5db28e1940ccba51d4282f25b9e7", 546 | "placeholder": "​", 547 | "style": "IPY_MODEL_33d9c7bbb86a46719376e25637212df8", 548 | "value": " 69.7k/69.7k [00:00<00:00, 5.37MB/s]" 549 | } 550 | }, 551 | "6ab9e6dd63894b7b9f92792b504b7049": { 552 | "model_module": "@jupyter-widgets/base", 553 | "model_name": "LayoutModel", 554 | "model_module_version": "1.2.0", 555 | "state": { 556 | "_model_module": "@jupyter-widgets/base", 557 | "_model_module_version": "1.2.0", 558 | "_model_name": "LayoutModel", 559 | "_view_count": null, 560 | "_view_module": "@jupyter-widgets/base", 561 | "_view_module_version": "1.2.0", 562 | "_view_name": "LayoutView", 563 | "align_content": null, 564 | "align_items": null, 565 | "align_self": null, 566 | "border": null, 567 | "bottom": null, 568 | "display": null, 569 | "flex": null, 570 | "flex_flow": null, 571 | "grid_area": null, 572 | "grid_auto_columns": null, 573 | "grid_auto_flow": null, 574 | "grid_auto_rows": null, 575 | "grid_column": null, 576 | "grid_gap": null, 577 | "grid_row": null, 578 | "grid_template_areas": null, 579 | "grid_template_columns": null, 580 | "grid_template_rows": null, 581 | "height": null, 582 | "justify_content": null, 583 | "justify_items": null, 584 | "left": null, 585 | "margin": null, 586 | "max_height": null, 587 | "max_width": null, 588 | "min_height": null, 589 | "min_width": null, 590 | "object_fit": null, 591 | "object_position": null, 592 | "order": null, 593 | "overflow": null, 594 | "overflow_x": null, 595 | "overflow_y": null, 596 | "padding": null, 597 | "right": null, 598 | "top": null, 599 | "visibility": null, 600 | "width": null 601 | } 602 | }, 603 | "d991952f303f4a909d0bb93b83ab7840": { 604 | "model_module": "@jupyter-widgets/base", 605 | "model_name": "LayoutModel", 606 | "model_module_version": "1.2.0", 607 | "state": { 608 | "_model_module": "@jupyter-widgets/base", 609 | "_model_module_version": "1.2.0", 610 | "_model_name": "LayoutModel", 611 | "_view_count": null, 612 | "_view_module": "@jupyter-widgets/base", 613 | "_view_module_version": "1.2.0", 614 | "_view_name": "LayoutView", 615 | "align_content": null, 616 | "align_items": null, 617 | "align_self": null, 618 | "border": null, 619 | "bottom": null, 620 | "display": null, 621 | "flex": null, 622 | "flex_flow": null, 623 | "grid_area": null, 624 | "grid_auto_columns": null, 625 | "grid_auto_flow": null, 626 | "grid_auto_rows": null, 627 | "grid_column": null, 628 | "grid_gap": null, 629 | "grid_row": null, 630 | "grid_template_areas": null, 631 | "grid_template_columns": null, 632 | "grid_template_rows": null, 633 | "height": null, 634 | "justify_content": null, 635 | "justify_items": null, 636 | "left": null, 637 | "margin": null, 638 | "max_height": null, 639 | "max_width": null, 640 | "min_height": null, 641 | "min_width": null, 642 | "object_fit": null, 643 | "object_position": null, 644 | "order": null, 645 | "overflow": null, 646 | "overflow_x": null, 647 | "overflow_y": null, 648 | "padding": null, 649 | "right": null, 650 | "top": null, 651 | "visibility": null, 652 | "width": null 653 | } 654 | }, 655 | "62d5127d95cb4144b2792e2d8ed3ce36": { 656 | "model_module": "@jupyter-widgets/controls", 657 | "model_name": "DescriptionStyleModel", 658 | "model_module_version": "1.5.0", 659 | "state": { 660 | "_model_module": "@jupyter-widgets/controls", 661 | "_model_module_version": "1.5.0", 662 | "_model_name": "DescriptionStyleModel", 663 | "_view_count": null, 664 | "_view_module": "@jupyter-widgets/base", 665 | "_view_module_version": "1.2.0", 666 | "_view_name": "StyleView", 667 | "description_width": "" 668 | } 669 | }, 670 | "94bc7af313424f228edbc92ea7a2714f": { 671 | "model_module": "@jupyter-widgets/base", 672 | "model_name": "LayoutModel", 673 | "model_module_version": "1.2.0", 674 | "state": { 675 | "_model_module": "@jupyter-widgets/base", 676 | "_model_module_version": "1.2.0", 677 | "_model_name": "LayoutModel", 678 | "_view_count": null, 679 | "_view_module": "@jupyter-widgets/base", 680 | "_view_module_version": "1.2.0", 681 | "_view_name": "LayoutView", 682 | "align_content": null, 683 | "align_items": null, 684 | "align_self": null, 685 | "border": null, 686 | "bottom": null, 687 | "display": null, 688 | "flex": null, 689 | "flex_flow": null, 690 | "grid_area": null, 691 | "grid_auto_columns": null, 692 | "grid_auto_flow": null, 693 | "grid_auto_rows": null, 694 | "grid_column": null, 695 | "grid_gap": null, 696 | "grid_row": null, 697 | "grid_template_areas": null, 698 | "grid_template_columns": null, 699 | "grid_template_rows": null, 700 | "height": null, 701 | "justify_content": null, 702 | "justify_items": null, 703 | "left": null, 704 | "margin": null, 705 | "max_height": null, 706 | "max_width": null, 707 | "min_height": null, 708 | "min_width": null, 709 | "object_fit": null, 710 | "object_position": null, 711 | "order": null, 712 | "overflow": null, 713 | "overflow_x": null, 714 | "overflow_y": null, 715 | "padding": null, 716 | "right": null, 717 | "top": null, 718 | "visibility": null, 719 | "width": null 720 | } 721 | }, 722 | "f90259de1d0d49f6a9bf0fbaa8937799": { 723 | "model_module": "@jupyter-widgets/controls", 724 | "model_name": "ProgressStyleModel", 725 | "model_module_version": "1.5.0", 726 | "state": { 727 | "_model_module": "@jupyter-widgets/controls", 728 | "_model_module_version": "1.5.0", 729 | "_model_name": "ProgressStyleModel", 730 | "_view_count": null, 731 | "_view_module": "@jupyter-widgets/base", 732 | "_view_module_version": "1.2.0", 733 | "_view_name": "StyleView", 734 | "bar_color": null, 735 | "description_width": "" 736 | } 737 | }, 738 | "3bff5db28e1940ccba51d4282f25b9e7": { 739 | "model_module": "@jupyter-widgets/base", 740 | "model_name": "LayoutModel", 741 | "model_module_version": "1.2.0", 742 | "state": { 743 | "_model_module": "@jupyter-widgets/base", 744 | "_model_module_version": "1.2.0", 745 | "_model_name": "LayoutModel", 746 | "_view_count": null, 747 | "_view_module": "@jupyter-widgets/base", 748 | "_view_module_version": "1.2.0", 749 | "_view_name": "LayoutView", 750 | "align_content": null, 751 | "align_items": null, 752 | "align_self": null, 753 | "border": null, 754 | "bottom": null, 755 | "display": null, 756 | "flex": null, 757 | "flex_flow": null, 758 | "grid_area": null, 759 | "grid_auto_columns": null, 760 | "grid_auto_flow": null, 761 | "grid_auto_rows": null, 762 | "grid_column": null, 763 | "grid_gap": null, 764 | "grid_row": null, 765 | "grid_template_areas": null, 766 | "grid_template_columns": null, 767 | "grid_template_rows": null, 768 | "height": null, 769 | "justify_content": null, 770 | "justify_items": null, 771 | "left": null, 772 | "margin": null, 773 | "max_height": null, 774 | "max_width": null, 775 | "min_height": null, 776 | "min_width": null, 777 | "object_fit": null, 778 | "object_position": null, 779 | "order": null, 780 | "overflow": null, 781 | "overflow_x": null, 782 | "overflow_y": null, 783 | "padding": null, 784 | "right": null, 785 | "top": null, 786 | "visibility": null, 787 | "width": null 788 | } 789 | }, 790 | "33d9c7bbb86a46719376e25637212df8": { 791 | "model_module": "@jupyter-widgets/controls", 792 | "model_name": "DescriptionStyleModel", 793 | "model_module_version": "1.5.0", 794 | "state": { 795 | "_model_module": "@jupyter-widgets/controls", 796 | "_model_module_version": "1.5.0", 797 | "_model_name": "DescriptionStyleModel", 798 | "_view_count": null, 799 | "_view_module": "@jupyter-widgets/base", 800 | "_view_module_version": "1.2.0", 801 | "_view_name": "StyleView", 802 | "description_width": "" 803 | } 804 | }, 805 | "8309d6a2a11c4737ab58dea91000ded7": { 806 | "model_module": "@jupyter-widgets/controls", 807 | "model_name": "HBoxModel", 808 | "model_module_version": "1.5.0", 809 | "state": { 810 | "_dom_classes": [], 811 | "_model_module": "@jupyter-widgets/controls", 812 | "_model_module_version": "1.5.0", 813 | "_model_name": "HBoxModel", 814 | "_view_count": null, 815 | "_view_module": "@jupyter-widgets/controls", 816 | "_view_module_version": "1.5.0", 817 | "_view_name": "HBoxView", 818 | "box_style": "", 819 | "children": [ 820 | "IPY_MODEL_23f842a3dfb1483294f23aaf1c91a7ad", 821 | "IPY_MODEL_758bfa223b9f4353930fd2e1cce8e50d", 822 | "IPY_MODEL_ec85612565cd4e51b96800d992791f7a" 823 | ], 824 | "layout": "IPY_MODEL_1b20af991c3f4703bcefbdb37a92c7d0" 825 | } 826 | }, 827 | "23f842a3dfb1483294f23aaf1c91a7ad": { 828 | "model_module": "@jupyter-widgets/controls", 829 | "model_name": "HTMLModel", 830 | "model_module_version": "1.5.0", 831 | "state": { 832 | "_dom_classes": [], 833 | "_model_module": "@jupyter-widgets/controls", 834 | "_model_module_version": "1.5.0", 835 | "_model_name": "HTMLModel", 836 | "_view_count": null, 837 | "_view_module": "@jupyter-widgets/controls", 838 | "_view_module_version": "1.5.0", 839 | "_view_name": "HTMLView", 840 | "description": "", 841 | "description_tooltip": null, 842 | "layout": "IPY_MODEL_409465b44e7445ab877effe195229bfa", 843 | "placeholder": "​", 844 | "style": "IPY_MODEL_477c973abbd248599eb1c373097dae07", 845 | "value": "Downloading pytorch_model.bin: 100%" 846 | } 847 | }, 848 | "758bfa223b9f4353930fd2e1cce8e50d": { 849 | "model_module": "@jupyter-widgets/controls", 850 | "model_name": "FloatProgressModel", 851 | "model_module_version": "1.5.0", 852 | "state": { 853 | "_dom_classes": [], 854 | "_model_module": "@jupyter-widgets/controls", 855 | "_model_module_version": "1.5.0", 856 | "_model_name": "FloatProgressModel", 857 | "_view_count": null, 858 | "_view_module": "@jupyter-widgets/controls", 859 | "_view_module_version": "1.5.0", 860 | "_view_name": "ProgressView", 861 | "bar_style": "success", 862 | "description": "", 863 | "description_tooltip": null, 864 | "layout": "IPY_MODEL_64452cf304dd4acbbb55e9042128c2fc", 865 | "max": 346351599, 866 | "min": 0, 867 | "orientation": "horizontal", 868 | "style": "IPY_MODEL_2be9ddb688d74a4c8ca56ebaf310396b", 869 | "value": 346351599 870 | } 871 | }, 872 | "ec85612565cd4e51b96800d992791f7a": { 873 | "model_module": "@jupyter-widgets/controls", 874 | "model_name": "HTMLModel", 875 | "model_module_version": "1.5.0", 876 | "state": { 877 | "_dom_classes": [], 878 | "_model_module": "@jupyter-widgets/controls", 879 | "_model_module_version": "1.5.0", 880 | "_model_name": "HTMLModel", 881 | "_view_count": null, 882 | "_view_module": "@jupyter-widgets/controls", 883 | "_view_module_version": "1.5.0", 884 | "_view_name": "HTMLView", 885 | "description": "", 886 | "description_tooltip": null, 887 | "layout": "IPY_MODEL_e544fa4415394901a8d7f8fec4bd5b48", 888 | "placeholder": "​", 889 | "style": "IPY_MODEL_d30c521c24aa44d6900fe8f5081b1d80", 890 | "value": " 346M/346M [00:01<00:00, 290MB/s]" 891 | } 892 | }, 893 | "1b20af991c3f4703bcefbdb37a92c7d0": { 894 | "model_module": "@jupyter-widgets/base", 895 | "model_name": "LayoutModel", 896 | "model_module_version": "1.2.0", 897 | "state": { 898 | "_model_module": "@jupyter-widgets/base", 899 | "_model_module_version": "1.2.0", 900 | "_model_name": "LayoutModel", 901 | "_view_count": null, 902 | "_view_module": "@jupyter-widgets/base", 903 | "_view_module_version": "1.2.0", 904 | "_view_name": "LayoutView", 905 | "align_content": null, 906 | "align_items": null, 907 | "align_self": null, 908 | "border": null, 909 | "bottom": null, 910 | "display": null, 911 | "flex": null, 912 | "flex_flow": null, 913 | "grid_area": null, 914 | "grid_auto_columns": null, 915 | "grid_auto_flow": null, 916 | "grid_auto_rows": null, 917 | "grid_column": null, 918 | "grid_gap": null, 919 | "grid_row": null, 920 | "grid_template_areas": null, 921 | "grid_template_columns": null, 922 | "grid_template_rows": null, 923 | "height": null, 924 | "justify_content": null, 925 | "justify_items": null, 926 | "left": null, 927 | "margin": null, 928 | "max_height": null, 929 | "max_width": null, 930 | "min_height": null, 931 | "min_width": null, 932 | "object_fit": null, 933 | "object_position": null, 934 | "order": null, 935 | "overflow": null, 936 | "overflow_x": null, 937 | "overflow_y": null, 938 | "padding": null, 939 | "right": null, 940 | "top": null, 941 | "visibility": null, 942 | "width": null 943 | } 944 | }, 945 | "409465b44e7445ab877effe195229bfa": { 946 | "model_module": "@jupyter-widgets/base", 947 | "model_name": "LayoutModel", 948 | "model_module_version": "1.2.0", 949 | "state": { 950 | "_model_module": "@jupyter-widgets/base", 951 | "_model_module_version": "1.2.0", 952 | "_model_name": "LayoutModel", 953 | "_view_count": null, 954 | "_view_module": "@jupyter-widgets/base", 955 | "_view_module_version": "1.2.0", 956 | "_view_name": "LayoutView", 957 | "align_content": null, 958 | "align_items": null, 959 | "align_self": null, 960 | "border": null, 961 | "bottom": null, 962 | "display": null, 963 | "flex": null, 964 | "flex_flow": null, 965 | "grid_area": null, 966 | "grid_auto_columns": null, 967 | "grid_auto_flow": null, 968 | "grid_auto_rows": null, 969 | "grid_column": null, 970 | "grid_gap": null, 971 | "grid_row": null, 972 | "grid_template_areas": null, 973 | "grid_template_columns": null, 974 | "grid_template_rows": null, 975 | "height": null, 976 | "justify_content": null, 977 | "justify_items": null, 978 | "left": null, 979 | "margin": null, 980 | "max_height": null, 981 | "max_width": null, 982 | "min_height": null, 983 | "min_width": null, 984 | "object_fit": null, 985 | "object_position": null, 986 | "order": null, 987 | "overflow": null, 988 | "overflow_x": null, 989 | "overflow_y": null, 990 | "padding": null, 991 | "right": null, 992 | "top": null, 993 | "visibility": null, 994 | "width": null 995 | } 996 | }, 997 | "477c973abbd248599eb1c373097dae07": { 998 | "model_module": "@jupyter-widgets/controls", 999 | "model_name": "DescriptionStyleModel", 1000 | "model_module_version": "1.5.0", 1001 | "state": { 1002 | "_model_module": "@jupyter-widgets/controls", 1003 | "_model_module_version": "1.5.0", 1004 | "_model_name": "DescriptionStyleModel", 1005 | "_view_count": null, 1006 | "_view_module": "@jupyter-widgets/base", 1007 | "_view_module_version": "1.2.0", 1008 | "_view_name": "StyleView", 1009 | "description_width": "" 1010 | } 1011 | }, 1012 | "64452cf304dd4acbbb55e9042128c2fc": { 1013 | "model_module": "@jupyter-widgets/base", 1014 | "model_name": "LayoutModel", 1015 | "model_module_version": "1.2.0", 1016 | "state": { 1017 | "_model_module": "@jupyter-widgets/base", 1018 | "_model_module_version": "1.2.0", 1019 | "_model_name": "LayoutModel", 1020 | "_view_count": null, 1021 | "_view_module": "@jupyter-widgets/base", 1022 | "_view_module_version": "1.2.0", 1023 | "_view_name": "LayoutView", 1024 | "align_content": null, 1025 | "align_items": null, 1026 | "align_self": null, 1027 | "border": null, 1028 | "bottom": null, 1029 | "display": null, 1030 | "flex": null, 1031 | "flex_flow": null, 1032 | "grid_area": null, 1033 | "grid_auto_columns": null, 1034 | "grid_auto_flow": null, 1035 | "grid_auto_rows": null, 1036 | "grid_column": null, 1037 | "grid_gap": null, 1038 | "grid_row": null, 1039 | "grid_template_areas": null, 1040 | "grid_template_columns": null, 1041 | "grid_template_rows": null, 1042 | "height": null, 1043 | "justify_content": null, 1044 | "justify_items": null, 1045 | "left": null, 1046 | "margin": null, 1047 | "max_height": null, 1048 | "max_width": null, 1049 | "min_height": null, 1050 | "min_width": null, 1051 | "object_fit": null, 1052 | "object_position": null, 1053 | "order": null, 1054 | "overflow": null, 1055 | "overflow_x": null, 1056 | "overflow_y": null, 1057 | "padding": null, 1058 | "right": null, 1059 | "top": null, 1060 | "visibility": null, 1061 | "width": null 1062 | } 1063 | }, 1064 | "2be9ddb688d74a4c8ca56ebaf310396b": { 1065 | "model_module": "@jupyter-widgets/controls", 1066 | "model_name": "ProgressStyleModel", 1067 | "model_module_version": "1.5.0", 1068 | "state": { 1069 | "_model_module": "@jupyter-widgets/controls", 1070 | "_model_module_version": "1.5.0", 1071 | "_model_name": "ProgressStyleModel", 1072 | "_view_count": null, 1073 | "_view_module": "@jupyter-widgets/base", 1074 | "_view_module_version": "1.2.0", 1075 | "_view_name": "StyleView", 1076 | "bar_color": null, 1077 | "description_width": "" 1078 | } 1079 | }, 1080 | "e544fa4415394901a8d7f8fec4bd5b48": { 1081 | "model_module": "@jupyter-widgets/base", 1082 | "model_name": "LayoutModel", 1083 | "model_module_version": "1.2.0", 1084 | "state": { 1085 | "_model_module": "@jupyter-widgets/base", 1086 | "_model_module_version": "1.2.0", 1087 | "_model_name": "LayoutModel", 1088 | "_view_count": null, 1089 | "_view_module": "@jupyter-widgets/base", 1090 | "_view_module_version": "1.2.0", 1091 | "_view_name": "LayoutView", 1092 | "align_content": null, 1093 | "align_items": null, 1094 | "align_self": null, 1095 | "border": null, 1096 | "bottom": null, 1097 | "display": null, 1098 | "flex": null, 1099 | "flex_flow": null, 1100 | "grid_area": null, 1101 | "grid_auto_columns": null, 1102 | "grid_auto_flow": null, 1103 | "grid_auto_rows": null, 1104 | "grid_column": null, 1105 | "grid_gap": null, 1106 | "grid_row": null, 1107 | "grid_template_areas": null, 1108 | "grid_template_columns": null, 1109 | "grid_template_rows": null, 1110 | "height": null, 1111 | "justify_content": null, 1112 | "justify_items": null, 1113 | "left": null, 1114 | "margin": null, 1115 | "max_height": null, 1116 | "max_width": null, 1117 | "min_height": null, 1118 | "min_width": null, 1119 | "object_fit": null, 1120 | "object_position": null, 1121 | "order": null, 1122 | "overflow": null, 1123 | "overflow_x": null, 1124 | "overflow_y": null, 1125 | "padding": null, 1126 | "right": null, 1127 | "top": null, 1128 | "visibility": null, 1129 | "width": null 1130 | } 1131 | }, 1132 | "d30c521c24aa44d6900fe8f5081b1d80": { 1133 | "model_module": "@jupyter-widgets/controls", 1134 | "model_name": "DescriptionStyleModel", 1135 | "model_module_version": "1.5.0", 1136 | "state": { 1137 | "_model_module": "@jupyter-widgets/controls", 1138 | "_model_module_version": "1.5.0", 1139 | "_model_name": "DescriptionStyleModel", 1140 | "_view_count": null, 1141 | "_view_module": "@jupyter-widgets/base", 1142 | "_view_module_version": "1.2.0", 1143 | "_view_name": "StyleView", 1144 | "description_width": "" 1145 | } 1146 | }, 1147 | "0a63605f941e4da7a5a18ad2704436eb": { 1148 | "model_module": "@jupyter-widgets/controls", 1149 | "model_name": "HBoxModel", 1150 | "model_module_version": "1.5.0", 1151 | "state": { 1152 | "_dom_classes": [], 1153 | "_model_module": "@jupyter-widgets/controls", 1154 | "_model_module_version": "1.5.0", 1155 | "_model_name": "HBoxModel", 1156 | "_view_count": null, 1157 | "_view_module": "@jupyter-widgets/controls", 1158 | "_view_module_version": "1.5.0", 1159 | "_view_name": "HBoxView", 1160 | "box_style": "", 1161 | "children": [ 1162 | "IPY_MODEL_deb3a260ec3649129831437f3708057f", 1163 | "IPY_MODEL_4657ed4b130a4798999ed4210456e1b5", 1164 | "IPY_MODEL_eb4285ff38d142979b11bff48599de55" 1165 | ], 1166 | "layout": "IPY_MODEL_af0ea49fd4524238b85bf15f26fe63a4" 1167 | } 1168 | }, 1169 | "deb3a260ec3649129831437f3708057f": { 1170 | "model_module": "@jupyter-widgets/controls", 1171 | "model_name": "HTMLModel", 1172 | "model_module_version": "1.5.0", 1173 | "state": { 1174 | "_dom_classes": [], 1175 | "_model_module": "@jupyter-widgets/controls", 1176 | "_model_module_version": "1.5.0", 1177 | "_model_name": "HTMLModel", 1178 | "_view_count": null, 1179 | "_view_module": "@jupyter-widgets/controls", 1180 | "_view_module_version": "1.5.0", 1181 | "_view_name": "HTMLView", 1182 | "description": "", 1183 | "description_tooltip": null, 1184 | "layout": "IPY_MODEL_07ef0ef611dd4feebb6c46cf49cc1f9b", 1185 | "placeholder": "​", 1186 | "style": "IPY_MODEL_2a89a26df32a4d698e1ac7eb654d1555", 1187 | "value": "Downloading (…)rocessor_config.json: 100%" 1188 | } 1189 | }, 1190 | "4657ed4b130a4798999ed4210456e1b5": { 1191 | "model_module": "@jupyter-widgets/controls", 1192 | "model_name": "FloatProgressModel", 1193 | "model_module_version": "1.5.0", 1194 | "state": { 1195 | "_dom_classes": [], 1196 | "_model_module": "@jupyter-widgets/controls", 1197 | "_model_module_version": "1.5.0", 1198 | "_model_name": "FloatProgressModel", 1199 | "_view_count": null, 1200 | "_view_module": "@jupyter-widgets/controls", 1201 | "_view_module_version": "1.5.0", 1202 | "_view_name": "ProgressView", 1203 | "bar_style": "success", 1204 | "description": "", 1205 | "description_tooltip": null, 1206 | "layout": "IPY_MODEL_3d91055bce57403fbb6361a415d15758", 1207 | "max": 160, 1208 | "min": 0, 1209 | "orientation": "horizontal", 1210 | "style": "IPY_MODEL_ab2ad8732ca74ff8b6c819f82111eac0", 1211 | "value": 160 1212 | } 1213 | }, 1214 | "eb4285ff38d142979b11bff48599de55": { 1215 | "model_module": "@jupyter-widgets/controls", 1216 | "model_name": "HTMLModel", 1217 | "model_module_version": "1.5.0", 1218 | "state": { 1219 | "_dom_classes": [], 1220 | "_model_module": "@jupyter-widgets/controls", 1221 | "_model_module_version": "1.5.0", 1222 | "_model_name": "HTMLModel", 1223 | "_view_count": null, 1224 | "_view_module": "@jupyter-widgets/controls", 1225 | "_view_module_version": "1.5.0", 1226 | "_view_name": "HTMLView", 1227 | "description": "", 1228 | "description_tooltip": null, 1229 | "layout": "IPY_MODEL_929448ec053b4b8baf197d806310d30a", 1230 | "placeholder": "​", 1231 | "style": "IPY_MODEL_d092a59b17814a7499547c5f6b65514f", 1232 | "value": " 160/160 [00:00<00:00, 11.5kB/s]" 1233 | } 1234 | }, 1235 | "af0ea49fd4524238b85bf15f26fe63a4": { 1236 | "model_module": "@jupyter-widgets/base", 1237 | "model_name": "LayoutModel", 1238 | "model_module_version": "1.2.0", 1239 | "state": { 1240 | "_model_module": "@jupyter-widgets/base", 1241 | "_model_module_version": "1.2.0", 1242 | "_model_name": "LayoutModel", 1243 | "_view_count": null, 1244 | "_view_module": "@jupyter-widgets/base", 1245 | "_view_module_version": "1.2.0", 1246 | "_view_name": "LayoutView", 1247 | "align_content": null, 1248 | "align_items": null, 1249 | "align_self": null, 1250 | "border": null, 1251 | "bottom": null, 1252 | "display": null, 1253 | "flex": null, 1254 | "flex_flow": null, 1255 | "grid_area": null, 1256 | "grid_auto_columns": null, 1257 | "grid_auto_flow": null, 1258 | "grid_auto_rows": null, 1259 | "grid_column": null, 1260 | "grid_gap": null, 1261 | "grid_row": null, 1262 | "grid_template_areas": null, 1263 | "grid_template_columns": null, 1264 | "grid_template_rows": null, 1265 | "height": null, 1266 | "justify_content": null, 1267 | "justify_items": null, 1268 | "left": null, 1269 | "margin": null, 1270 | "max_height": null, 1271 | "max_width": null, 1272 | "min_height": null, 1273 | "min_width": null, 1274 | "object_fit": null, 1275 | "object_position": null, 1276 | "order": null, 1277 | "overflow": null, 1278 | "overflow_x": null, 1279 | "overflow_y": null, 1280 | "padding": null, 1281 | "right": null, 1282 | "top": null, 1283 | "visibility": null, 1284 | "width": null 1285 | } 1286 | }, 1287 | "07ef0ef611dd4feebb6c46cf49cc1f9b": { 1288 | "model_module": "@jupyter-widgets/base", 1289 | "model_name": "LayoutModel", 1290 | "model_module_version": "1.2.0", 1291 | "state": { 1292 | "_model_module": "@jupyter-widgets/base", 1293 | "_model_module_version": "1.2.0", 1294 | "_model_name": "LayoutModel", 1295 | "_view_count": null, 1296 | "_view_module": "@jupyter-widgets/base", 1297 | "_view_module_version": "1.2.0", 1298 | "_view_name": "LayoutView", 1299 | "align_content": null, 1300 | "align_items": null, 1301 | "align_self": null, 1302 | "border": null, 1303 | "bottom": null, 1304 | "display": null, 1305 | "flex": null, 1306 | "flex_flow": null, 1307 | "grid_area": null, 1308 | "grid_auto_columns": null, 1309 | "grid_auto_flow": null, 1310 | "grid_auto_rows": null, 1311 | "grid_column": null, 1312 | "grid_gap": null, 1313 | "grid_row": null, 1314 | "grid_template_areas": null, 1315 | "grid_template_columns": null, 1316 | "grid_template_rows": null, 1317 | "height": null, 1318 | "justify_content": null, 1319 | "justify_items": null, 1320 | "left": null, 1321 | "margin": null, 1322 | "max_height": null, 1323 | "max_width": null, 1324 | "min_height": null, 1325 | "min_width": null, 1326 | "object_fit": null, 1327 | "object_position": null, 1328 | "order": null, 1329 | "overflow": null, 1330 | "overflow_x": null, 1331 | "overflow_y": null, 1332 | "padding": null, 1333 | "right": null, 1334 | "top": null, 1335 | "visibility": null, 1336 | "width": null 1337 | } 1338 | }, 1339 | "2a89a26df32a4d698e1ac7eb654d1555": { 1340 | "model_module": "@jupyter-widgets/controls", 1341 | "model_name": "DescriptionStyleModel", 1342 | "model_module_version": "1.5.0", 1343 | "state": { 1344 | "_model_module": "@jupyter-widgets/controls", 1345 | "_model_module_version": "1.5.0", 1346 | "_model_name": "DescriptionStyleModel", 1347 | "_view_count": null, 1348 | "_view_module": "@jupyter-widgets/base", 1349 | "_view_module_version": "1.2.0", 1350 | "_view_name": "StyleView", 1351 | "description_width": "" 1352 | } 1353 | }, 1354 | "3d91055bce57403fbb6361a415d15758": { 1355 | "model_module": "@jupyter-widgets/base", 1356 | "model_name": "LayoutModel", 1357 | "model_module_version": "1.2.0", 1358 | "state": { 1359 | "_model_module": "@jupyter-widgets/base", 1360 | "_model_module_version": "1.2.0", 1361 | "_model_name": "LayoutModel", 1362 | "_view_count": null, 1363 | "_view_module": "@jupyter-widgets/base", 1364 | "_view_module_version": "1.2.0", 1365 | "_view_name": "LayoutView", 1366 | "align_content": null, 1367 | "align_items": null, 1368 | "align_self": null, 1369 | "border": null, 1370 | "bottom": null, 1371 | "display": null, 1372 | "flex": null, 1373 | "flex_flow": null, 1374 | "grid_area": null, 1375 | "grid_auto_columns": null, 1376 | "grid_auto_flow": null, 1377 | "grid_auto_rows": null, 1378 | "grid_column": null, 1379 | "grid_gap": null, 1380 | "grid_row": null, 1381 | "grid_template_areas": null, 1382 | "grid_template_columns": null, 1383 | "grid_template_rows": null, 1384 | "height": null, 1385 | "justify_content": null, 1386 | "justify_items": null, 1387 | "left": null, 1388 | "margin": null, 1389 | "max_height": null, 1390 | "max_width": null, 1391 | "min_height": null, 1392 | "min_width": null, 1393 | "object_fit": null, 1394 | "object_position": null, 1395 | "order": null, 1396 | "overflow": null, 1397 | "overflow_x": null, 1398 | "overflow_y": null, 1399 | "padding": null, 1400 | "right": null, 1401 | "top": null, 1402 | "visibility": null, 1403 | "width": null 1404 | } 1405 | }, 1406 | "ab2ad8732ca74ff8b6c819f82111eac0": { 1407 | "model_module": "@jupyter-widgets/controls", 1408 | "model_name": "ProgressStyleModel", 1409 | "model_module_version": "1.5.0", 1410 | "state": { 1411 | "_model_module": "@jupyter-widgets/controls", 1412 | "_model_module_version": "1.5.0", 1413 | "_model_name": "ProgressStyleModel", 1414 | "_view_count": null, 1415 | "_view_module": "@jupyter-widgets/base", 1416 | "_view_module_version": "1.2.0", 1417 | "_view_name": "StyleView", 1418 | "bar_color": null, 1419 | "description_width": "" 1420 | } 1421 | }, 1422 | "929448ec053b4b8baf197d806310d30a": { 1423 | "model_module": "@jupyter-widgets/base", 1424 | "model_name": "LayoutModel", 1425 | "model_module_version": "1.2.0", 1426 | "state": { 1427 | "_model_module": "@jupyter-widgets/base", 1428 | "_model_module_version": "1.2.0", 1429 | "_model_name": "LayoutModel", 1430 | "_view_count": null, 1431 | "_view_module": "@jupyter-widgets/base", 1432 | "_view_module_version": "1.2.0", 1433 | "_view_name": "LayoutView", 1434 | "align_content": null, 1435 | "align_items": null, 1436 | "align_self": null, 1437 | "border": null, 1438 | "bottom": null, 1439 | "display": null, 1440 | "flex": null, 1441 | "flex_flow": null, 1442 | "grid_area": null, 1443 | "grid_auto_columns": null, 1444 | "grid_auto_flow": null, 1445 | "grid_auto_rows": null, 1446 | "grid_column": null, 1447 | "grid_gap": null, 1448 | "grid_row": null, 1449 | "grid_template_areas": null, 1450 | "grid_template_columns": null, 1451 | "grid_template_rows": null, 1452 | "height": null, 1453 | "justify_content": null, 1454 | "justify_items": null, 1455 | "left": null, 1456 | "margin": null, 1457 | "max_height": null, 1458 | "max_width": null, 1459 | "min_height": null, 1460 | "min_width": null, 1461 | "object_fit": null, 1462 | "object_position": null, 1463 | "order": null, 1464 | "overflow": null, 1465 | "overflow_x": null, 1466 | "overflow_y": null, 1467 | "padding": null, 1468 | "right": null, 1469 | "top": null, 1470 | "visibility": null, 1471 | "width": null 1472 | } 1473 | }, 1474 | "d092a59b17814a7499547c5f6b65514f": { 1475 | "model_module": "@jupyter-widgets/controls", 1476 | "model_name": "DescriptionStyleModel", 1477 | "model_module_version": "1.5.0", 1478 | "state": { 1479 | "_model_module": "@jupyter-widgets/controls", 1480 | "_model_module_version": "1.5.0", 1481 | "_model_name": "DescriptionStyleModel", 1482 | "_view_count": null, 1483 | "_view_module": "@jupyter-widgets/base", 1484 | "_view_module_version": "1.2.0", 1485 | "_view_name": "StyleView", 1486 | "description_width": "" 1487 | } 1488 | } 1489 | } 1490 | } 1491 | }, 1492 | "nbformat": 4, 1493 | "nbformat_minor": 0 1494 | } -------------------------------------------------------------------------------- /hg_01_get_started.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "nbformat": 4, 3 | "nbformat_minor": 0, 4 | "metadata": { 5 | "colab": { 6 | "provenance": [], 7 | "authorship_tag": "ABX9TyNUtsKKN2W34CIWharL0+Xh", 8 | "include_colab_link": true 9 | }, 10 | "kernelspec": { 11 | "name": "python3", 12 | "display_name": "Python 3" 13 | }, 14 | "language_info": { 15 | "name": "python" 16 | }, 17 | "widgets": { 18 | "application/vnd.jupyter.widget-state+json": { 19 | "abda57577fe04b52b4bf9f14792dfb69": { 20 | "model_module": "@jupyter-widgets/controls", 21 | "model_name": "HBoxModel", 22 | "model_module_version": "1.5.0", 23 | "state": { 24 | "_dom_classes": [], 25 | "_model_module": "@jupyter-widgets/controls", 26 | "_model_module_version": "1.5.0", 27 | "_model_name": "HBoxModel", 28 | "_view_count": null, 29 | "_view_module": "@jupyter-widgets/controls", 30 | "_view_module_version": "1.5.0", 31 | "_view_name": "HBoxView", 32 | "box_style": "", 33 | "children": [ 34 | "IPY_MODEL_2bdcbbdc8b404200965f023abf43fe5b", 35 | "IPY_MODEL_229ff64d8f67496cbbc0f319d74d6de8", 36 | "IPY_MODEL_d713efb2a0a44732b3bb256540817102" 37 | ], 38 | "layout": "IPY_MODEL_d8f6fc6f5a254c87a32231080d8c1174" 39 | } 40 | }, 41 | "2bdcbbdc8b404200965f023abf43fe5b": { 42 | "model_module": "@jupyter-widgets/controls", 43 | "model_name": "HTMLModel", 44 | "model_module_version": "1.5.0", 45 | "state": { 46 | "_dom_classes": [], 47 | "_model_module": "@jupyter-widgets/controls", 48 | "_model_module_version": "1.5.0", 49 | "_model_name": "HTMLModel", 50 | "_view_count": null, 51 | "_view_module": "@jupyter-widgets/controls", 52 | "_view_module_version": "1.5.0", 53 | "_view_name": "HTMLView", 54 | "description": "", 55 | "description_tooltip": null, 56 | "layout": "IPY_MODEL_3818592b024b4b1d80187f7709eeeb84", 57 | "placeholder": "​", 58 | "style": "IPY_MODEL_7c3031c5c93644208ea68db2e1d0e3a9", 59 | "value": "Downloading (…)lve/main/config.json: 100%" 60 | } 61 | }, 62 | "229ff64d8f67496cbbc0f319d74d6de8": { 63 | "model_module": "@jupyter-widgets/controls", 64 | "model_name": "FloatProgressModel", 65 | "model_module_version": "1.5.0", 66 | "state": { 67 | "_dom_classes": [], 68 | "_model_module": "@jupyter-widgets/controls", 69 | "_model_module_version": "1.5.0", 70 | "_model_name": "FloatProgressModel", 71 | "_view_count": null, 72 | "_view_module": "@jupyter-widgets/controls", 73 | "_view_module_version": "1.5.0", 74 | "_view_name": "ProgressView", 75 | "bar_style": "success", 76 | "description": "", 77 | "description_tooltip": null, 78 | "layout": "IPY_MODEL_2c272a31055d4f92a26bb3fc30b4aaf2", 79 | "max": 1585, 80 | "min": 0, 81 | "orientation": "horizontal", 82 | "style": "IPY_MODEL_114e6abb5335477d8c4f5590f4a49c89", 83 | "value": 1585 84 | } 85 | }, 86 | "d713efb2a0a44732b3bb256540817102": { 87 | "model_module": "@jupyter-widgets/controls", 88 | "model_name": "HTMLModel", 89 | "model_module_version": "1.5.0", 90 | "state": { 91 | "_dom_classes": [], 92 | "_model_module": "@jupyter-widgets/controls", 93 | "_model_module_version": "1.5.0", 94 | "_model_name": "HTMLModel", 95 | "_view_count": null, 96 | "_view_module": "@jupyter-widgets/controls", 97 | "_view_module_version": "1.5.0", 98 | "_view_name": "HTMLView", 99 | "description": "", 100 | "description_tooltip": null, 101 | "layout": "IPY_MODEL_3fb95761e6c44eeca715881d49378734", 102 | "placeholder": "​", 103 | "style": "IPY_MODEL_80d0c6227dfc4fdaaada1cb976a27264", 104 | "value": " 1.58k/1.58k [00:00<00:00, 93.0kB/s]" 105 | } 106 | }, 107 | "d8f6fc6f5a254c87a32231080d8c1174": { 108 | "model_module": "@jupyter-widgets/base", 109 | "model_name": "LayoutModel", 110 | "model_module_version": "1.2.0", 111 | "state": { 112 | "_model_module": "@jupyter-widgets/base", 113 | "_model_module_version": "1.2.0", 114 | "_model_name": "LayoutModel", 115 | "_view_count": null, 116 | "_view_module": "@jupyter-widgets/base", 117 | "_view_module_version": "1.2.0", 118 | "_view_name": "LayoutView", 119 | "align_content": null, 120 | "align_items": null, 121 | "align_self": null, 122 | "border": null, 123 | "bottom": null, 124 | "display": null, 125 | "flex": null, 126 | "flex_flow": null, 127 | "grid_area": null, 128 | "grid_auto_columns": null, 129 | "grid_auto_flow": null, 130 | "grid_auto_rows": null, 131 | "grid_column": null, 132 | "grid_gap": null, 133 | "grid_row": null, 134 | "grid_template_areas": null, 135 | "grid_template_columns": null, 136 | "grid_template_rows": null, 137 | "height": null, 138 | "justify_content": null, 139 | "justify_items": null, 140 | "left": null, 141 | "margin": null, 142 | "max_height": null, 143 | "max_width": null, 144 | "min_height": null, 145 | "min_width": null, 146 | "object_fit": null, 147 | "object_position": null, 148 | "order": null, 149 | "overflow": null, 150 | "overflow_x": null, 151 | "overflow_y": null, 152 | "padding": null, 153 | "right": null, 154 | "top": null, 155 | "visibility": null, 156 | "width": null 157 | } 158 | }, 159 | "3818592b024b4b1d80187f7709eeeb84": { 160 | "model_module": "@jupyter-widgets/base", 161 | "model_name": "LayoutModel", 162 | "model_module_version": "1.2.0", 163 | "state": { 164 | "_model_module": "@jupyter-widgets/base", 165 | "_model_module_version": "1.2.0", 166 | "_model_name": "LayoutModel", 167 | "_view_count": null, 168 | "_view_module": "@jupyter-widgets/base", 169 | "_view_module_version": "1.2.0", 170 | "_view_name": "LayoutView", 171 | "align_content": null, 172 | "align_items": null, 173 | "align_self": null, 174 | "border": null, 175 | "bottom": null, 176 | "display": null, 177 | "flex": null, 178 | "flex_flow": null, 179 | "grid_area": null, 180 | "grid_auto_columns": null, 181 | "grid_auto_flow": null, 182 | "grid_auto_rows": null, 183 | "grid_column": null, 184 | "grid_gap": null, 185 | "grid_row": null, 186 | "grid_template_areas": null, 187 | "grid_template_columns": null, 188 | "grid_template_rows": null, 189 | "height": null, 190 | "justify_content": null, 191 | "justify_items": null, 192 | "left": null, 193 | "margin": null, 194 | "max_height": null, 195 | "max_width": null, 196 | "min_height": null, 197 | "min_width": null, 198 | "object_fit": null, 199 | "object_position": null, 200 | "order": null, 201 | "overflow": null, 202 | "overflow_x": null, 203 | "overflow_y": null, 204 | "padding": null, 205 | "right": null, 206 | "top": null, 207 | "visibility": null, 208 | "width": null 209 | } 210 | }, 211 | "7c3031c5c93644208ea68db2e1d0e3a9": { 212 | "model_module": "@jupyter-widgets/controls", 213 | "model_name": "DescriptionStyleModel", 214 | "model_module_version": "1.5.0", 215 | "state": { 216 | "_model_module": "@jupyter-widgets/controls", 217 | "_model_module_version": "1.5.0", 218 | "_model_name": "DescriptionStyleModel", 219 | "_view_count": null, 220 | "_view_module": "@jupyter-widgets/base", 221 | "_view_module_version": "1.2.0", 222 | "_view_name": "StyleView", 223 | "description_width": "" 224 | } 225 | }, 226 | "2c272a31055d4f92a26bb3fc30b4aaf2": { 227 | "model_module": "@jupyter-widgets/base", 228 | "model_name": "LayoutModel", 229 | "model_module_version": "1.2.0", 230 | "state": { 231 | "_model_module": "@jupyter-widgets/base", 232 | "_model_module_version": "1.2.0", 233 | "_model_name": "LayoutModel", 234 | "_view_count": null, 235 | "_view_module": "@jupyter-widgets/base", 236 | "_view_module_version": "1.2.0", 237 | "_view_name": "LayoutView", 238 | "align_content": null, 239 | "align_items": null, 240 | "align_self": null, 241 | "border": null, 242 | "bottom": null, 243 | "display": null, 244 | "flex": null, 245 | "flex_flow": null, 246 | "grid_area": null, 247 | "grid_auto_columns": null, 248 | "grid_auto_flow": null, 249 | "grid_auto_rows": null, 250 | "grid_column": null, 251 | "grid_gap": null, 252 | "grid_row": null, 253 | "grid_template_areas": null, 254 | "grid_template_columns": null, 255 | "grid_template_rows": null, 256 | "height": null, 257 | "justify_content": null, 258 | "justify_items": null, 259 | "left": null, 260 | "margin": null, 261 | "max_height": null, 262 | "max_width": null, 263 | "min_height": null, 264 | "min_width": null, 265 | "object_fit": null, 266 | "object_position": null, 267 | "order": null, 268 | "overflow": null, 269 | "overflow_x": null, 270 | "overflow_y": null, 271 | "padding": null, 272 | "right": null, 273 | "top": null, 274 | "visibility": null, 275 | "width": null 276 | } 277 | }, 278 | "114e6abb5335477d8c4f5590f4a49c89": { 279 | "model_module": "@jupyter-widgets/controls", 280 | "model_name": "ProgressStyleModel", 281 | "model_module_version": "1.5.0", 282 | "state": { 283 | "_model_module": "@jupyter-widgets/controls", 284 | "_model_module_version": "1.5.0", 285 | "_model_name": "ProgressStyleModel", 286 | "_view_count": null, 287 | "_view_module": "@jupyter-widgets/base", 288 | "_view_module_version": "1.2.0", 289 | "_view_name": "StyleView", 290 | "bar_color": null, 291 | "description_width": "" 292 | } 293 | }, 294 | "3fb95761e6c44eeca715881d49378734": { 295 | "model_module": "@jupyter-widgets/base", 296 | "model_name": "LayoutModel", 297 | "model_module_version": "1.2.0", 298 | "state": { 299 | "_model_module": "@jupyter-widgets/base", 300 | "_model_module_version": "1.2.0", 301 | "_model_name": "LayoutModel", 302 | "_view_count": null, 303 | "_view_module": "@jupyter-widgets/base", 304 | "_view_module_version": "1.2.0", 305 | "_view_name": "LayoutView", 306 | "align_content": null, 307 | "align_items": null, 308 | "align_self": null, 309 | "border": null, 310 | "bottom": null, 311 | "display": null, 312 | "flex": null, 313 | "flex_flow": null, 314 | "grid_area": null, 315 | "grid_auto_columns": null, 316 | "grid_auto_flow": null, 317 | "grid_auto_rows": null, 318 | "grid_column": null, 319 | "grid_gap": null, 320 | "grid_row": null, 321 | "grid_template_areas": null, 322 | "grid_template_columns": null, 323 | "grid_template_rows": null, 324 | "height": null, 325 | "justify_content": null, 326 | "justify_items": null, 327 | "left": null, 328 | "margin": null, 329 | "max_height": null, 330 | "max_width": null, 331 | "min_height": null, 332 | "min_width": null, 333 | "object_fit": null, 334 | "object_position": null, 335 | "order": null, 336 | "overflow": null, 337 | "overflow_x": null, 338 | "overflow_y": null, 339 | "padding": null, 340 | "right": null, 341 | "top": null, 342 | "visibility": null, 343 | "width": null 344 | } 345 | }, 346 | "80d0c6227dfc4fdaaada1cb976a27264": { 347 | "model_module": "@jupyter-widgets/controls", 348 | "model_name": "DescriptionStyleModel", 349 | "model_module_version": "1.5.0", 350 | "state": { 351 | "_model_module": "@jupyter-widgets/controls", 352 | "_model_module_version": "1.5.0", 353 | "_model_name": "DescriptionStyleModel", 354 | "_view_count": null, 355 | "_view_module": "@jupyter-widgets/base", 356 | "_view_module_version": "1.2.0", 357 | "_view_name": "StyleView", 358 | "description_width": "" 359 | } 360 | }, 361 | "885629689dfa4991839ea4963b65ecc3": { 362 | "model_module": "@jupyter-widgets/controls", 363 | "model_name": "HBoxModel", 364 | "model_module_version": "1.5.0", 365 | "state": { 366 | "_dom_classes": [], 367 | "_model_module": "@jupyter-widgets/controls", 368 | "_model_module_version": "1.5.0", 369 | "_model_name": "HBoxModel", 370 | "_view_count": null, 371 | "_view_module": "@jupyter-widgets/controls", 372 | "_view_module_version": "1.5.0", 373 | "_view_name": "HBoxView", 374 | "box_style": "", 375 | "children": [ 376 | "IPY_MODEL_76e89a23490549eba3341e8282c70678", 377 | "IPY_MODEL_553581c1ddf24a99ae7af2f31656e1d7", 378 | "IPY_MODEL_38f0a2875d0c479fa41c85f4a1b20aff" 379 | ], 380 | "layout": "IPY_MODEL_7a67272ae2d9477696d07b1854379fcd" 381 | } 382 | }, 383 | "76e89a23490549eba3341e8282c70678": { 384 | "model_module": "@jupyter-widgets/controls", 385 | "model_name": "HTMLModel", 386 | "model_module_version": "1.5.0", 387 | "state": { 388 | "_dom_classes": [], 389 | "_model_module": "@jupyter-widgets/controls", 390 | "_model_module_version": "1.5.0", 391 | "_model_name": "HTMLModel", 392 | "_view_count": null, 393 | "_view_module": "@jupyter-widgets/controls", 394 | "_view_module_version": "1.5.0", 395 | "_view_name": "HTMLView", 396 | "description": "", 397 | "description_tooltip": null, 398 | "layout": "IPY_MODEL_a8f64a80f4b341a1908dc09d20cef8a2", 399 | "placeholder": "​", 400 | "style": "IPY_MODEL_a715fc1cc2d94cf194a1f137277d9435", 401 | "value": "Downloading pytorch_model.bin: 100%" 402 | } 403 | }, 404 | "553581c1ddf24a99ae7af2f31656e1d7": { 405 | "model_module": "@jupyter-widgets/controls", 406 | "model_name": "FloatProgressModel", 407 | "model_module_version": "1.5.0", 408 | "state": { 409 | "_dom_classes": [], 410 | "_model_module": "@jupyter-widgets/controls", 411 | "_model_module_version": "1.5.0", 412 | "_model_name": "FloatProgressModel", 413 | "_view_count": null, 414 | "_view_module": "@jupyter-widgets/controls", 415 | "_view_module_version": "1.5.0", 416 | "_view_name": "ProgressView", 417 | "bar_style": "success", 418 | "description": "", 419 | "description_tooltip": null, 420 | "layout": "IPY_MODEL_7042173a525f4014bf65fb5f57845a74", 421 | "max": 1625270765, 422 | "min": 0, 423 | "orientation": "horizontal", 424 | "style": "IPY_MODEL_76271f6d3c934acb9d1351da44e0b19c", 425 | "value": 1625270765 426 | } 427 | }, 428 | "38f0a2875d0c479fa41c85f4a1b20aff": { 429 | "model_module": "@jupyter-widgets/controls", 430 | "model_name": "HTMLModel", 431 | "model_module_version": "1.5.0", 432 | "state": { 433 | "_dom_classes": [], 434 | "_model_module": "@jupyter-widgets/controls", 435 | "_model_module_version": "1.5.0", 436 | "_model_name": "HTMLModel", 437 | "_view_count": null, 438 | "_view_module": "@jupyter-widgets/controls", 439 | "_view_module_version": "1.5.0", 440 | "_view_name": "HTMLView", 441 | "description": "", 442 | "description_tooltip": null, 443 | "layout": "IPY_MODEL_7aa4094491b1433eaec965dc06c2591c", 444 | "placeholder": "​", 445 | "style": "IPY_MODEL_eb18b47cbb754deea32e1a58a2fca049", 446 | "value": " 1.63G/1.63G [00:10<00:00, 159MB/s]" 447 | } 448 | }, 449 | "7a67272ae2d9477696d07b1854379fcd": { 450 | "model_module": "@jupyter-widgets/base", 451 | "model_name": "LayoutModel", 452 | "model_module_version": "1.2.0", 453 | "state": { 454 | "_model_module": "@jupyter-widgets/base", 455 | "_model_module_version": "1.2.0", 456 | "_model_name": "LayoutModel", 457 | "_view_count": null, 458 | "_view_module": "@jupyter-widgets/base", 459 | "_view_module_version": "1.2.0", 460 | "_view_name": "LayoutView", 461 | "align_content": null, 462 | "align_items": null, 463 | "align_self": null, 464 | "border": null, 465 | "bottom": null, 466 | "display": null, 467 | "flex": null, 468 | "flex_flow": null, 469 | "grid_area": null, 470 | "grid_auto_columns": null, 471 | "grid_auto_flow": null, 472 | "grid_auto_rows": null, 473 | "grid_column": null, 474 | "grid_gap": null, 475 | "grid_row": null, 476 | "grid_template_areas": null, 477 | "grid_template_columns": null, 478 | "grid_template_rows": null, 479 | "height": null, 480 | "justify_content": null, 481 | "justify_items": null, 482 | "left": null, 483 | "margin": null, 484 | "max_height": null, 485 | "max_width": null, 486 | "min_height": null, 487 | "min_width": null, 488 | "object_fit": null, 489 | "object_position": null, 490 | "order": null, 491 | "overflow": null, 492 | "overflow_x": null, 493 | "overflow_y": null, 494 | "padding": null, 495 | "right": null, 496 | "top": null, 497 | "visibility": null, 498 | "width": null 499 | } 500 | }, 501 | "a8f64a80f4b341a1908dc09d20cef8a2": { 502 | "model_module": "@jupyter-widgets/base", 503 | "model_name": "LayoutModel", 504 | "model_module_version": "1.2.0", 505 | "state": { 506 | "_model_module": "@jupyter-widgets/base", 507 | "_model_module_version": "1.2.0", 508 | "_model_name": "LayoutModel", 509 | "_view_count": null, 510 | "_view_module": "@jupyter-widgets/base", 511 | "_view_module_version": "1.2.0", 512 | "_view_name": "LayoutView", 513 | "align_content": null, 514 | "align_items": null, 515 | "align_self": null, 516 | "border": null, 517 | "bottom": null, 518 | "display": null, 519 | "flex": null, 520 | "flex_flow": null, 521 | "grid_area": null, 522 | "grid_auto_columns": null, 523 | "grid_auto_flow": null, 524 | "grid_auto_rows": null, 525 | "grid_column": null, 526 | "grid_gap": null, 527 | "grid_row": null, 528 | "grid_template_areas": null, 529 | "grid_template_columns": null, 530 | "grid_template_rows": null, 531 | "height": null, 532 | "justify_content": null, 533 | "justify_items": null, 534 | "left": null, 535 | "margin": null, 536 | "max_height": null, 537 | "max_width": null, 538 | "min_height": null, 539 | "min_width": null, 540 | "object_fit": null, 541 | "object_position": null, 542 | "order": null, 543 | "overflow": null, 544 | "overflow_x": null, 545 | "overflow_y": null, 546 | "padding": null, 547 | "right": null, 548 | "top": null, 549 | "visibility": null, 550 | "width": null 551 | } 552 | }, 553 | "a715fc1cc2d94cf194a1f137277d9435": { 554 | "model_module": "@jupyter-widgets/controls", 555 | "model_name": "DescriptionStyleModel", 556 | "model_module_version": "1.5.0", 557 | "state": { 558 | "_model_module": "@jupyter-widgets/controls", 559 | "_model_module_version": "1.5.0", 560 | "_model_name": "DescriptionStyleModel", 561 | "_view_count": null, 562 | "_view_module": "@jupyter-widgets/base", 563 | "_view_module_version": "1.2.0", 564 | "_view_name": "StyleView", 565 | "description_width": "" 566 | } 567 | }, 568 | "7042173a525f4014bf65fb5f57845a74": { 569 | "model_module": "@jupyter-widgets/base", 570 | "model_name": "LayoutModel", 571 | "model_module_version": "1.2.0", 572 | "state": { 573 | "_model_module": "@jupyter-widgets/base", 574 | "_model_module_version": "1.2.0", 575 | "_model_name": "LayoutModel", 576 | "_view_count": null, 577 | "_view_module": "@jupyter-widgets/base", 578 | "_view_module_version": "1.2.0", 579 | "_view_name": "LayoutView", 580 | "align_content": null, 581 | "align_items": null, 582 | "align_self": null, 583 | "border": null, 584 | "bottom": null, 585 | "display": null, 586 | "flex": null, 587 | "flex_flow": null, 588 | "grid_area": null, 589 | "grid_auto_columns": null, 590 | "grid_auto_flow": null, 591 | "grid_auto_rows": null, 592 | "grid_column": null, 593 | "grid_gap": null, 594 | "grid_row": null, 595 | "grid_template_areas": null, 596 | "grid_template_columns": null, 597 | "grid_template_rows": null, 598 | "height": null, 599 | "justify_content": null, 600 | "justify_items": null, 601 | "left": null, 602 | "margin": null, 603 | "max_height": null, 604 | "max_width": null, 605 | "min_height": null, 606 | "min_width": null, 607 | "object_fit": null, 608 | "object_position": null, 609 | "order": null, 610 | "overflow": null, 611 | "overflow_x": null, 612 | "overflow_y": null, 613 | "padding": null, 614 | "right": null, 615 | "top": null, 616 | "visibility": null, 617 | "width": null 618 | } 619 | }, 620 | "76271f6d3c934acb9d1351da44e0b19c": { 621 | "model_module": "@jupyter-widgets/controls", 622 | "model_name": "ProgressStyleModel", 623 | "model_module_version": "1.5.0", 624 | "state": { 625 | "_model_module": "@jupyter-widgets/controls", 626 | "_model_module_version": "1.5.0", 627 | "_model_name": "ProgressStyleModel", 628 | "_view_count": null, 629 | "_view_module": "@jupyter-widgets/base", 630 | "_view_module_version": "1.2.0", 631 | "_view_name": "StyleView", 632 | "bar_color": null, 633 | "description_width": "" 634 | } 635 | }, 636 | "7aa4094491b1433eaec965dc06c2591c": { 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 | "eb18b47cbb754deea32e1a58a2fca049": { 689 | "model_module": "@jupyter-widgets/controls", 690 | "model_name": "DescriptionStyleModel", 691 | "model_module_version": "1.5.0", 692 | "state": { 693 | "_model_module": "@jupyter-widgets/controls", 694 | "_model_module_version": "1.5.0", 695 | "_model_name": "DescriptionStyleModel", 696 | "_view_count": null, 697 | "_view_module": "@jupyter-widgets/base", 698 | "_view_module_version": "1.2.0", 699 | "_view_name": "StyleView", 700 | "description_width": "" 701 | } 702 | }, 703 | "ee24e818e2ca424aa28f11f58923b74c": { 704 | "model_module": "@jupyter-widgets/controls", 705 | "model_name": "HBoxModel", 706 | "model_module_version": "1.5.0", 707 | "state": { 708 | "_dom_classes": [], 709 | "_model_module": "@jupyter-widgets/controls", 710 | "_model_module_version": "1.5.0", 711 | "_model_name": "HBoxModel", 712 | "_view_count": null, 713 | "_view_module": "@jupyter-widgets/controls", 714 | "_view_module_version": "1.5.0", 715 | "_view_name": "HBoxView", 716 | "box_style": "", 717 | "children": [ 718 | "IPY_MODEL_930597127c434bc6b7df91b2923e5d06", 719 | "IPY_MODEL_3178f5e888e947a1948f2a093efb6c15", 720 | "IPY_MODEL_66716f8e076a45238016572ba6e9f94a" 721 | ], 722 | "layout": "IPY_MODEL_07447c44975c4e43b45a55e15e25f3cb" 723 | } 724 | }, 725 | "930597127c434bc6b7df91b2923e5d06": { 726 | "model_module": "@jupyter-widgets/controls", 727 | "model_name": "HTMLModel", 728 | "model_module_version": "1.5.0", 729 | "state": { 730 | "_dom_classes": [], 731 | "_model_module": "@jupyter-widgets/controls", 732 | "_model_module_version": "1.5.0", 733 | "_model_name": "HTMLModel", 734 | "_view_count": null, 735 | "_view_module": "@jupyter-widgets/controls", 736 | "_view_module_version": "1.5.0", 737 | "_view_name": "HTMLView", 738 | "description": "", 739 | "description_tooltip": null, 740 | "layout": "IPY_MODEL_3ef3192722e04926897e3155fadc4398", 741 | "placeholder": "​", 742 | "style": "IPY_MODEL_11be1377d705419bbf6f7bf8779b5ed6", 743 | "value": "Downloading (…)neration_config.json: 100%" 744 | } 745 | }, 746 | "3178f5e888e947a1948f2a093efb6c15": { 747 | "model_module": "@jupyter-widgets/controls", 748 | "model_name": "FloatProgressModel", 749 | "model_module_version": "1.5.0", 750 | "state": { 751 | "_dom_classes": [], 752 | "_model_module": "@jupyter-widgets/controls", 753 | "_model_module_version": "1.5.0", 754 | "_model_name": "FloatProgressModel", 755 | "_view_count": null, 756 | "_view_module": "@jupyter-widgets/controls", 757 | "_view_module_version": "1.5.0", 758 | "_view_name": "ProgressView", 759 | "bar_style": "success", 760 | "description": "", 761 | "description_tooltip": null, 762 | "layout": "IPY_MODEL_9c6132fbb871444d8ae75ac6d83287ae", 763 | "max": 363, 764 | "min": 0, 765 | "orientation": "horizontal", 766 | "style": "IPY_MODEL_8ff30a10c03d47a5b87aaa153ea2f3e4", 767 | "value": 363 768 | } 769 | }, 770 | "66716f8e076a45238016572ba6e9f94a": { 771 | "model_module": "@jupyter-widgets/controls", 772 | "model_name": "HTMLModel", 773 | "model_module_version": "1.5.0", 774 | "state": { 775 | "_dom_classes": [], 776 | "_model_module": "@jupyter-widgets/controls", 777 | "_model_module_version": "1.5.0", 778 | "_model_name": "HTMLModel", 779 | "_view_count": null, 780 | "_view_module": "@jupyter-widgets/controls", 781 | "_view_module_version": "1.5.0", 782 | "_view_name": "HTMLView", 783 | "description": "", 784 | "description_tooltip": null, 785 | "layout": "IPY_MODEL_63eb5fab4e0d4e35b29695aa84cd2c9b", 786 | "placeholder": "​", 787 | "style": "IPY_MODEL_7ab3f7b86554495db9c0fb13d7765e95", 788 | "value": " 363/363 [00:00<00:00, 12.3kB/s]" 789 | } 790 | }, 791 | "07447c44975c4e43b45a55e15e25f3cb": { 792 | "model_module": "@jupyter-widgets/base", 793 | "model_name": "LayoutModel", 794 | "model_module_version": "1.2.0", 795 | "state": { 796 | "_model_module": "@jupyter-widgets/base", 797 | "_model_module_version": "1.2.0", 798 | "_model_name": "LayoutModel", 799 | "_view_count": null, 800 | "_view_module": "@jupyter-widgets/base", 801 | "_view_module_version": "1.2.0", 802 | "_view_name": "LayoutView", 803 | "align_content": null, 804 | "align_items": null, 805 | "align_self": null, 806 | "border": null, 807 | "bottom": null, 808 | "display": null, 809 | "flex": null, 810 | "flex_flow": null, 811 | "grid_area": null, 812 | "grid_auto_columns": null, 813 | "grid_auto_flow": null, 814 | "grid_auto_rows": null, 815 | "grid_column": null, 816 | "grid_gap": null, 817 | "grid_row": null, 818 | "grid_template_areas": null, 819 | "grid_template_columns": null, 820 | "grid_template_rows": null, 821 | "height": null, 822 | "justify_content": null, 823 | "justify_items": null, 824 | "left": null, 825 | "margin": null, 826 | "max_height": null, 827 | "max_width": null, 828 | "min_height": null, 829 | "min_width": null, 830 | "object_fit": null, 831 | "object_position": null, 832 | "order": null, 833 | "overflow": null, 834 | "overflow_x": null, 835 | "overflow_y": null, 836 | "padding": null, 837 | "right": null, 838 | "top": null, 839 | "visibility": null, 840 | "width": null 841 | } 842 | }, 843 | "3ef3192722e04926897e3155fadc4398": { 844 | "model_module": "@jupyter-widgets/base", 845 | "model_name": "LayoutModel", 846 | "model_module_version": "1.2.0", 847 | "state": { 848 | "_model_module": "@jupyter-widgets/base", 849 | "_model_module_version": "1.2.0", 850 | "_model_name": "LayoutModel", 851 | "_view_count": null, 852 | "_view_module": "@jupyter-widgets/base", 853 | "_view_module_version": "1.2.0", 854 | "_view_name": "LayoutView", 855 | "align_content": null, 856 | "align_items": null, 857 | "align_self": null, 858 | "border": null, 859 | "bottom": null, 860 | "display": null, 861 | "flex": null, 862 | "flex_flow": null, 863 | "grid_area": null, 864 | "grid_auto_columns": null, 865 | "grid_auto_flow": null, 866 | "grid_auto_rows": null, 867 | "grid_column": null, 868 | "grid_gap": null, 869 | "grid_row": null, 870 | "grid_template_areas": null, 871 | "grid_template_columns": null, 872 | "grid_template_rows": null, 873 | "height": null, 874 | "justify_content": null, 875 | "justify_items": null, 876 | "left": null, 877 | "margin": null, 878 | "max_height": null, 879 | "max_width": null, 880 | "min_height": null, 881 | "min_width": null, 882 | "object_fit": null, 883 | "object_position": null, 884 | "order": null, 885 | "overflow": null, 886 | "overflow_x": null, 887 | "overflow_y": null, 888 | "padding": null, 889 | "right": null, 890 | "top": null, 891 | "visibility": null, 892 | "width": null 893 | } 894 | }, 895 | "11be1377d705419bbf6f7bf8779b5ed6": { 896 | "model_module": "@jupyter-widgets/controls", 897 | "model_name": "DescriptionStyleModel", 898 | "model_module_version": "1.5.0", 899 | "state": { 900 | "_model_module": "@jupyter-widgets/controls", 901 | "_model_module_version": "1.5.0", 902 | "_model_name": "DescriptionStyleModel", 903 | "_view_count": null, 904 | "_view_module": "@jupyter-widgets/base", 905 | "_view_module_version": "1.2.0", 906 | "_view_name": "StyleView", 907 | "description_width": "" 908 | } 909 | }, 910 | "9c6132fbb871444d8ae75ac6d83287ae": { 911 | "model_module": "@jupyter-widgets/base", 912 | "model_name": "LayoutModel", 913 | "model_module_version": "1.2.0", 914 | "state": { 915 | "_model_module": "@jupyter-widgets/base", 916 | "_model_module_version": "1.2.0", 917 | "_model_name": "LayoutModel", 918 | "_view_count": null, 919 | "_view_module": "@jupyter-widgets/base", 920 | "_view_module_version": "1.2.0", 921 | "_view_name": "LayoutView", 922 | "align_content": null, 923 | "align_items": null, 924 | "align_self": null, 925 | "border": null, 926 | "bottom": null, 927 | "display": null, 928 | "flex": null, 929 | "flex_flow": null, 930 | "grid_area": null, 931 | "grid_auto_columns": null, 932 | "grid_auto_flow": null, 933 | "grid_auto_rows": null, 934 | "grid_column": null, 935 | "grid_gap": null, 936 | "grid_row": null, 937 | "grid_template_areas": null, 938 | "grid_template_columns": null, 939 | "grid_template_rows": null, 940 | "height": null, 941 | "justify_content": null, 942 | "justify_items": null, 943 | "left": null, 944 | "margin": null, 945 | "max_height": null, 946 | "max_width": null, 947 | "min_height": null, 948 | "min_width": null, 949 | "object_fit": null, 950 | "object_position": null, 951 | "order": null, 952 | "overflow": null, 953 | "overflow_x": null, 954 | "overflow_y": null, 955 | "padding": null, 956 | "right": null, 957 | "top": null, 958 | "visibility": null, 959 | "width": null 960 | } 961 | }, 962 | "8ff30a10c03d47a5b87aaa153ea2f3e4": { 963 | "model_module": "@jupyter-widgets/controls", 964 | "model_name": "ProgressStyleModel", 965 | "model_module_version": "1.5.0", 966 | "state": { 967 | "_model_module": "@jupyter-widgets/controls", 968 | "_model_module_version": "1.5.0", 969 | "_model_name": "ProgressStyleModel", 970 | "_view_count": null, 971 | "_view_module": "@jupyter-widgets/base", 972 | "_view_module_version": "1.2.0", 973 | "_view_name": "StyleView", 974 | "bar_color": null, 975 | "description_width": "" 976 | } 977 | }, 978 | "63eb5fab4e0d4e35b29695aa84cd2c9b": { 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 | "7ab3f7b86554495db9c0fb13d7765e95": { 1031 | "model_module": "@jupyter-widgets/controls", 1032 | "model_name": "DescriptionStyleModel", 1033 | "model_module_version": "1.5.0", 1034 | "state": { 1035 | "_model_module": "@jupyter-widgets/controls", 1036 | "_model_module_version": "1.5.0", 1037 | "_model_name": "DescriptionStyleModel", 1038 | "_view_count": null, 1039 | "_view_module": "@jupyter-widgets/base", 1040 | "_view_module_version": "1.2.0", 1041 | "_view_name": "StyleView", 1042 | "description_width": "" 1043 | } 1044 | }, 1045 | "6f9724c7336e4897a6b877f440d80c96": { 1046 | "model_module": "@jupyter-widgets/controls", 1047 | "model_name": "HBoxModel", 1048 | "model_module_version": "1.5.0", 1049 | "state": { 1050 | "_dom_classes": [], 1051 | "_model_module": "@jupyter-widgets/controls", 1052 | "_model_module_version": "1.5.0", 1053 | "_model_name": "HBoxModel", 1054 | "_view_count": null, 1055 | "_view_module": "@jupyter-widgets/controls", 1056 | "_view_module_version": "1.5.0", 1057 | "_view_name": "HBoxView", 1058 | "box_style": "", 1059 | "children": [ 1060 | "IPY_MODEL_792b9af87e64475390ec3780382e73ee", 1061 | "IPY_MODEL_5f23d6f986194b868ab09d8b2b2294dd", 1062 | "IPY_MODEL_3f49acbca63a495f983cd113ac6d091f" 1063 | ], 1064 | "layout": "IPY_MODEL_e7a0a19aac064b9ea3c44f500de19bf8" 1065 | } 1066 | }, 1067 | "792b9af87e64475390ec3780382e73ee": { 1068 | "model_module": "@jupyter-widgets/controls", 1069 | "model_name": "HTMLModel", 1070 | "model_module_version": "1.5.0", 1071 | "state": { 1072 | "_dom_classes": [], 1073 | "_model_module": "@jupyter-widgets/controls", 1074 | "_model_module_version": "1.5.0", 1075 | "_model_name": "HTMLModel", 1076 | "_view_count": null, 1077 | "_view_module": "@jupyter-widgets/controls", 1078 | "_view_module_version": "1.5.0", 1079 | "_view_name": "HTMLView", 1080 | "description": "", 1081 | "description_tooltip": null, 1082 | "layout": "IPY_MODEL_570525f46db44a1f965dd3c99bb35e43", 1083 | "placeholder": "​", 1084 | "style": "IPY_MODEL_90e3b0f91866445292282329e5c47cad", 1085 | "value": "Downloading (…)olve/main/vocab.json: 100%" 1086 | } 1087 | }, 1088 | "5f23d6f986194b868ab09d8b2b2294dd": { 1089 | "model_module": "@jupyter-widgets/controls", 1090 | "model_name": "FloatProgressModel", 1091 | "model_module_version": "1.5.0", 1092 | "state": { 1093 | "_dom_classes": [], 1094 | "_model_module": "@jupyter-widgets/controls", 1095 | "_model_module_version": "1.5.0", 1096 | "_model_name": "FloatProgressModel", 1097 | "_view_count": null, 1098 | "_view_module": "@jupyter-widgets/controls", 1099 | "_view_module_version": "1.5.0", 1100 | "_view_name": "ProgressView", 1101 | "bar_style": "success", 1102 | "description": "", 1103 | "description_tooltip": null, 1104 | "layout": "IPY_MODEL_684bbddcad5945dabe94934f13d166bb", 1105 | "max": 898823, 1106 | "min": 0, 1107 | "orientation": "horizontal", 1108 | "style": "IPY_MODEL_fe236e3eda394801b1ab5f79d6576b74", 1109 | "value": 898823 1110 | } 1111 | }, 1112 | "3f49acbca63a495f983cd113ac6d091f": { 1113 | "model_module": "@jupyter-widgets/controls", 1114 | "model_name": "HTMLModel", 1115 | "model_module_version": "1.5.0", 1116 | "state": { 1117 | "_dom_classes": [], 1118 | "_model_module": "@jupyter-widgets/controls", 1119 | "_model_module_version": "1.5.0", 1120 | "_model_name": "HTMLModel", 1121 | "_view_count": null, 1122 | "_view_module": "@jupyter-widgets/controls", 1123 | "_view_module_version": "1.5.0", 1124 | "_view_name": "HTMLView", 1125 | "description": "", 1126 | "description_tooltip": null, 1127 | "layout": "IPY_MODEL_adc679fa6c4343e0b2dcc56c260cefd2", 1128 | "placeholder": "​", 1129 | "style": "IPY_MODEL_db12aeb90dd54245af28026ad564a8a0", 1130 | "value": " 899k/899k [00:00<00:00, 7.27MB/s]" 1131 | } 1132 | }, 1133 | "e7a0a19aac064b9ea3c44f500de19bf8": { 1134 | "model_module": "@jupyter-widgets/base", 1135 | "model_name": "LayoutModel", 1136 | "model_module_version": "1.2.0", 1137 | "state": { 1138 | "_model_module": "@jupyter-widgets/base", 1139 | "_model_module_version": "1.2.0", 1140 | "_model_name": "LayoutModel", 1141 | "_view_count": null, 1142 | "_view_module": "@jupyter-widgets/base", 1143 | "_view_module_version": "1.2.0", 1144 | "_view_name": "LayoutView", 1145 | "align_content": null, 1146 | "align_items": null, 1147 | "align_self": null, 1148 | "border": null, 1149 | "bottom": null, 1150 | "display": null, 1151 | "flex": null, 1152 | "flex_flow": null, 1153 | "grid_area": null, 1154 | "grid_auto_columns": null, 1155 | "grid_auto_flow": null, 1156 | "grid_auto_rows": null, 1157 | "grid_column": null, 1158 | "grid_gap": null, 1159 | "grid_row": null, 1160 | "grid_template_areas": null, 1161 | "grid_template_columns": null, 1162 | "grid_template_rows": null, 1163 | "height": null, 1164 | "justify_content": null, 1165 | "justify_items": null, 1166 | "left": null, 1167 | "margin": null, 1168 | "max_height": null, 1169 | "max_width": null, 1170 | "min_height": null, 1171 | "min_width": null, 1172 | "object_fit": null, 1173 | "object_position": null, 1174 | "order": null, 1175 | "overflow": null, 1176 | "overflow_x": null, 1177 | "overflow_y": null, 1178 | "padding": null, 1179 | "right": null, 1180 | "top": null, 1181 | "visibility": null, 1182 | "width": null 1183 | } 1184 | }, 1185 | "570525f46db44a1f965dd3c99bb35e43": { 1186 | "model_module": "@jupyter-widgets/base", 1187 | "model_name": "LayoutModel", 1188 | "model_module_version": "1.2.0", 1189 | "state": { 1190 | "_model_module": "@jupyter-widgets/base", 1191 | "_model_module_version": "1.2.0", 1192 | "_model_name": "LayoutModel", 1193 | "_view_count": null, 1194 | "_view_module": "@jupyter-widgets/base", 1195 | "_view_module_version": "1.2.0", 1196 | "_view_name": "LayoutView", 1197 | "align_content": null, 1198 | "align_items": null, 1199 | "align_self": null, 1200 | "border": null, 1201 | "bottom": null, 1202 | "display": null, 1203 | "flex": null, 1204 | "flex_flow": null, 1205 | "grid_area": null, 1206 | "grid_auto_columns": null, 1207 | "grid_auto_flow": null, 1208 | "grid_auto_rows": null, 1209 | "grid_column": null, 1210 | "grid_gap": null, 1211 | "grid_row": null, 1212 | "grid_template_areas": null, 1213 | "grid_template_columns": null, 1214 | "grid_template_rows": null, 1215 | "height": null, 1216 | "justify_content": null, 1217 | "justify_items": null, 1218 | "left": null, 1219 | "margin": null, 1220 | "max_height": null, 1221 | "max_width": null, 1222 | "min_height": null, 1223 | "min_width": null, 1224 | "object_fit": null, 1225 | "object_position": null, 1226 | "order": null, 1227 | "overflow": null, 1228 | "overflow_x": null, 1229 | "overflow_y": null, 1230 | "padding": null, 1231 | "right": null, 1232 | "top": null, 1233 | "visibility": null, 1234 | "width": null 1235 | } 1236 | }, 1237 | "90e3b0f91866445292282329e5c47cad": { 1238 | "model_module": "@jupyter-widgets/controls", 1239 | "model_name": "DescriptionStyleModel", 1240 | "model_module_version": "1.5.0", 1241 | "state": { 1242 | "_model_module": "@jupyter-widgets/controls", 1243 | "_model_module_version": "1.5.0", 1244 | "_model_name": "DescriptionStyleModel", 1245 | "_view_count": null, 1246 | "_view_module": "@jupyter-widgets/base", 1247 | "_view_module_version": "1.2.0", 1248 | "_view_name": "StyleView", 1249 | "description_width": "" 1250 | } 1251 | }, 1252 | "684bbddcad5945dabe94934f13d166bb": { 1253 | "model_module": "@jupyter-widgets/base", 1254 | "model_name": "LayoutModel", 1255 | "model_module_version": "1.2.0", 1256 | "state": { 1257 | "_model_module": "@jupyter-widgets/base", 1258 | "_model_module_version": "1.2.0", 1259 | "_model_name": "LayoutModel", 1260 | "_view_count": null, 1261 | "_view_module": "@jupyter-widgets/base", 1262 | "_view_module_version": "1.2.0", 1263 | "_view_name": "LayoutView", 1264 | "align_content": null, 1265 | "align_items": null, 1266 | "align_self": null, 1267 | "border": null, 1268 | "bottom": null, 1269 | "display": null, 1270 | "flex": null, 1271 | "flex_flow": null, 1272 | "grid_area": null, 1273 | "grid_auto_columns": null, 1274 | "grid_auto_flow": null, 1275 | "grid_auto_rows": null, 1276 | "grid_column": null, 1277 | "grid_gap": null, 1278 | "grid_row": null, 1279 | "grid_template_areas": null, 1280 | "grid_template_columns": null, 1281 | "grid_template_rows": null, 1282 | "height": null, 1283 | "justify_content": null, 1284 | "justify_items": null, 1285 | "left": null, 1286 | "margin": null, 1287 | "max_height": null, 1288 | "max_width": null, 1289 | "min_height": null, 1290 | "min_width": null, 1291 | "object_fit": null, 1292 | "object_position": null, 1293 | "order": null, 1294 | "overflow": null, 1295 | "overflow_x": null, 1296 | "overflow_y": null, 1297 | "padding": null, 1298 | "right": null, 1299 | "top": null, 1300 | "visibility": null, 1301 | "width": null 1302 | } 1303 | }, 1304 | "fe236e3eda394801b1ab5f79d6576b74": { 1305 | "model_module": "@jupyter-widgets/controls", 1306 | "model_name": "ProgressStyleModel", 1307 | "model_module_version": "1.5.0", 1308 | "state": { 1309 | "_model_module": "@jupyter-widgets/controls", 1310 | "_model_module_version": "1.5.0", 1311 | "_model_name": "ProgressStyleModel", 1312 | "_view_count": null, 1313 | "_view_module": "@jupyter-widgets/base", 1314 | "_view_module_version": "1.2.0", 1315 | "_view_name": "StyleView", 1316 | "bar_color": null, 1317 | "description_width": "" 1318 | } 1319 | }, 1320 | "adc679fa6c4343e0b2dcc56c260cefd2": { 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 | "db12aeb90dd54245af28026ad564a8a0": { 1373 | "model_module": "@jupyter-widgets/controls", 1374 | "model_name": "DescriptionStyleModel", 1375 | "model_module_version": "1.5.0", 1376 | "state": { 1377 | "_model_module": "@jupyter-widgets/controls", 1378 | "_model_module_version": "1.5.0", 1379 | "_model_name": "DescriptionStyleModel", 1380 | "_view_count": null, 1381 | "_view_module": "@jupyter-widgets/base", 1382 | "_view_module_version": "1.2.0", 1383 | "_view_name": "StyleView", 1384 | "description_width": "" 1385 | } 1386 | }, 1387 | "aa28b19d1b8542d98061ffaa2e67fb72": { 1388 | "model_module": "@jupyter-widgets/controls", 1389 | "model_name": "HBoxModel", 1390 | "model_module_version": "1.5.0", 1391 | "state": { 1392 | "_dom_classes": [], 1393 | "_model_module": "@jupyter-widgets/controls", 1394 | "_model_module_version": "1.5.0", 1395 | "_model_name": "HBoxModel", 1396 | "_view_count": null, 1397 | "_view_module": "@jupyter-widgets/controls", 1398 | "_view_module_version": "1.5.0", 1399 | "_view_name": "HBoxView", 1400 | "box_style": "", 1401 | "children": [ 1402 | "IPY_MODEL_0233f14346a145b99cc506f1abe93321", 1403 | "IPY_MODEL_38d350bc0bc04a0385c32d35a98fe9c0", 1404 | "IPY_MODEL_ae18de47286c4eb898f3e9d8b779bb46" 1405 | ], 1406 | "layout": "IPY_MODEL_92e08b61c8184e44bdfdc762ebc396c6" 1407 | } 1408 | }, 1409 | "0233f14346a145b99cc506f1abe93321": { 1410 | "model_module": "@jupyter-widgets/controls", 1411 | "model_name": "HTMLModel", 1412 | "model_module_version": "1.5.0", 1413 | "state": { 1414 | "_dom_classes": [], 1415 | "_model_module": "@jupyter-widgets/controls", 1416 | "_model_module_version": "1.5.0", 1417 | "_model_name": "HTMLModel", 1418 | "_view_count": null, 1419 | "_view_module": "@jupyter-widgets/controls", 1420 | "_view_module_version": "1.5.0", 1421 | "_view_name": "HTMLView", 1422 | "description": "", 1423 | "description_tooltip": null, 1424 | "layout": "IPY_MODEL_6ae5120004f24b74863c76f2b1b31337", 1425 | "placeholder": "​", 1426 | "style": "IPY_MODEL_f3f51cf9cf294dd883f92983753e0796", 1427 | "value": "Downloading (…)olve/main/merges.txt: 100%" 1428 | } 1429 | }, 1430 | "38d350bc0bc04a0385c32d35a98fe9c0": { 1431 | "model_module": "@jupyter-widgets/controls", 1432 | "model_name": "FloatProgressModel", 1433 | "model_module_version": "1.5.0", 1434 | "state": { 1435 | "_dom_classes": [], 1436 | "_model_module": "@jupyter-widgets/controls", 1437 | "_model_module_version": "1.5.0", 1438 | "_model_name": "FloatProgressModel", 1439 | "_view_count": null, 1440 | "_view_module": "@jupyter-widgets/controls", 1441 | "_view_module_version": "1.5.0", 1442 | "_view_name": "ProgressView", 1443 | "bar_style": "success", 1444 | "description": "", 1445 | "description_tooltip": null, 1446 | "layout": "IPY_MODEL_180970c53f844473b2728b17a10c06a7", 1447 | "max": 456318, 1448 | "min": 0, 1449 | "orientation": "horizontal", 1450 | "style": "IPY_MODEL_d29c8817498445ed91693f3c22c3c2e5", 1451 | "value": 456318 1452 | } 1453 | }, 1454 | "ae18de47286c4eb898f3e9d8b779bb46": { 1455 | "model_module": "@jupyter-widgets/controls", 1456 | "model_name": "HTMLModel", 1457 | "model_module_version": "1.5.0", 1458 | "state": { 1459 | "_dom_classes": [], 1460 | "_model_module": "@jupyter-widgets/controls", 1461 | "_model_module_version": "1.5.0", 1462 | "_model_name": "HTMLModel", 1463 | "_view_count": null, 1464 | "_view_module": "@jupyter-widgets/controls", 1465 | "_view_module_version": "1.5.0", 1466 | "_view_name": "HTMLView", 1467 | "description": "", 1468 | "description_tooltip": null, 1469 | "layout": "IPY_MODEL_2ea824f4a3b242768d97fcb199da93c0", 1470 | "placeholder": "​", 1471 | "style": "IPY_MODEL_505ac4047e9a4175a853493392eefc20", 1472 | "value": " 456k/456k [00:00<00:00, 3.62MB/s]" 1473 | } 1474 | }, 1475 | "92e08b61c8184e44bdfdc762ebc396c6": { 1476 | "model_module": "@jupyter-widgets/base", 1477 | "model_name": "LayoutModel", 1478 | "model_module_version": "1.2.0", 1479 | "state": { 1480 | "_model_module": "@jupyter-widgets/base", 1481 | "_model_module_version": "1.2.0", 1482 | "_model_name": "LayoutModel", 1483 | "_view_count": null, 1484 | "_view_module": "@jupyter-widgets/base", 1485 | "_view_module_version": "1.2.0", 1486 | "_view_name": "LayoutView", 1487 | "align_content": null, 1488 | "align_items": null, 1489 | "align_self": null, 1490 | "border": null, 1491 | "bottom": null, 1492 | "display": null, 1493 | "flex": null, 1494 | "flex_flow": null, 1495 | "grid_area": null, 1496 | "grid_auto_columns": null, 1497 | "grid_auto_flow": null, 1498 | "grid_auto_rows": null, 1499 | "grid_column": null, 1500 | "grid_gap": null, 1501 | "grid_row": null, 1502 | "grid_template_areas": null, 1503 | "grid_template_columns": null, 1504 | "grid_template_rows": null, 1505 | "height": null, 1506 | "justify_content": null, 1507 | "justify_items": null, 1508 | "left": null, 1509 | "margin": null, 1510 | "max_height": null, 1511 | "max_width": null, 1512 | "min_height": null, 1513 | "min_width": null, 1514 | "object_fit": null, 1515 | "object_position": null, 1516 | "order": null, 1517 | "overflow": null, 1518 | "overflow_x": null, 1519 | "overflow_y": null, 1520 | "padding": null, 1521 | "right": null, 1522 | "top": null, 1523 | "visibility": null, 1524 | "width": null 1525 | } 1526 | }, 1527 | "6ae5120004f24b74863c76f2b1b31337": { 1528 | "model_module": "@jupyter-widgets/base", 1529 | "model_name": "LayoutModel", 1530 | "model_module_version": "1.2.0", 1531 | "state": { 1532 | "_model_module": "@jupyter-widgets/base", 1533 | "_model_module_version": "1.2.0", 1534 | "_model_name": "LayoutModel", 1535 | "_view_count": null, 1536 | "_view_module": "@jupyter-widgets/base", 1537 | "_view_module_version": "1.2.0", 1538 | "_view_name": "LayoutView", 1539 | "align_content": null, 1540 | "align_items": null, 1541 | "align_self": null, 1542 | "border": null, 1543 | "bottom": null, 1544 | "display": null, 1545 | "flex": null, 1546 | "flex_flow": null, 1547 | "grid_area": null, 1548 | "grid_auto_columns": null, 1549 | "grid_auto_flow": null, 1550 | "grid_auto_rows": null, 1551 | "grid_column": null, 1552 | "grid_gap": null, 1553 | "grid_row": null, 1554 | "grid_template_areas": null, 1555 | "grid_template_columns": null, 1556 | "grid_template_rows": null, 1557 | "height": null, 1558 | "justify_content": null, 1559 | "justify_items": null, 1560 | "left": null, 1561 | "margin": null, 1562 | "max_height": null, 1563 | "max_width": null, 1564 | "min_height": null, 1565 | "min_width": null, 1566 | "object_fit": null, 1567 | "object_position": null, 1568 | "order": null, 1569 | "overflow": null, 1570 | "overflow_x": null, 1571 | "overflow_y": null, 1572 | "padding": null, 1573 | "right": null, 1574 | "top": null, 1575 | "visibility": null, 1576 | "width": null 1577 | } 1578 | }, 1579 | "f3f51cf9cf294dd883f92983753e0796": { 1580 | "model_module": "@jupyter-widgets/controls", 1581 | "model_name": "DescriptionStyleModel", 1582 | "model_module_version": "1.5.0", 1583 | "state": { 1584 | "_model_module": "@jupyter-widgets/controls", 1585 | "_model_module_version": "1.5.0", 1586 | "_model_name": "DescriptionStyleModel", 1587 | "_view_count": null, 1588 | "_view_module": "@jupyter-widgets/base", 1589 | "_view_module_version": "1.2.0", 1590 | "_view_name": "StyleView", 1591 | "description_width": "" 1592 | } 1593 | }, 1594 | "180970c53f844473b2728b17a10c06a7": { 1595 | "model_module": "@jupyter-widgets/base", 1596 | "model_name": "LayoutModel", 1597 | "model_module_version": "1.2.0", 1598 | "state": { 1599 | "_model_module": "@jupyter-widgets/base", 1600 | "_model_module_version": "1.2.0", 1601 | "_model_name": "LayoutModel", 1602 | "_view_count": null, 1603 | "_view_module": "@jupyter-widgets/base", 1604 | "_view_module_version": "1.2.0", 1605 | "_view_name": "LayoutView", 1606 | "align_content": null, 1607 | "align_items": null, 1608 | "align_self": null, 1609 | "border": null, 1610 | "bottom": null, 1611 | "display": null, 1612 | "flex": null, 1613 | "flex_flow": null, 1614 | "grid_area": null, 1615 | "grid_auto_columns": null, 1616 | "grid_auto_flow": null, 1617 | "grid_auto_rows": null, 1618 | "grid_column": null, 1619 | "grid_gap": null, 1620 | "grid_row": null, 1621 | "grid_template_areas": null, 1622 | "grid_template_columns": null, 1623 | "grid_template_rows": null, 1624 | "height": null, 1625 | "justify_content": null, 1626 | "justify_items": null, 1627 | "left": null, 1628 | "margin": null, 1629 | "max_height": null, 1630 | "max_width": null, 1631 | "min_height": null, 1632 | "min_width": null, 1633 | "object_fit": null, 1634 | "object_position": null, 1635 | "order": null, 1636 | "overflow": null, 1637 | "overflow_x": null, 1638 | "overflow_y": null, 1639 | "padding": null, 1640 | "right": null, 1641 | "top": null, 1642 | "visibility": null, 1643 | "width": null 1644 | } 1645 | }, 1646 | "d29c8817498445ed91693f3c22c3c2e5": { 1647 | "model_module": "@jupyter-widgets/controls", 1648 | "model_name": "ProgressStyleModel", 1649 | "model_module_version": "1.5.0", 1650 | "state": { 1651 | "_model_module": "@jupyter-widgets/controls", 1652 | "_model_module_version": "1.5.0", 1653 | "_model_name": "ProgressStyleModel", 1654 | "_view_count": null, 1655 | "_view_module": "@jupyter-widgets/base", 1656 | "_view_module_version": "1.2.0", 1657 | "_view_name": "StyleView", 1658 | "bar_color": null, 1659 | "description_width": "" 1660 | } 1661 | }, 1662 | "2ea824f4a3b242768d97fcb199da93c0": { 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 | "505ac4047e9a4175a853493392eefc20": { 1715 | "model_module": "@jupyter-widgets/controls", 1716 | "model_name": "DescriptionStyleModel", 1717 | "model_module_version": "1.5.0", 1718 | "state": { 1719 | "_model_module": "@jupyter-widgets/controls", 1720 | "_model_module_version": "1.5.0", 1721 | "_model_name": "DescriptionStyleModel", 1722 | "_view_count": null, 1723 | "_view_module": "@jupyter-widgets/base", 1724 | "_view_module_version": "1.2.0", 1725 | "_view_name": "StyleView", 1726 | "description_width": "" 1727 | } 1728 | }, 1729 | "14e18a571a53409e9e86d17abcd7c791": { 1730 | "model_module": "@jupyter-widgets/controls", 1731 | "model_name": "HBoxModel", 1732 | "model_module_version": "1.5.0", 1733 | "state": { 1734 | "_dom_classes": [], 1735 | "_model_module": "@jupyter-widgets/controls", 1736 | "_model_module_version": "1.5.0", 1737 | "_model_name": "HBoxModel", 1738 | "_view_count": null, 1739 | "_view_module": "@jupyter-widgets/controls", 1740 | "_view_module_version": "1.5.0", 1741 | "_view_name": "HBoxView", 1742 | "box_style": "", 1743 | "children": [ 1744 | "IPY_MODEL_e7a77bdb204648a69cded93d9e6befea", 1745 | "IPY_MODEL_6b5eae725b3d4132b7400df2cd13e9c1", 1746 | "IPY_MODEL_0ddbd41f46344a3cb4ea28fbaf950d38" 1747 | ], 1748 | "layout": "IPY_MODEL_87728d58e165417ba7c61eeaca757905" 1749 | } 1750 | }, 1751 | "e7a77bdb204648a69cded93d9e6befea": { 1752 | "model_module": "@jupyter-widgets/controls", 1753 | "model_name": "HTMLModel", 1754 | "model_module_version": "1.5.0", 1755 | "state": { 1756 | "_dom_classes": [], 1757 | "_model_module": "@jupyter-widgets/controls", 1758 | "_model_module_version": "1.5.0", 1759 | "_model_name": "HTMLModel", 1760 | "_view_count": null, 1761 | "_view_module": "@jupyter-widgets/controls", 1762 | "_view_module_version": "1.5.0", 1763 | "_view_name": "HTMLView", 1764 | "description": "", 1765 | "description_tooltip": null, 1766 | "layout": "IPY_MODEL_fd164ad65eb44c1c8dfc6fd5eb3cf30b", 1767 | "placeholder": "​", 1768 | "style": "IPY_MODEL_1994f523475b44fbae201e8bce6d35f5", 1769 | "value": "Downloading (…)/main/tokenizer.json: 100%" 1770 | } 1771 | }, 1772 | "6b5eae725b3d4132b7400df2cd13e9c1": { 1773 | "model_module": "@jupyter-widgets/controls", 1774 | "model_name": "FloatProgressModel", 1775 | "model_module_version": "1.5.0", 1776 | "state": { 1777 | "_dom_classes": [], 1778 | "_model_module": "@jupyter-widgets/controls", 1779 | "_model_module_version": "1.5.0", 1780 | "_model_name": "FloatProgressModel", 1781 | "_view_count": null, 1782 | "_view_module": "@jupyter-widgets/controls", 1783 | "_view_module_version": "1.5.0", 1784 | "_view_name": "ProgressView", 1785 | "bar_style": "success", 1786 | "description": "", 1787 | "description_tooltip": null, 1788 | "layout": "IPY_MODEL_a2edfc4b665944d7b710f27d1aba85d8", 1789 | "max": 1355863, 1790 | "min": 0, 1791 | "orientation": "horizontal", 1792 | "style": "IPY_MODEL_e96de628a1c2411ebbc592a3548c06f8", 1793 | "value": 1355863 1794 | } 1795 | }, 1796 | "0ddbd41f46344a3cb4ea28fbaf950d38": { 1797 | "model_module": "@jupyter-widgets/controls", 1798 | "model_name": "HTMLModel", 1799 | "model_module_version": "1.5.0", 1800 | "state": { 1801 | "_dom_classes": [], 1802 | "_model_module": "@jupyter-widgets/controls", 1803 | "_model_module_version": "1.5.0", 1804 | "_model_name": "HTMLModel", 1805 | "_view_count": null, 1806 | "_view_module": "@jupyter-widgets/controls", 1807 | "_view_module_version": "1.5.0", 1808 | "_view_name": "HTMLView", 1809 | "description": "", 1810 | "description_tooltip": null, 1811 | "layout": "IPY_MODEL_187914674bcc4d5d8740f3dc2ed3f8f3", 1812 | "placeholder": "​", 1813 | "style": "IPY_MODEL_21f119588e0945058aa0acafa39435ee", 1814 | "value": " 1.36M/1.36M [00:00<00:00, 4.23MB/s]" 1815 | } 1816 | }, 1817 | "87728d58e165417ba7c61eeaca757905": { 1818 | "model_module": "@jupyter-widgets/base", 1819 | "model_name": "LayoutModel", 1820 | "model_module_version": "1.2.0", 1821 | "state": { 1822 | "_model_module": "@jupyter-widgets/base", 1823 | "_model_module_version": "1.2.0", 1824 | "_model_name": "LayoutModel", 1825 | "_view_count": null, 1826 | "_view_module": "@jupyter-widgets/base", 1827 | "_view_module_version": "1.2.0", 1828 | "_view_name": "LayoutView", 1829 | "align_content": null, 1830 | "align_items": null, 1831 | "align_self": null, 1832 | "border": null, 1833 | "bottom": null, 1834 | "display": null, 1835 | "flex": null, 1836 | "flex_flow": null, 1837 | "grid_area": null, 1838 | "grid_auto_columns": null, 1839 | "grid_auto_flow": null, 1840 | "grid_auto_rows": null, 1841 | "grid_column": null, 1842 | "grid_gap": null, 1843 | "grid_row": null, 1844 | "grid_template_areas": null, 1845 | "grid_template_columns": null, 1846 | "grid_template_rows": null, 1847 | "height": null, 1848 | "justify_content": null, 1849 | "justify_items": null, 1850 | "left": null, 1851 | "margin": null, 1852 | "max_height": null, 1853 | "max_width": null, 1854 | "min_height": null, 1855 | "min_width": null, 1856 | "object_fit": null, 1857 | "object_position": null, 1858 | "order": null, 1859 | "overflow": null, 1860 | "overflow_x": null, 1861 | "overflow_y": null, 1862 | "padding": null, 1863 | "right": null, 1864 | "top": null, 1865 | "visibility": null, 1866 | "width": null 1867 | } 1868 | }, 1869 | "fd164ad65eb44c1c8dfc6fd5eb3cf30b": { 1870 | "model_module": "@jupyter-widgets/base", 1871 | "model_name": "LayoutModel", 1872 | "model_module_version": "1.2.0", 1873 | "state": { 1874 | "_model_module": "@jupyter-widgets/base", 1875 | "_model_module_version": "1.2.0", 1876 | "_model_name": "LayoutModel", 1877 | "_view_count": null, 1878 | "_view_module": "@jupyter-widgets/base", 1879 | "_view_module_version": "1.2.0", 1880 | "_view_name": "LayoutView", 1881 | "align_content": null, 1882 | "align_items": null, 1883 | "align_self": null, 1884 | "border": null, 1885 | "bottom": null, 1886 | "display": null, 1887 | "flex": null, 1888 | "flex_flow": null, 1889 | "grid_area": null, 1890 | "grid_auto_columns": null, 1891 | "grid_auto_flow": null, 1892 | "grid_auto_rows": null, 1893 | "grid_column": null, 1894 | "grid_gap": null, 1895 | "grid_row": null, 1896 | "grid_template_areas": null, 1897 | "grid_template_columns": null, 1898 | "grid_template_rows": null, 1899 | "height": null, 1900 | "justify_content": null, 1901 | "justify_items": null, 1902 | "left": null, 1903 | "margin": null, 1904 | "max_height": null, 1905 | "max_width": null, 1906 | "min_height": null, 1907 | "min_width": null, 1908 | "object_fit": null, 1909 | "object_position": null, 1910 | "order": null, 1911 | "overflow": null, 1912 | "overflow_x": null, 1913 | "overflow_y": null, 1914 | "padding": null, 1915 | "right": null, 1916 | "top": null, 1917 | "visibility": null, 1918 | "width": null 1919 | } 1920 | }, 1921 | "1994f523475b44fbae201e8bce6d35f5": { 1922 | "model_module": "@jupyter-widgets/controls", 1923 | "model_name": "DescriptionStyleModel", 1924 | "model_module_version": "1.5.0", 1925 | "state": { 1926 | "_model_module": "@jupyter-widgets/controls", 1927 | "_model_module_version": "1.5.0", 1928 | "_model_name": "DescriptionStyleModel", 1929 | "_view_count": null, 1930 | "_view_module": "@jupyter-widgets/base", 1931 | "_view_module_version": "1.2.0", 1932 | "_view_name": "StyleView", 1933 | "description_width": "" 1934 | } 1935 | }, 1936 | "a2edfc4b665944d7b710f27d1aba85d8": { 1937 | "model_module": "@jupyter-widgets/base", 1938 | "model_name": "LayoutModel", 1939 | "model_module_version": "1.2.0", 1940 | "state": { 1941 | "_model_module": "@jupyter-widgets/base", 1942 | "_model_module_version": "1.2.0", 1943 | "_model_name": "LayoutModel", 1944 | "_view_count": null, 1945 | "_view_module": "@jupyter-widgets/base", 1946 | "_view_module_version": "1.2.0", 1947 | "_view_name": "LayoutView", 1948 | "align_content": null, 1949 | "align_items": null, 1950 | "align_self": null, 1951 | "border": null, 1952 | "bottom": null, 1953 | "display": null, 1954 | "flex": null, 1955 | "flex_flow": null, 1956 | "grid_area": null, 1957 | "grid_auto_columns": null, 1958 | "grid_auto_flow": null, 1959 | "grid_auto_rows": null, 1960 | "grid_column": null, 1961 | "grid_gap": null, 1962 | "grid_row": null, 1963 | "grid_template_areas": null, 1964 | "grid_template_columns": null, 1965 | "grid_template_rows": null, 1966 | "height": null, 1967 | "justify_content": null, 1968 | "justify_items": null, 1969 | "left": null, 1970 | "margin": null, 1971 | "max_height": null, 1972 | "max_width": null, 1973 | "min_height": null, 1974 | "min_width": null, 1975 | "object_fit": null, 1976 | "object_position": null, 1977 | "order": null, 1978 | "overflow": null, 1979 | "overflow_x": null, 1980 | "overflow_y": null, 1981 | "padding": null, 1982 | "right": null, 1983 | "top": null, 1984 | "visibility": null, 1985 | "width": null 1986 | } 1987 | }, 1988 | "e96de628a1c2411ebbc592a3548c06f8": { 1989 | "model_module": "@jupyter-widgets/controls", 1990 | "model_name": "ProgressStyleModel", 1991 | "model_module_version": "1.5.0", 1992 | "state": { 1993 | "_model_module": "@jupyter-widgets/controls", 1994 | "_model_module_version": "1.5.0", 1995 | "_model_name": "ProgressStyleModel", 1996 | "_view_count": null, 1997 | "_view_module": "@jupyter-widgets/base", 1998 | "_view_module_version": "1.2.0", 1999 | "_view_name": "StyleView", 2000 | "bar_color": null, 2001 | "description_width": "" 2002 | } 2003 | }, 2004 | "187914674bcc4d5d8740f3dc2ed3f8f3": { 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 | "21f119588e0945058aa0acafa39435ee": { 2057 | "model_module": "@jupyter-widgets/controls", 2058 | "model_name": "DescriptionStyleModel", 2059 | "model_module_version": "1.5.0", 2060 | "state": { 2061 | "_model_module": "@jupyter-widgets/controls", 2062 | "_model_module_version": "1.5.0", 2063 | "_model_name": "DescriptionStyleModel", 2064 | "_view_count": null, 2065 | "_view_module": "@jupyter-widgets/base", 2066 | "_view_module_version": "1.2.0", 2067 | "_view_name": "StyleView", 2068 | "description_width": "" 2069 | } 2070 | } 2071 | } 2072 | } 2073 | }, 2074 | "cells": [ 2075 | { 2076 | "cell_type": "markdown", 2077 | "metadata": { 2078 | "id": "view-in-github", 2079 | "colab_type": "text" 2080 | }, 2081 | "source": [ 2082 | "\"Open" 2083 | ] 2084 | }, 2085 | { 2086 | "cell_type": "markdown", 2087 | "source": [ 2088 | "# 小白入门HuggingFace\n", 2089 | "\n", 2090 | "## 01 概念扫盲\n", 2091 | "\n", 2092 | "- Transformers\n", 2093 | " \n", 2094 | " `Transformers` 是 `Huggingface` 开源的基于 transformer 模型结构提供的预训练语言库,支持 `Pytorch`,`Tensorflow2.0`。使用者可以快速地进行模型调用,并且支持模型的进一步的训练和微调。\n", 2095 | "\n", 2096 | "- Tokenizer\n", 2097 | " \n", 2098 | " `Transformers` 库中的重要模块,用于将文本数据切分成单独的标记(tokens),并进行编码,以便交给模型进行处理。在 `NLP` 中,将文本转换成标记是一个重要的预处理步骤,不同的模型可能使用不同的 `Tokenizer` 来处理文本数据,例如 `BERTTokenizer`、`GPT2Tokenizer` 等。\n", 2099 | "- Pipeline\n", 2100 | " \n", 2101 | " `HuggingFace` 提供的接口,使得在 `Transformers` 库中使用预训练模型更加简单。通过 `Pipeline`,您可以轻松地对输入文本进行处理并获取模型的输出结果,而不需要手动进行繁琐的**预处理**和**后处理**步骤。例如,您可以使用 TextClassificationPipeline 对输入文本进行分类,或使用 TextGenerationPipeline 生成一段文本。\n", 2102 | "\n" 2103 | ], 2104 | "metadata": { 2105 | "id": "CjdVcOQpVD9d" 2106 | } 2107 | }, 2108 | { 2109 | "cell_type": "code", 2110 | "execution_count": null, 2111 | "metadata": { 2112 | "id": "72QCk5LhKxLI" 2113 | }, 2114 | "outputs": [], 2115 | "source": [ 2116 | "!pip install transformers datasets --quiet" 2117 | ] 2118 | }, 2119 | { 2120 | "cell_type": "code", 2121 | "source": [ 2122 | "model_id = \"facebook/bart-large-cnn\"" 2123 | ], 2124 | "metadata": { 2125 | "id": "2StFJj7BMMg8" 2126 | }, 2127 | "execution_count": 2, 2128 | "outputs": [] 2129 | }, 2130 | { 2131 | "cell_type": "code", 2132 | "source": [ 2133 | "content = \"\"\"\n", 2134 | "The explosion of consumer-facing tools that offer generative AI has created plenty of debate: These tools promise to transform the ways in which we live and work while also raising fundamental questions about how we can adapt to a world in which they're extensively used for just about anything.\n", 2135 | "\n", 2136 | "As with any new technology riding a wave of initial popularity and interest, it pays to be careful in the way you use these AI generators and bots—in particular, in how much privacy and security you're giving up in return for being able to use them.\n", 2137 | "\n", 2138 | "It's worth putting some guardrails in place right at the start of your journey with these tools, or indeed deciding not to deal with them at all, based on how your data is collected and processed. Here's what you need to look out for and the ways in which you can get some control back.\n", 2139 | "\"\"\"" 2140 | ], 2141 | "metadata": { 2142 | "id": "1_cwbFm1MTKh" 2143 | }, 2144 | "execution_count": 3, 2145 | "outputs": [] 2146 | }, 2147 | { 2148 | "cell_type": "markdown", 2149 | "source": [ 2150 | "### 利用pipeline使用模型" 2151 | ], 2152 | "metadata": { 2153 | "id": "i-rvecWiMTuF" 2154 | } 2155 | }, 2156 | { 2157 | "cell_type": "code", 2158 | "source": [ 2159 | "from transformers import pipeline\n", 2160 | "\n", 2161 | "pipeline = pipeline(\"summarization\", model=model_id)" 2162 | ], 2163 | "metadata": { 2164 | "colab": { 2165 | "base_uri": "https://localhost:8080/", 2166 | "height": 209, 2167 | "referenced_widgets": [ 2168 | "abda57577fe04b52b4bf9f14792dfb69", 2169 | "2bdcbbdc8b404200965f023abf43fe5b", 2170 | "229ff64d8f67496cbbc0f319d74d6de8", 2171 | "d713efb2a0a44732b3bb256540817102", 2172 | "d8f6fc6f5a254c87a32231080d8c1174", 2173 | "3818592b024b4b1d80187f7709eeeb84", 2174 | "7c3031c5c93644208ea68db2e1d0e3a9", 2175 | "2c272a31055d4f92a26bb3fc30b4aaf2", 2176 | "114e6abb5335477d8c4f5590f4a49c89", 2177 | "3fb95761e6c44eeca715881d49378734", 2178 | "80d0c6227dfc4fdaaada1cb976a27264", 2179 | "885629689dfa4991839ea4963b65ecc3", 2180 | "76e89a23490549eba3341e8282c70678", 2181 | "553581c1ddf24a99ae7af2f31656e1d7", 2182 | "38f0a2875d0c479fa41c85f4a1b20aff", 2183 | "7a67272ae2d9477696d07b1854379fcd", 2184 | "a8f64a80f4b341a1908dc09d20cef8a2", 2185 | "a715fc1cc2d94cf194a1f137277d9435", 2186 | "7042173a525f4014bf65fb5f57845a74", 2187 | "76271f6d3c934acb9d1351da44e0b19c", 2188 | "7aa4094491b1433eaec965dc06c2591c", 2189 | "eb18b47cbb754deea32e1a58a2fca049", 2190 | "ee24e818e2ca424aa28f11f58923b74c", 2191 | "930597127c434bc6b7df91b2923e5d06", 2192 | "3178f5e888e947a1948f2a093efb6c15", 2193 | "66716f8e076a45238016572ba6e9f94a", 2194 | "07447c44975c4e43b45a55e15e25f3cb", 2195 | "3ef3192722e04926897e3155fadc4398", 2196 | "11be1377d705419bbf6f7bf8779b5ed6", 2197 | "9c6132fbb871444d8ae75ac6d83287ae", 2198 | "8ff30a10c03d47a5b87aaa153ea2f3e4", 2199 | "63eb5fab4e0d4e35b29695aa84cd2c9b", 2200 | "7ab3f7b86554495db9c0fb13d7765e95", 2201 | "6f9724c7336e4897a6b877f440d80c96", 2202 | "792b9af87e64475390ec3780382e73ee", 2203 | "5f23d6f986194b868ab09d8b2b2294dd", 2204 | "3f49acbca63a495f983cd113ac6d091f", 2205 | "e7a0a19aac064b9ea3c44f500de19bf8", 2206 | "570525f46db44a1f965dd3c99bb35e43", 2207 | "90e3b0f91866445292282329e5c47cad", 2208 | "684bbddcad5945dabe94934f13d166bb", 2209 | "fe236e3eda394801b1ab5f79d6576b74", 2210 | "adc679fa6c4343e0b2dcc56c260cefd2", 2211 | "db12aeb90dd54245af28026ad564a8a0", 2212 | "aa28b19d1b8542d98061ffaa2e67fb72", 2213 | "0233f14346a145b99cc506f1abe93321", 2214 | "38d350bc0bc04a0385c32d35a98fe9c0", 2215 | "ae18de47286c4eb898f3e9d8b779bb46", 2216 | "92e08b61c8184e44bdfdc762ebc396c6", 2217 | "6ae5120004f24b74863c76f2b1b31337", 2218 | "f3f51cf9cf294dd883f92983753e0796", 2219 | "180970c53f844473b2728b17a10c06a7", 2220 | "d29c8817498445ed91693f3c22c3c2e5", 2221 | "2ea824f4a3b242768d97fcb199da93c0", 2222 | "505ac4047e9a4175a853493392eefc20", 2223 | "14e18a571a53409e9e86d17abcd7c791", 2224 | "e7a77bdb204648a69cded93d9e6befea", 2225 | "6b5eae725b3d4132b7400df2cd13e9c1", 2226 | "0ddbd41f46344a3cb4ea28fbaf950d38", 2227 | "87728d58e165417ba7c61eeaca757905", 2228 | "fd164ad65eb44c1c8dfc6fd5eb3cf30b", 2229 | "1994f523475b44fbae201e8bce6d35f5", 2230 | "a2edfc4b665944d7b710f27d1aba85d8", 2231 | "e96de628a1c2411ebbc592a3548c06f8", 2232 | "187914674bcc4d5d8740f3dc2ed3f8f3", 2233 | "21f119588e0945058aa0acafa39435ee" 2234 | ] 2235 | }, 2236 | "id": "KfGLojEYcm1u", 2237 | "outputId": "693ab228-c5d6-43ec-8004-cf60c0f0387e" 2238 | }, 2239 | "execution_count": 4, 2240 | "outputs": [ 2241 | { 2242 | "output_type": "display_data", 2243 | "data": { 2244 | "text/plain": [ 2245 | "Downloading (…)lve/main/config.json: 0%| | 0.00/1.58k [00:00