dreamboat26 commited on
Commit
a4b27b7
1 Parent(s): 6adbd3c

First commit

Browse files
Files changed (1) hide show
  1. Behind_the_pipeline_(TensorFlow).ipynb +1871 -0
Behind_the_pipeline_(TensorFlow).ipynb ADDED
@@ -0,0 +1,1871 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "markdown",
5
+ "metadata": {
6
+ "id": "2T7NJZfdhoWW"
7
+ },
8
+ "source": [
9
+ "# Behind the pipeline (TensorFlow)"
10
+ ]
11
+ },
12
+ {
13
+ "cell_type": "markdown",
14
+ "metadata": {
15
+ "id": "JOopAyZ7hoXH"
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": "3rss__JGhoXc",
26
+ "outputId": "d5d97fb3-482b-4db5-afb0-e10da55c7e36",
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[?25l \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m0.0/519.3 kB\u001b[0m \u001b[31m?\u001b[0m eta \u001b[36m-:--:--\u001b[0m\r\u001b[2K \u001b[91m━━━━━━━\u001b[0m\u001b[90m╺\u001b[0m\u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m92.2/519.3 kB\u001b[0m \u001b[31m2.6 MB/s\u001b[0m eta \u001b[36m0:00:01\u001b[0m\r\u001b[2K \u001b[91m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[90m╺\u001b[0m\u001b[90m━━━━━━\u001b[0m \u001b[32m430.1/519.3 kB\u001b[0m \u001b[31m6.2 MB/s\u001b[0m eta \u001b[36m0:00:01\u001b[0m\r\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m519.3/519.3 kB\u001b[0m \u001b[31m5.9 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[31m8.5 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[31m20.3 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[31m18.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[31m13.8 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[31m22.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[31m40.9 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[31m39.4 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[31m52.5 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": "YqRRfwGHhoXf",
108
+ "outputId": "feec460a-3074-45e4-f481-600ca1a098a2",
109
+ "colab": {
110
+ "base_uri": "https://localhost:8080/",
111
+ "height": 236,
112
+ "referenced_widgets": [
113
+ "b05ce34a731f475b82f1058bdc99cfcc",
114
+ "46d929b42a3d4ba18e6b83afe46701ce",
115
+ "9171cb3a30a746e6990bac2b95505a96",
116
+ "1ba6c6d9f29a4145ad0f3b5a90977a5e",
117
+ "ba0ebb2298a743f3bd53475301c651c6",
118
+ "fe77a4c8a0664255b587ad7287f6dc6d",
119
+ "3ccd1bc60709464681c1bbcc468764c5",
120
+ "ec61aac14a8d4a7088abb54e868a0251",
121
+ "1e30ac4253c040e4b8d4500e7a659d2c",
122
+ "1432fa061a564e79bfcf56c27109f508",
123
+ "a8a75cb4f04440279516779860a5ae00",
124
+ "4bbcbf0d4fb24f5e99ca8a03717c3d5f",
125
+ "42d447ce7fe545eabb711a134445c350",
126
+ "3e880e027d414dff8d139778aaa0eae3",
127
+ "bac5e2c3dda945588f90adcb9eadbed1",
128
+ "c2136d488a8d49d79631fd6428c31e50",
129
+ "2010214d42df46dd83b33a929e741128",
130
+ "73f6e6b98e474b099f0c6a4cd26b0a00",
131
+ "8658297ad3a34f02ad98d70c3746f2a2",
132
+ "933c6975cd80401ca0c023ca124db31c",
133
+ "4eb2661f41a74b3a9ef0b2223f1c1c50",
134
+ "51f7d6ee64484f6784b97310444c0d5e",
135
+ "02153f3a73bf43ee87914b771c992d9e",
136
+ "0ff4154d747c42978bfb0e5e3b02ab60",
137
+ "9d894c08b750434f87ebf40eb3e5ea91",
138
+ "53b3550d18274aee9834ce9e5674d655",
139
+ "c7e322aee0314d8fbcf337e0251911d5",
140
+ "19baa5d8e33c4dfbacf933f743646283",
141
+ "602d7702734b45eeb01c7807c009a69c",
142
+ "2d7a852a1a5940c4afeb6c980bb50f80",
143
+ "8ab40d385f8e49bd9e0cde4ff29ea88d",
144
+ "b612aca176284b689411f9526aaee4ef",
145
+ "64f9ba01f23744cda950628ce1d1776a",
146
+ "7533d49ee65b4eb7b5206147f382550f",
147
+ "88f1ccbbf0764ca586cd557f903ac058",
148
+ "66b0134d23074d9ea7569ad20c784b28",
149
+ "99b0e9157fab458198487cce8691fe81",
150
+ "ef8c8c3fbef94735a607722a942e04f8",
151
+ "76d11ab5050f48deba16d6b9aa0d0568",
152
+ "ec960adde27b4e438a09803642fc71a8",
153
+ "4a18ceac740040b6a221c39481a09636",
154
+ "db80ce3109354c55a8356840e0f071e7",
155
+ "5142db656cab4b7d9ad246a2b363f708",
156
+ "13623bd3096d45af83ef339474b4357f"
157
+ ]
158
+ }
159
+ },
160
+ "outputs": [
161
+ {
162
+ "output_type": "stream",
163
+ "name": "stderr",
164
+ "text": [
165
+ "No model was supplied, defaulted to distilbert-base-uncased-finetuned-sst-2-english and revision af0f99b (https://huggingface.co/distilbert-base-uncased-finetuned-sst-2-english).\n",
166
+ "Using a pipeline without specifying a model name and revision in production is not recommended.\n"
167
+ ]
168
+ },
169
+ {
170
+ "output_type": "display_data",
171
+ "data": {
172
+ "text/plain": [
173
+ "Downloading (…)lve/main/config.json: 0%| | 0.00/629 [00:00<?, ?B/s]"
174
+ ],
175
+ "application/vnd.jupyter.widget-view+json": {
176
+ "version_major": 2,
177
+ "version_minor": 0,
178
+ "model_id": "b05ce34a731f475b82f1058bdc99cfcc"
179
+ }
180
+ },
181
+ "metadata": {}
182
+ },
183
+ {
184
+ "output_type": "display_data",
185
+ "data": {
186
+ "text/plain": [
187
+ "Downloading model.safetensors: 0%| | 0.00/268M [00:00<?, ?B/s]"
188
+ ],
189
+ "application/vnd.jupyter.widget-view+json": {
190
+ "version_major": 2,
191
+ "version_minor": 0,
192
+ "model_id": "4bbcbf0d4fb24f5e99ca8a03717c3d5f"
193
+ }
194
+ },
195
+ "metadata": {}
196
+ },
197
+ {
198
+ "output_type": "display_data",
199
+ "data": {
200
+ "text/plain": [
201
+ "Downloading (…)okenizer_config.json: 0%| | 0.00/48.0 [00:00<?, ?B/s]"
202
+ ],
203
+ "application/vnd.jupyter.widget-view+json": {
204
+ "version_major": 2,
205
+ "version_minor": 0,
206
+ "model_id": "02153f3a73bf43ee87914b771c992d9e"
207
+ }
208
+ },
209
+ "metadata": {}
210
+ },
211
+ {
212
+ "output_type": "display_data",
213
+ "data": {
214
+ "text/plain": [
215
+ "Downloading (…)solve/main/vocab.txt: 0%| | 0.00/232k [00:00<?, ?B/s]"
216
+ ],
217
+ "application/vnd.jupyter.widget-view+json": {
218
+ "version_major": 2,
219
+ "version_minor": 0,
220
+ "model_id": "7533d49ee65b4eb7b5206147f382550f"
221
+ }
222
+ },
223
+ "metadata": {}
224
+ },
225
+ {
226
+ "output_type": "execute_result",
227
+ "data": {
228
+ "text/plain": [
229
+ "[{'label': 'POSITIVE', 'score': 0.9598048329353333},\n",
230
+ " {'label': 'NEGATIVE', 'score': 0.9994558691978455}]"
231
+ ]
232
+ },
233
+ "metadata": {},
234
+ "execution_count": 2
235
+ }
236
+ ],
237
+ "source": [
238
+ "from transformers import pipeline\n",
239
+ "\n",
240
+ "classifier = pipeline(\"sentiment-analysis\")\n",
241
+ "classifier(\n",
242
+ " [\n",
243
+ " \"I've been waiting for a HuggingFace course my whole life.\",\n",
244
+ " \"I hate this so much!\",\n",
245
+ " ]\n",
246
+ ")"
247
+ ]
248
+ },
249
+ {
250
+ "cell_type": "code",
251
+ "execution_count": 3,
252
+ "metadata": {
253
+ "id": "2rlR988LhoXi"
254
+ },
255
+ "outputs": [],
256
+ "source": [
257
+ "from transformers import AutoTokenizer\n",
258
+ "\n",
259
+ "checkpoint = \"distilbert-base-uncased-finetuned-sst-2-english\"\n",
260
+ "tokenizer = AutoTokenizer.from_pretrained(checkpoint)"
261
+ ]
262
+ },
263
+ {
264
+ "cell_type": "code",
265
+ "execution_count": 4,
266
+ "metadata": {
267
+ "id": "d-lYVpEIhoXn",
268
+ "outputId": "7729b785-e6b1-4553-d864-1c7781fd892a",
269
+ "colab": {
270
+ "base_uri": "https://localhost:8080/"
271
+ }
272
+ },
273
+ "outputs": [
274
+ {
275
+ "output_type": "stream",
276
+ "name": "stdout",
277
+ "text": [
278
+ "{'input_ids': <tf.Tensor: shape=(2, 16), dtype=int32, numpy=\n",
279
+ "array([[ 101, 1045, 1005, 2310, 2042, 3403, 2005, 1037, 17662,\n",
280
+ " 12172, 2607, 2026, 2878, 2166, 1012, 102],\n",
281
+ " [ 101, 1045, 5223, 2023, 2061, 2172, 999, 102, 0,\n",
282
+ " 0, 0, 0, 0, 0, 0, 0]], dtype=int32)>, 'attention_mask': <tf.Tensor: shape=(2, 16), dtype=int32, numpy=\n",
283
+ "array([[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],\n",
284
+ " [1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0]], dtype=int32)>}\n"
285
+ ]
286
+ }
287
+ ],
288
+ "source": [
289
+ "raw_inputs = [\n",
290
+ " \"I've been waiting for a HuggingFace course my whole life.\",\n",
291
+ " \"I hate this so much!\",\n",
292
+ "]\n",
293
+ "inputs = tokenizer(raw_inputs, padding=True, truncation=True, return_tensors=\"tf\")\n",
294
+ "print(inputs)"
295
+ ]
296
+ },
297
+ {
298
+ "cell_type": "code",
299
+ "execution_count": 5,
300
+ "metadata": {
301
+ "id": "QRk2owv8hoXp",
302
+ "outputId": "7a4d297e-fac3-4f96-fdf3-539e64c105e1",
303
+ "colab": {
304
+ "base_uri": "https://localhost:8080/"
305
+ }
306
+ },
307
+ "outputs": [
308
+ {
309
+ "output_type": "stream",
310
+ "name": "stderr",
311
+ "text": [
312
+ "Some weights of the PyTorch model were not used when initializing the TF 2.0 model TFDistilBertModel: ['classifier.weight', 'pre_classifier.weight', 'classifier.bias', 'pre_classifier.bias']\n",
313
+ "- This IS expected if you are initializing TFDistilBertModel from a PyTorch model trained on another task or with another architecture (e.g. initializing a TFBertForSequenceClassification model from a BertForPreTraining model).\n",
314
+ "- This IS NOT expected if you are initializing TFDistilBertModel from a PyTorch model that you expect to be exactly identical (e.g. initializing a TFBertForSequenceClassification model from a BertForSequenceClassification model).\n",
315
+ "All the weights of TFDistilBertModel were initialized from the PyTorch model.\n",
316
+ "If your task is similar to the task the model of the checkpoint was trained on, you can already use TFDistilBertModel for predictions without further training.\n"
317
+ ]
318
+ }
319
+ ],
320
+ "source": [
321
+ "from transformers import TFAutoModel\n",
322
+ "\n",
323
+ "checkpoint = \"distilbert-base-uncased-finetuned-sst-2-english\"\n",
324
+ "model = TFAutoModel.from_pretrained(checkpoint)"
325
+ ]
326
+ },
327
+ {
328
+ "cell_type": "code",
329
+ "execution_count": 6,
330
+ "metadata": {
331
+ "id": "i56DUrQZhoXq",
332
+ "outputId": "c988ad63-2b9e-406a-f328-01f006a9edbb",
333
+ "colab": {
334
+ "base_uri": "https://localhost:8080/"
335
+ }
336
+ },
337
+ "outputs": [
338
+ {
339
+ "output_type": "stream",
340
+ "name": "stdout",
341
+ "text": [
342
+ "(2, 16, 768)\n"
343
+ ]
344
+ }
345
+ ],
346
+ "source": [
347
+ "outputs = model(inputs)\n",
348
+ "print(outputs.last_hidden_state.shape)"
349
+ ]
350
+ },
351
+ {
352
+ "cell_type": "code",
353
+ "execution_count": 7,
354
+ "metadata": {
355
+ "id": "Bd8y41EehoXt",
356
+ "outputId": "fdac52f9-d928-4d00-f800-e1da73238094",
357
+ "colab": {
358
+ "base_uri": "https://localhost:8080/"
359
+ }
360
+ },
361
+ "outputs": [
362
+ {
363
+ "output_type": "stream",
364
+ "name": "stderr",
365
+ "text": [
366
+ "All PyTorch model weights were used when initializing TFDistilBertForSequenceClassification.\n",
367
+ "\n",
368
+ "All the weights of TFDistilBertForSequenceClassification were initialized from the PyTorch model.\n",
369
+ "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"
370
+ ]
371
+ }
372
+ ],
373
+ "source": [
374
+ "from transformers import TFAutoModelForSequenceClassification\n",
375
+ "\n",
376
+ "checkpoint = \"distilbert-base-uncased-finetuned-sst-2-english\"\n",
377
+ "model = TFAutoModelForSequenceClassification.from_pretrained(checkpoint)\n",
378
+ "outputs = model(inputs)"
379
+ ]
380
+ },
381
+ {
382
+ "cell_type": "code",
383
+ "execution_count": 8,
384
+ "metadata": {
385
+ "id": "HOrL6t_9hoXw",
386
+ "outputId": "0c5ad55c-466d-4f0f-afef-27745d7ff7da",
387
+ "colab": {
388
+ "base_uri": "https://localhost:8080/"
389
+ }
390
+ },
391
+ "outputs": [
392
+ {
393
+ "output_type": "stream",
394
+ "name": "stdout",
395
+ "text": [
396
+ "(2, 2)\n"
397
+ ]
398
+ }
399
+ ],
400
+ "source": [
401
+ "print(outputs.logits.shape)"
402
+ ]
403
+ },
404
+ {
405
+ "cell_type": "code",
406
+ "execution_count": 9,
407
+ "metadata": {
408
+ "id": "IDzFalBVhoXx",
409
+ "outputId": "dce5305b-60b2-484c-f7af-b1a65cea476d",
410
+ "colab": {
411
+ "base_uri": "https://localhost:8080/"
412
+ }
413
+ },
414
+ "outputs": [
415
+ {
416
+ "output_type": "stream",
417
+ "name": "stdout",
418
+ "text": [
419
+ "tf.Tensor(\n",
420
+ "[[-1.5606955 1.6122805]\n",
421
+ " [ 4.169232 -3.3464477]], shape=(2, 2), dtype=float32)\n"
422
+ ]
423
+ }
424
+ ],
425
+ "source": [
426
+ "print(outputs.logits)"
427
+ ]
428
+ },
429
+ {
430
+ "cell_type": "code",
431
+ "execution_count": 10,
432
+ "metadata": {
433
+ "id": "9q5VZ8BdhoXz",
434
+ "outputId": "154f40fc-89cf-493c-cf93-34c11c43c6be",
435
+ "colab": {
436
+ "base_uri": "https://localhost:8080/"
437
+ }
438
+ },
439
+ "outputs": [
440
+ {
441
+ "output_type": "stream",
442
+ "name": "stdout",
443
+ "text": [
444
+ "tf.Tensor(\n",
445
+ "[[4.0195443e-02 9.5980453e-01]\n",
446
+ " [9.9945587e-01 5.4418371e-04]], shape=(2, 2), dtype=float32)\n"
447
+ ]
448
+ }
449
+ ],
450
+ "source": [
451
+ "import tensorflow as tf\n",
452
+ "\n",
453
+ "predictions = tf.math.softmax(outputs.logits, axis=-1)\n",
454
+ "print(predictions)"
455
+ ]
456
+ },
457
+ {
458
+ "cell_type": "code",
459
+ "execution_count": 11,
460
+ "metadata": {
461
+ "id": "5UngefnwhoX0",
462
+ "outputId": "44114e0b-d4ac-4bc1-a0a3-8ff13dc27e75",
463
+ "colab": {
464
+ "base_uri": "https://localhost:8080/"
465
+ }
466
+ },
467
+ "outputs": [
468
+ {
469
+ "output_type": "execute_result",
470
+ "data": {
471
+ "text/plain": [
472
+ "{0: 'NEGATIVE', 1: 'POSITIVE'}"
473
+ ]
474
+ },
475
+ "metadata": {},
476
+ "execution_count": 11
477
+ }
478
+ ],
479
+ "source": [
480
+ "model.config.id2label"
481
+ ]
482
+ }
483
+ ],
484
+ "metadata": {
485
+ "colab": {
486
+ "name": "Behind the pipeline (TensorFlow)",
487
+ "provenance": []
488
+ },
489
+ "language_info": {
490
+ "name": "python"
491
+ },
492
+ "kernelspec": {
493
+ "name": "python3",
494
+ "display_name": "Python 3"
495
+ },
496
+ "widgets": {
497
+ "application/vnd.jupyter.widget-state+json": {
498
+ "b05ce34a731f475b82f1058bdc99cfcc": {
499
+ "model_module": "@jupyter-widgets/controls",
500
+ "model_name": "HBoxModel",
501
+ "model_module_version": "1.5.0",
502
+ "state": {
503
+ "_dom_classes": [],
504
+ "_model_module": "@jupyter-widgets/controls",
505
+ "_model_module_version": "1.5.0",
506
+ "_model_name": "HBoxModel",
507
+ "_view_count": null,
508
+ "_view_module": "@jupyter-widgets/controls",
509
+ "_view_module_version": "1.5.0",
510
+ "_view_name": "HBoxView",
511
+ "box_style": "",
512
+ "children": [
513
+ "IPY_MODEL_46d929b42a3d4ba18e6b83afe46701ce",
514
+ "IPY_MODEL_9171cb3a30a746e6990bac2b95505a96",
515
+ "IPY_MODEL_1ba6c6d9f29a4145ad0f3b5a90977a5e"
516
+ ],
517
+ "layout": "IPY_MODEL_ba0ebb2298a743f3bd53475301c651c6"
518
+ }
519
+ },
520
+ "46d929b42a3d4ba18e6b83afe46701ce": {
521
+ "model_module": "@jupyter-widgets/controls",
522
+ "model_name": "HTMLModel",
523
+ "model_module_version": "1.5.0",
524
+ "state": {
525
+ "_dom_classes": [],
526
+ "_model_module": "@jupyter-widgets/controls",
527
+ "_model_module_version": "1.5.0",
528
+ "_model_name": "HTMLModel",
529
+ "_view_count": null,
530
+ "_view_module": "@jupyter-widgets/controls",
531
+ "_view_module_version": "1.5.0",
532
+ "_view_name": "HTMLView",
533
+ "description": "",
534
+ "description_tooltip": null,
535
+ "layout": "IPY_MODEL_fe77a4c8a0664255b587ad7287f6dc6d",
536
+ "placeholder": "​",
537
+ "style": "IPY_MODEL_3ccd1bc60709464681c1bbcc468764c5",
538
+ "value": "Downloading (…)lve/main/config.json: 100%"
539
+ }
540
+ },
541
+ "9171cb3a30a746e6990bac2b95505a96": {
542
+ "model_module": "@jupyter-widgets/controls",
543
+ "model_name": "FloatProgressModel",
544
+ "model_module_version": "1.5.0",
545
+ "state": {
546
+ "_dom_classes": [],
547
+ "_model_module": "@jupyter-widgets/controls",
548
+ "_model_module_version": "1.5.0",
549
+ "_model_name": "FloatProgressModel",
550
+ "_view_count": null,
551
+ "_view_module": "@jupyter-widgets/controls",
552
+ "_view_module_version": "1.5.0",
553
+ "_view_name": "ProgressView",
554
+ "bar_style": "success",
555
+ "description": "",
556
+ "description_tooltip": null,
557
+ "layout": "IPY_MODEL_ec61aac14a8d4a7088abb54e868a0251",
558
+ "max": 629,
559
+ "min": 0,
560
+ "orientation": "horizontal",
561
+ "style": "IPY_MODEL_1e30ac4253c040e4b8d4500e7a659d2c",
562
+ "value": 629
563
+ }
564
+ },
565
+ "1ba6c6d9f29a4145ad0f3b5a90977a5e": {
566
+ "model_module": "@jupyter-widgets/controls",
567
+ "model_name": "HTMLModel",
568
+ "model_module_version": "1.5.0",
569
+ "state": {
570
+ "_dom_classes": [],
571
+ "_model_module": "@jupyter-widgets/controls",
572
+ "_model_module_version": "1.5.0",
573
+ "_model_name": "HTMLModel",
574
+ "_view_count": null,
575
+ "_view_module": "@jupyter-widgets/controls",
576
+ "_view_module_version": "1.5.0",
577
+ "_view_name": "HTMLView",
578
+ "description": "",
579
+ "description_tooltip": null,
580
+ "layout": "IPY_MODEL_1432fa061a564e79bfcf56c27109f508",
581
+ "placeholder": "​",
582
+ "style": "IPY_MODEL_a8a75cb4f04440279516779860a5ae00",
583
+ "value": " 629/629 [00:00&lt;00:00, 7.23kB/s]"
584
+ }
585
+ },
586
+ "ba0ebb2298a743f3bd53475301c651c6": {
587
+ "model_module": "@jupyter-widgets/base",
588
+ "model_name": "LayoutModel",
589
+ "model_module_version": "1.2.0",
590
+ "state": {
591
+ "_model_module": "@jupyter-widgets/base",
592
+ "_model_module_version": "1.2.0",
593
+ "_model_name": "LayoutModel",
594
+ "_view_count": null,
595
+ "_view_module": "@jupyter-widgets/base",
596
+ "_view_module_version": "1.2.0",
597
+ "_view_name": "LayoutView",
598
+ "align_content": null,
599
+ "align_items": null,
600
+ "align_self": null,
601
+ "border": null,
602
+ "bottom": null,
603
+ "display": null,
604
+ "flex": null,
605
+ "flex_flow": null,
606
+ "grid_area": null,
607
+ "grid_auto_columns": null,
608
+ "grid_auto_flow": null,
609
+ "grid_auto_rows": null,
610
+ "grid_column": null,
611
+ "grid_gap": null,
612
+ "grid_row": null,
613
+ "grid_template_areas": null,
614
+ "grid_template_columns": null,
615
+ "grid_template_rows": null,
616
+ "height": null,
617
+ "justify_content": null,
618
+ "justify_items": null,
619
+ "left": null,
620
+ "margin": null,
621
+ "max_height": null,
622
+ "max_width": null,
623
+ "min_height": null,
624
+ "min_width": null,
625
+ "object_fit": null,
626
+ "object_position": null,
627
+ "order": null,
628
+ "overflow": null,
629
+ "overflow_x": null,
630
+ "overflow_y": null,
631
+ "padding": null,
632
+ "right": null,
633
+ "top": null,
634
+ "visibility": null,
635
+ "width": null
636
+ }
637
+ },
638
+ "fe77a4c8a0664255b587ad7287f6dc6d": {
639
+ "model_module": "@jupyter-widgets/base",
640
+ "model_name": "LayoutModel",
641
+ "model_module_version": "1.2.0",
642
+ "state": {
643
+ "_model_module": "@jupyter-widgets/base",
644
+ "_model_module_version": "1.2.0",
645
+ "_model_name": "LayoutModel",
646
+ "_view_count": null,
647
+ "_view_module": "@jupyter-widgets/base",
648
+ "_view_module_version": "1.2.0",
649
+ "_view_name": "LayoutView",
650
+ "align_content": null,
651
+ "align_items": null,
652
+ "align_self": null,
653
+ "border": null,
654
+ "bottom": null,
655
+ "display": null,
656
+ "flex": null,
657
+ "flex_flow": null,
658
+ "grid_area": null,
659
+ "grid_auto_columns": null,
660
+ "grid_auto_flow": null,
661
+ "grid_auto_rows": null,
662
+ "grid_column": null,
663
+ "grid_gap": null,
664
+ "grid_row": null,
665
+ "grid_template_areas": null,
666
+ "grid_template_columns": null,
667
+ "grid_template_rows": null,
668
+ "height": null,
669
+ "justify_content": null,
670
+ "justify_items": null,
671
+ "left": null,
672
+ "margin": null,
673
+ "max_height": null,
674
+ "max_width": null,
675
+ "min_height": null,
676
+ "min_width": null,
677
+ "object_fit": null,
678
+ "object_position": null,
679
+ "order": null,
680
+ "overflow": null,
681
+ "overflow_x": null,
682
+ "overflow_y": null,
683
+ "padding": null,
684
+ "right": null,
685
+ "top": null,
686
+ "visibility": null,
687
+ "width": null
688
+ }
689
+ },
690
+ "3ccd1bc60709464681c1bbcc468764c5": {
691
+ "model_module": "@jupyter-widgets/controls",
692
+ "model_name": "DescriptionStyleModel",
693
+ "model_module_version": "1.5.0",
694
+ "state": {
695
+ "_model_module": "@jupyter-widgets/controls",
696
+ "_model_module_version": "1.5.0",
697
+ "_model_name": "DescriptionStyleModel",
698
+ "_view_count": null,
699
+ "_view_module": "@jupyter-widgets/base",
700
+ "_view_module_version": "1.2.0",
701
+ "_view_name": "StyleView",
702
+ "description_width": ""
703
+ }
704
+ },
705
+ "ec61aac14a8d4a7088abb54e868a0251": {
706
+ "model_module": "@jupyter-widgets/base",
707
+ "model_name": "LayoutModel",
708
+ "model_module_version": "1.2.0",
709
+ "state": {
710
+ "_model_module": "@jupyter-widgets/base",
711
+ "_model_module_version": "1.2.0",
712
+ "_model_name": "LayoutModel",
713
+ "_view_count": null,
714
+ "_view_module": "@jupyter-widgets/base",
715
+ "_view_module_version": "1.2.0",
716
+ "_view_name": "LayoutView",
717
+ "align_content": null,
718
+ "align_items": null,
719
+ "align_self": null,
720
+ "border": null,
721
+ "bottom": null,
722
+ "display": null,
723
+ "flex": null,
724
+ "flex_flow": null,
725
+ "grid_area": null,
726
+ "grid_auto_columns": null,
727
+ "grid_auto_flow": null,
728
+ "grid_auto_rows": null,
729
+ "grid_column": null,
730
+ "grid_gap": null,
731
+ "grid_row": null,
732
+ "grid_template_areas": null,
733
+ "grid_template_columns": null,
734
+ "grid_template_rows": null,
735
+ "height": null,
736
+ "justify_content": null,
737
+ "justify_items": null,
738
+ "left": null,
739
+ "margin": null,
740
+ "max_height": null,
741
+ "max_width": null,
742
+ "min_height": null,
743
+ "min_width": null,
744
+ "object_fit": null,
745
+ "object_position": null,
746
+ "order": null,
747
+ "overflow": null,
748
+ "overflow_x": null,
749
+ "overflow_y": null,
750
+ "padding": null,
751
+ "right": null,
752
+ "top": null,
753
+ "visibility": null,
754
+ "width": null
755
+ }
756
+ },
757
+ "1e30ac4253c040e4b8d4500e7a659d2c": {
758
+ "model_module": "@jupyter-widgets/controls",
759
+ "model_name": "ProgressStyleModel",
760
+ "model_module_version": "1.5.0",
761
+ "state": {
762
+ "_model_module": "@jupyter-widgets/controls",
763
+ "_model_module_version": "1.5.0",
764
+ "_model_name": "ProgressStyleModel",
765
+ "_view_count": null,
766
+ "_view_module": "@jupyter-widgets/base",
767
+ "_view_module_version": "1.2.0",
768
+ "_view_name": "StyleView",
769
+ "bar_color": null,
770
+ "description_width": ""
771
+ }
772
+ },
773
+ "1432fa061a564e79bfcf56c27109f508": {
774
+ "model_module": "@jupyter-widgets/base",
775
+ "model_name": "LayoutModel",
776
+ "model_module_version": "1.2.0",
777
+ "state": {
778
+ "_model_module": "@jupyter-widgets/base",
779
+ "_model_module_version": "1.2.0",
780
+ "_model_name": "LayoutModel",
781
+ "_view_count": null,
782
+ "_view_module": "@jupyter-widgets/base",
783
+ "_view_module_version": "1.2.0",
784
+ "_view_name": "LayoutView",
785
+ "align_content": null,
786
+ "align_items": null,
787
+ "align_self": null,
788
+ "border": null,
789
+ "bottom": null,
790
+ "display": null,
791
+ "flex": null,
792
+ "flex_flow": null,
793
+ "grid_area": null,
794
+ "grid_auto_columns": null,
795
+ "grid_auto_flow": null,
796
+ "grid_auto_rows": null,
797
+ "grid_column": null,
798
+ "grid_gap": null,
799
+ "grid_row": null,
800
+ "grid_template_areas": null,
801
+ "grid_template_columns": null,
802
+ "grid_template_rows": null,
803
+ "height": null,
804
+ "justify_content": null,
805
+ "justify_items": null,
806
+ "left": null,
807
+ "margin": null,
808
+ "max_height": null,
809
+ "max_width": null,
810
+ "min_height": null,
811
+ "min_width": null,
812
+ "object_fit": null,
813
+ "object_position": null,
814
+ "order": null,
815
+ "overflow": null,
816
+ "overflow_x": null,
817
+ "overflow_y": null,
818
+ "padding": null,
819
+ "right": null,
820
+ "top": null,
821
+ "visibility": null,
822
+ "width": null
823
+ }
824
+ },
825
+ "a8a75cb4f04440279516779860a5ae00": {
826
+ "model_module": "@jupyter-widgets/controls",
827
+ "model_name": "DescriptionStyleModel",
828
+ "model_module_version": "1.5.0",
829
+ "state": {
830
+ "_model_module": "@jupyter-widgets/controls",
831
+ "_model_module_version": "1.5.0",
832
+ "_model_name": "DescriptionStyleModel",
833
+ "_view_count": null,
834
+ "_view_module": "@jupyter-widgets/base",
835
+ "_view_module_version": "1.2.0",
836
+ "_view_name": "StyleView",
837
+ "description_width": ""
838
+ }
839
+ },
840
+ "4bbcbf0d4fb24f5e99ca8a03717c3d5f": {
841
+ "model_module": "@jupyter-widgets/controls",
842
+ "model_name": "HBoxModel",
843
+ "model_module_version": "1.5.0",
844
+ "state": {
845
+ "_dom_classes": [],
846
+ "_model_module": "@jupyter-widgets/controls",
847
+ "_model_module_version": "1.5.0",
848
+ "_model_name": "HBoxModel",
849
+ "_view_count": null,
850
+ "_view_module": "@jupyter-widgets/controls",
851
+ "_view_module_version": "1.5.0",
852
+ "_view_name": "HBoxView",
853
+ "box_style": "",
854
+ "children": [
855
+ "IPY_MODEL_42d447ce7fe545eabb711a134445c350",
856
+ "IPY_MODEL_3e880e027d414dff8d139778aaa0eae3",
857
+ "IPY_MODEL_bac5e2c3dda945588f90adcb9eadbed1"
858
+ ],
859
+ "layout": "IPY_MODEL_c2136d488a8d49d79631fd6428c31e50"
860
+ }
861
+ },
862
+ "42d447ce7fe545eabb711a134445c350": {
863
+ "model_module": "@jupyter-widgets/controls",
864
+ "model_name": "HTMLModel",
865
+ "model_module_version": "1.5.0",
866
+ "state": {
867
+ "_dom_classes": [],
868
+ "_model_module": "@jupyter-widgets/controls",
869
+ "_model_module_version": "1.5.0",
870
+ "_model_name": "HTMLModel",
871
+ "_view_count": null,
872
+ "_view_module": "@jupyter-widgets/controls",
873
+ "_view_module_version": "1.5.0",
874
+ "_view_name": "HTMLView",
875
+ "description": "",
876
+ "description_tooltip": null,
877
+ "layout": "IPY_MODEL_2010214d42df46dd83b33a929e741128",
878
+ "placeholder": "​",
879
+ "style": "IPY_MODEL_73f6e6b98e474b099f0c6a4cd26b0a00",
880
+ "value": "Downloading model.safetensors: 100%"
881
+ }
882
+ },
883
+ "3e880e027d414dff8d139778aaa0eae3": {
884
+ "model_module": "@jupyter-widgets/controls",
885
+ "model_name": "FloatProgressModel",
886
+ "model_module_version": "1.5.0",
887
+ "state": {
888
+ "_dom_classes": [],
889
+ "_model_module": "@jupyter-widgets/controls",
890
+ "_model_module_version": "1.5.0",
891
+ "_model_name": "FloatProgressModel",
892
+ "_view_count": null,
893
+ "_view_module": "@jupyter-widgets/controls",
894
+ "_view_module_version": "1.5.0",
895
+ "_view_name": "ProgressView",
896
+ "bar_style": "success",
897
+ "description": "",
898
+ "description_tooltip": null,
899
+ "layout": "IPY_MODEL_8658297ad3a34f02ad98d70c3746f2a2",
900
+ "max": 267832558,
901
+ "min": 0,
902
+ "orientation": "horizontal",
903
+ "style": "IPY_MODEL_933c6975cd80401ca0c023ca124db31c",
904
+ "value": 267832558
905
+ }
906
+ },
907
+ "bac5e2c3dda945588f90adcb9eadbed1": {
908
+ "model_module": "@jupyter-widgets/controls",
909
+ "model_name": "HTMLModel",
910
+ "model_module_version": "1.5.0",
911
+ "state": {
912
+ "_dom_classes": [],
913
+ "_model_module": "@jupyter-widgets/controls",
914
+ "_model_module_version": "1.5.0",
915
+ "_model_name": "HTMLModel",
916
+ "_view_count": null,
917
+ "_view_module": "@jupyter-widgets/controls",
918
+ "_view_module_version": "1.5.0",
919
+ "_view_name": "HTMLView",
920
+ "description": "",
921
+ "description_tooltip": null,
922
+ "layout": "IPY_MODEL_4eb2661f41a74b3a9ef0b2223f1c1c50",
923
+ "placeholder": "​",
924
+ "style": "IPY_MODEL_51f7d6ee64484f6784b97310444c0d5e",
925
+ "value": " 268M/268M [00:02&lt;00:00, 112MB/s]"
926
+ }
927
+ },
928
+ "c2136d488a8d49d79631fd6428c31e50": {
929
+ "model_module": "@jupyter-widgets/base",
930
+ "model_name": "LayoutModel",
931
+ "model_module_version": "1.2.0",
932
+ "state": {
933
+ "_model_module": "@jupyter-widgets/base",
934
+ "_model_module_version": "1.2.0",
935
+ "_model_name": "LayoutModel",
936
+ "_view_count": null,
937
+ "_view_module": "@jupyter-widgets/base",
938
+ "_view_module_version": "1.2.0",
939
+ "_view_name": "LayoutView",
940
+ "align_content": null,
941
+ "align_items": null,
942
+ "align_self": null,
943
+ "border": null,
944
+ "bottom": null,
945
+ "display": null,
946
+ "flex": null,
947
+ "flex_flow": null,
948
+ "grid_area": null,
949
+ "grid_auto_columns": null,
950
+ "grid_auto_flow": null,
951
+ "grid_auto_rows": null,
952
+ "grid_column": null,
953
+ "grid_gap": null,
954
+ "grid_row": null,
955
+ "grid_template_areas": null,
956
+ "grid_template_columns": null,
957
+ "grid_template_rows": null,
958
+ "height": null,
959
+ "justify_content": null,
960
+ "justify_items": null,
961
+ "left": null,
962
+ "margin": null,
963
+ "max_height": null,
964
+ "max_width": null,
965
+ "min_height": null,
966
+ "min_width": null,
967
+ "object_fit": null,
968
+ "object_position": null,
969
+ "order": null,
970
+ "overflow": null,
971
+ "overflow_x": null,
972
+ "overflow_y": null,
973
+ "padding": null,
974
+ "right": null,
975
+ "top": null,
976
+ "visibility": null,
977
+ "width": null
978
+ }
979
+ },
980
+ "2010214d42df46dd83b33a929e741128": {
981
+ "model_module": "@jupyter-widgets/base",
982
+ "model_name": "LayoutModel",
983
+ "model_module_version": "1.2.0",
984
+ "state": {
985
+ "_model_module": "@jupyter-widgets/base",
986
+ "_model_module_version": "1.2.0",
987
+ "_model_name": "LayoutModel",
988
+ "_view_count": null,
989
+ "_view_module": "@jupyter-widgets/base",
990
+ "_view_module_version": "1.2.0",
991
+ "_view_name": "LayoutView",
992
+ "align_content": null,
993
+ "align_items": null,
994
+ "align_self": null,
995
+ "border": null,
996
+ "bottom": null,
997
+ "display": null,
998
+ "flex": null,
999
+ "flex_flow": null,
1000
+ "grid_area": null,
1001
+ "grid_auto_columns": null,
1002
+ "grid_auto_flow": null,
1003
+ "grid_auto_rows": null,
1004
+ "grid_column": null,
1005
+ "grid_gap": null,
1006
+ "grid_row": null,
1007
+ "grid_template_areas": null,
1008
+ "grid_template_columns": null,
1009
+ "grid_template_rows": null,
1010
+ "height": null,
1011
+ "justify_content": null,
1012
+ "justify_items": null,
1013
+ "left": null,
1014
+ "margin": null,
1015
+ "max_height": null,
1016
+ "max_width": null,
1017
+ "min_height": null,
1018
+ "min_width": null,
1019
+ "object_fit": null,
1020
+ "object_position": null,
1021
+ "order": null,
1022
+ "overflow": null,
1023
+ "overflow_x": null,
1024
+ "overflow_y": null,
1025
+ "padding": null,
1026
+ "right": null,
1027
+ "top": null,
1028
+ "visibility": null,
1029
+ "width": null
1030
+ }
1031
+ },
1032
+ "73f6e6b98e474b099f0c6a4cd26b0a00": {
1033
+ "model_module": "@jupyter-widgets/controls",
1034
+ "model_name": "DescriptionStyleModel",
1035
+ "model_module_version": "1.5.0",
1036
+ "state": {
1037
+ "_model_module": "@jupyter-widgets/controls",
1038
+ "_model_module_version": "1.5.0",
1039
+ "_model_name": "DescriptionStyleModel",
1040
+ "_view_count": null,
1041
+ "_view_module": "@jupyter-widgets/base",
1042
+ "_view_module_version": "1.2.0",
1043
+ "_view_name": "StyleView",
1044
+ "description_width": ""
1045
+ }
1046
+ },
1047
+ "8658297ad3a34f02ad98d70c3746f2a2": {
1048
+ "model_module": "@jupyter-widgets/base",
1049
+ "model_name": "LayoutModel",
1050
+ "model_module_version": "1.2.0",
1051
+ "state": {
1052
+ "_model_module": "@jupyter-widgets/base",
1053
+ "_model_module_version": "1.2.0",
1054
+ "_model_name": "LayoutModel",
1055
+ "_view_count": null,
1056
+ "_view_module": "@jupyter-widgets/base",
1057
+ "_view_module_version": "1.2.0",
1058
+ "_view_name": "LayoutView",
1059
+ "align_content": null,
1060
+ "align_items": null,
1061
+ "align_self": null,
1062
+ "border": null,
1063
+ "bottom": null,
1064
+ "display": null,
1065
+ "flex": null,
1066
+ "flex_flow": null,
1067
+ "grid_area": null,
1068
+ "grid_auto_columns": null,
1069
+ "grid_auto_flow": null,
1070
+ "grid_auto_rows": null,
1071
+ "grid_column": null,
1072
+ "grid_gap": null,
1073
+ "grid_row": null,
1074
+ "grid_template_areas": null,
1075
+ "grid_template_columns": null,
1076
+ "grid_template_rows": null,
1077
+ "height": null,
1078
+ "justify_content": null,
1079
+ "justify_items": null,
1080
+ "left": null,
1081
+ "margin": null,
1082
+ "max_height": null,
1083
+ "max_width": null,
1084
+ "min_height": null,
1085
+ "min_width": null,
1086
+ "object_fit": null,
1087
+ "object_position": null,
1088
+ "order": null,
1089
+ "overflow": null,
1090
+ "overflow_x": null,
1091
+ "overflow_y": null,
1092
+ "padding": null,
1093
+ "right": null,
1094
+ "top": null,
1095
+ "visibility": null,
1096
+ "width": null
1097
+ }
1098
+ },
1099
+ "933c6975cd80401ca0c023ca124db31c": {
1100
+ "model_module": "@jupyter-widgets/controls",
1101
+ "model_name": "ProgressStyleModel",
1102
+ "model_module_version": "1.5.0",
1103
+ "state": {
1104
+ "_model_module": "@jupyter-widgets/controls",
1105
+ "_model_module_version": "1.5.0",
1106
+ "_model_name": "ProgressStyleModel",
1107
+ "_view_count": null,
1108
+ "_view_module": "@jupyter-widgets/base",
1109
+ "_view_module_version": "1.2.0",
1110
+ "_view_name": "StyleView",
1111
+ "bar_color": null,
1112
+ "description_width": ""
1113
+ }
1114
+ },
1115
+ "4eb2661f41a74b3a9ef0b2223f1c1c50": {
1116
+ "model_module": "@jupyter-widgets/base",
1117
+ "model_name": "LayoutModel",
1118
+ "model_module_version": "1.2.0",
1119
+ "state": {
1120
+ "_model_module": "@jupyter-widgets/base",
1121
+ "_model_module_version": "1.2.0",
1122
+ "_model_name": "LayoutModel",
1123
+ "_view_count": null,
1124
+ "_view_module": "@jupyter-widgets/base",
1125
+ "_view_module_version": "1.2.0",
1126
+ "_view_name": "LayoutView",
1127
+ "align_content": null,
1128
+ "align_items": null,
1129
+ "align_self": null,
1130
+ "border": null,
1131
+ "bottom": null,
1132
+ "display": null,
1133
+ "flex": null,
1134
+ "flex_flow": null,
1135
+ "grid_area": null,
1136
+ "grid_auto_columns": null,
1137
+ "grid_auto_flow": null,
1138
+ "grid_auto_rows": null,
1139
+ "grid_column": null,
1140
+ "grid_gap": null,
1141
+ "grid_row": null,
1142
+ "grid_template_areas": null,
1143
+ "grid_template_columns": null,
1144
+ "grid_template_rows": null,
1145
+ "height": null,
1146
+ "justify_content": null,
1147
+ "justify_items": null,
1148
+ "left": null,
1149
+ "margin": null,
1150
+ "max_height": null,
1151
+ "max_width": null,
1152
+ "min_height": null,
1153
+ "min_width": null,
1154
+ "object_fit": null,
1155
+ "object_position": null,
1156
+ "order": null,
1157
+ "overflow": null,
1158
+ "overflow_x": null,
1159
+ "overflow_y": null,
1160
+ "padding": null,
1161
+ "right": null,
1162
+ "top": null,
1163
+ "visibility": null,
1164
+ "width": null
1165
+ }
1166
+ },
1167
+ "51f7d6ee64484f6784b97310444c0d5e": {
1168
+ "model_module": "@jupyter-widgets/controls",
1169
+ "model_name": "DescriptionStyleModel",
1170
+ "model_module_version": "1.5.0",
1171
+ "state": {
1172
+ "_model_module": "@jupyter-widgets/controls",
1173
+ "_model_module_version": "1.5.0",
1174
+ "_model_name": "DescriptionStyleModel",
1175
+ "_view_count": null,
1176
+ "_view_module": "@jupyter-widgets/base",
1177
+ "_view_module_version": "1.2.0",
1178
+ "_view_name": "StyleView",
1179
+ "description_width": ""
1180
+ }
1181
+ },
1182
+ "02153f3a73bf43ee87914b771c992d9e": {
1183
+ "model_module": "@jupyter-widgets/controls",
1184
+ "model_name": "HBoxModel",
1185
+ "model_module_version": "1.5.0",
1186
+ "state": {
1187
+ "_dom_classes": [],
1188
+ "_model_module": "@jupyter-widgets/controls",
1189
+ "_model_module_version": "1.5.0",
1190
+ "_model_name": "HBoxModel",
1191
+ "_view_count": null,
1192
+ "_view_module": "@jupyter-widgets/controls",
1193
+ "_view_module_version": "1.5.0",
1194
+ "_view_name": "HBoxView",
1195
+ "box_style": "",
1196
+ "children": [
1197
+ "IPY_MODEL_0ff4154d747c42978bfb0e5e3b02ab60",
1198
+ "IPY_MODEL_9d894c08b750434f87ebf40eb3e5ea91",
1199
+ "IPY_MODEL_53b3550d18274aee9834ce9e5674d655"
1200
+ ],
1201
+ "layout": "IPY_MODEL_c7e322aee0314d8fbcf337e0251911d5"
1202
+ }
1203
+ },
1204
+ "0ff4154d747c42978bfb0e5e3b02ab60": {
1205
+ "model_module": "@jupyter-widgets/controls",
1206
+ "model_name": "HTMLModel",
1207
+ "model_module_version": "1.5.0",
1208
+ "state": {
1209
+ "_dom_classes": [],
1210
+ "_model_module": "@jupyter-widgets/controls",
1211
+ "_model_module_version": "1.5.0",
1212
+ "_model_name": "HTMLModel",
1213
+ "_view_count": null,
1214
+ "_view_module": "@jupyter-widgets/controls",
1215
+ "_view_module_version": "1.5.0",
1216
+ "_view_name": "HTMLView",
1217
+ "description": "",
1218
+ "description_tooltip": null,
1219
+ "layout": "IPY_MODEL_19baa5d8e33c4dfbacf933f743646283",
1220
+ "placeholder": "​",
1221
+ "style": "IPY_MODEL_602d7702734b45eeb01c7807c009a69c",
1222
+ "value": "Downloading (…)okenizer_config.json: 100%"
1223
+ }
1224
+ },
1225
+ "9d894c08b750434f87ebf40eb3e5ea91": {
1226
+ "model_module": "@jupyter-widgets/controls",
1227
+ "model_name": "FloatProgressModel",
1228
+ "model_module_version": "1.5.0",
1229
+ "state": {
1230
+ "_dom_classes": [],
1231
+ "_model_module": "@jupyter-widgets/controls",
1232
+ "_model_module_version": "1.5.0",
1233
+ "_model_name": "FloatProgressModel",
1234
+ "_view_count": null,
1235
+ "_view_module": "@jupyter-widgets/controls",
1236
+ "_view_module_version": "1.5.0",
1237
+ "_view_name": "ProgressView",
1238
+ "bar_style": "success",
1239
+ "description": "",
1240
+ "description_tooltip": null,
1241
+ "layout": "IPY_MODEL_2d7a852a1a5940c4afeb6c980bb50f80",
1242
+ "max": 48,
1243
+ "min": 0,
1244
+ "orientation": "horizontal",
1245
+ "style": "IPY_MODEL_8ab40d385f8e49bd9e0cde4ff29ea88d",
1246
+ "value": 48
1247
+ }
1248
+ },
1249
+ "53b3550d18274aee9834ce9e5674d655": {
1250
+ "model_module": "@jupyter-widgets/controls",
1251
+ "model_name": "HTMLModel",
1252
+ "model_module_version": "1.5.0",
1253
+ "state": {
1254
+ "_dom_classes": [],
1255
+ "_model_module": "@jupyter-widgets/controls",
1256
+ "_model_module_version": "1.5.0",
1257
+ "_model_name": "HTMLModel",
1258
+ "_view_count": null,
1259
+ "_view_module": "@jupyter-widgets/controls",
1260
+ "_view_module_version": "1.5.0",
1261
+ "_view_name": "HTMLView",
1262
+ "description": "",
1263
+ "description_tooltip": null,
1264
+ "layout": "IPY_MODEL_b612aca176284b689411f9526aaee4ef",
1265
+ "placeholder": "​",
1266
+ "style": "IPY_MODEL_64f9ba01f23744cda950628ce1d1776a",
1267
+ "value": " 48.0/48.0 [00:00&lt;00:00, 881B/s]"
1268
+ }
1269
+ },
1270
+ "c7e322aee0314d8fbcf337e0251911d5": {
1271
+ "model_module": "@jupyter-widgets/base",
1272
+ "model_name": "LayoutModel",
1273
+ "model_module_version": "1.2.0",
1274
+ "state": {
1275
+ "_model_module": "@jupyter-widgets/base",
1276
+ "_model_module_version": "1.2.0",
1277
+ "_model_name": "LayoutModel",
1278
+ "_view_count": null,
1279
+ "_view_module": "@jupyter-widgets/base",
1280
+ "_view_module_version": "1.2.0",
1281
+ "_view_name": "LayoutView",
1282
+ "align_content": null,
1283
+ "align_items": null,
1284
+ "align_self": null,
1285
+ "border": null,
1286
+ "bottom": null,
1287
+ "display": null,
1288
+ "flex": null,
1289
+ "flex_flow": null,
1290
+ "grid_area": null,
1291
+ "grid_auto_columns": null,
1292
+ "grid_auto_flow": null,
1293
+ "grid_auto_rows": null,
1294
+ "grid_column": null,
1295
+ "grid_gap": null,
1296
+ "grid_row": null,
1297
+ "grid_template_areas": null,
1298
+ "grid_template_columns": null,
1299
+ "grid_template_rows": null,
1300
+ "height": null,
1301
+ "justify_content": null,
1302
+ "justify_items": null,
1303
+ "left": null,
1304
+ "margin": null,
1305
+ "max_height": null,
1306
+ "max_width": null,
1307
+ "min_height": null,
1308
+ "min_width": null,
1309
+ "object_fit": null,
1310
+ "object_position": null,
1311
+ "order": null,
1312
+ "overflow": null,
1313
+ "overflow_x": null,
1314
+ "overflow_y": null,
1315
+ "padding": null,
1316
+ "right": null,
1317
+ "top": null,
1318
+ "visibility": null,
1319
+ "width": null
1320
+ }
1321
+ },
1322
+ "19baa5d8e33c4dfbacf933f743646283": {
1323
+ "model_module": "@jupyter-widgets/base",
1324
+ "model_name": "LayoutModel",
1325
+ "model_module_version": "1.2.0",
1326
+ "state": {
1327
+ "_model_module": "@jupyter-widgets/base",
1328
+ "_model_module_version": "1.2.0",
1329
+ "_model_name": "LayoutModel",
1330
+ "_view_count": null,
1331
+ "_view_module": "@jupyter-widgets/base",
1332
+ "_view_module_version": "1.2.0",
1333
+ "_view_name": "LayoutView",
1334
+ "align_content": null,
1335
+ "align_items": null,
1336
+ "align_self": null,
1337
+ "border": null,
1338
+ "bottom": null,
1339
+ "display": null,
1340
+ "flex": null,
1341
+ "flex_flow": null,
1342
+ "grid_area": null,
1343
+ "grid_auto_columns": null,
1344
+ "grid_auto_flow": null,
1345
+ "grid_auto_rows": null,
1346
+ "grid_column": null,
1347
+ "grid_gap": null,
1348
+ "grid_row": null,
1349
+ "grid_template_areas": null,
1350
+ "grid_template_columns": null,
1351
+ "grid_template_rows": null,
1352
+ "height": null,
1353
+ "justify_content": null,
1354
+ "justify_items": null,
1355
+ "left": null,
1356
+ "margin": null,
1357
+ "max_height": null,
1358
+ "max_width": null,
1359
+ "min_height": null,
1360
+ "min_width": null,
1361
+ "object_fit": null,
1362
+ "object_position": null,
1363
+ "order": null,
1364
+ "overflow": null,
1365
+ "overflow_x": null,
1366
+ "overflow_y": null,
1367
+ "padding": null,
1368
+ "right": null,
1369
+ "top": null,
1370
+ "visibility": null,
1371
+ "width": null
1372
+ }
1373
+ },
1374
+ "602d7702734b45eeb01c7807c009a69c": {
1375
+ "model_module": "@jupyter-widgets/controls",
1376
+ "model_name": "DescriptionStyleModel",
1377
+ "model_module_version": "1.5.0",
1378
+ "state": {
1379
+ "_model_module": "@jupyter-widgets/controls",
1380
+ "_model_module_version": "1.5.0",
1381
+ "_model_name": "DescriptionStyleModel",
1382
+ "_view_count": null,
1383
+ "_view_module": "@jupyter-widgets/base",
1384
+ "_view_module_version": "1.2.0",
1385
+ "_view_name": "StyleView",
1386
+ "description_width": ""
1387
+ }
1388
+ },
1389
+ "2d7a852a1a5940c4afeb6c980bb50f80": {
1390
+ "model_module": "@jupyter-widgets/base",
1391
+ "model_name": "LayoutModel",
1392
+ "model_module_version": "1.2.0",
1393
+ "state": {
1394
+ "_model_module": "@jupyter-widgets/base",
1395
+ "_model_module_version": "1.2.0",
1396
+ "_model_name": "LayoutModel",
1397
+ "_view_count": null,
1398
+ "_view_module": "@jupyter-widgets/base",
1399
+ "_view_module_version": "1.2.0",
1400
+ "_view_name": "LayoutView",
1401
+ "align_content": null,
1402
+ "align_items": null,
1403
+ "align_self": null,
1404
+ "border": null,
1405
+ "bottom": null,
1406
+ "display": null,
1407
+ "flex": null,
1408
+ "flex_flow": null,
1409
+ "grid_area": null,
1410
+ "grid_auto_columns": null,
1411
+ "grid_auto_flow": null,
1412
+ "grid_auto_rows": null,
1413
+ "grid_column": null,
1414
+ "grid_gap": null,
1415
+ "grid_row": null,
1416
+ "grid_template_areas": null,
1417
+ "grid_template_columns": null,
1418
+ "grid_template_rows": null,
1419
+ "height": null,
1420
+ "justify_content": null,
1421
+ "justify_items": null,
1422
+ "left": null,
1423
+ "margin": null,
1424
+ "max_height": null,
1425
+ "max_width": null,
1426
+ "min_height": null,
1427
+ "min_width": null,
1428
+ "object_fit": null,
1429
+ "object_position": null,
1430
+ "order": null,
1431
+ "overflow": null,
1432
+ "overflow_x": null,
1433
+ "overflow_y": null,
1434
+ "padding": null,
1435
+ "right": null,
1436
+ "top": null,
1437
+ "visibility": null,
1438
+ "width": null
1439
+ }
1440
+ },
1441
+ "8ab40d385f8e49bd9e0cde4ff29ea88d": {
1442
+ "model_module": "@jupyter-widgets/controls",
1443
+ "model_name": "ProgressStyleModel",
1444
+ "model_module_version": "1.5.0",
1445
+ "state": {
1446
+ "_model_module": "@jupyter-widgets/controls",
1447
+ "_model_module_version": "1.5.0",
1448
+ "_model_name": "ProgressStyleModel",
1449
+ "_view_count": null,
1450
+ "_view_module": "@jupyter-widgets/base",
1451
+ "_view_module_version": "1.2.0",
1452
+ "_view_name": "StyleView",
1453
+ "bar_color": null,
1454
+ "description_width": ""
1455
+ }
1456
+ },
1457
+ "b612aca176284b689411f9526aaee4ef": {
1458
+ "model_module": "@jupyter-widgets/base",
1459
+ "model_name": "LayoutModel",
1460
+ "model_module_version": "1.2.0",
1461
+ "state": {
1462
+ "_model_module": "@jupyter-widgets/base",
1463
+ "_model_module_version": "1.2.0",
1464
+ "_model_name": "LayoutModel",
1465
+ "_view_count": null,
1466
+ "_view_module": "@jupyter-widgets/base",
1467
+ "_view_module_version": "1.2.0",
1468
+ "_view_name": "LayoutView",
1469
+ "align_content": null,
1470
+ "align_items": null,
1471
+ "align_self": null,
1472
+ "border": null,
1473
+ "bottom": null,
1474
+ "display": null,
1475
+ "flex": null,
1476
+ "flex_flow": null,
1477
+ "grid_area": null,
1478
+ "grid_auto_columns": null,
1479
+ "grid_auto_flow": null,
1480
+ "grid_auto_rows": null,
1481
+ "grid_column": null,
1482
+ "grid_gap": null,
1483
+ "grid_row": null,
1484
+ "grid_template_areas": null,
1485
+ "grid_template_columns": null,
1486
+ "grid_template_rows": null,
1487
+ "height": null,
1488
+ "justify_content": null,
1489
+ "justify_items": null,
1490
+ "left": null,
1491
+ "margin": null,
1492
+ "max_height": null,
1493
+ "max_width": null,
1494
+ "min_height": null,
1495
+ "min_width": null,
1496
+ "object_fit": null,
1497
+ "object_position": null,
1498
+ "order": null,
1499
+ "overflow": null,
1500
+ "overflow_x": null,
1501
+ "overflow_y": null,
1502
+ "padding": null,
1503
+ "right": null,
1504
+ "top": null,
1505
+ "visibility": null,
1506
+ "width": null
1507
+ }
1508
+ },
1509
+ "64f9ba01f23744cda950628ce1d1776a": {
1510
+ "model_module": "@jupyter-widgets/controls",
1511
+ "model_name": "DescriptionStyleModel",
1512
+ "model_module_version": "1.5.0",
1513
+ "state": {
1514
+ "_model_module": "@jupyter-widgets/controls",
1515
+ "_model_module_version": "1.5.0",
1516
+ "_model_name": "DescriptionStyleModel",
1517
+ "_view_count": null,
1518
+ "_view_module": "@jupyter-widgets/base",
1519
+ "_view_module_version": "1.2.0",
1520
+ "_view_name": "StyleView",
1521
+ "description_width": ""
1522
+ }
1523
+ },
1524
+ "7533d49ee65b4eb7b5206147f382550f": {
1525
+ "model_module": "@jupyter-widgets/controls",
1526
+ "model_name": "HBoxModel",
1527
+ "model_module_version": "1.5.0",
1528
+ "state": {
1529
+ "_dom_classes": [],
1530
+ "_model_module": "@jupyter-widgets/controls",
1531
+ "_model_module_version": "1.5.0",
1532
+ "_model_name": "HBoxModel",
1533
+ "_view_count": null,
1534
+ "_view_module": "@jupyter-widgets/controls",
1535
+ "_view_module_version": "1.5.0",
1536
+ "_view_name": "HBoxView",
1537
+ "box_style": "",
1538
+ "children": [
1539
+ "IPY_MODEL_88f1ccbbf0764ca586cd557f903ac058",
1540
+ "IPY_MODEL_66b0134d23074d9ea7569ad20c784b28",
1541
+ "IPY_MODEL_99b0e9157fab458198487cce8691fe81"
1542
+ ],
1543
+ "layout": "IPY_MODEL_ef8c8c3fbef94735a607722a942e04f8"
1544
+ }
1545
+ },
1546
+ "88f1ccbbf0764ca586cd557f903ac058": {
1547
+ "model_module": "@jupyter-widgets/controls",
1548
+ "model_name": "HTMLModel",
1549
+ "model_module_version": "1.5.0",
1550
+ "state": {
1551
+ "_dom_classes": [],
1552
+ "_model_module": "@jupyter-widgets/controls",
1553
+ "_model_module_version": "1.5.0",
1554
+ "_model_name": "HTMLModel",
1555
+ "_view_count": null,
1556
+ "_view_module": "@jupyter-widgets/controls",
1557
+ "_view_module_version": "1.5.0",
1558
+ "_view_name": "HTMLView",
1559
+ "description": "",
1560
+ "description_tooltip": null,
1561
+ "layout": "IPY_MODEL_76d11ab5050f48deba16d6b9aa0d0568",
1562
+ "placeholder": "​",
1563
+ "style": "IPY_MODEL_ec960adde27b4e438a09803642fc71a8",
1564
+ "value": "Downloading (…)solve/main/vocab.txt: 100%"
1565
+ }
1566
+ },
1567
+ "66b0134d23074d9ea7569ad20c784b28": {
1568
+ "model_module": "@jupyter-widgets/controls",
1569
+ "model_name": "FloatProgressModel",
1570
+ "model_module_version": "1.5.0",
1571
+ "state": {
1572
+ "_dom_classes": [],
1573
+ "_model_module": "@jupyter-widgets/controls",
1574
+ "_model_module_version": "1.5.0",
1575
+ "_model_name": "FloatProgressModel",
1576
+ "_view_count": null,
1577
+ "_view_module": "@jupyter-widgets/controls",
1578
+ "_view_module_version": "1.5.0",
1579
+ "_view_name": "ProgressView",
1580
+ "bar_style": "success",
1581
+ "description": "",
1582
+ "description_tooltip": null,
1583
+ "layout": "IPY_MODEL_4a18ceac740040b6a221c39481a09636",
1584
+ "max": 231508,
1585
+ "min": 0,
1586
+ "orientation": "horizontal",
1587
+ "style": "IPY_MODEL_db80ce3109354c55a8356840e0f071e7",
1588
+ "value": 231508
1589
+ }
1590
+ },
1591
+ "99b0e9157fab458198487cce8691fe81": {
1592
+ "model_module": "@jupyter-widgets/controls",
1593
+ "model_name": "HTMLModel",
1594
+ "model_module_version": "1.5.0",
1595
+ "state": {
1596
+ "_dom_classes": [],
1597
+ "_model_module": "@jupyter-widgets/controls",
1598
+ "_model_module_version": "1.5.0",
1599
+ "_model_name": "HTMLModel",
1600
+ "_view_count": null,
1601
+ "_view_module": "@jupyter-widgets/controls",
1602
+ "_view_module_version": "1.5.0",
1603
+ "_view_name": "HTMLView",
1604
+ "description": "",
1605
+ "description_tooltip": null,
1606
+ "layout": "IPY_MODEL_5142db656cab4b7d9ad246a2b363f708",
1607
+ "placeholder": "​",
1608
+ "style": "IPY_MODEL_13623bd3096d45af83ef339474b4357f",
1609
+ "value": " 232k/232k [00:00&lt;00:00, 2.51MB/s]"
1610
+ }
1611
+ },
1612
+ "ef8c8c3fbef94735a607722a942e04f8": {
1613
+ "model_module": "@jupyter-widgets/base",
1614
+ "model_name": "LayoutModel",
1615
+ "model_module_version": "1.2.0",
1616
+ "state": {
1617
+ "_model_module": "@jupyter-widgets/base",
1618
+ "_model_module_version": "1.2.0",
1619
+ "_model_name": "LayoutModel",
1620
+ "_view_count": null,
1621
+ "_view_module": "@jupyter-widgets/base",
1622
+ "_view_module_version": "1.2.0",
1623
+ "_view_name": "LayoutView",
1624
+ "align_content": null,
1625
+ "align_items": null,
1626
+ "align_self": null,
1627
+ "border": null,
1628
+ "bottom": null,
1629
+ "display": null,
1630
+ "flex": null,
1631
+ "flex_flow": null,
1632
+ "grid_area": null,
1633
+ "grid_auto_columns": null,
1634
+ "grid_auto_flow": null,
1635
+ "grid_auto_rows": null,
1636
+ "grid_column": null,
1637
+ "grid_gap": null,
1638
+ "grid_row": null,
1639
+ "grid_template_areas": null,
1640
+ "grid_template_columns": null,
1641
+ "grid_template_rows": null,
1642
+ "height": null,
1643
+ "justify_content": null,
1644
+ "justify_items": null,
1645
+ "left": null,
1646
+ "margin": null,
1647
+ "max_height": null,
1648
+ "max_width": null,
1649
+ "min_height": null,
1650
+ "min_width": null,
1651
+ "object_fit": null,
1652
+ "object_position": null,
1653
+ "order": null,
1654
+ "overflow": null,
1655
+ "overflow_x": null,
1656
+ "overflow_y": null,
1657
+ "padding": null,
1658
+ "right": null,
1659
+ "top": null,
1660
+ "visibility": null,
1661
+ "width": null
1662
+ }
1663
+ },
1664
+ "76d11ab5050f48deba16d6b9aa0d0568": {
1665
+ "model_module": "@jupyter-widgets/base",
1666
+ "model_name": "LayoutModel",
1667
+ "model_module_version": "1.2.0",
1668
+ "state": {
1669
+ "_model_module": "@jupyter-widgets/base",
1670
+ "_model_module_version": "1.2.0",
1671
+ "_model_name": "LayoutModel",
1672
+ "_view_count": null,
1673
+ "_view_module": "@jupyter-widgets/base",
1674
+ "_view_module_version": "1.2.0",
1675
+ "_view_name": "LayoutView",
1676
+ "align_content": null,
1677
+ "align_items": null,
1678
+ "align_self": null,
1679
+ "border": null,
1680
+ "bottom": null,
1681
+ "display": null,
1682
+ "flex": null,
1683
+ "flex_flow": null,
1684
+ "grid_area": null,
1685
+ "grid_auto_columns": null,
1686
+ "grid_auto_flow": null,
1687
+ "grid_auto_rows": null,
1688
+ "grid_column": null,
1689
+ "grid_gap": null,
1690
+ "grid_row": null,
1691
+ "grid_template_areas": null,
1692
+ "grid_template_columns": null,
1693
+ "grid_template_rows": null,
1694
+ "height": null,
1695
+ "justify_content": null,
1696
+ "justify_items": null,
1697
+ "left": null,
1698
+ "margin": null,
1699
+ "max_height": null,
1700
+ "max_width": null,
1701
+ "min_height": null,
1702
+ "min_width": null,
1703
+ "object_fit": null,
1704
+ "object_position": null,
1705
+ "order": null,
1706
+ "overflow": null,
1707
+ "overflow_x": null,
1708
+ "overflow_y": null,
1709
+ "padding": null,
1710
+ "right": null,
1711
+ "top": null,
1712
+ "visibility": null,
1713
+ "width": null
1714
+ }
1715
+ },
1716
+ "ec960adde27b4e438a09803642fc71a8": {
1717
+ "model_module": "@jupyter-widgets/controls",
1718
+ "model_name": "DescriptionStyleModel",
1719
+ "model_module_version": "1.5.0",
1720
+ "state": {
1721
+ "_model_module": "@jupyter-widgets/controls",
1722
+ "_model_module_version": "1.5.0",
1723
+ "_model_name": "DescriptionStyleModel",
1724
+ "_view_count": null,
1725
+ "_view_module": "@jupyter-widgets/base",
1726
+ "_view_module_version": "1.2.0",
1727
+ "_view_name": "StyleView",
1728
+ "description_width": ""
1729
+ }
1730
+ },
1731
+ "4a18ceac740040b6a221c39481a09636": {
1732
+ "model_module": "@jupyter-widgets/base",
1733
+ "model_name": "LayoutModel",
1734
+ "model_module_version": "1.2.0",
1735
+ "state": {
1736
+ "_model_module": "@jupyter-widgets/base",
1737
+ "_model_module_version": "1.2.0",
1738
+ "_model_name": "LayoutModel",
1739
+ "_view_count": null,
1740
+ "_view_module": "@jupyter-widgets/base",
1741
+ "_view_module_version": "1.2.0",
1742
+ "_view_name": "LayoutView",
1743
+ "align_content": null,
1744
+ "align_items": null,
1745
+ "align_self": null,
1746
+ "border": null,
1747
+ "bottom": null,
1748
+ "display": null,
1749
+ "flex": null,
1750
+ "flex_flow": null,
1751
+ "grid_area": null,
1752
+ "grid_auto_columns": null,
1753
+ "grid_auto_flow": null,
1754
+ "grid_auto_rows": null,
1755
+ "grid_column": null,
1756
+ "grid_gap": null,
1757
+ "grid_row": null,
1758
+ "grid_template_areas": null,
1759
+ "grid_template_columns": null,
1760
+ "grid_template_rows": null,
1761
+ "height": null,
1762
+ "justify_content": null,
1763
+ "justify_items": null,
1764
+ "left": null,
1765
+ "margin": null,
1766
+ "max_height": null,
1767
+ "max_width": null,
1768
+ "min_height": null,
1769
+ "min_width": null,
1770
+ "object_fit": null,
1771
+ "object_position": null,
1772
+ "order": null,
1773
+ "overflow": null,
1774
+ "overflow_x": null,
1775
+ "overflow_y": null,
1776
+ "padding": null,
1777
+ "right": null,
1778
+ "top": null,
1779
+ "visibility": null,
1780
+ "width": null
1781
+ }
1782
+ },
1783
+ "db80ce3109354c55a8356840e0f071e7": {
1784
+ "model_module": "@jupyter-widgets/controls",
1785
+ "model_name": "ProgressStyleModel",
1786
+ "model_module_version": "1.5.0",
1787
+ "state": {
1788
+ "_model_module": "@jupyter-widgets/controls",
1789
+ "_model_module_version": "1.5.0",
1790
+ "_model_name": "ProgressStyleModel",
1791
+ "_view_count": null,
1792
+ "_view_module": "@jupyter-widgets/base",
1793
+ "_view_module_version": "1.2.0",
1794
+ "_view_name": "StyleView",
1795
+ "bar_color": null,
1796
+ "description_width": ""
1797
+ }
1798
+ },
1799
+ "5142db656cab4b7d9ad246a2b363f708": {
1800
+ "model_module": "@jupyter-widgets/base",
1801
+ "model_name": "LayoutModel",
1802
+ "model_module_version": "1.2.0",
1803
+ "state": {
1804
+ "_model_module": "@jupyter-widgets/base",
1805
+ "_model_module_version": "1.2.0",
1806
+ "_model_name": "LayoutModel",
1807
+ "_view_count": null,
1808
+ "_view_module": "@jupyter-widgets/base",
1809
+ "_view_module_version": "1.2.0",
1810
+ "_view_name": "LayoutView",
1811
+ "align_content": null,
1812
+ "align_items": null,
1813
+ "align_self": null,
1814
+ "border": null,
1815
+ "bottom": null,
1816
+ "display": null,
1817
+ "flex": null,
1818
+ "flex_flow": null,
1819
+ "grid_area": null,
1820
+ "grid_auto_columns": null,
1821
+ "grid_auto_flow": null,
1822
+ "grid_auto_rows": null,
1823
+ "grid_column": null,
1824
+ "grid_gap": null,
1825
+ "grid_row": null,
1826
+ "grid_template_areas": null,
1827
+ "grid_template_columns": null,
1828
+ "grid_template_rows": null,
1829
+ "height": null,
1830
+ "justify_content": null,
1831
+ "justify_items": null,
1832
+ "left": null,
1833
+ "margin": null,
1834
+ "max_height": null,
1835
+ "max_width": null,
1836
+ "min_height": null,
1837
+ "min_width": null,
1838
+ "object_fit": null,
1839
+ "object_position": null,
1840
+ "order": null,
1841
+ "overflow": null,
1842
+ "overflow_x": null,
1843
+ "overflow_y": null,
1844
+ "padding": null,
1845
+ "right": null,
1846
+ "top": null,
1847
+ "visibility": null,
1848
+ "width": null
1849
+ }
1850
+ },
1851
+ "13623bd3096d45af83ef339474b4357f": {
1852
+ "model_module": "@jupyter-widgets/controls",
1853
+ "model_name": "DescriptionStyleModel",
1854
+ "model_module_version": "1.5.0",
1855
+ "state": {
1856
+ "_model_module": "@jupyter-widgets/controls",
1857
+ "_model_module_version": "1.5.0",
1858
+ "_model_name": "DescriptionStyleModel",
1859
+ "_view_count": null,
1860
+ "_view_module": "@jupyter-widgets/base",
1861
+ "_view_module_version": "1.2.0",
1862
+ "_view_name": "StyleView",
1863
+ "description_width": ""
1864
+ }
1865
+ }
1866
+ }
1867
+ }
1868
+ },
1869
+ "nbformat": 4,
1870
+ "nbformat_minor": 0
1871
+ }