dreamboat26 commited on
Commit
23bf0c8
1 Parent(s): 6f7189f

FIrst commit

Browse files
Putting_it_all_together_(TensorFlow).ipynb ADDED
@@ -0,0 +1,1794 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "markdown",
5
+ "metadata": {
6
+ "id": "dPrEUyJ4XXrr"
7
+ },
8
+ "source": [
9
+ "# Putting it all together (TensorFlow)"
10
+ ]
11
+ },
12
+ {
13
+ "cell_type": "markdown",
14
+ "metadata": {
15
+ "id": "xQjFMOvGXXru"
16
+ },
17
+ "source": [
18
+ "Install the Transformers, Datasets, and Evaluate libraries to run this notebook."
19
+ ]
20
+ },
21
+ {
22
+ "cell_type": "code",
23
+ "execution_count": 1,
24
+ "metadata": {
25
+ "id": "4IyvuubVXXrx",
26
+ "outputId": "47421454-109f-499e-800f-635e9ffd5d79",
27
+ "colab": {
28
+ "base_uri": "https://localhost:8080/"
29
+ }
30
+ },
31
+ "outputs": [
32
+ {
33
+ "output_type": "stream",
34
+ "name": "stdout",
35
+ "text": [
36
+ "Collecting datasets\n",
37
+ " Downloading datasets-2.14.4-py3-none-any.whl (519 kB)\n",
38
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m519.3/519.3 kB\u001b[0m \u001b[31m6.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
39
+ "\u001b[?25hCollecting evaluate\n",
40
+ " Downloading evaluate-0.4.0-py3-none-any.whl (81 kB)\n",
41
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m81.4/81.4 kB\u001b[0m \u001b[31m9.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
42
+ "\u001b[?25hCollecting transformers[sentencepiece]\n",
43
+ " Downloading transformers-4.32.1-py3-none-any.whl (7.5 MB)\n",
44
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m7.5/7.5 MB\u001b[0m \u001b[31m24.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
45
+ "\u001b[?25hRequirement already satisfied: numpy>=1.17 in /usr/local/lib/python3.10/dist-packages (from datasets) (1.23.5)\n",
46
+ "Requirement already satisfied: pyarrow>=8.0.0 in /usr/local/lib/python3.10/dist-packages (from datasets) (9.0.0)\n",
47
+ "Collecting dill<0.3.8,>=0.3.0 (from datasets)\n",
48
+ " Downloading dill-0.3.7-py3-none-any.whl (115 kB)\n",
49
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m115.3/115.3 kB\u001b[0m \u001b[31m13.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
50
+ "\u001b[?25hRequirement already satisfied: pandas in /usr/local/lib/python3.10/dist-packages (from datasets) (1.5.3)\n",
51
+ "Requirement already satisfied: requests>=2.19.0 in /usr/local/lib/python3.10/dist-packages (from datasets) (2.31.0)\n",
52
+ "Requirement already satisfied: tqdm>=4.62.1 in /usr/local/lib/python3.10/dist-packages (from datasets) (4.66.1)\n",
53
+ "Collecting xxhash (from datasets)\n",
54
+ " Downloading xxhash-3.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (194 kB)\n",
55
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m194.1/194.1 kB\u001b[0m \u001b[31m19.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
56
+ "\u001b[?25hCollecting multiprocess (from datasets)\n",
57
+ " Downloading multiprocess-0.70.15-py310-none-any.whl (134 kB)\n",
58
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m134.8/134.8 kB\u001b[0m \u001b[31m14.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
59
+ "\u001b[?25hRequirement already satisfied: fsspec[http]>=2021.11.1 in /usr/local/lib/python3.10/dist-packages (from datasets) (2023.6.0)\n",
60
+ "Requirement already satisfied: aiohttp in /usr/local/lib/python3.10/dist-packages (from datasets) (3.8.5)\n",
61
+ "Collecting huggingface-hub<1.0.0,>=0.14.0 (from datasets)\n",
62
+ " Downloading huggingface_hub-0.16.4-py3-none-any.whl (268 kB)\n",
63
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m268.8/268.8 kB\u001b[0m \u001b[31m25.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
64
+ "\u001b[?25hRequirement already satisfied: packaging in /usr/local/lib/python3.10/dist-packages (from datasets) (23.1)\n",
65
+ "Requirement already satisfied: pyyaml>=5.1 in /usr/local/lib/python3.10/dist-packages (from datasets) (6.0.1)\n",
66
+ "Collecting responses<0.19 (from evaluate)\n",
67
+ " Downloading responses-0.18.0-py3-none-any.whl (38 kB)\n",
68
+ "Requirement already satisfied: filelock in /usr/local/lib/python3.10/dist-packages (from transformers[sentencepiece]) (3.12.2)\n",
69
+ "Requirement already satisfied: regex!=2019.12.17 in /usr/local/lib/python3.10/dist-packages (from transformers[sentencepiece]) (2023.6.3)\n",
70
+ "Collecting tokenizers!=0.11.3,<0.14,>=0.11.1 (from transformers[sentencepiece])\n",
71
+ " Downloading tokenizers-0.13.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.8 MB)\n",
72
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m7.8/7.8 MB\u001b[0m \u001b[31m51.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
73
+ "\u001b[?25hCollecting safetensors>=0.3.1 (from transformers[sentencepiece])\n",
74
+ " Downloading safetensors-0.3.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB)\n",
75
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m1.3/1.3 MB\u001b[0m \u001b[31m53.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
76
+ "\u001b[?25hCollecting sentencepiece!=0.1.92,>=0.1.91 (from transformers[sentencepiece])\n",
77
+ " Downloading sentencepiece-0.1.99-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB)\n",
78
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m1.3/1.3 MB\u001b[0m \u001b[31m63.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
79
+ "\u001b[?25hRequirement already satisfied: protobuf in /usr/local/lib/python3.10/dist-packages (from transformers[sentencepiece]) (3.20.3)\n",
80
+ "Requirement already satisfied: attrs>=17.3.0 in /usr/local/lib/python3.10/dist-packages (from aiohttp->datasets) (23.1.0)\n",
81
+ "Requirement already satisfied: charset-normalizer<4.0,>=2.0 in /usr/local/lib/python3.10/dist-packages (from aiohttp->datasets) (3.2.0)\n",
82
+ "Requirement already satisfied: multidict<7.0,>=4.5 in /usr/local/lib/python3.10/dist-packages (from aiohttp->datasets) (6.0.4)\n",
83
+ "Requirement already satisfied: async-timeout<5.0,>=4.0.0a3 in /usr/local/lib/python3.10/dist-packages (from aiohttp->datasets) (4.0.3)\n",
84
+ "Requirement already satisfied: yarl<2.0,>=1.0 in /usr/local/lib/python3.10/dist-packages (from aiohttp->datasets) (1.9.2)\n",
85
+ "Requirement already satisfied: frozenlist>=1.1.1 in /usr/local/lib/python3.10/dist-packages (from aiohttp->datasets) (1.4.0)\n",
86
+ "Requirement already satisfied: aiosignal>=1.1.2 in /usr/local/lib/python3.10/dist-packages (from aiohttp->datasets) (1.3.1)\n",
87
+ "Requirement already satisfied: typing-extensions>=3.7.4.3 in /usr/local/lib/python3.10/dist-packages (from huggingface-hub<1.0.0,>=0.14.0->datasets) (4.7.1)\n",
88
+ "Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.10/dist-packages (from requests>=2.19.0->datasets) (3.4)\n",
89
+ "Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.10/dist-packages (from requests>=2.19.0->datasets) (2.0.4)\n",
90
+ "Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.10/dist-packages (from requests>=2.19.0->datasets) (2023.7.22)\n",
91
+ "Requirement already satisfied: python-dateutil>=2.8.1 in /usr/local/lib/python3.10/dist-packages (from pandas->datasets) (2.8.2)\n",
92
+ "Requirement already satisfied: pytz>=2020.1 in /usr/local/lib/python3.10/dist-packages (from pandas->datasets) (2023.3)\n",
93
+ "Requirement already satisfied: six>=1.5 in /usr/local/lib/python3.10/dist-packages (from python-dateutil>=2.8.1->pandas->datasets) (1.16.0)\n",
94
+ "Installing collected packages: tokenizers, sentencepiece, safetensors, xxhash, dill, responses, multiprocess, huggingface-hub, transformers, datasets, evaluate\n",
95
+ "Successfully installed datasets-2.14.4 dill-0.3.7 evaluate-0.4.0 huggingface-hub-0.16.4 multiprocess-0.70.15 responses-0.18.0 safetensors-0.3.3 sentencepiece-0.1.99 tokenizers-0.13.3 transformers-4.32.1 xxhash-3.3.0\n"
96
+ ]
97
+ }
98
+ ],
99
+ "source": [
100
+ "!pip install datasets evaluate transformers[sentencepiece]"
101
+ ]
102
+ },
103
+ {
104
+ "cell_type": "code",
105
+ "execution_count": 2,
106
+ "metadata": {
107
+ "id": "_IaZrjk2XXr5",
108
+ "outputId": "e56a47dd-a01f-4786-88aa-fc036f901d39",
109
+ "colab": {
110
+ "base_uri": "https://localhost:8080/",
111
+ "height": 113,
112
+ "referenced_widgets": [
113
+ "6e8d9515b0d64541badafb94f886fb53",
114
+ "64c20d1c08bb4ef5a2c805191da6e0c3",
115
+ "2e0141a2e18745329743dc82a713ab3a",
116
+ "62d78d871c4247f597f5281b08659a5a",
117
+ "d80a1e1d92c7427d8050315b7929ac44",
118
+ "d294acadea3c4083807ce5de4c85b139",
119
+ "2bb45a6a4640438692aef57c96bd1ef2",
120
+ "d0251bef4e354aa7831b0d090bde8909",
121
+ "d9a7e78542634d20b2d72e559eac321d",
122
+ "c18a297542a448138c12dc0cb663472e",
123
+ "6bc05f9825f547b6b1cab315985ec323",
124
+ "fb8f882fd9e445f48c93abecb47c8707",
125
+ "3b183e7bfa964561b385bb12397f767e",
126
+ "8429cf84086540fe824480bdd89af8db",
127
+ "673be5123a094a9f854eda985491a7b2",
128
+ "114e3e99a9644a2d9af94b4790f0f43a",
129
+ "4c8af8869fcf4f29a3fc24c50afb85c6",
130
+ "e631c2774d4144c18d12555c291f0870",
131
+ "2d9cfdefd9dd4c7f869c85e598dd660c",
132
+ "2d546cf78b634df79f873e81ce7d82b3",
133
+ "8762c8ae1e644f4698e8b0e5987d25e8",
134
+ "5d8b7642a7264682ad0e88bd046f91e6",
135
+ "7695d2d28c834eee9d3c719cea0ac2cf",
136
+ "a5a9bc9913fc4fd2bf39bf411839713f",
137
+ "1dbac2441c5743dc8358dcd421844971",
138
+ "8154bfbe593d4e17899069bf261ecedc",
139
+ "748786cbc5e945cbb2b3d5662e5c7b52",
140
+ "b7481b2e7dad4b4491c86e9b5d4fc082",
141
+ "46a7d5c190334718a6d786e96e14adc9",
142
+ "2e17ea86befe47d19abc6b3b40fccfe4",
143
+ "94141f0ef5374572b85f01089ff9901f",
144
+ "2e4175d4f6b24d04b0a62742aea404bb",
145
+ "d6ca5e34870444848083c75e75516d5a"
146
+ ]
147
+ }
148
+ },
149
+ "outputs": [
150
+ {
151
+ "output_type": "display_data",
152
+ "data": {
153
+ "text/plain": [
154
+ "Downloading (…)okenizer_config.json: 0%| | 0.00/48.0 [00:00<?, ?B/s]"
155
+ ],
156
+ "application/vnd.jupyter.widget-view+json": {
157
+ "version_major": 2,
158
+ "version_minor": 0,
159
+ "model_id": "6e8d9515b0d64541badafb94f886fb53"
160
+ }
161
+ },
162
+ "metadata": {}
163
+ },
164
+ {
165
+ "output_type": "display_data",
166
+ "data": {
167
+ "text/plain": [
168
+ "Downloading (…)lve/main/config.json: 0%| | 0.00/629 [00:00<?, ?B/s]"
169
+ ],
170
+ "application/vnd.jupyter.widget-view+json": {
171
+ "version_major": 2,
172
+ "version_minor": 0,
173
+ "model_id": "fb8f882fd9e445f48c93abecb47c8707"
174
+ }
175
+ },
176
+ "metadata": {}
177
+ },
178
+ {
179
+ "output_type": "display_data",
180
+ "data": {
181
+ "text/plain": [
182
+ "Downloading (…)solve/main/vocab.txt: 0%| | 0.00/232k [00:00<?, ?B/s]"
183
+ ],
184
+ "application/vnd.jupyter.widget-view+json": {
185
+ "version_major": 2,
186
+ "version_minor": 0,
187
+ "model_id": "7695d2d28c834eee9d3c719cea0ac2cf"
188
+ }
189
+ },
190
+ "metadata": {}
191
+ }
192
+ ],
193
+ "source": [
194
+ "from transformers import AutoTokenizer\n",
195
+ "\n",
196
+ "checkpoint = \"distilbert-base-uncased-finetuned-sst-2-english\"\n",
197
+ "tokenizer = AutoTokenizer.from_pretrained(checkpoint)\n",
198
+ "\n",
199
+ "sequence = \"I've been waiting for a HuggingFace course my whole life.\"\n",
200
+ "\n",
201
+ "model_inputs = tokenizer(sequence)"
202
+ ]
203
+ },
204
+ {
205
+ "cell_type": "code",
206
+ "execution_count": 3,
207
+ "metadata": {
208
+ "id": "1M-XZeCTXXr7"
209
+ },
210
+ "outputs": [],
211
+ "source": [
212
+ "sequence = \"I've been waiting for a HuggingFace course my whole life.\"\n",
213
+ "\n",
214
+ "model_inputs = tokenizer(sequence)"
215
+ ]
216
+ },
217
+ {
218
+ "cell_type": "code",
219
+ "execution_count": 4,
220
+ "metadata": {
221
+ "id": "LeKkAHGlXXr9"
222
+ },
223
+ "outputs": [],
224
+ "source": [
225
+ "sequences = [\"I've been waiting for a HuggingFace course my whole life.\", \"So have I!\"]\n",
226
+ "\n",
227
+ "model_inputs = tokenizer(sequences)"
228
+ ]
229
+ },
230
+ {
231
+ "cell_type": "code",
232
+ "execution_count": 5,
233
+ "metadata": {
234
+ "id": "lF1e6fKQXXr-"
235
+ },
236
+ "outputs": [],
237
+ "source": [
238
+ "# Will pad the sequences up to the maximum sequence length\n",
239
+ "model_inputs = tokenizer(sequences, padding=\"longest\")\n",
240
+ "\n",
241
+ "# Will pad the sequences up to the model max length\n",
242
+ "# (512 for BERT or DistilBERT)\n",
243
+ "model_inputs = tokenizer(sequences, padding=\"max_length\")\n",
244
+ "\n",
245
+ "# Will pad the sequences up to the specified max length\n",
246
+ "model_inputs = tokenizer(sequences, padding=\"max_length\", max_length=8)"
247
+ ]
248
+ },
249
+ {
250
+ "cell_type": "code",
251
+ "execution_count": 6,
252
+ "metadata": {
253
+ "id": "nhOlP4X7XXsA"
254
+ },
255
+ "outputs": [],
256
+ "source": [
257
+ "sequences = [\"I've been waiting for a HuggingFace course my whole life.\", \"So have I!\"]\n",
258
+ "\n",
259
+ "# Will truncate the sequences that are longer than the model max length\n",
260
+ "# (512 for BERT or DistilBERT)\n",
261
+ "model_inputs = tokenizer(sequences, truncation=True)\n",
262
+ "\n",
263
+ "# Will truncate the sequences that are longer than the specified max length\n",
264
+ "model_inputs = tokenizer(sequences, max_length=8, truncation=True)"
265
+ ]
266
+ },
267
+ {
268
+ "cell_type": "code",
269
+ "execution_count": 7,
270
+ "metadata": {
271
+ "id": "WU9TqDuqXXsB"
272
+ },
273
+ "outputs": [],
274
+ "source": [
275
+ "sequences = [\"I've been waiting for a HuggingFace course my whole life.\", \"So have I!\"]\n",
276
+ "\n",
277
+ "# Returns PyTorch tensors\n",
278
+ "model_inputs = tokenizer(sequences, padding=True, return_tensors=\"pt\")\n",
279
+ "\n",
280
+ "# Returns TensorFlow tensors\n",
281
+ "model_inputs = tokenizer(sequences, padding=True, return_tensors=\"tf\")\n",
282
+ "\n",
283
+ "# Returns NumPy arrays\n",
284
+ "model_inputs = tokenizer(sequences, padding=True, return_tensors=\"np\")"
285
+ ]
286
+ },
287
+ {
288
+ "cell_type": "code",
289
+ "execution_count": 8,
290
+ "metadata": {
291
+ "id": "LidWgT5-XXsD",
292
+ "outputId": "01d47ecc-a8fc-4d7c-d534-88c090bb26fe",
293
+ "colab": {
294
+ "base_uri": "https://localhost:8080/"
295
+ }
296
+ },
297
+ "outputs": [
298
+ {
299
+ "output_type": "stream",
300
+ "name": "stdout",
301
+ "text": [
302
+ "[101, 1045, 1005, 2310, 2042, 3403, 2005, 1037, 17662, 12172, 2607, 2026, 2878, 2166, 1012, 102]\n",
303
+ "[1045, 1005, 2310, 2042, 3403, 2005, 1037, 17662, 12172, 2607, 2026, 2878, 2166, 1012]\n"
304
+ ]
305
+ }
306
+ ],
307
+ "source": [
308
+ "sequence = \"I've been waiting for a HuggingFace course my whole life.\"\n",
309
+ "\n",
310
+ "model_inputs = tokenizer(sequence)\n",
311
+ "print(model_inputs[\"input_ids\"])\n",
312
+ "\n",
313
+ "tokens = tokenizer.tokenize(sequence)\n",
314
+ "ids = tokenizer.convert_tokens_to_ids(tokens)\n",
315
+ "print(ids)"
316
+ ]
317
+ },
318
+ {
319
+ "cell_type": "code",
320
+ "execution_count": 9,
321
+ "metadata": {
322
+ "id": "3rBbz5KFXXsE",
323
+ "outputId": "cfcbde1b-fadc-4297-b336-ebb5e1a3f56c",
324
+ "colab": {
325
+ "base_uri": "https://localhost:8080/"
326
+ }
327
+ },
328
+ "outputs": [
329
+ {
330
+ "output_type": "stream",
331
+ "name": "stdout",
332
+ "text": [
333
+ "[CLS] i've been waiting for a huggingface course my whole life. [SEP]\n",
334
+ "i've been waiting for a huggingface course my whole life.\n"
335
+ ]
336
+ }
337
+ ],
338
+ "source": [
339
+ "print(tokenizer.decode(model_inputs[\"input_ids\"]))\n",
340
+ "print(tokenizer.decode(ids))"
341
+ ]
342
+ },
343
+ {
344
+ "cell_type": "code",
345
+ "execution_count": 10,
346
+ "metadata": {
347
+ "id": "Aqsxx_DkXXsG",
348
+ "outputId": "39407dfe-2872-4c66-83cc-0714a481111d",
349
+ "colab": {
350
+ "base_uri": "https://localhost:8080/",
351
+ "height": 140,
352
+ "referenced_widgets": [
353
+ "ce3dd215ffc04932a8bbf1bc722573b5",
354
+ "0c6b5f1167b64b86a218de01571a834a",
355
+ "a559f55b93c54f5da149938f364f3d0f",
356
+ "4f815b17eb98443baba91cc81c8e062d",
357
+ "bd7626146d9e4e66bdc67e006abe604c",
358
+ "c6158847d12b4fc3bd44f2793eea55b6",
359
+ "a498708a4a6d4376878e8ef473df222c",
360
+ "7ae3d18def4547939cccfe50f5e531c1",
361
+ "eb3af9dc2af8486ab43534a7298ce725",
362
+ "75d7054c234e45f191ecc7ed00f74928",
363
+ "79cb34563b2f407794d763f0cd14dc51"
364
+ ]
365
+ }
366
+ },
367
+ "outputs": [
368
+ {
369
+ "output_type": "display_data",
370
+ "data": {
371
+ "text/plain": [
372
+ "Downloading model.safetensors: 0%| | 0.00/268M [00:00<?, ?B/s]"
373
+ ],
374
+ "application/vnd.jupyter.widget-view+json": {
375
+ "version_major": 2,
376
+ "version_minor": 0,
377
+ "model_id": "ce3dd215ffc04932a8bbf1bc722573b5"
378
+ }
379
+ },
380
+ "metadata": {}
381
+ },
382
+ {
383
+ "output_type": "stream",
384
+ "name": "stderr",
385
+ "text": [
386
+ "All PyTorch model weights were used when initializing TFDistilBertForSequenceClassification.\n",
387
+ "\n",
388
+ "All the weights of TFDistilBertForSequenceClassification were initialized from the PyTorch model.\n",
389
+ "If your task is similar to the task the model of the checkpoint was trained on, you can already use TFDistilBertForSequenceClassification for predictions without further training.\n"
390
+ ]
391
+ }
392
+ ],
393
+ "source": [
394
+ "import tensorflow as tf\n",
395
+ "from transformers import AutoTokenizer, TFAutoModelForSequenceClassification\n",
396
+ "\n",
397
+ "checkpoint = \"distilbert-base-uncased-finetuned-sst-2-english\"\n",
398
+ "tokenizer = AutoTokenizer.from_pretrained(checkpoint)\n",
399
+ "model = TFAutoModelForSequenceClassification.from_pretrained(checkpoint)\n",
400
+ "sequences = [\"I've been waiting for a HuggingFace course my whole life.\", \"So have I!\"]\n",
401
+ "\n",
402
+ "tokens = tokenizer(sequences, padding=True, truncation=True, return_tensors=\"tf\")\n",
403
+ "output = model(**tokens)"
404
+ ]
405
+ }
406
+ ],
407
+ "metadata": {
408
+ "colab": {
409
+ "name": "Putting it all together (TensorFlow)",
410
+ "provenance": []
411
+ },
412
+ "language_info": {
413
+ "name": "python"
414
+ },
415
+ "kernelspec": {
416
+ "name": "python3",
417
+ "display_name": "Python 3"
418
+ },
419
+ "widgets": {
420
+ "application/vnd.jupyter.widget-state+json": {
421
+ "6e8d9515b0d64541badafb94f886fb53": {
422
+ "model_module": "@jupyter-widgets/controls",
423
+ "model_name": "HBoxModel",
424
+ "model_module_version": "1.5.0",
425
+ "state": {
426
+ "_dom_classes": [],
427
+ "_model_module": "@jupyter-widgets/controls",
428
+ "_model_module_version": "1.5.0",
429
+ "_model_name": "HBoxModel",
430
+ "_view_count": null,
431
+ "_view_module": "@jupyter-widgets/controls",
432
+ "_view_module_version": "1.5.0",
433
+ "_view_name": "HBoxView",
434
+ "box_style": "",
435
+ "children": [
436
+ "IPY_MODEL_64c20d1c08bb4ef5a2c805191da6e0c3",
437
+ "IPY_MODEL_2e0141a2e18745329743dc82a713ab3a",
438
+ "IPY_MODEL_62d78d871c4247f597f5281b08659a5a"
439
+ ],
440
+ "layout": "IPY_MODEL_d80a1e1d92c7427d8050315b7929ac44"
441
+ }
442
+ },
443
+ "64c20d1c08bb4ef5a2c805191da6e0c3": {
444
+ "model_module": "@jupyter-widgets/controls",
445
+ "model_name": "HTMLModel",
446
+ "model_module_version": "1.5.0",
447
+ "state": {
448
+ "_dom_classes": [],
449
+ "_model_module": "@jupyter-widgets/controls",
450
+ "_model_module_version": "1.5.0",
451
+ "_model_name": "HTMLModel",
452
+ "_view_count": null,
453
+ "_view_module": "@jupyter-widgets/controls",
454
+ "_view_module_version": "1.5.0",
455
+ "_view_name": "HTMLView",
456
+ "description": "",
457
+ "description_tooltip": null,
458
+ "layout": "IPY_MODEL_d294acadea3c4083807ce5de4c85b139",
459
+ "placeholder": "​",
460
+ "style": "IPY_MODEL_2bb45a6a4640438692aef57c96bd1ef2",
461
+ "value": "Downloading (…)okenizer_config.json: 100%"
462
+ }
463
+ },
464
+ "2e0141a2e18745329743dc82a713ab3a": {
465
+ "model_module": "@jupyter-widgets/controls",
466
+ "model_name": "FloatProgressModel",
467
+ "model_module_version": "1.5.0",
468
+ "state": {
469
+ "_dom_classes": [],
470
+ "_model_module": "@jupyter-widgets/controls",
471
+ "_model_module_version": "1.5.0",
472
+ "_model_name": "FloatProgressModel",
473
+ "_view_count": null,
474
+ "_view_module": "@jupyter-widgets/controls",
475
+ "_view_module_version": "1.5.0",
476
+ "_view_name": "ProgressView",
477
+ "bar_style": "success",
478
+ "description": "",
479
+ "description_tooltip": null,
480
+ "layout": "IPY_MODEL_d0251bef4e354aa7831b0d090bde8909",
481
+ "max": 48,
482
+ "min": 0,
483
+ "orientation": "horizontal",
484
+ "style": "IPY_MODEL_d9a7e78542634d20b2d72e559eac321d",
485
+ "value": 48
486
+ }
487
+ },
488
+ "62d78d871c4247f597f5281b08659a5a": {
489
+ "model_module": "@jupyter-widgets/controls",
490
+ "model_name": "HTMLModel",
491
+ "model_module_version": "1.5.0",
492
+ "state": {
493
+ "_dom_classes": [],
494
+ "_model_module": "@jupyter-widgets/controls",
495
+ "_model_module_version": "1.5.0",
496
+ "_model_name": "HTMLModel",
497
+ "_view_count": null,
498
+ "_view_module": "@jupyter-widgets/controls",
499
+ "_view_module_version": "1.5.0",
500
+ "_view_name": "HTMLView",
501
+ "description": "",
502
+ "description_tooltip": null,
503
+ "layout": "IPY_MODEL_c18a297542a448138c12dc0cb663472e",
504
+ "placeholder": "​",
505
+ "style": "IPY_MODEL_6bc05f9825f547b6b1cab315985ec323",
506
+ "value": " 48.0/48.0 [00:00&lt;00:00, 1.78kB/s]"
507
+ }
508
+ },
509
+ "d80a1e1d92c7427d8050315b7929ac44": {
510
+ "model_module": "@jupyter-widgets/base",
511
+ "model_name": "LayoutModel",
512
+ "model_module_version": "1.2.0",
513
+ "state": {
514
+ "_model_module": "@jupyter-widgets/base",
515
+ "_model_module_version": "1.2.0",
516
+ "_model_name": "LayoutModel",
517
+ "_view_count": null,
518
+ "_view_module": "@jupyter-widgets/base",
519
+ "_view_module_version": "1.2.0",
520
+ "_view_name": "LayoutView",
521
+ "align_content": null,
522
+ "align_items": null,
523
+ "align_self": null,
524
+ "border": null,
525
+ "bottom": null,
526
+ "display": null,
527
+ "flex": null,
528
+ "flex_flow": null,
529
+ "grid_area": null,
530
+ "grid_auto_columns": null,
531
+ "grid_auto_flow": null,
532
+ "grid_auto_rows": null,
533
+ "grid_column": null,
534
+ "grid_gap": null,
535
+ "grid_row": null,
536
+ "grid_template_areas": null,
537
+ "grid_template_columns": null,
538
+ "grid_template_rows": null,
539
+ "height": null,
540
+ "justify_content": null,
541
+ "justify_items": null,
542
+ "left": null,
543
+ "margin": null,
544
+ "max_height": null,
545
+ "max_width": null,
546
+ "min_height": null,
547
+ "min_width": null,
548
+ "object_fit": null,
549
+ "object_position": null,
550
+ "order": null,
551
+ "overflow": null,
552
+ "overflow_x": null,
553
+ "overflow_y": null,
554
+ "padding": null,
555
+ "right": null,
556
+ "top": null,
557
+ "visibility": null,
558
+ "width": null
559
+ }
560
+ },
561
+ "d294acadea3c4083807ce5de4c85b139": {
562
+ "model_module": "@jupyter-widgets/base",
563
+ "model_name": "LayoutModel",
564
+ "model_module_version": "1.2.0",
565
+ "state": {
566
+ "_model_module": "@jupyter-widgets/base",
567
+ "_model_module_version": "1.2.0",
568
+ "_model_name": "LayoutModel",
569
+ "_view_count": null,
570
+ "_view_module": "@jupyter-widgets/base",
571
+ "_view_module_version": "1.2.0",
572
+ "_view_name": "LayoutView",
573
+ "align_content": null,
574
+ "align_items": null,
575
+ "align_self": null,
576
+ "border": null,
577
+ "bottom": null,
578
+ "display": null,
579
+ "flex": null,
580
+ "flex_flow": null,
581
+ "grid_area": null,
582
+ "grid_auto_columns": null,
583
+ "grid_auto_flow": null,
584
+ "grid_auto_rows": null,
585
+ "grid_column": null,
586
+ "grid_gap": null,
587
+ "grid_row": null,
588
+ "grid_template_areas": null,
589
+ "grid_template_columns": null,
590
+ "grid_template_rows": null,
591
+ "height": null,
592
+ "justify_content": null,
593
+ "justify_items": null,
594
+ "left": null,
595
+ "margin": null,
596
+ "max_height": null,
597
+ "max_width": null,
598
+ "min_height": null,
599
+ "min_width": null,
600
+ "object_fit": null,
601
+ "object_position": null,
602
+ "order": null,
603
+ "overflow": null,
604
+ "overflow_x": null,
605
+ "overflow_y": null,
606
+ "padding": null,
607
+ "right": null,
608
+ "top": null,
609
+ "visibility": null,
610
+ "width": null
611
+ }
612
+ },
613
+ "2bb45a6a4640438692aef57c96bd1ef2": {
614
+ "model_module": "@jupyter-widgets/controls",
615
+ "model_name": "DescriptionStyleModel",
616
+ "model_module_version": "1.5.0",
617
+ "state": {
618
+ "_model_module": "@jupyter-widgets/controls",
619
+ "_model_module_version": "1.5.0",
620
+ "_model_name": "DescriptionStyleModel",
621
+ "_view_count": null,
622
+ "_view_module": "@jupyter-widgets/base",
623
+ "_view_module_version": "1.2.0",
624
+ "_view_name": "StyleView",
625
+ "description_width": ""
626
+ }
627
+ },
628
+ "d0251bef4e354aa7831b0d090bde8909": {
629
+ "model_module": "@jupyter-widgets/base",
630
+ "model_name": "LayoutModel",
631
+ "model_module_version": "1.2.0",
632
+ "state": {
633
+ "_model_module": "@jupyter-widgets/base",
634
+ "_model_module_version": "1.2.0",
635
+ "_model_name": "LayoutModel",
636
+ "_view_count": null,
637
+ "_view_module": "@jupyter-widgets/base",
638
+ "_view_module_version": "1.2.0",
639
+ "_view_name": "LayoutView",
640
+ "align_content": null,
641
+ "align_items": null,
642
+ "align_self": null,
643
+ "border": null,
644
+ "bottom": null,
645
+ "display": null,
646
+ "flex": null,
647
+ "flex_flow": null,
648
+ "grid_area": null,
649
+ "grid_auto_columns": null,
650
+ "grid_auto_flow": null,
651
+ "grid_auto_rows": null,
652
+ "grid_column": null,
653
+ "grid_gap": null,
654
+ "grid_row": null,
655
+ "grid_template_areas": null,
656
+ "grid_template_columns": null,
657
+ "grid_template_rows": null,
658
+ "height": null,
659
+ "justify_content": null,
660
+ "justify_items": null,
661
+ "left": null,
662
+ "margin": null,
663
+ "max_height": null,
664
+ "max_width": null,
665
+ "min_height": null,
666
+ "min_width": null,
667
+ "object_fit": null,
668
+ "object_position": null,
669
+ "order": null,
670
+ "overflow": null,
671
+ "overflow_x": null,
672
+ "overflow_y": null,
673
+ "padding": null,
674
+ "right": null,
675
+ "top": null,
676
+ "visibility": null,
677
+ "width": null
678
+ }
679
+ },
680
+ "d9a7e78542634d20b2d72e559eac321d": {
681
+ "model_module": "@jupyter-widgets/controls",
682
+ "model_name": "ProgressStyleModel",
683
+ "model_module_version": "1.5.0",
684
+ "state": {
685
+ "_model_module": "@jupyter-widgets/controls",
686
+ "_model_module_version": "1.5.0",
687
+ "_model_name": "ProgressStyleModel",
688
+ "_view_count": null,
689
+ "_view_module": "@jupyter-widgets/base",
690
+ "_view_module_version": "1.2.0",
691
+ "_view_name": "StyleView",
692
+ "bar_color": null,
693
+ "description_width": ""
694
+ }
695
+ },
696
+ "c18a297542a448138c12dc0cb663472e": {
697
+ "model_module": "@jupyter-widgets/base",
698
+ "model_name": "LayoutModel",
699
+ "model_module_version": "1.2.0",
700
+ "state": {
701
+ "_model_module": "@jupyter-widgets/base",
702
+ "_model_module_version": "1.2.0",
703
+ "_model_name": "LayoutModel",
704
+ "_view_count": null,
705
+ "_view_module": "@jupyter-widgets/base",
706
+ "_view_module_version": "1.2.0",
707
+ "_view_name": "LayoutView",
708
+ "align_content": null,
709
+ "align_items": null,
710
+ "align_self": null,
711
+ "border": null,
712
+ "bottom": null,
713
+ "display": null,
714
+ "flex": null,
715
+ "flex_flow": null,
716
+ "grid_area": null,
717
+ "grid_auto_columns": null,
718
+ "grid_auto_flow": null,
719
+ "grid_auto_rows": null,
720
+ "grid_column": null,
721
+ "grid_gap": null,
722
+ "grid_row": null,
723
+ "grid_template_areas": null,
724
+ "grid_template_columns": null,
725
+ "grid_template_rows": null,
726
+ "height": null,
727
+ "justify_content": null,
728
+ "justify_items": null,
729
+ "left": null,
730
+ "margin": null,
731
+ "max_height": null,
732
+ "max_width": null,
733
+ "min_height": null,
734
+ "min_width": null,
735
+ "object_fit": null,
736
+ "object_position": null,
737
+ "order": null,
738
+ "overflow": null,
739
+ "overflow_x": null,
740
+ "overflow_y": null,
741
+ "padding": null,
742
+ "right": null,
743
+ "top": null,
744
+ "visibility": null,
745
+ "width": null
746
+ }
747
+ },
748
+ "6bc05f9825f547b6b1cab315985ec323": {
749
+ "model_module": "@jupyter-widgets/controls",
750
+ "model_name": "DescriptionStyleModel",
751
+ "model_module_version": "1.5.0",
752
+ "state": {
753
+ "_model_module": "@jupyter-widgets/controls",
754
+ "_model_module_version": "1.5.0",
755
+ "_model_name": "DescriptionStyleModel",
756
+ "_view_count": null,
757
+ "_view_module": "@jupyter-widgets/base",
758
+ "_view_module_version": "1.2.0",
759
+ "_view_name": "StyleView",
760
+ "description_width": ""
761
+ }
762
+ },
763
+ "fb8f882fd9e445f48c93abecb47c8707": {
764
+ "model_module": "@jupyter-widgets/controls",
765
+ "model_name": "HBoxModel",
766
+ "model_module_version": "1.5.0",
767
+ "state": {
768
+ "_dom_classes": [],
769
+ "_model_module": "@jupyter-widgets/controls",
770
+ "_model_module_version": "1.5.0",
771
+ "_model_name": "HBoxModel",
772
+ "_view_count": null,
773
+ "_view_module": "@jupyter-widgets/controls",
774
+ "_view_module_version": "1.5.0",
775
+ "_view_name": "HBoxView",
776
+ "box_style": "",
777
+ "children": [
778
+ "IPY_MODEL_3b183e7bfa964561b385bb12397f767e",
779
+ "IPY_MODEL_8429cf84086540fe824480bdd89af8db",
780
+ "IPY_MODEL_673be5123a094a9f854eda985491a7b2"
781
+ ],
782
+ "layout": "IPY_MODEL_114e3e99a9644a2d9af94b4790f0f43a"
783
+ }
784
+ },
785
+ "3b183e7bfa964561b385bb12397f767e": {
786
+ "model_module": "@jupyter-widgets/controls",
787
+ "model_name": "HTMLModel",
788
+ "model_module_version": "1.5.0",
789
+ "state": {
790
+ "_dom_classes": [],
791
+ "_model_module": "@jupyter-widgets/controls",
792
+ "_model_module_version": "1.5.0",
793
+ "_model_name": "HTMLModel",
794
+ "_view_count": null,
795
+ "_view_module": "@jupyter-widgets/controls",
796
+ "_view_module_version": "1.5.0",
797
+ "_view_name": "HTMLView",
798
+ "description": "",
799
+ "description_tooltip": null,
800
+ "layout": "IPY_MODEL_4c8af8869fcf4f29a3fc24c50afb85c6",
801
+ "placeholder": "​",
802
+ "style": "IPY_MODEL_e631c2774d4144c18d12555c291f0870",
803
+ "value": "Downloading (…)lve/main/config.json: 100%"
804
+ }
805
+ },
806
+ "8429cf84086540fe824480bdd89af8db": {
807
+ "model_module": "@jupyter-widgets/controls",
808
+ "model_name": "FloatProgressModel",
809
+ "model_module_version": "1.5.0",
810
+ "state": {
811
+ "_dom_classes": [],
812
+ "_model_module": "@jupyter-widgets/controls",
813
+ "_model_module_version": "1.5.0",
814
+ "_model_name": "FloatProgressModel",
815
+ "_view_count": null,
816
+ "_view_module": "@jupyter-widgets/controls",
817
+ "_view_module_version": "1.5.0",
818
+ "_view_name": "ProgressView",
819
+ "bar_style": "success",
820
+ "description": "",
821
+ "description_tooltip": null,
822
+ "layout": "IPY_MODEL_2d9cfdefd9dd4c7f869c85e598dd660c",
823
+ "max": 629,
824
+ "min": 0,
825
+ "orientation": "horizontal",
826
+ "style": "IPY_MODEL_2d546cf78b634df79f873e81ce7d82b3",
827
+ "value": 629
828
+ }
829
+ },
830
+ "673be5123a094a9f854eda985491a7b2": {
831
+ "model_module": "@jupyter-widgets/controls",
832
+ "model_name": "HTMLModel",
833
+ "model_module_version": "1.5.0",
834
+ "state": {
835
+ "_dom_classes": [],
836
+ "_model_module": "@jupyter-widgets/controls",
837
+ "_model_module_version": "1.5.0",
838
+ "_model_name": "HTMLModel",
839
+ "_view_count": null,
840
+ "_view_module": "@jupyter-widgets/controls",
841
+ "_view_module_version": "1.5.0",
842
+ "_view_name": "HTMLView",
843
+ "description": "",
844
+ "description_tooltip": null,
845
+ "layout": "IPY_MODEL_8762c8ae1e644f4698e8b0e5987d25e8",
846
+ "placeholder": "​",
847
+ "style": "IPY_MODEL_5d8b7642a7264682ad0e88bd046f91e6",
848
+ "value": " 629/629 [00:00&lt;00:00, 33.7kB/s]"
849
+ }
850
+ },
851
+ "114e3e99a9644a2d9af94b4790f0f43a": {
852
+ "model_module": "@jupyter-widgets/base",
853
+ "model_name": "LayoutModel",
854
+ "model_module_version": "1.2.0",
855
+ "state": {
856
+ "_model_module": "@jupyter-widgets/base",
857
+ "_model_module_version": "1.2.0",
858
+ "_model_name": "LayoutModel",
859
+ "_view_count": null,
860
+ "_view_module": "@jupyter-widgets/base",
861
+ "_view_module_version": "1.2.0",
862
+ "_view_name": "LayoutView",
863
+ "align_content": null,
864
+ "align_items": null,
865
+ "align_self": null,
866
+ "border": null,
867
+ "bottom": null,
868
+ "display": null,
869
+ "flex": null,
870
+ "flex_flow": null,
871
+ "grid_area": null,
872
+ "grid_auto_columns": null,
873
+ "grid_auto_flow": null,
874
+ "grid_auto_rows": null,
875
+ "grid_column": null,
876
+ "grid_gap": null,
877
+ "grid_row": null,
878
+ "grid_template_areas": null,
879
+ "grid_template_columns": null,
880
+ "grid_template_rows": null,
881
+ "height": null,
882
+ "justify_content": null,
883
+ "justify_items": null,
884
+ "left": null,
885
+ "margin": null,
886
+ "max_height": null,
887
+ "max_width": null,
888
+ "min_height": null,
889
+ "min_width": null,
890
+ "object_fit": null,
891
+ "object_position": null,
892
+ "order": null,
893
+ "overflow": null,
894
+ "overflow_x": null,
895
+ "overflow_y": null,
896
+ "padding": null,
897
+ "right": null,
898
+ "top": null,
899
+ "visibility": null,
900
+ "width": null
901
+ }
902
+ },
903
+ "4c8af8869fcf4f29a3fc24c50afb85c6": {
904
+ "model_module": "@jupyter-widgets/base",
905
+ "model_name": "LayoutModel",
906
+ "model_module_version": "1.2.0",
907
+ "state": {
908
+ "_model_module": "@jupyter-widgets/base",
909
+ "_model_module_version": "1.2.0",
910
+ "_model_name": "LayoutModel",
911
+ "_view_count": null,
912
+ "_view_module": "@jupyter-widgets/base",
913
+ "_view_module_version": "1.2.0",
914
+ "_view_name": "LayoutView",
915
+ "align_content": null,
916
+ "align_items": null,
917
+ "align_self": null,
918
+ "border": null,
919
+ "bottom": null,
920
+ "display": null,
921
+ "flex": null,
922
+ "flex_flow": null,
923
+ "grid_area": null,
924
+ "grid_auto_columns": null,
925
+ "grid_auto_flow": null,
926
+ "grid_auto_rows": null,
927
+ "grid_column": null,
928
+ "grid_gap": null,
929
+ "grid_row": null,
930
+ "grid_template_areas": null,
931
+ "grid_template_columns": null,
932
+ "grid_template_rows": null,
933
+ "height": null,
934
+ "justify_content": null,
935
+ "justify_items": null,
936
+ "left": null,
937
+ "margin": null,
938
+ "max_height": null,
939
+ "max_width": null,
940
+ "min_height": null,
941
+ "min_width": null,
942
+ "object_fit": null,
943
+ "object_position": null,
944
+ "order": null,
945
+ "overflow": null,
946
+ "overflow_x": null,
947
+ "overflow_y": null,
948
+ "padding": null,
949
+ "right": null,
950
+ "top": null,
951
+ "visibility": null,
952
+ "width": null
953
+ }
954
+ },
955
+ "e631c2774d4144c18d12555c291f0870": {
956
+ "model_module": "@jupyter-widgets/controls",
957
+ "model_name": "DescriptionStyleModel",
958
+ "model_module_version": "1.5.0",
959
+ "state": {
960
+ "_model_module": "@jupyter-widgets/controls",
961
+ "_model_module_version": "1.5.0",
962
+ "_model_name": "DescriptionStyleModel",
963
+ "_view_count": null,
964
+ "_view_module": "@jupyter-widgets/base",
965
+ "_view_module_version": "1.2.0",
966
+ "_view_name": "StyleView",
967
+ "description_width": ""
968
+ }
969
+ },
970
+ "2d9cfdefd9dd4c7f869c85e598dd660c": {
971
+ "model_module": "@jupyter-widgets/base",
972
+ "model_name": "LayoutModel",
973
+ "model_module_version": "1.2.0",
974
+ "state": {
975
+ "_model_module": "@jupyter-widgets/base",
976
+ "_model_module_version": "1.2.0",
977
+ "_model_name": "LayoutModel",
978
+ "_view_count": null,
979
+ "_view_module": "@jupyter-widgets/base",
980
+ "_view_module_version": "1.2.0",
981
+ "_view_name": "LayoutView",
982
+ "align_content": null,
983
+ "align_items": null,
984
+ "align_self": null,
985
+ "border": null,
986
+ "bottom": null,
987
+ "display": null,
988
+ "flex": null,
989
+ "flex_flow": null,
990
+ "grid_area": null,
991
+ "grid_auto_columns": null,
992
+ "grid_auto_flow": null,
993
+ "grid_auto_rows": null,
994
+ "grid_column": null,
995
+ "grid_gap": null,
996
+ "grid_row": null,
997
+ "grid_template_areas": null,
998
+ "grid_template_columns": null,
999
+ "grid_template_rows": null,
1000
+ "height": null,
1001
+ "justify_content": null,
1002
+ "justify_items": null,
1003
+ "left": null,
1004
+ "margin": null,
1005
+ "max_height": null,
1006
+ "max_width": null,
1007
+ "min_height": null,
1008
+ "min_width": null,
1009
+ "object_fit": null,
1010
+ "object_position": null,
1011
+ "order": null,
1012
+ "overflow": null,
1013
+ "overflow_x": null,
1014
+ "overflow_y": null,
1015
+ "padding": null,
1016
+ "right": null,
1017
+ "top": null,
1018
+ "visibility": null,
1019
+ "width": null
1020
+ }
1021
+ },
1022
+ "2d546cf78b634df79f873e81ce7d82b3": {
1023
+ "model_module": "@jupyter-widgets/controls",
1024
+ "model_name": "ProgressStyleModel",
1025
+ "model_module_version": "1.5.0",
1026
+ "state": {
1027
+ "_model_module": "@jupyter-widgets/controls",
1028
+ "_model_module_version": "1.5.0",
1029
+ "_model_name": "ProgressStyleModel",
1030
+ "_view_count": null,
1031
+ "_view_module": "@jupyter-widgets/base",
1032
+ "_view_module_version": "1.2.0",
1033
+ "_view_name": "StyleView",
1034
+ "bar_color": null,
1035
+ "description_width": ""
1036
+ }
1037
+ },
1038
+ "8762c8ae1e644f4698e8b0e5987d25e8": {
1039
+ "model_module": "@jupyter-widgets/base",
1040
+ "model_name": "LayoutModel",
1041
+ "model_module_version": "1.2.0",
1042
+ "state": {
1043
+ "_model_module": "@jupyter-widgets/base",
1044
+ "_model_module_version": "1.2.0",
1045
+ "_model_name": "LayoutModel",
1046
+ "_view_count": null,
1047
+ "_view_module": "@jupyter-widgets/base",
1048
+ "_view_module_version": "1.2.0",
1049
+ "_view_name": "LayoutView",
1050
+ "align_content": null,
1051
+ "align_items": null,
1052
+ "align_self": null,
1053
+ "border": null,
1054
+ "bottom": null,
1055
+ "display": null,
1056
+ "flex": null,
1057
+ "flex_flow": null,
1058
+ "grid_area": null,
1059
+ "grid_auto_columns": null,
1060
+ "grid_auto_flow": null,
1061
+ "grid_auto_rows": null,
1062
+ "grid_column": null,
1063
+ "grid_gap": null,
1064
+ "grid_row": null,
1065
+ "grid_template_areas": null,
1066
+ "grid_template_columns": null,
1067
+ "grid_template_rows": null,
1068
+ "height": null,
1069
+ "justify_content": null,
1070
+ "justify_items": null,
1071
+ "left": null,
1072
+ "margin": null,
1073
+ "max_height": null,
1074
+ "max_width": null,
1075
+ "min_height": null,
1076
+ "min_width": null,
1077
+ "object_fit": null,
1078
+ "object_position": null,
1079
+ "order": null,
1080
+ "overflow": null,
1081
+ "overflow_x": null,
1082
+ "overflow_y": null,
1083
+ "padding": null,
1084
+ "right": null,
1085
+ "top": null,
1086
+ "visibility": null,
1087
+ "width": null
1088
+ }
1089
+ },
1090
+ "5d8b7642a7264682ad0e88bd046f91e6": {
1091
+ "model_module": "@jupyter-widgets/controls",
1092
+ "model_name": "DescriptionStyleModel",
1093
+ "model_module_version": "1.5.0",
1094
+ "state": {
1095
+ "_model_module": "@jupyter-widgets/controls",
1096
+ "_model_module_version": "1.5.0",
1097
+ "_model_name": "DescriptionStyleModel",
1098
+ "_view_count": null,
1099
+ "_view_module": "@jupyter-widgets/base",
1100
+ "_view_module_version": "1.2.0",
1101
+ "_view_name": "StyleView",
1102
+ "description_width": ""
1103
+ }
1104
+ },
1105
+ "7695d2d28c834eee9d3c719cea0ac2cf": {
1106
+ "model_module": "@jupyter-widgets/controls",
1107
+ "model_name": "HBoxModel",
1108
+ "model_module_version": "1.5.0",
1109
+ "state": {
1110
+ "_dom_classes": [],
1111
+ "_model_module": "@jupyter-widgets/controls",
1112
+ "_model_module_version": "1.5.0",
1113
+ "_model_name": "HBoxModel",
1114
+ "_view_count": null,
1115
+ "_view_module": "@jupyter-widgets/controls",
1116
+ "_view_module_version": "1.5.0",
1117
+ "_view_name": "HBoxView",
1118
+ "box_style": "",
1119
+ "children": [
1120
+ "IPY_MODEL_a5a9bc9913fc4fd2bf39bf411839713f",
1121
+ "IPY_MODEL_1dbac2441c5743dc8358dcd421844971",
1122
+ "IPY_MODEL_8154bfbe593d4e17899069bf261ecedc"
1123
+ ],
1124
+ "layout": "IPY_MODEL_748786cbc5e945cbb2b3d5662e5c7b52"
1125
+ }
1126
+ },
1127
+ "a5a9bc9913fc4fd2bf39bf411839713f": {
1128
+ "model_module": "@jupyter-widgets/controls",
1129
+ "model_name": "HTMLModel",
1130
+ "model_module_version": "1.5.0",
1131
+ "state": {
1132
+ "_dom_classes": [],
1133
+ "_model_module": "@jupyter-widgets/controls",
1134
+ "_model_module_version": "1.5.0",
1135
+ "_model_name": "HTMLModel",
1136
+ "_view_count": null,
1137
+ "_view_module": "@jupyter-widgets/controls",
1138
+ "_view_module_version": "1.5.0",
1139
+ "_view_name": "HTMLView",
1140
+ "description": "",
1141
+ "description_tooltip": null,
1142
+ "layout": "IPY_MODEL_b7481b2e7dad4b4491c86e9b5d4fc082",
1143
+ "placeholder": "​",
1144
+ "style": "IPY_MODEL_46a7d5c190334718a6d786e96e14adc9",
1145
+ "value": "Downloading (…)solve/main/vocab.txt: 100%"
1146
+ }
1147
+ },
1148
+ "1dbac2441c5743dc8358dcd421844971": {
1149
+ "model_module": "@jupyter-widgets/controls",
1150
+ "model_name": "FloatProgressModel",
1151
+ "model_module_version": "1.5.0",
1152
+ "state": {
1153
+ "_dom_classes": [],
1154
+ "_model_module": "@jupyter-widgets/controls",
1155
+ "_model_module_version": "1.5.0",
1156
+ "_model_name": "FloatProgressModel",
1157
+ "_view_count": null,
1158
+ "_view_module": "@jupyter-widgets/controls",
1159
+ "_view_module_version": "1.5.0",
1160
+ "_view_name": "ProgressView",
1161
+ "bar_style": "success",
1162
+ "description": "",
1163
+ "description_tooltip": null,
1164
+ "layout": "IPY_MODEL_2e17ea86befe47d19abc6b3b40fccfe4",
1165
+ "max": 231508,
1166
+ "min": 0,
1167
+ "orientation": "horizontal",
1168
+ "style": "IPY_MODEL_94141f0ef5374572b85f01089ff9901f",
1169
+ "value": 231508
1170
+ }
1171
+ },
1172
+ "8154bfbe593d4e17899069bf261ecedc": {
1173
+ "model_module": "@jupyter-widgets/controls",
1174
+ "model_name": "HTMLModel",
1175
+ "model_module_version": "1.5.0",
1176
+ "state": {
1177
+ "_dom_classes": [],
1178
+ "_model_module": "@jupyter-widgets/controls",
1179
+ "_model_module_version": "1.5.0",
1180
+ "_model_name": "HTMLModel",
1181
+ "_view_count": null,
1182
+ "_view_module": "@jupyter-widgets/controls",
1183
+ "_view_module_version": "1.5.0",
1184
+ "_view_name": "HTMLView",
1185
+ "description": "",
1186
+ "description_tooltip": null,
1187
+ "layout": "IPY_MODEL_2e4175d4f6b24d04b0a62742aea404bb",
1188
+ "placeholder": "​",
1189
+ "style": "IPY_MODEL_d6ca5e34870444848083c75e75516d5a",
1190
+ "value": " 232k/232k [00:00&lt;00:00, 1.45MB/s]"
1191
+ }
1192
+ },
1193
+ "748786cbc5e945cbb2b3d5662e5c7b52": {
1194
+ "model_module": "@jupyter-widgets/base",
1195
+ "model_name": "LayoutModel",
1196
+ "model_module_version": "1.2.0",
1197
+ "state": {
1198
+ "_model_module": "@jupyter-widgets/base",
1199
+ "_model_module_version": "1.2.0",
1200
+ "_model_name": "LayoutModel",
1201
+ "_view_count": null,
1202
+ "_view_module": "@jupyter-widgets/base",
1203
+ "_view_module_version": "1.2.0",
1204
+ "_view_name": "LayoutView",
1205
+ "align_content": null,
1206
+ "align_items": null,
1207
+ "align_self": null,
1208
+ "border": null,
1209
+ "bottom": null,
1210
+ "display": null,
1211
+ "flex": null,
1212
+ "flex_flow": null,
1213
+ "grid_area": null,
1214
+ "grid_auto_columns": null,
1215
+ "grid_auto_flow": null,
1216
+ "grid_auto_rows": null,
1217
+ "grid_column": null,
1218
+ "grid_gap": null,
1219
+ "grid_row": null,
1220
+ "grid_template_areas": null,
1221
+ "grid_template_columns": null,
1222
+ "grid_template_rows": null,
1223
+ "height": null,
1224
+ "justify_content": null,
1225
+ "justify_items": null,
1226
+ "left": null,
1227
+ "margin": null,
1228
+ "max_height": null,
1229
+ "max_width": null,
1230
+ "min_height": null,
1231
+ "min_width": null,
1232
+ "object_fit": null,
1233
+ "object_position": null,
1234
+ "order": null,
1235
+ "overflow": null,
1236
+ "overflow_x": null,
1237
+ "overflow_y": null,
1238
+ "padding": null,
1239
+ "right": null,
1240
+ "top": null,
1241
+ "visibility": null,
1242
+ "width": null
1243
+ }
1244
+ },
1245
+ "b7481b2e7dad4b4491c86e9b5d4fc082": {
1246
+ "model_module": "@jupyter-widgets/base",
1247
+ "model_name": "LayoutModel",
1248
+ "model_module_version": "1.2.0",
1249
+ "state": {
1250
+ "_model_module": "@jupyter-widgets/base",
1251
+ "_model_module_version": "1.2.0",
1252
+ "_model_name": "LayoutModel",
1253
+ "_view_count": null,
1254
+ "_view_module": "@jupyter-widgets/base",
1255
+ "_view_module_version": "1.2.0",
1256
+ "_view_name": "LayoutView",
1257
+ "align_content": null,
1258
+ "align_items": null,
1259
+ "align_self": null,
1260
+ "border": null,
1261
+ "bottom": null,
1262
+ "display": null,
1263
+ "flex": null,
1264
+ "flex_flow": null,
1265
+ "grid_area": null,
1266
+ "grid_auto_columns": null,
1267
+ "grid_auto_flow": null,
1268
+ "grid_auto_rows": null,
1269
+ "grid_column": null,
1270
+ "grid_gap": null,
1271
+ "grid_row": null,
1272
+ "grid_template_areas": null,
1273
+ "grid_template_columns": null,
1274
+ "grid_template_rows": null,
1275
+ "height": null,
1276
+ "justify_content": null,
1277
+ "justify_items": null,
1278
+ "left": null,
1279
+ "margin": null,
1280
+ "max_height": null,
1281
+ "max_width": null,
1282
+ "min_height": null,
1283
+ "min_width": null,
1284
+ "object_fit": null,
1285
+ "object_position": null,
1286
+ "order": null,
1287
+ "overflow": null,
1288
+ "overflow_x": null,
1289
+ "overflow_y": null,
1290
+ "padding": null,
1291
+ "right": null,
1292
+ "top": null,
1293
+ "visibility": null,
1294
+ "width": null
1295
+ }
1296
+ },
1297
+ "46a7d5c190334718a6d786e96e14adc9": {
1298
+ "model_module": "@jupyter-widgets/controls",
1299
+ "model_name": "DescriptionStyleModel",
1300
+ "model_module_version": "1.5.0",
1301
+ "state": {
1302
+ "_model_module": "@jupyter-widgets/controls",
1303
+ "_model_module_version": "1.5.0",
1304
+ "_model_name": "DescriptionStyleModel",
1305
+ "_view_count": null,
1306
+ "_view_module": "@jupyter-widgets/base",
1307
+ "_view_module_version": "1.2.0",
1308
+ "_view_name": "StyleView",
1309
+ "description_width": ""
1310
+ }
1311
+ },
1312
+ "2e17ea86befe47d19abc6b3b40fccfe4": {
1313
+ "model_module": "@jupyter-widgets/base",
1314
+ "model_name": "LayoutModel",
1315
+ "model_module_version": "1.2.0",
1316
+ "state": {
1317
+ "_model_module": "@jupyter-widgets/base",
1318
+ "_model_module_version": "1.2.0",
1319
+ "_model_name": "LayoutModel",
1320
+ "_view_count": null,
1321
+ "_view_module": "@jupyter-widgets/base",
1322
+ "_view_module_version": "1.2.0",
1323
+ "_view_name": "LayoutView",
1324
+ "align_content": null,
1325
+ "align_items": null,
1326
+ "align_self": null,
1327
+ "border": null,
1328
+ "bottom": null,
1329
+ "display": null,
1330
+ "flex": null,
1331
+ "flex_flow": null,
1332
+ "grid_area": null,
1333
+ "grid_auto_columns": null,
1334
+ "grid_auto_flow": null,
1335
+ "grid_auto_rows": null,
1336
+ "grid_column": null,
1337
+ "grid_gap": null,
1338
+ "grid_row": null,
1339
+ "grid_template_areas": null,
1340
+ "grid_template_columns": null,
1341
+ "grid_template_rows": null,
1342
+ "height": null,
1343
+ "justify_content": null,
1344
+ "justify_items": null,
1345
+ "left": null,
1346
+ "margin": null,
1347
+ "max_height": null,
1348
+ "max_width": null,
1349
+ "min_height": null,
1350
+ "min_width": null,
1351
+ "object_fit": null,
1352
+ "object_position": null,
1353
+ "order": null,
1354
+ "overflow": null,
1355
+ "overflow_x": null,
1356
+ "overflow_y": null,
1357
+ "padding": null,
1358
+ "right": null,
1359
+ "top": null,
1360
+ "visibility": null,
1361
+ "width": null
1362
+ }
1363
+ },
1364
+ "94141f0ef5374572b85f01089ff9901f": {
1365
+ "model_module": "@jupyter-widgets/controls",
1366
+ "model_name": "ProgressStyleModel",
1367
+ "model_module_version": "1.5.0",
1368
+ "state": {
1369
+ "_model_module": "@jupyter-widgets/controls",
1370
+ "_model_module_version": "1.5.0",
1371
+ "_model_name": "ProgressStyleModel",
1372
+ "_view_count": null,
1373
+ "_view_module": "@jupyter-widgets/base",
1374
+ "_view_module_version": "1.2.0",
1375
+ "_view_name": "StyleView",
1376
+ "bar_color": null,
1377
+ "description_width": ""
1378
+ }
1379
+ },
1380
+ "2e4175d4f6b24d04b0a62742aea404bb": {
1381
+ "model_module": "@jupyter-widgets/base",
1382
+ "model_name": "LayoutModel",
1383
+ "model_module_version": "1.2.0",
1384
+ "state": {
1385
+ "_model_module": "@jupyter-widgets/base",
1386
+ "_model_module_version": "1.2.0",
1387
+ "_model_name": "LayoutModel",
1388
+ "_view_count": null,
1389
+ "_view_module": "@jupyter-widgets/base",
1390
+ "_view_module_version": "1.2.0",
1391
+ "_view_name": "LayoutView",
1392
+ "align_content": null,
1393
+ "align_items": null,
1394
+ "align_self": null,
1395
+ "border": null,
1396
+ "bottom": null,
1397
+ "display": null,
1398
+ "flex": null,
1399
+ "flex_flow": null,
1400
+ "grid_area": null,
1401
+ "grid_auto_columns": null,
1402
+ "grid_auto_flow": null,
1403
+ "grid_auto_rows": null,
1404
+ "grid_column": null,
1405
+ "grid_gap": null,
1406
+ "grid_row": null,
1407
+ "grid_template_areas": null,
1408
+ "grid_template_columns": null,
1409
+ "grid_template_rows": null,
1410
+ "height": null,
1411
+ "justify_content": null,
1412
+ "justify_items": null,
1413
+ "left": null,
1414
+ "margin": null,
1415
+ "max_height": null,
1416
+ "max_width": null,
1417
+ "min_height": null,
1418
+ "min_width": null,
1419
+ "object_fit": null,
1420
+ "object_position": null,
1421
+ "order": null,
1422
+ "overflow": null,
1423
+ "overflow_x": null,
1424
+ "overflow_y": null,
1425
+ "padding": null,
1426
+ "right": null,
1427
+ "top": null,
1428
+ "visibility": null,
1429
+ "width": null
1430
+ }
1431
+ },
1432
+ "d6ca5e34870444848083c75e75516d5a": {
1433
+ "model_module": "@jupyter-widgets/controls",
1434
+ "model_name": "DescriptionStyleModel",
1435
+ "model_module_version": "1.5.0",
1436
+ "state": {
1437
+ "_model_module": "@jupyter-widgets/controls",
1438
+ "_model_module_version": "1.5.0",
1439
+ "_model_name": "DescriptionStyleModel",
1440
+ "_view_count": null,
1441
+ "_view_module": "@jupyter-widgets/base",
1442
+ "_view_module_version": "1.2.0",
1443
+ "_view_name": "StyleView",
1444
+ "description_width": ""
1445
+ }
1446
+ },
1447
+ "ce3dd215ffc04932a8bbf1bc722573b5": {
1448
+ "model_module": "@jupyter-widgets/controls",
1449
+ "model_name": "HBoxModel",
1450
+ "model_module_version": "1.5.0",
1451
+ "state": {
1452
+ "_dom_classes": [],
1453
+ "_model_module": "@jupyter-widgets/controls",
1454
+ "_model_module_version": "1.5.0",
1455
+ "_model_name": "HBoxModel",
1456
+ "_view_count": null,
1457
+ "_view_module": "@jupyter-widgets/controls",
1458
+ "_view_module_version": "1.5.0",
1459
+ "_view_name": "HBoxView",
1460
+ "box_style": "",
1461
+ "children": [
1462
+ "IPY_MODEL_0c6b5f1167b64b86a218de01571a834a",
1463
+ "IPY_MODEL_a559f55b93c54f5da149938f364f3d0f",
1464
+ "IPY_MODEL_4f815b17eb98443baba91cc81c8e062d"
1465
+ ],
1466
+ "layout": "IPY_MODEL_bd7626146d9e4e66bdc67e006abe604c"
1467
+ }
1468
+ },
1469
+ "0c6b5f1167b64b86a218de01571a834a": {
1470
+ "model_module": "@jupyter-widgets/controls",
1471
+ "model_name": "HTMLModel",
1472
+ "model_module_version": "1.5.0",
1473
+ "state": {
1474
+ "_dom_classes": [],
1475
+ "_model_module": "@jupyter-widgets/controls",
1476
+ "_model_module_version": "1.5.0",
1477
+ "_model_name": "HTMLModel",
1478
+ "_view_count": null,
1479
+ "_view_module": "@jupyter-widgets/controls",
1480
+ "_view_module_version": "1.5.0",
1481
+ "_view_name": "HTMLView",
1482
+ "description": "",
1483
+ "description_tooltip": null,
1484
+ "layout": "IPY_MODEL_c6158847d12b4fc3bd44f2793eea55b6",
1485
+ "placeholder": "​",
1486
+ "style": "IPY_MODEL_a498708a4a6d4376878e8ef473df222c",
1487
+ "value": "Downloading model.safetensors: 100%"
1488
+ }
1489
+ },
1490
+ "a559f55b93c54f5da149938f364f3d0f": {
1491
+ "model_module": "@jupyter-widgets/controls",
1492
+ "model_name": "FloatProgressModel",
1493
+ "model_module_version": "1.5.0",
1494
+ "state": {
1495
+ "_dom_classes": [],
1496
+ "_model_module": "@jupyter-widgets/controls",
1497
+ "_model_module_version": "1.5.0",
1498
+ "_model_name": "FloatProgressModel",
1499
+ "_view_count": null,
1500
+ "_view_module": "@jupyter-widgets/controls",
1501
+ "_view_module_version": "1.5.0",
1502
+ "_view_name": "ProgressView",
1503
+ "bar_style": "success",
1504
+ "description": "",
1505
+ "description_tooltip": null,
1506
+ "layout": "IPY_MODEL_7ae3d18def4547939cccfe50f5e531c1",
1507
+ "max": 267832558,
1508
+ "min": 0,
1509
+ "orientation": "horizontal",
1510
+ "style": "IPY_MODEL_eb3af9dc2af8486ab43534a7298ce725",
1511
+ "value": 267832558
1512
+ }
1513
+ },
1514
+ "4f815b17eb98443baba91cc81c8e062d": {
1515
+ "model_module": "@jupyter-widgets/controls",
1516
+ "model_name": "HTMLModel",
1517
+ "model_module_version": "1.5.0",
1518
+ "state": {
1519
+ "_dom_classes": [],
1520
+ "_model_module": "@jupyter-widgets/controls",
1521
+ "_model_module_version": "1.5.0",
1522
+ "_model_name": "HTMLModel",
1523
+ "_view_count": null,
1524
+ "_view_module": "@jupyter-widgets/controls",
1525
+ "_view_module_version": "1.5.0",
1526
+ "_view_name": "HTMLView",
1527
+ "description": "",
1528
+ "description_tooltip": null,
1529
+ "layout": "IPY_MODEL_75d7054c234e45f191ecc7ed00f74928",
1530
+ "placeholder": "​",
1531
+ "style": "IPY_MODEL_79cb34563b2f407794d763f0cd14dc51",
1532
+ "value": " 268M/268M [00:01&lt;00:00, 149MB/s]"
1533
+ }
1534
+ },
1535
+ "bd7626146d9e4e66bdc67e006abe604c": {
1536
+ "model_module": "@jupyter-widgets/base",
1537
+ "model_name": "LayoutModel",
1538
+ "model_module_version": "1.2.0",
1539
+ "state": {
1540
+ "_model_module": "@jupyter-widgets/base",
1541
+ "_model_module_version": "1.2.0",
1542
+ "_model_name": "LayoutModel",
1543
+ "_view_count": null,
1544
+ "_view_module": "@jupyter-widgets/base",
1545
+ "_view_module_version": "1.2.0",
1546
+ "_view_name": "LayoutView",
1547
+ "align_content": null,
1548
+ "align_items": null,
1549
+ "align_self": null,
1550
+ "border": null,
1551
+ "bottom": null,
1552
+ "display": null,
1553
+ "flex": null,
1554
+ "flex_flow": null,
1555
+ "grid_area": null,
1556
+ "grid_auto_columns": null,
1557
+ "grid_auto_flow": null,
1558
+ "grid_auto_rows": null,
1559
+ "grid_column": null,
1560
+ "grid_gap": null,
1561
+ "grid_row": null,
1562
+ "grid_template_areas": null,
1563
+ "grid_template_columns": null,
1564
+ "grid_template_rows": null,
1565
+ "height": null,
1566
+ "justify_content": null,
1567
+ "justify_items": null,
1568
+ "left": null,
1569
+ "margin": null,
1570
+ "max_height": null,
1571
+ "max_width": null,
1572
+ "min_height": null,
1573
+ "min_width": null,
1574
+ "object_fit": null,
1575
+ "object_position": null,
1576
+ "order": null,
1577
+ "overflow": null,
1578
+ "overflow_x": null,
1579
+ "overflow_y": null,
1580
+ "padding": null,
1581
+ "right": null,
1582
+ "top": null,
1583
+ "visibility": null,
1584
+ "width": null
1585
+ }
1586
+ },
1587
+ "c6158847d12b4fc3bd44f2793eea55b6": {
1588
+ "model_module": "@jupyter-widgets/base",
1589
+ "model_name": "LayoutModel",
1590
+ "model_module_version": "1.2.0",
1591
+ "state": {
1592
+ "_model_module": "@jupyter-widgets/base",
1593
+ "_model_module_version": "1.2.0",
1594
+ "_model_name": "LayoutModel",
1595
+ "_view_count": null,
1596
+ "_view_module": "@jupyter-widgets/base",
1597
+ "_view_module_version": "1.2.0",
1598
+ "_view_name": "LayoutView",
1599
+ "align_content": null,
1600
+ "align_items": null,
1601
+ "align_self": null,
1602
+ "border": null,
1603
+ "bottom": null,
1604
+ "display": null,
1605
+ "flex": null,
1606
+ "flex_flow": null,
1607
+ "grid_area": null,
1608
+ "grid_auto_columns": null,
1609
+ "grid_auto_flow": null,
1610
+ "grid_auto_rows": null,
1611
+ "grid_column": null,
1612
+ "grid_gap": null,
1613
+ "grid_row": null,
1614
+ "grid_template_areas": null,
1615
+ "grid_template_columns": null,
1616
+ "grid_template_rows": null,
1617
+ "height": null,
1618
+ "justify_content": null,
1619
+ "justify_items": null,
1620
+ "left": null,
1621
+ "margin": null,
1622
+ "max_height": null,
1623
+ "max_width": null,
1624
+ "min_height": null,
1625
+ "min_width": null,
1626
+ "object_fit": null,
1627
+ "object_position": null,
1628
+ "order": null,
1629
+ "overflow": null,
1630
+ "overflow_x": null,
1631
+ "overflow_y": null,
1632
+ "padding": null,
1633
+ "right": null,
1634
+ "top": null,
1635
+ "visibility": null,
1636
+ "width": null
1637
+ }
1638
+ },
1639
+ "a498708a4a6d4376878e8ef473df222c": {
1640
+ "model_module": "@jupyter-widgets/controls",
1641
+ "model_name": "DescriptionStyleModel",
1642
+ "model_module_version": "1.5.0",
1643
+ "state": {
1644
+ "_model_module": "@jupyter-widgets/controls",
1645
+ "_model_module_version": "1.5.0",
1646
+ "_model_name": "DescriptionStyleModel",
1647
+ "_view_count": null,
1648
+ "_view_module": "@jupyter-widgets/base",
1649
+ "_view_module_version": "1.2.0",
1650
+ "_view_name": "StyleView",
1651
+ "description_width": ""
1652
+ }
1653
+ },
1654
+ "7ae3d18def4547939cccfe50f5e531c1": {
1655
+ "model_module": "@jupyter-widgets/base",
1656
+ "model_name": "LayoutModel",
1657
+ "model_module_version": "1.2.0",
1658
+ "state": {
1659
+ "_model_module": "@jupyter-widgets/base",
1660
+ "_model_module_version": "1.2.0",
1661
+ "_model_name": "LayoutModel",
1662
+ "_view_count": null,
1663
+ "_view_module": "@jupyter-widgets/base",
1664
+ "_view_module_version": "1.2.0",
1665
+ "_view_name": "LayoutView",
1666
+ "align_content": null,
1667
+ "align_items": null,
1668
+ "align_self": null,
1669
+ "border": null,
1670
+ "bottom": null,
1671
+ "display": null,
1672
+ "flex": null,
1673
+ "flex_flow": null,
1674
+ "grid_area": null,
1675
+ "grid_auto_columns": null,
1676
+ "grid_auto_flow": null,
1677
+ "grid_auto_rows": null,
1678
+ "grid_column": null,
1679
+ "grid_gap": null,
1680
+ "grid_row": null,
1681
+ "grid_template_areas": null,
1682
+ "grid_template_columns": null,
1683
+ "grid_template_rows": null,
1684
+ "height": null,
1685
+ "justify_content": null,
1686
+ "justify_items": null,
1687
+ "left": null,
1688
+ "margin": null,
1689
+ "max_height": null,
1690
+ "max_width": null,
1691
+ "min_height": null,
1692
+ "min_width": null,
1693
+ "object_fit": null,
1694
+ "object_position": null,
1695
+ "order": null,
1696
+ "overflow": null,
1697
+ "overflow_x": null,
1698
+ "overflow_y": null,
1699
+ "padding": null,
1700
+ "right": null,
1701
+ "top": null,
1702
+ "visibility": null,
1703
+ "width": null
1704
+ }
1705
+ },
1706
+ "eb3af9dc2af8486ab43534a7298ce725": {
1707
+ "model_module": "@jupyter-widgets/controls",
1708
+ "model_name": "ProgressStyleModel",
1709
+ "model_module_version": "1.5.0",
1710
+ "state": {
1711
+ "_model_module": "@jupyter-widgets/controls",
1712
+ "_model_module_version": "1.5.0",
1713
+ "_model_name": "ProgressStyleModel",
1714
+ "_view_count": null,
1715
+ "_view_module": "@jupyter-widgets/base",
1716
+ "_view_module_version": "1.2.0",
1717
+ "_view_name": "StyleView",
1718
+ "bar_color": null,
1719
+ "description_width": ""
1720
+ }
1721
+ },
1722
+ "75d7054c234e45f191ecc7ed00f74928": {
1723
+ "model_module": "@jupyter-widgets/base",
1724
+ "model_name": "LayoutModel",
1725
+ "model_module_version": "1.2.0",
1726
+ "state": {
1727
+ "_model_module": "@jupyter-widgets/base",
1728
+ "_model_module_version": "1.2.0",
1729
+ "_model_name": "LayoutModel",
1730
+ "_view_count": null,
1731
+ "_view_module": "@jupyter-widgets/base",
1732
+ "_view_module_version": "1.2.0",
1733
+ "_view_name": "LayoutView",
1734
+ "align_content": null,
1735
+ "align_items": null,
1736
+ "align_self": null,
1737
+ "border": null,
1738
+ "bottom": null,
1739
+ "display": null,
1740
+ "flex": null,
1741
+ "flex_flow": null,
1742
+ "grid_area": null,
1743
+ "grid_auto_columns": null,
1744
+ "grid_auto_flow": null,
1745
+ "grid_auto_rows": null,
1746
+ "grid_column": null,
1747
+ "grid_gap": null,
1748
+ "grid_row": null,
1749
+ "grid_template_areas": null,
1750
+ "grid_template_columns": null,
1751
+ "grid_template_rows": null,
1752
+ "height": null,
1753
+ "justify_content": null,
1754
+ "justify_items": null,
1755
+ "left": null,
1756
+ "margin": null,
1757
+ "max_height": null,
1758
+ "max_width": null,
1759
+ "min_height": null,
1760
+ "min_width": null,
1761
+ "object_fit": null,
1762
+ "object_position": null,
1763
+ "order": null,
1764
+ "overflow": null,
1765
+ "overflow_x": null,
1766
+ "overflow_y": null,
1767
+ "padding": null,
1768
+ "right": null,
1769
+ "top": null,
1770
+ "visibility": null,
1771
+ "width": null
1772
+ }
1773
+ },
1774
+ "79cb34563b2f407794d763f0cd14dc51": {
1775
+ "model_module": "@jupyter-widgets/controls",
1776
+ "model_name": "DescriptionStyleModel",
1777
+ "model_module_version": "1.5.0",
1778
+ "state": {
1779
+ "_model_module": "@jupyter-widgets/controls",
1780
+ "_model_module_version": "1.5.0",
1781
+ "_model_name": "DescriptionStyleModel",
1782
+ "_view_count": null,
1783
+ "_view_module": "@jupyter-widgets/base",
1784
+ "_view_module_version": "1.2.0",
1785
+ "_view_name": "StyleView",
1786
+ "description_width": ""
1787
+ }
1788
+ }
1789
+ }
1790
+ }
1791
+ },
1792
+ "nbformat": 4,
1793
+ "nbformat_minor": 0
1794
+ }