codys12 commited on
Commit
0fff85c
·
1 Parent(s): 79e473c

Upload Finetuning.ipynb

Browse files
Files changed (1) hide show
  1. Finetuning.ipynb +2179 -0
Finetuning.ipynb ADDED
@@ -0,0 +1,2179 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "code",
5
+ "execution_count": null,
6
+ "metadata": {
7
+ "colab": {
8
+ "base_uri": "https://localhost:8080/"
9
+ },
10
+ "id": "mNnkgBq7Q3EU",
11
+ "outputId": "a5572244-c21b-4d30-9bb9-6a7333b22b65"
12
+ },
13
+ "outputs": [
14
+ {
15
+ "output_type": "stream",
16
+ "name": "stdout",
17
+ "text": [
18
+ " Installing build dependencies ... \u001b[?25l\u001b[?25hdone\n",
19
+ " Getting requirements to build wheel ... \u001b[?25l\u001b[?25hdone\n",
20
+ " Preparing metadata (pyproject.toml) ... \u001b[?25l\u001b[?25hdone\n",
21
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m133.9/133.9 kB\u001b[0m \u001b[31m3.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
22
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m7.9/7.9 MB\u001b[0m \u001b[31m64.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
23
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m2.3/2.3 MB\u001b[0m \u001b[31m103.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
24
+ "\u001b[?25h Preparing metadata (setup.py) ... \u001b[?25l\u001b[?25hdone\n",
25
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m261.4/261.4 kB\u001b[0m \u001b[31m34.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
26
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m521.2/521.2 kB\u001b[0m \u001b[31m55.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
27
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m100.0/100.0 kB\u001b[0m \u001b[31m14.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
28
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m311.7/311.7 kB\u001b[0m \u001b[31m36.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
29
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m3.8/3.8 MB\u001b[0m \u001b[31m106.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
30
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m1.3/1.3 MB\u001b[0m \u001b[31m88.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
31
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m44.6/44.6 kB\u001b[0m \u001b[31m5.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
32
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m307.2/307.2 kB\u001b[0m \u001b[31m34.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
33
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m115.3/115.3 kB\u001b[0m \u001b[31m15.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
34
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m134.8/134.8 kB\u001b[0m \u001b[31m18.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
35
+ "\u001b[?25h Building wheel for flash-attn (setup.py) ... \u001b[?25l\u001b[?25hdone\n",
36
+ " Building wheel for peft (pyproject.toml) ... \u001b[?25l\u001b[?25hdone\n",
37
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m92.6/92.6 MB\u001b[0m \u001b[31m20.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
38
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m2.1/2.1 MB\u001b[0m \u001b[31m93.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
39
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m190.6/190.6 kB\u001b[0m \u001b[31m25.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
40
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m248.6/248.6 kB\u001b[0m \u001b[31m28.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
41
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m62.7/62.7 kB\u001b[0m \u001b[31m9.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
42
+ "\u001b[?25h"
43
+ ]
44
+ }
45
+ ],
46
+ "source": [
47
+ "!pip install -q -U trl transformers flash-attn tensor_parallel accelerate git+https://github.com/huggingface/peft.git\n",
48
+ "!pip install -q datasets bitsandbytes einops wandb"
49
+ ]
50
+ },
51
+ {
52
+ "cell_type": "markdown",
53
+ "metadata": {
54
+ "id": "Rnqmq7amRrU8"
55
+ },
56
+ "source": [
57
+ "## Dataset\n",
58
+ "\n"
59
+ ]
60
+ },
61
+ {
62
+ "cell_type": "code",
63
+ "execution_count": null,
64
+ "metadata": {
65
+ "id": "0X3kHnskSWU4"
66
+ },
67
+ "outputs": [],
68
+ "source": [
69
+ "import random\n",
70
+ "\n",
71
+ "from datasets import load_dataset\n",
72
+ "\n",
73
+ "dataset_name = 'codys12/Pathway'\n",
74
+ "dataset = load_dataset(dataset_name, split='train')\n",
75
+ "\n",
76
+ "full_dataset = dataset#['text']\n",
77
+ "\n",
78
+ "# random.seed(43)\n",
79
+ "# random_indexes = random.sample(range(len(full_dataset)), 200)\n",
80
+ "\n",
81
+ "# test_dataset = dataset.select(random_indexes)\n",
82
+ "# train_dataset = dataset.select([i for i in range(len(dataset)) if i not in random_indexes])\n",
83
+ "\n",
84
+ "# print(f\"Full dataset size: {len(dataset)}\")\n",
85
+ "# print(f\"Test dataset size: {len(test_dataset)}\")\n",
86
+ "# print(f\"Train dataset size: {len(train_dataset)}\")"
87
+ ]
88
+ },
89
+ {
90
+ "cell_type": "markdown",
91
+ "metadata": {
92
+ "id": "rjOMoSbGSxx9"
93
+ },
94
+ "source": [
95
+ "## Loading the model"
96
+ ]
97
+ },
98
+ {
99
+ "cell_type": "code",
100
+ "execution_count": null,
101
+ "metadata": {
102
+ "colab": {
103
+ "base_uri": "https://localhost:8080/",
104
+ "height": 49,
105
+ "referenced_widgets": [
106
+ "c7312aaf3b1042e49b2ce9ffcd458fe4",
107
+ "16305f29346e4458be44270922757d82",
108
+ "7ccfa3162d84410eabe33dc00d02a941",
109
+ "82d54fe358884c558c865b7529ff3415",
110
+ "ae7c8ce1cee14887afef016e3a872487",
111
+ "0569b758ea9b4456b70248dcb4a92aff",
112
+ "e8537406dd7548ec8e5a8c9330ab7831",
113
+ "64257e8bc3fe4624b6841c6e896675e3",
114
+ "800cb944b9b94ae3a0fa2a48b8754fbf",
115
+ "a64b40f472b241a18cf640babda23642",
116
+ "237ea7c496b54ae78b3e52aac587dd0a"
117
+ ]
118
+ },
119
+ "id": "ZwXZbQ2dSwzI",
120
+ "outputId": "5d1b8b27-167a-44c3-ea41-2138050dac08"
121
+ },
122
+ "outputs": [
123
+ {
124
+ "output_type": "display_data",
125
+ "data": {
126
+ "text/plain": [
127
+ "Loading checkpoint shards: 0%| | 0/2 [00:00<?, ?it/s]"
128
+ ],
129
+ "application/vnd.jupyter.widget-view+json": {
130
+ "version_major": 2,
131
+ "version_minor": 0,
132
+ "model_id": "c7312aaf3b1042e49b2ce9ffcd458fe4"
133
+ }
134
+ },
135
+ "metadata": {}
136
+ }
137
+ ],
138
+ "source": [
139
+ "import torch\n",
140
+ "from transformers import AutoModelForCausalLM, AutoTokenizer, BitsAndBytesConfig, AutoTokenizer\n",
141
+ "import tensor_parallel as tp\n",
142
+ "\n",
143
+ "#model_name = \"codellama/CodeLlama-7b-hf\"\n",
144
+ "#model_name = \"codys12/MergeLlama-7b\"\n",
145
+ "model_name = \"NousResearch/Yarn-Mistral-7b-128k\"\n",
146
+ "#model_name = \"NousResearch/Yarn-Llama-2-7b-128k\"\n",
147
+ "\n",
148
+ "model = AutoModelForCausalLM.from_pretrained(\n",
149
+ " model_name,\n",
150
+ " trust_remote_code=True,\n",
151
+ " torch_dtype=torch.float16,\n",
152
+ " use_flash_attention_2=True,\n",
153
+ " device_map='auto',\n",
154
+ ")\n",
155
+ "model.half()\n",
156
+ "\n",
157
+ "model.config.use_cache = False"
158
+ ]
159
+ },
160
+ {
161
+ "cell_type": "code",
162
+ "execution_count": null,
163
+ "metadata": {
164
+ "id": "XDS2yYmlUAD6"
165
+ },
166
+ "outputs": [],
167
+ "source": [
168
+ "tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True)\n",
169
+ "tokenizer.pad_token = tokenizer.eos_token\n",
170
+ "tokenizer.padding_side = \"left\"\n",
171
+ "\n",
172
+ "#special_tokens = ['<<<<<<<', '=======', '>>>>>>>']\n",
173
+ "\n",
174
+ "#tokenizer.add_special_tokens({'additional_special_tokens': special_tokens})\n",
175
+ "\n",
176
+ "#model.resize_token_embeddings(len(tokenizer))"
177
+ ]
178
+ },
179
+ {
180
+ "cell_type": "code",
181
+ "execution_count": null,
182
+ "metadata": {
183
+ "id": "dQdvjTYTT1vQ"
184
+ },
185
+ "outputs": [],
186
+ "source": [
187
+ "from peft import LoraConfig, get_peft_model\n",
188
+ "\n",
189
+ "lora_alpha = 16\n",
190
+ "lora_dropout = 0.1\n",
191
+ "lora_r = 16\n",
192
+ "\n",
193
+ "peft_config = LoraConfig(\n",
194
+ " lora_alpha=lora_alpha,\n",
195
+ " lora_dropout=lora_dropout,\n",
196
+ " r=lora_r,\n",
197
+ " bias=\"none\",\n",
198
+ " task_type=\"CAUSAL_LM\",\n",
199
+ " #modules_to_save = [\"lm_head\", \"embed_tokens\"]\n",
200
+ ")"
201
+ ]
202
+ },
203
+ {
204
+ "cell_type": "code",
205
+ "execution_count": null,
206
+ "metadata": {
207
+ "id": "OCFTvGW6aspE"
208
+ },
209
+ "outputs": [],
210
+ "source": [
211
+ "from transformers import TrainingArguments\n",
212
+ "\n",
213
+ "output_dir = \"./results\"\n",
214
+ "per_device_train_batch_size = 3\n",
215
+ "gradient_accumulation_steps = 4\n",
216
+ "optim = \"paged_adamw_32bit\"\n",
217
+ "save_steps = 100\n",
218
+ "logging_steps = 10\n",
219
+ "learning_rate = 2e-4\n",
220
+ "max_grad_norm = 0.3\n",
221
+ "num_train_epochs = 1\n",
222
+ "warmup_ratio = 0.03\n",
223
+ "lr_scheduler_type = \"constant\"\n",
224
+ "\n",
225
+ "training_arguments = TrainingArguments(\n",
226
+ " output_dir=output_dir,\n",
227
+ " per_device_train_batch_size=per_device_train_batch_size,\n",
228
+ " gradient_accumulation_steps=gradient_accumulation_steps,\n",
229
+ " optim=optim,\n",
230
+ " #save_steps=save_steps,\n",
231
+ " save_strategy=\"epoch\",\n",
232
+ " logging_steps=logging_steps,\n",
233
+ " learning_rate=learning_rate,\n",
234
+ " #fp16=False,\n",
235
+ " max_grad_norm=max_grad_norm,\n",
236
+ " num_train_epochs=num_train_epochs,\n",
237
+ " warmup_ratio=warmup_ratio,\n",
238
+ " group_by_length=False,\n",
239
+ " lr_scheduler_type=lr_scheduler_type,\n",
240
+ ")"
241
+ ]
242
+ },
243
+ {
244
+ "cell_type": "code",
245
+ "execution_count": null,
246
+ "metadata": {
247
+ "id": "TNeOBgZeTl2H",
248
+ "colab": {
249
+ "base_uri": "https://localhost:8080/"
250
+ },
251
+ "outputId": "e5c37a9c-9a2c-4860-8174-4252e6883c12"
252
+ },
253
+ "outputs": [
254
+ {
255
+ "output_type": "stream",
256
+ "name": "stderr",
257
+ "text": [
258
+ "/usr/local/lib/python3.10/dist-packages/trl/trainer/ppo_config.py:141: UserWarning: The `optimize_cuda_cache` arguement will be deprecated soon, please use `optimize_device_cache` instead.\n",
259
+ " warnings.warn(\n",
260
+ "/usr/local/lib/python3.10/dist-packages/trl/trainer/sft_trainer.py:247: UserWarning: You passed a tokenizer with `padding_side` not equal to `right` to the SFTTrainer. This might lead to some unexpected behaviour due to overflow issues when training a model in half-precision. You might consider adding `tokenizer.padding_side = 'right'` to your code.\n",
261
+ " warnings.warn(\n"
262
+ ]
263
+ }
264
+ ],
265
+ "source": [
266
+ "from trl import SFTTrainer, DataCollatorForCompletionOnlyLM\n",
267
+ "\n",
268
+ "max_seq_length = 768\n",
269
+ "\n",
270
+ "#model = tp.tensor_parallel(model)\n",
271
+ "# instruction_template = \"<<<<<<<\"\n",
272
+ "# response_template = \">>>>>>>\"\n",
273
+ "# collator = DataCollatorForCompletionOnlyLM(instruction_template=instruction_template, response_template=response_template, tokenizer=tokenizer, mlm=False)\n",
274
+ "\n",
275
+ "# def formatting_prompts_func(example):\n",
276
+ "# output_texts = []\n",
277
+ "# for i in range(len(example['conflict_resolution'])):\n",
278
+ "# text = example['conflict_resolution'][i]\n",
279
+ "# output_texts.append(text)\n",
280
+ "# return output_texts\n",
281
+ "\n",
282
+ "trainer = SFTTrainer(\n",
283
+ " model=model,\n",
284
+ " train_dataset=full_dataset,\n",
285
+ " #eval_dataset=test_dataset,\n",
286
+ " peft_config=peft_config,\n",
287
+ " dataset_text_field=\"text\",\n",
288
+ " max_seq_length=max_seq_length,\n",
289
+ " tokenizer=tokenizer,\n",
290
+ " #data_collator=collator,\n",
291
+ " #formatting_func=formatting_prompts_func,\n",
292
+ " args=training_arguments,\n",
293
+ ")"
294
+ ]
295
+ },
296
+ {
297
+ "cell_type": "code",
298
+ "execution_count": null,
299
+ "metadata": {
300
+ "id": "7OyIvEx7b1GT"
301
+ },
302
+ "outputs": [],
303
+ "source": [
304
+ "for name, module in trainer.model.named_modules():\n",
305
+ " if \"norm\" in name:\n",
306
+ " module = module.to(torch.float32)"
307
+ ]
308
+ },
309
+ {
310
+ "cell_type": "code",
311
+ "source": [
312
+ "model.half()"
313
+ ],
314
+ "metadata": {
315
+ "colab": {
316
+ "base_uri": "https://localhost:8080/"
317
+ },
318
+ "id": "E4Ns5ZyCwizG",
319
+ "outputId": "6ba9ac28-bb32-4adf-8cc4-3768bcca5ad8"
320
+ },
321
+ "execution_count": null,
322
+ "outputs": [
323
+ {
324
+ "output_type": "execute_result",
325
+ "data": {
326
+ "text/plain": [
327
+ "MistralForCausalLM(\n",
328
+ " (model): MistralModel(\n",
329
+ " (embed_tokens): Embedding(32000, 4096)\n",
330
+ " (layers): ModuleList(\n",
331
+ " (0-31): 32 x MistralDecoderLayer(\n",
332
+ " (self_attn): MistralFlashAttention2(\n",
333
+ " (q_proj): lora.Linear(\n",
334
+ " (base_layer): Linear(in_features=4096, out_features=4096, bias=False)\n",
335
+ " (lora_dropout): ModuleDict(\n",
336
+ " (default): Dropout(p=0.1, inplace=False)\n",
337
+ " )\n",
338
+ " (lora_A): ModuleDict(\n",
339
+ " (default): Linear(in_features=4096, out_features=16, bias=False)\n",
340
+ " )\n",
341
+ " (lora_B): ModuleDict(\n",
342
+ " (default): Linear(in_features=16, out_features=4096, bias=False)\n",
343
+ " )\n",
344
+ " (lora_embedding_A): ParameterDict()\n",
345
+ " (lora_embedding_B): ParameterDict()\n",
346
+ " )\n",
347
+ " (k_proj): Linear(in_features=4096, out_features=1024, bias=False)\n",
348
+ " (v_proj): lora.Linear(\n",
349
+ " (base_layer): Linear(in_features=4096, out_features=1024, bias=False)\n",
350
+ " (lora_dropout): ModuleDict(\n",
351
+ " (default): Dropout(p=0.1, inplace=False)\n",
352
+ " )\n",
353
+ " (lora_A): ModuleDict(\n",
354
+ " (default): Linear(in_features=4096, out_features=16, bias=False)\n",
355
+ " )\n",
356
+ " (lora_B): ModuleDict(\n",
357
+ " (default): Linear(in_features=16, out_features=1024, bias=False)\n",
358
+ " )\n",
359
+ " (lora_embedding_A): ParameterDict()\n",
360
+ " (lora_embedding_B): ParameterDict()\n",
361
+ " )\n",
362
+ " (o_proj): Linear(in_features=4096, out_features=4096, bias=False)\n",
363
+ " (rotary_emb): MistralYaRNScaledRotaryEmbedding()\n",
364
+ " )\n",
365
+ " (mlp): MistralMLP(\n",
366
+ " (gate_proj): Linear(in_features=4096, out_features=14336, bias=False)\n",
367
+ " (up_proj): Linear(in_features=4096, out_features=14336, bias=False)\n",
368
+ " (down_proj): Linear(in_features=14336, out_features=4096, bias=False)\n",
369
+ " (act_fn): SiLUActivation()\n",
370
+ " )\n",
371
+ " (input_layernorm): MistralRMSNorm()\n",
372
+ " (post_attention_layernorm): MistralRMSNorm()\n",
373
+ " )\n",
374
+ " )\n",
375
+ " (norm): MistralRMSNorm()\n",
376
+ " )\n",
377
+ " (lm_head): Linear(in_features=4096, out_features=32000, bias=False)\n",
378
+ ")"
379
+ ]
380
+ },
381
+ "metadata": {},
382
+ "execution_count": 8
383
+ }
384
+ ]
385
+ },
386
+ {
387
+ "cell_type": "markdown",
388
+ "metadata": {
389
+ "id": "1JApkSrCcL3O"
390
+ },
391
+ "source": [
392
+ "## Train the model"
393
+ ]
394
+ },
395
+ {
396
+ "cell_type": "code",
397
+ "execution_count": null,
398
+ "metadata": {
399
+ "colab": {
400
+ "base_uri": "https://localhost:8080/",
401
+ "height": 770
402
+ },
403
+ "id": "_kbS7nRxcMt7",
404
+ "outputId": "b162549b-a5db-4557-eb0a-f8857cb05f3a"
405
+ },
406
+ "outputs": [
407
+ {
408
+ "output_type": "stream",
409
+ "name": "stderr",
410
+ "text": [
411
+ "\u001b[34m\u001b[1mwandb\u001b[0m: Currently logged in as: \u001b[33mcodysteinmetz7\u001b[0m. Use \u001b[1m`wandb login --relogin`\u001b[0m to force relogin\n"
412
+ ]
413
+ },
414
+ {
415
+ "output_type": "display_data",
416
+ "data": {
417
+ "text/plain": [
418
+ "<IPython.core.display.HTML object>"
419
+ ],
420
+ "text/html": [
421
+ "Tracking run with wandb version 0.16.0"
422
+ ]
423
+ },
424
+ "metadata": {}
425
+ },
426
+ {
427
+ "output_type": "display_data",
428
+ "data": {
429
+ "text/plain": [
430
+ "<IPython.core.display.HTML object>"
431
+ ],
432
+ "text/html": [
433
+ "Run data is saved locally in <code>/content/wandb/run-20231116_171138-g4peof8l</code>"
434
+ ]
435
+ },
436
+ "metadata": {}
437
+ },
438
+ {
439
+ "output_type": "display_data",
440
+ "data": {
441
+ "text/plain": [
442
+ "<IPython.core.display.HTML object>"
443
+ ],
444
+ "text/html": [
445
+ "Syncing run <strong><a href='https://wandb.ai/codysteinmetz7/huggingface/runs/g4peof8l' target=\"_blank\">curious-firebrand-68</a></strong> to <a href='https://wandb.ai/codysteinmetz7/huggingface' target=\"_blank\">Weights & Biases</a> (<a href='https://wandb.me/run' target=\"_blank\">docs</a>)<br/>"
446
+ ]
447
+ },
448
+ "metadata": {}
449
+ },
450
+ {
451
+ "output_type": "display_data",
452
+ "data": {
453
+ "text/plain": [
454
+ "<IPython.core.display.HTML object>"
455
+ ],
456
+ "text/html": [
457
+ " View project at <a href='https://wandb.ai/codysteinmetz7/huggingface' target=\"_blank\">https://wandb.ai/codysteinmetz7/huggingface</a>"
458
+ ]
459
+ },
460
+ "metadata": {}
461
+ },
462
+ {
463
+ "output_type": "display_data",
464
+ "data": {
465
+ "text/plain": [
466
+ "<IPython.core.display.HTML object>"
467
+ ],
468
+ "text/html": [
469
+ " View run at <a href='https://wandb.ai/codysteinmetz7/huggingface/runs/g4peof8l' target=\"_blank\">https://wandb.ai/codysteinmetz7/huggingface/runs/g4peof8l</a>"
470
+ ]
471
+ },
472
+ "metadata": {}
473
+ },
474
+ {
475
+ "output_type": "stream",
476
+ "name": "stderr",
477
+ "text": [
478
+ "You're using a LlamaTokenizerFast tokenizer. Please note that with a fast tokenizer, using the `__call__` method is faster than using a method to encode the text followed by a call to the `pad` method to get a padded encoding.\n"
479
+ ]
480
+ },
481
+ {
482
+ "output_type": "display_data",
483
+ "data": {
484
+ "text/plain": [
485
+ "<IPython.core.display.HTML object>"
486
+ ],
487
+ "text/html": [
488
+ "\n",
489
+ " <div>\n",
490
+ " \n",
491
+ " <progress value='166' max='166' style='width:300px; height:20px; vertical-align: middle;'></progress>\n",
492
+ " [166/166 03:56, Epoch 0/1]\n",
493
+ " </div>\n",
494
+ " <table border=\"1\" class=\"dataframe\">\n",
495
+ " <thead>\n",
496
+ " <tr style=\"text-align: left;\">\n",
497
+ " <th>Step</th>\n",
498
+ " <th>Training Loss</th>\n",
499
+ " </tr>\n",
500
+ " </thead>\n",
501
+ " <tbody>\n",
502
+ " <tr>\n",
503
+ " <td>10</td>\n",
504
+ " <td>1.562600</td>\n",
505
+ " </tr>\n",
506
+ " <tr>\n",
507
+ " <td>20</td>\n",
508
+ " <td>1.144800</td>\n",
509
+ " </tr>\n",
510
+ " <tr>\n",
511
+ " <td>30</td>\n",
512
+ " <td>1.091400</td>\n",
513
+ " </tr>\n",
514
+ " <tr>\n",
515
+ " <td>40</td>\n",
516
+ " <td>1.005600</td>\n",
517
+ " </tr>\n",
518
+ " <tr>\n",
519
+ " <td>50</td>\n",
520
+ " <td>0.973000</td>\n",
521
+ " </tr>\n",
522
+ " <tr>\n",
523
+ " <td>60</td>\n",
524
+ " <td>0.945800</td>\n",
525
+ " </tr>\n",
526
+ " <tr>\n",
527
+ " <td>70</td>\n",
528
+ " <td>0.964000</td>\n",
529
+ " </tr>\n",
530
+ " <tr>\n",
531
+ " <td>80</td>\n",
532
+ " <td>0.933100</td>\n",
533
+ " </tr>\n",
534
+ " <tr>\n",
535
+ " <td>90</td>\n",
536
+ " <td>0.946800</td>\n",
537
+ " </tr>\n",
538
+ " <tr>\n",
539
+ " <td>100</td>\n",
540
+ " <td>0.893600</td>\n",
541
+ " </tr>\n",
542
+ " <tr>\n",
543
+ " <td>110</td>\n",
544
+ " <td>0.930500</td>\n",
545
+ " </tr>\n",
546
+ " <tr>\n",
547
+ " <td>120</td>\n",
548
+ " <td>0.935700</td>\n",
549
+ " </tr>\n",
550
+ " <tr>\n",
551
+ " <td>130</td>\n",
552
+ " <td>0.916900</td>\n",
553
+ " </tr>\n",
554
+ " <tr>\n",
555
+ " <td>140</td>\n",
556
+ " <td>0.969000</td>\n",
557
+ " </tr>\n",
558
+ " <tr>\n",
559
+ " <td>150</td>\n",
560
+ " <td>0.912600</td>\n",
561
+ " </tr>\n",
562
+ " <tr>\n",
563
+ " <td>160</td>\n",
564
+ " <td>0.928400</td>\n",
565
+ " </tr>\n",
566
+ " </tbody>\n",
567
+ "</table><p>"
568
+ ]
569
+ },
570
+ "metadata": {}
571
+ },
572
+ {
573
+ "output_type": "execute_result",
574
+ "data": {
575
+ "text/plain": [
576
+ "TrainOutput(global_step=166, training_loss=1.0009092394127903, metrics={'train_runtime': 243.7045, 'train_samples_per_second': 8.207, 'train_steps_per_second': 0.681, 'total_flos': 4.667931048886272e+16, 'train_loss': 1.0009092394127903, 'epoch': 1.0})"
577
+ ]
578
+ },
579
+ "metadata": {},
580
+ "execution_count": 9
581
+ }
582
+ ],
583
+ "source": [
584
+ "trainer.train()"
585
+ ]
586
+ },
587
+ {
588
+ "cell_type": "code",
589
+ "execution_count": null,
590
+ "metadata": {
591
+ "colab": {
592
+ "base_uri": "https://localhost:8080/",
593
+ "height": 49,
594
+ "referenced_widgets": [
595
+ "d2a42eef2730409ebf393b436e9b1cb2",
596
+ "1b15326622c846d890d9cc46f2b9e910",
597
+ "0c7137bece264cd6aecef180d67c2594",
598
+ "68399db4e45b45ebae3089f446536fe6",
599
+ "c31967bae9ed4fedb0236e8e12e179ff",
600
+ "a73387128ad94130ba42c47ebc305dd7",
601
+ "588f343ef4e44aa7b0d3b7947999ec2f",
602
+ "d09ed21833894b2392c82623590cceca",
603
+ "c11a6994dbe44b619c70c31b36e11124",
604
+ "2ddaf90573204459b664e74366bc5b24",
605
+ "e80fa5ade2994beab98967b60d9bfaef",
606
+ "12c7dce184514bc594a21bf3c0c3bb40",
607
+ "a7e1e3bdd1b14302b47bc6ca32a1d0b7",
608
+ "12c6f2e3e50c4f50ac04df01e0d5ea48",
609
+ "196c9b90353c486d81f35808f3a596ac",
610
+ "e9543a04f3c74b3a96e8e83f0553297b",
611
+ "a5ac8c334dd44452bf8ce7226a83e78f",
612
+ "0492dcbe2fc149d790b431195b3b2679",
613
+ "508ebe0aa0344f88be890c7f1fa4f78a",
614
+ "0e186430f4a847cba212f61da4858721",
615
+ "405c6ef86acc4086807a09b5f9268b3e",
616
+ "2e6fe275e4214f67a0077ecf2b9754df",
617
+ "0d19059f1e3a4a12b6cdc311be8756aa"
618
+ ]
619
+ },
620
+ "id": "niyf5_Kc4ugO",
621
+ "outputId": "03076f8c-199e-45b0-e8e7-a4792d1af4fd"
622
+ },
623
+ "outputs": [
624
+ {
625
+ "output_type": "display_data",
626
+ "data": {
627
+ "text/plain": [
628
+ "VBox(children=(HTML(value='<center> <img\\nsrc=https://huggingface.co/front/assets/huggingface_logo-noborder.sv…"
629
+ ],
630
+ "application/vnd.jupyter.widget-view+json": {
631
+ "version_major": 2,
632
+ "version_minor": 0,
633
+ "model_id": "d2a42eef2730409ebf393b436e9b1cb2"
634
+ }
635
+ },
636
+ "metadata": {}
637
+ }
638
+ ],
639
+ "source": [
640
+ "from huggingface_hub import login\n",
641
+ "login()"
642
+ ]
643
+ },
644
+ {
645
+ "cell_type": "code",
646
+ "execution_count": null,
647
+ "metadata": {
648
+ "colab": {
649
+ "base_uri": "https://localhost:8080/",
650
+ "height": 101,
651
+ "referenced_widgets": [
652
+ "eda1a0873d164b1694ef2a90ca5d693f",
653
+ "3f5538cacd0941e5a7dbe222ceded839",
654
+ "4063bb00683e4b5a88b529aac0c7efa7",
655
+ "b56bb08e1d094f2e836b50ac4691030e",
656
+ "52a2f49016e74b498703505011663456",
657
+ "2148cec4f474400eac3395d7ac37c82f",
658
+ "5a42a39acb2f42a6a30fd726ae671ac9",
659
+ "4c563351f1d24532a4faeaebb4f49186",
660
+ "c2b172657edf4e24ac546a330e30f52f",
661
+ "c2fc136fd44d4f0c81937afd5ab708aa",
662
+ "f8b79a63c90d485e8a8188da348ef75f"
663
+ ]
664
+ },
665
+ "id": "v2CEgCF14M0m",
666
+ "outputId": "e3dce87a-91fb-4550-88c2-2d2ff998b325"
667
+ },
668
+ "outputs": [
669
+ {
670
+ "output_type": "display_data",
671
+ "data": {
672
+ "text/plain": [
673
+ "adapter_model.safetensors: 0%| | 0.00/13.6M [00:00<?, ?B/s]"
674
+ ],
675
+ "application/vnd.jupyter.widget-view+json": {
676
+ "version_major": 2,
677
+ "version_minor": 0,
678
+ "model_id": "eda1a0873d164b1694ef2a90ca5d693f"
679
+ }
680
+ },
681
+ "metadata": {}
682
+ },
683
+ {
684
+ "output_type": "execute_result",
685
+ "data": {
686
+ "text/plain": [
687
+ "CommitInfo(commit_url='https://huggingface.co/codys12/Mistral-7b-Pathway-128k-4/commit/8bb8e83a7b36b3eb814c19fb2350be91bfa3ab9a', commit_message='Upload model', commit_description='', oid='8bb8e83a7b36b3eb814c19fb2350be91bfa3ab9a', pr_url=None, pr_revision=None, pr_num=None)"
688
+ ]
689
+ },
690
+ "metadata": {},
691
+ "execution_count": 11
692
+ }
693
+ ],
694
+ "source": [
695
+ "model_to_save = trainer.model.module if hasattr(trainer.model, 'module') else trainer.model # Take care of distributed/parallel training\n",
696
+ "model_to_save.save_pretrained(\"outputs\")\n",
697
+ "model_to_save.push_to_hub(\"Mistral-7b-Pathway-128k-4\")"
698
+ ]
699
+ },
700
+ {
701
+ "cell_type": "code",
702
+ "source": [
703
+ "model_to_save = trainer.model.module if hasattr(trainer.model, 'module') else trainer.model # Take care of distributed/parallel training\n"
704
+ ],
705
+ "metadata": {
706
+ "id": "jCvm4X9HUfZl"
707
+ },
708
+ "execution_count": null,
709
+ "outputs": []
710
+ },
711
+ {
712
+ "cell_type": "code",
713
+ "execution_count": null,
714
+ "metadata": {
715
+ "id": "qmA4G6C64dJ4"
716
+ },
717
+ "outputs": [],
718
+ "source": [
719
+ "lora_config = LoraConfig.from_pretrained('outputs')\n",
720
+ "model2 = get_peft_model(model, lora_config)"
721
+ ]
722
+ },
723
+ {
724
+ "cell_type": "code",
725
+ "execution_count": null,
726
+ "metadata": {
727
+ "colab": {
728
+ "base_uri": "https://localhost:8080/"
729
+ },
730
+ "id": "pgt86z-x4diG",
731
+ "outputId": "1bcd39bf-1913-4342-b58e-0e096e19a210"
732
+ },
733
+ "outputs": [
734
+ {
735
+ "output_type": "stream",
736
+ "name": "stderr",
737
+ "text": [
738
+ "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n"
739
+ ]
740
+ }
741
+ ],
742
+ "source": [
743
+ "text = \"<<SYS>> Instruction: Determine if the user plans to attend the upcoming community meeting.\\nConclusions: \\nThe user plans to attend: [ATTENDING],\\nThe user does not plan to attend: [NOT ATTENDING],\\nUser is unsure about attending: [UNSURE]\\nContext: The community meeting is scheduled for June 15th. [1]\\n\\n<</SYS>><s>Will you be coming to the meeting on June 15th?[1]</s><s>[INST]\"\n",
744
+ "device = \"cuda:0\"\n",
745
+ "\n",
746
+ "inputs = tokenizer(text, return_tensors=\"pt\").to(device)\n",
747
+ "outputs = model_to_save.generate(**inputs, max_new_tokens=400)\n",
748
+ "\n",
749
+ "print(tokenizer.decode(outputs[0], skip_special_tokens=False))"
750
+ ]
751
+ },
752
+ {
753
+ "cell_type": "code",
754
+ "execution_count": null,
755
+ "metadata": {
756
+ "colab": {
757
+ "base_uri": "https://localhost:8080/"
758
+ },
759
+ "id": "fjOInz-Q-54k",
760
+ "outputId": "9cdd6682-958c-4369-e96c-e82c614979b8"
761
+ },
762
+ "outputs": [
763
+ {
764
+ "data": {
765
+ "text/plain": [
766
+ "CommitInfo(commit_url='https://huggingface.co/codys12/MergeLlama-7b/commit/6de5455897d4d320e0cde4e428cf4b32e2430222', commit_message='Upload tokenizer', commit_description='', oid='6de5455897d4d320e0cde4e428cf4b32e2430222', pr_url=None, pr_revision=None, pr_num=None)"
767
+ ]
768
+ },
769
+ "execution_count": 14,
770
+ "metadata": {},
771
+ "output_type": "execute_result"
772
+ }
773
+ ],
774
+ "source": [
775
+ "new_model_name = \"Pathway-test\"\n",
776
+ "model2.push_to_hub(new_model_name)\n",
777
+ "tokenizer.push_to_hub(new_model_name)\n"
778
+ ]
779
+ }
780
+ ],
781
+ "metadata": {
782
+ "accelerator": "GPU",
783
+ "colab": {
784
+ "machine_shape": "hm",
785
+ "provenance": [],
786
+ "gpuType": "A100"
787
+ },
788
+ "kernelspec": {
789
+ "display_name": "Python 3",
790
+ "name": "python3"
791
+ },
792
+ "language_info": {
793
+ "name": "python"
794
+ },
795
+ "widgets": {
796
+ "application/vnd.jupyter.widget-state+json": {
797
+ "c7312aaf3b1042e49b2ce9ffcd458fe4": {
798
+ "model_module": "@jupyter-widgets/controls",
799
+ "model_name": "HBoxModel",
800
+ "model_module_version": "1.5.0",
801
+ "state": {
802
+ "_dom_classes": [],
803
+ "_model_module": "@jupyter-widgets/controls",
804
+ "_model_module_version": "1.5.0",
805
+ "_model_name": "HBoxModel",
806
+ "_view_count": null,
807
+ "_view_module": "@jupyter-widgets/controls",
808
+ "_view_module_version": "1.5.0",
809
+ "_view_name": "HBoxView",
810
+ "box_style": "",
811
+ "children": [
812
+ "IPY_MODEL_16305f29346e4458be44270922757d82",
813
+ "IPY_MODEL_7ccfa3162d84410eabe33dc00d02a941",
814
+ "IPY_MODEL_82d54fe358884c558c865b7529ff3415"
815
+ ],
816
+ "layout": "IPY_MODEL_ae7c8ce1cee14887afef016e3a872487"
817
+ }
818
+ },
819
+ "16305f29346e4458be44270922757d82": {
820
+ "model_module": "@jupyter-widgets/controls",
821
+ "model_name": "HTMLModel",
822
+ "model_module_version": "1.5.0",
823
+ "state": {
824
+ "_dom_classes": [],
825
+ "_model_module": "@jupyter-widgets/controls",
826
+ "_model_module_version": "1.5.0",
827
+ "_model_name": "HTMLModel",
828
+ "_view_count": null,
829
+ "_view_module": "@jupyter-widgets/controls",
830
+ "_view_module_version": "1.5.0",
831
+ "_view_name": "HTMLView",
832
+ "description": "",
833
+ "description_tooltip": null,
834
+ "layout": "IPY_MODEL_0569b758ea9b4456b70248dcb4a92aff",
835
+ "placeholder": "​",
836
+ "style": "IPY_MODEL_e8537406dd7548ec8e5a8c9330ab7831",
837
+ "value": "Loading checkpoint shards: 100%"
838
+ }
839
+ },
840
+ "7ccfa3162d84410eabe33dc00d02a941": {
841
+ "model_module": "@jupyter-widgets/controls",
842
+ "model_name": "FloatProgressModel",
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": "FloatProgressModel",
849
+ "_view_count": null,
850
+ "_view_module": "@jupyter-widgets/controls",
851
+ "_view_module_version": "1.5.0",
852
+ "_view_name": "ProgressView",
853
+ "bar_style": "success",
854
+ "description": "",
855
+ "description_tooltip": null,
856
+ "layout": "IPY_MODEL_64257e8bc3fe4624b6841c6e896675e3",
857
+ "max": 2,
858
+ "min": 0,
859
+ "orientation": "horizontal",
860
+ "style": "IPY_MODEL_800cb944b9b94ae3a0fa2a48b8754fbf",
861
+ "value": 2
862
+ }
863
+ },
864
+ "82d54fe358884c558c865b7529ff3415": {
865
+ "model_module": "@jupyter-widgets/controls",
866
+ "model_name": "HTMLModel",
867
+ "model_module_version": "1.5.0",
868
+ "state": {
869
+ "_dom_classes": [],
870
+ "_model_module": "@jupyter-widgets/controls",
871
+ "_model_module_version": "1.5.0",
872
+ "_model_name": "HTMLModel",
873
+ "_view_count": null,
874
+ "_view_module": "@jupyter-widgets/controls",
875
+ "_view_module_version": "1.5.0",
876
+ "_view_name": "HTMLView",
877
+ "description": "",
878
+ "description_tooltip": null,
879
+ "layout": "IPY_MODEL_a64b40f472b241a18cf640babda23642",
880
+ "placeholder": "​",
881
+ "style": "IPY_MODEL_237ea7c496b54ae78b3e52aac587dd0a",
882
+ "value": " 2/2 [00:14&lt;00:00, 6.80s/it]"
883
+ }
884
+ },
885
+ "ae7c8ce1cee14887afef016e3a872487": {
886
+ "model_module": "@jupyter-widgets/base",
887
+ "model_name": "LayoutModel",
888
+ "model_module_version": "1.2.0",
889
+ "state": {
890
+ "_model_module": "@jupyter-widgets/base",
891
+ "_model_module_version": "1.2.0",
892
+ "_model_name": "LayoutModel",
893
+ "_view_count": null,
894
+ "_view_module": "@jupyter-widgets/base",
895
+ "_view_module_version": "1.2.0",
896
+ "_view_name": "LayoutView",
897
+ "align_content": null,
898
+ "align_items": null,
899
+ "align_self": null,
900
+ "border": null,
901
+ "bottom": null,
902
+ "display": null,
903
+ "flex": null,
904
+ "flex_flow": null,
905
+ "grid_area": null,
906
+ "grid_auto_columns": null,
907
+ "grid_auto_flow": null,
908
+ "grid_auto_rows": null,
909
+ "grid_column": null,
910
+ "grid_gap": null,
911
+ "grid_row": null,
912
+ "grid_template_areas": null,
913
+ "grid_template_columns": null,
914
+ "grid_template_rows": null,
915
+ "height": null,
916
+ "justify_content": null,
917
+ "justify_items": null,
918
+ "left": null,
919
+ "margin": null,
920
+ "max_height": null,
921
+ "max_width": null,
922
+ "min_height": null,
923
+ "min_width": null,
924
+ "object_fit": null,
925
+ "object_position": null,
926
+ "order": null,
927
+ "overflow": null,
928
+ "overflow_x": null,
929
+ "overflow_y": null,
930
+ "padding": null,
931
+ "right": null,
932
+ "top": null,
933
+ "visibility": null,
934
+ "width": null
935
+ }
936
+ },
937
+ "0569b758ea9b4456b70248dcb4a92aff": {
938
+ "model_module": "@jupyter-widgets/base",
939
+ "model_name": "LayoutModel",
940
+ "model_module_version": "1.2.0",
941
+ "state": {
942
+ "_model_module": "@jupyter-widgets/base",
943
+ "_model_module_version": "1.2.0",
944
+ "_model_name": "LayoutModel",
945
+ "_view_count": null,
946
+ "_view_module": "@jupyter-widgets/base",
947
+ "_view_module_version": "1.2.0",
948
+ "_view_name": "LayoutView",
949
+ "align_content": null,
950
+ "align_items": null,
951
+ "align_self": null,
952
+ "border": null,
953
+ "bottom": null,
954
+ "display": null,
955
+ "flex": null,
956
+ "flex_flow": null,
957
+ "grid_area": null,
958
+ "grid_auto_columns": null,
959
+ "grid_auto_flow": null,
960
+ "grid_auto_rows": null,
961
+ "grid_column": null,
962
+ "grid_gap": null,
963
+ "grid_row": null,
964
+ "grid_template_areas": null,
965
+ "grid_template_columns": null,
966
+ "grid_template_rows": null,
967
+ "height": null,
968
+ "justify_content": null,
969
+ "justify_items": null,
970
+ "left": null,
971
+ "margin": null,
972
+ "max_height": null,
973
+ "max_width": null,
974
+ "min_height": null,
975
+ "min_width": null,
976
+ "object_fit": null,
977
+ "object_position": null,
978
+ "order": null,
979
+ "overflow": null,
980
+ "overflow_x": null,
981
+ "overflow_y": null,
982
+ "padding": null,
983
+ "right": null,
984
+ "top": null,
985
+ "visibility": null,
986
+ "width": null
987
+ }
988
+ },
989
+ "e8537406dd7548ec8e5a8c9330ab7831": {
990
+ "model_module": "@jupyter-widgets/controls",
991
+ "model_name": "DescriptionStyleModel",
992
+ "model_module_version": "1.5.0",
993
+ "state": {
994
+ "_model_module": "@jupyter-widgets/controls",
995
+ "_model_module_version": "1.5.0",
996
+ "_model_name": "DescriptionStyleModel",
997
+ "_view_count": null,
998
+ "_view_module": "@jupyter-widgets/base",
999
+ "_view_module_version": "1.2.0",
1000
+ "_view_name": "StyleView",
1001
+ "description_width": ""
1002
+ }
1003
+ },
1004
+ "64257e8bc3fe4624b6841c6e896675e3": {
1005
+ "model_module": "@jupyter-widgets/base",
1006
+ "model_name": "LayoutModel",
1007
+ "model_module_version": "1.2.0",
1008
+ "state": {
1009
+ "_model_module": "@jupyter-widgets/base",
1010
+ "_model_module_version": "1.2.0",
1011
+ "_model_name": "LayoutModel",
1012
+ "_view_count": null,
1013
+ "_view_module": "@jupyter-widgets/base",
1014
+ "_view_module_version": "1.2.0",
1015
+ "_view_name": "LayoutView",
1016
+ "align_content": null,
1017
+ "align_items": null,
1018
+ "align_self": null,
1019
+ "border": null,
1020
+ "bottom": null,
1021
+ "display": null,
1022
+ "flex": null,
1023
+ "flex_flow": null,
1024
+ "grid_area": null,
1025
+ "grid_auto_columns": null,
1026
+ "grid_auto_flow": null,
1027
+ "grid_auto_rows": null,
1028
+ "grid_column": null,
1029
+ "grid_gap": null,
1030
+ "grid_row": null,
1031
+ "grid_template_areas": null,
1032
+ "grid_template_columns": null,
1033
+ "grid_template_rows": null,
1034
+ "height": null,
1035
+ "justify_content": null,
1036
+ "justify_items": null,
1037
+ "left": null,
1038
+ "margin": null,
1039
+ "max_height": null,
1040
+ "max_width": null,
1041
+ "min_height": null,
1042
+ "min_width": null,
1043
+ "object_fit": null,
1044
+ "object_position": null,
1045
+ "order": null,
1046
+ "overflow": null,
1047
+ "overflow_x": null,
1048
+ "overflow_y": null,
1049
+ "padding": null,
1050
+ "right": null,
1051
+ "top": null,
1052
+ "visibility": null,
1053
+ "width": null
1054
+ }
1055
+ },
1056
+ "800cb944b9b94ae3a0fa2a48b8754fbf": {
1057
+ "model_module": "@jupyter-widgets/controls",
1058
+ "model_name": "ProgressStyleModel",
1059
+ "model_module_version": "1.5.0",
1060
+ "state": {
1061
+ "_model_module": "@jupyter-widgets/controls",
1062
+ "_model_module_version": "1.5.0",
1063
+ "_model_name": "ProgressStyleModel",
1064
+ "_view_count": null,
1065
+ "_view_module": "@jupyter-widgets/base",
1066
+ "_view_module_version": "1.2.0",
1067
+ "_view_name": "StyleView",
1068
+ "bar_color": null,
1069
+ "description_width": ""
1070
+ }
1071
+ },
1072
+ "a64b40f472b241a18cf640babda23642": {
1073
+ "model_module": "@jupyter-widgets/base",
1074
+ "model_name": "LayoutModel",
1075
+ "model_module_version": "1.2.0",
1076
+ "state": {
1077
+ "_model_module": "@jupyter-widgets/base",
1078
+ "_model_module_version": "1.2.0",
1079
+ "_model_name": "LayoutModel",
1080
+ "_view_count": null,
1081
+ "_view_module": "@jupyter-widgets/base",
1082
+ "_view_module_version": "1.2.0",
1083
+ "_view_name": "LayoutView",
1084
+ "align_content": null,
1085
+ "align_items": null,
1086
+ "align_self": null,
1087
+ "border": null,
1088
+ "bottom": null,
1089
+ "display": null,
1090
+ "flex": null,
1091
+ "flex_flow": null,
1092
+ "grid_area": null,
1093
+ "grid_auto_columns": null,
1094
+ "grid_auto_flow": null,
1095
+ "grid_auto_rows": null,
1096
+ "grid_column": null,
1097
+ "grid_gap": null,
1098
+ "grid_row": null,
1099
+ "grid_template_areas": null,
1100
+ "grid_template_columns": null,
1101
+ "grid_template_rows": null,
1102
+ "height": null,
1103
+ "justify_content": null,
1104
+ "justify_items": null,
1105
+ "left": null,
1106
+ "margin": null,
1107
+ "max_height": null,
1108
+ "max_width": null,
1109
+ "min_height": null,
1110
+ "min_width": null,
1111
+ "object_fit": null,
1112
+ "object_position": null,
1113
+ "order": null,
1114
+ "overflow": null,
1115
+ "overflow_x": null,
1116
+ "overflow_y": null,
1117
+ "padding": null,
1118
+ "right": null,
1119
+ "top": null,
1120
+ "visibility": null,
1121
+ "width": null
1122
+ }
1123
+ },
1124
+ "237ea7c496b54ae78b3e52aac587dd0a": {
1125
+ "model_module": "@jupyter-widgets/controls",
1126
+ "model_name": "DescriptionStyleModel",
1127
+ "model_module_version": "1.5.0",
1128
+ "state": {
1129
+ "_model_module": "@jupyter-widgets/controls",
1130
+ "_model_module_version": "1.5.0",
1131
+ "_model_name": "DescriptionStyleModel",
1132
+ "_view_count": null,
1133
+ "_view_module": "@jupyter-widgets/base",
1134
+ "_view_module_version": "1.2.0",
1135
+ "_view_name": "StyleView",
1136
+ "description_width": ""
1137
+ }
1138
+ },
1139
+ "d2a42eef2730409ebf393b436e9b1cb2": {
1140
+ "model_module": "@jupyter-widgets/controls",
1141
+ "model_name": "VBoxModel",
1142
+ "model_module_version": "1.5.0",
1143
+ "state": {
1144
+ "_dom_classes": [],
1145
+ "_model_module": "@jupyter-widgets/controls",
1146
+ "_model_module_version": "1.5.0",
1147
+ "_model_name": "VBoxModel",
1148
+ "_view_count": null,
1149
+ "_view_module": "@jupyter-widgets/controls",
1150
+ "_view_module_version": "1.5.0",
1151
+ "_view_name": "VBoxView",
1152
+ "box_style": "",
1153
+ "children": [
1154
+ "IPY_MODEL_405c6ef86acc4086807a09b5f9268b3e"
1155
+ ],
1156
+ "layout": "IPY_MODEL_588f343ef4e44aa7b0d3b7947999ec2f"
1157
+ }
1158
+ },
1159
+ "1b15326622c846d890d9cc46f2b9e910": {
1160
+ "model_module": "@jupyter-widgets/controls",
1161
+ "model_name": "HTMLModel",
1162
+ "model_module_version": "1.5.0",
1163
+ "state": {
1164
+ "_dom_classes": [],
1165
+ "_model_module": "@jupyter-widgets/controls",
1166
+ "_model_module_version": "1.5.0",
1167
+ "_model_name": "HTMLModel",
1168
+ "_view_count": null,
1169
+ "_view_module": "@jupyter-widgets/controls",
1170
+ "_view_module_version": "1.5.0",
1171
+ "_view_name": "HTMLView",
1172
+ "description": "",
1173
+ "description_tooltip": null,
1174
+ "layout": "IPY_MODEL_d09ed21833894b2392c82623590cceca",
1175
+ "placeholder": "​",
1176
+ "style": "IPY_MODEL_c11a6994dbe44b619c70c31b36e11124",
1177
+ "value": "<center> <img\nsrc=https://huggingface.co/front/assets/huggingface_logo-noborder.svg\nalt='Hugging Face'> <br> Copy a token from <a\nhref=\"https://huggingface.co/settings/tokens\" target=\"_blank\">your Hugging Face\ntokens page</a> and paste it below. <br> Immediately click login after copying\nyour token or it might be stored in plain text in this notebook file. </center>"
1178
+ }
1179
+ },
1180
+ "0c7137bece264cd6aecef180d67c2594": {
1181
+ "model_module": "@jupyter-widgets/controls",
1182
+ "model_name": "PasswordModel",
1183
+ "model_module_version": "1.5.0",
1184
+ "state": {
1185
+ "_dom_classes": [],
1186
+ "_model_module": "@jupyter-widgets/controls",
1187
+ "_model_module_version": "1.5.0",
1188
+ "_model_name": "PasswordModel",
1189
+ "_view_count": null,
1190
+ "_view_module": "@jupyter-widgets/controls",
1191
+ "_view_module_version": "1.5.0",
1192
+ "_view_name": "PasswordView",
1193
+ "continuous_update": true,
1194
+ "description": "Token:",
1195
+ "description_tooltip": null,
1196
+ "disabled": false,
1197
+ "layout": "IPY_MODEL_2ddaf90573204459b664e74366bc5b24",
1198
+ "placeholder": "​",
1199
+ "style": "IPY_MODEL_e80fa5ade2994beab98967b60d9bfaef",
1200
+ "value": ""
1201
+ }
1202
+ },
1203
+ "68399db4e45b45ebae3089f446536fe6": {
1204
+ "model_module": "@jupyter-widgets/controls",
1205
+ "model_name": "CheckboxModel",
1206
+ "model_module_version": "1.5.0",
1207
+ "state": {
1208
+ "_dom_classes": [],
1209
+ "_model_module": "@jupyter-widgets/controls",
1210
+ "_model_module_version": "1.5.0",
1211
+ "_model_name": "CheckboxModel",
1212
+ "_view_count": null,
1213
+ "_view_module": "@jupyter-widgets/controls",
1214
+ "_view_module_version": "1.5.0",
1215
+ "_view_name": "CheckboxView",
1216
+ "description": "Add token as git credential?",
1217
+ "description_tooltip": null,
1218
+ "disabled": false,
1219
+ "indent": true,
1220
+ "layout": "IPY_MODEL_12c7dce184514bc594a21bf3c0c3bb40",
1221
+ "style": "IPY_MODEL_a7e1e3bdd1b14302b47bc6ca32a1d0b7",
1222
+ "value": true
1223
+ }
1224
+ },
1225
+ "c31967bae9ed4fedb0236e8e12e179ff": {
1226
+ "model_module": "@jupyter-widgets/controls",
1227
+ "model_name": "ButtonModel",
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": "ButtonModel",
1234
+ "_view_count": null,
1235
+ "_view_module": "@jupyter-widgets/controls",
1236
+ "_view_module_version": "1.5.0",
1237
+ "_view_name": "ButtonView",
1238
+ "button_style": "",
1239
+ "description": "Login",
1240
+ "disabled": false,
1241
+ "icon": "",
1242
+ "layout": "IPY_MODEL_12c6f2e3e50c4f50ac04df01e0d5ea48",
1243
+ "style": "IPY_MODEL_196c9b90353c486d81f35808f3a596ac",
1244
+ "tooltip": ""
1245
+ }
1246
+ },
1247
+ "a73387128ad94130ba42c47ebc305dd7": {
1248
+ "model_module": "@jupyter-widgets/controls",
1249
+ "model_name": "HTMLModel",
1250
+ "model_module_version": "1.5.0",
1251
+ "state": {
1252
+ "_dom_classes": [],
1253
+ "_model_module": "@jupyter-widgets/controls",
1254
+ "_model_module_version": "1.5.0",
1255
+ "_model_name": "HTMLModel",
1256
+ "_view_count": null,
1257
+ "_view_module": "@jupyter-widgets/controls",
1258
+ "_view_module_version": "1.5.0",
1259
+ "_view_name": "HTMLView",
1260
+ "description": "",
1261
+ "description_tooltip": null,
1262
+ "layout": "IPY_MODEL_e9543a04f3c74b3a96e8e83f0553297b",
1263
+ "placeholder": "​",
1264
+ "style": "IPY_MODEL_a5ac8c334dd44452bf8ce7226a83e78f",
1265
+ "value": "\n<b>Pro Tip:</b> If you don't already have one, you can create a dedicated\n'notebooks' token with 'write' access, that you can then easily reuse for all\nnotebooks. </center>"
1266
+ }
1267
+ },
1268
+ "588f343ef4e44aa7b0d3b7947999ec2f": {
1269
+ "model_module": "@jupyter-widgets/base",
1270
+ "model_name": "LayoutModel",
1271
+ "model_module_version": "1.2.0",
1272
+ "state": {
1273
+ "_model_module": "@jupyter-widgets/base",
1274
+ "_model_module_version": "1.2.0",
1275
+ "_model_name": "LayoutModel",
1276
+ "_view_count": null,
1277
+ "_view_module": "@jupyter-widgets/base",
1278
+ "_view_module_version": "1.2.0",
1279
+ "_view_name": "LayoutView",
1280
+ "align_content": null,
1281
+ "align_items": "center",
1282
+ "align_self": null,
1283
+ "border": null,
1284
+ "bottom": null,
1285
+ "display": "flex",
1286
+ "flex": null,
1287
+ "flex_flow": "column",
1288
+ "grid_area": null,
1289
+ "grid_auto_columns": null,
1290
+ "grid_auto_flow": null,
1291
+ "grid_auto_rows": null,
1292
+ "grid_column": null,
1293
+ "grid_gap": null,
1294
+ "grid_row": null,
1295
+ "grid_template_areas": null,
1296
+ "grid_template_columns": null,
1297
+ "grid_template_rows": null,
1298
+ "height": null,
1299
+ "justify_content": null,
1300
+ "justify_items": null,
1301
+ "left": null,
1302
+ "margin": null,
1303
+ "max_height": null,
1304
+ "max_width": null,
1305
+ "min_height": null,
1306
+ "min_width": null,
1307
+ "object_fit": null,
1308
+ "object_position": null,
1309
+ "order": null,
1310
+ "overflow": null,
1311
+ "overflow_x": null,
1312
+ "overflow_y": null,
1313
+ "padding": null,
1314
+ "right": null,
1315
+ "top": null,
1316
+ "visibility": null,
1317
+ "width": "50%"
1318
+ }
1319
+ },
1320
+ "d09ed21833894b2392c82623590cceca": {
1321
+ "model_module": "@jupyter-widgets/base",
1322
+ "model_name": "LayoutModel",
1323
+ "model_module_version": "1.2.0",
1324
+ "state": {
1325
+ "_model_module": "@jupyter-widgets/base",
1326
+ "_model_module_version": "1.2.0",
1327
+ "_model_name": "LayoutModel",
1328
+ "_view_count": null,
1329
+ "_view_module": "@jupyter-widgets/base",
1330
+ "_view_module_version": "1.2.0",
1331
+ "_view_name": "LayoutView",
1332
+ "align_content": null,
1333
+ "align_items": null,
1334
+ "align_self": null,
1335
+ "border": null,
1336
+ "bottom": null,
1337
+ "display": null,
1338
+ "flex": null,
1339
+ "flex_flow": null,
1340
+ "grid_area": null,
1341
+ "grid_auto_columns": null,
1342
+ "grid_auto_flow": null,
1343
+ "grid_auto_rows": null,
1344
+ "grid_column": null,
1345
+ "grid_gap": null,
1346
+ "grid_row": null,
1347
+ "grid_template_areas": null,
1348
+ "grid_template_columns": null,
1349
+ "grid_template_rows": null,
1350
+ "height": null,
1351
+ "justify_content": null,
1352
+ "justify_items": null,
1353
+ "left": null,
1354
+ "margin": null,
1355
+ "max_height": null,
1356
+ "max_width": null,
1357
+ "min_height": null,
1358
+ "min_width": null,
1359
+ "object_fit": null,
1360
+ "object_position": null,
1361
+ "order": null,
1362
+ "overflow": null,
1363
+ "overflow_x": null,
1364
+ "overflow_y": null,
1365
+ "padding": null,
1366
+ "right": null,
1367
+ "top": null,
1368
+ "visibility": null,
1369
+ "width": null
1370
+ }
1371
+ },
1372
+ "c11a6994dbe44b619c70c31b36e11124": {
1373
+ "model_module": "@jupyter-widgets/controls",
1374
+ "model_name": "DescriptionStyleModel",
1375
+ "model_module_version": "1.5.0",
1376
+ "state": {
1377
+ "_model_module": "@jupyter-widgets/controls",
1378
+ "_model_module_version": "1.5.0",
1379
+ "_model_name": "DescriptionStyleModel",
1380
+ "_view_count": null,
1381
+ "_view_module": "@jupyter-widgets/base",
1382
+ "_view_module_version": "1.2.0",
1383
+ "_view_name": "StyleView",
1384
+ "description_width": ""
1385
+ }
1386
+ },
1387
+ "2ddaf90573204459b664e74366bc5b24": {
1388
+ "model_module": "@jupyter-widgets/base",
1389
+ "model_name": "LayoutModel",
1390
+ "model_module_version": "1.2.0",
1391
+ "state": {
1392
+ "_model_module": "@jupyter-widgets/base",
1393
+ "_model_module_version": "1.2.0",
1394
+ "_model_name": "LayoutModel",
1395
+ "_view_count": null,
1396
+ "_view_module": "@jupyter-widgets/base",
1397
+ "_view_module_version": "1.2.0",
1398
+ "_view_name": "LayoutView",
1399
+ "align_content": null,
1400
+ "align_items": null,
1401
+ "align_self": null,
1402
+ "border": null,
1403
+ "bottom": null,
1404
+ "display": null,
1405
+ "flex": null,
1406
+ "flex_flow": null,
1407
+ "grid_area": null,
1408
+ "grid_auto_columns": null,
1409
+ "grid_auto_flow": null,
1410
+ "grid_auto_rows": null,
1411
+ "grid_column": null,
1412
+ "grid_gap": null,
1413
+ "grid_row": null,
1414
+ "grid_template_areas": null,
1415
+ "grid_template_columns": null,
1416
+ "grid_template_rows": null,
1417
+ "height": null,
1418
+ "justify_content": null,
1419
+ "justify_items": null,
1420
+ "left": null,
1421
+ "margin": null,
1422
+ "max_height": null,
1423
+ "max_width": null,
1424
+ "min_height": null,
1425
+ "min_width": null,
1426
+ "object_fit": null,
1427
+ "object_position": null,
1428
+ "order": null,
1429
+ "overflow": null,
1430
+ "overflow_x": null,
1431
+ "overflow_y": null,
1432
+ "padding": null,
1433
+ "right": null,
1434
+ "top": null,
1435
+ "visibility": null,
1436
+ "width": null
1437
+ }
1438
+ },
1439
+ "e80fa5ade2994beab98967b60d9bfaef": {
1440
+ "model_module": "@jupyter-widgets/controls",
1441
+ "model_name": "DescriptionStyleModel",
1442
+ "model_module_version": "1.5.0",
1443
+ "state": {
1444
+ "_model_module": "@jupyter-widgets/controls",
1445
+ "_model_module_version": "1.5.0",
1446
+ "_model_name": "DescriptionStyleModel",
1447
+ "_view_count": null,
1448
+ "_view_module": "@jupyter-widgets/base",
1449
+ "_view_module_version": "1.2.0",
1450
+ "_view_name": "StyleView",
1451
+ "description_width": ""
1452
+ }
1453
+ },
1454
+ "12c7dce184514bc594a21bf3c0c3bb40": {
1455
+ "model_module": "@jupyter-widgets/base",
1456
+ "model_name": "LayoutModel",
1457
+ "model_module_version": "1.2.0",
1458
+ "state": {
1459
+ "_model_module": "@jupyter-widgets/base",
1460
+ "_model_module_version": "1.2.0",
1461
+ "_model_name": "LayoutModel",
1462
+ "_view_count": null,
1463
+ "_view_module": "@jupyter-widgets/base",
1464
+ "_view_module_version": "1.2.0",
1465
+ "_view_name": "LayoutView",
1466
+ "align_content": null,
1467
+ "align_items": null,
1468
+ "align_self": null,
1469
+ "border": null,
1470
+ "bottom": null,
1471
+ "display": null,
1472
+ "flex": null,
1473
+ "flex_flow": null,
1474
+ "grid_area": null,
1475
+ "grid_auto_columns": null,
1476
+ "grid_auto_flow": null,
1477
+ "grid_auto_rows": null,
1478
+ "grid_column": null,
1479
+ "grid_gap": null,
1480
+ "grid_row": null,
1481
+ "grid_template_areas": null,
1482
+ "grid_template_columns": null,
1483
+ "grid_template_rows": null,
1484
+ "height": null,
1485
+ "justify_content": null,
1486
+ "justify_items": null,
1487
+ "left": null,
1488
+ "margin": null,
1489
+ "max_height": null,
1490
+ "max_width": null,
1491
+ "min_height": null,
1492
+ "min_width": null,
1493
+ "object_fit": null,
1494
+ "object_position": null,
1495
+ "order": null,
1496
+ "overflow": null,
1497
+ "overflow_x": null,
1498
+ "overflow_y": null,
1499
+ "padding": null,
1500
+ "right": null,
1501
+ "top": null,
1502
+ "visibility": null,
1503
+ "width": null
1504
+ }
1505
+ },
1506
+ "a7e1e3bdd1b14302b47bc6ca32a1d0b7": {
1507
+ "model_module": "@jupyter-widgets/controls",
1508
+ "model_name": "DescriptionStyleModel",
1509
+ "model_module_version": "1.5.0",
1510
+ "state": {
1511
+ "_model_module": "@jupyter-widgets/controls",
1512
+ "_model_module_version": "1.5.0",
1513
+ "_model_name": "DescriptionStyleModel",
1514
+ "_view_count": null,
1515
+ "_view_module": "@jupyter-widgets/base",
1516
+ "_view_module_version": "1.2.0",
1517
+ "_view_name": "StyleView",
1518
+ "description_width": ""
1519
+ }
1520
+ },
1521
+ "12c6f2e3e50c4f50ac04df01e0d5ea48": {
1522
+ "model_module": "@jupyter-widgets/base",
1523
+ "model_name": "LayoutModel",
1524
+ "model_module_version": "1.2.0",
1525
+ "state": {
1526
+ "_model_module": "@jupyter-widgets/base",
1527
+ "_model_module_version": "1.2.0",
1528
+ "_model_name": "LayoutModel",
1529
+ "_view_count": null,
1530
+ "_view_module": "@jupyter-widgets/base",
1531
+ "_view_module_version": "1.2.0",
1532
+ "_view_name": "LayoutView",
1533
+ "align_content": null,
1534
+ "align_items": null,
1535
+ "align_self": null,
1536
+ "border": null,
1537
+ "bottom": null,
1538
+ "display": null,
1539
+ "flex": null,
1540
+ "flex_flow": null,
1541
+ "grid_area": null,
1542
+ "grid_auto_columns": null,
1543
+ "grid_auto_flow": null,
1544
+ "grid_auto_rows": null,
1545
+ "grid_column": null,
1546
+ "grid_gap": null,
1547
+ "grid_row": null,
1548
+ "grid_template_areas": null,
1549
+ "grid_template_columns": null,
1550
+ "grid_template_rows": null,
1551
+ "height": null,
1552
+ "justify_content": null,
1553
+ "justify_items": null,
1554
+ "left": null,
1555
+ "margin": null,
1556
+ "max_height": null,
1557
+ "max_width": null,
1558
+ "min_height": null,
1559
+ "min_width": null,
1560
+ "object_fit": null,
1561
+ "object_position": null,
1562
+ "order": null,
1563
+ "overflow": null,
1564
+ "overflow_x": null,
1565
+ "overflow_y": null,
1566
+ "padding": null,
1567
+ "right": null,
1568
+ "top": null,
1569
+ "visibility": null,
1570
+ "width": null
1571
+ }
1572
+ },
1573
+ "196c9b90353c486d81f35808f3a596ac": {
1574
+ "model_module": "@jupyter-widgets/controls",
1575
+ "model_name": "ButtonStyleModel",
1576
+ "model_module_version": "1.5.0",
1577
+ "state": {
1578
+ "_model_module": "@jupyter-widgets/controls",
1579
+ "_model_module_version": "1.5.0",
1580
+ "_model_name": "ButtonStyleModel",
1581
+ "_view_count": null,
1582
+ "_view_module": "@jupyter-widgets/base",
1583
+ "_view_module_version": "1.2.0",
1584
+ "_view_name": "StyleView",
1585
+ "button_color": null,
1586
+ "font_weight": ""
1587
+ }
1588
+ },
1589
+ "e9543a04f3c74b3a96e8e83f0553297b": {
1590
+ "model_module": "@jupyter-widgets/base",
1591
+ "model_name": "LayoutModel",
1592
+ "model_module_version": "1.2.0",
1593
+ "state": {
1594
+ "_model_module": "@jupyter-widgets/base",
1595
+ "_model_module_version": "1.2.0",
1596
+ "_model_name": "LayoutModel",
1597
+ "_view_count": null,
1598
+ "_view_module": "@jupyter-widgets/base",
1599
+ "_view_module_version": "1.2.0",
1600
+ "_view_name": "LayoutView",
1601
+ "align_content": null,
1602
+ "align_items": null,
1603
+ "align_self": null,
1604
+ "border": null,
1605
+ "bottom": null,
1606
+ "display": null,
1607
+ "flex": null,
1608
+ "flex_flow": null,
1609
+ "grid_area": null,
1610
+ "grid_auto_columns": null,
1611
+ "grid_auto_flow": null,
1612
+ "grid_auto_rows": null,
1613
+ "grid_column": null,
1614
+ "grid_gap": null,
1615
+ "grid_row": null,
1616
+ "grid_template_areas": null,
1617
+ "grid_template_columns": null,
1618
+ "grid_template_rows": null,
1619
+ "height": null,
1620
+ "justify_content": null,
1621
+ "justify_items": null,
1622
+ "left": null,
1623
+ "margin": null,
1624
+ "max_height": null,
1625
+ "max_width": null,
1626
+ "min_height": null,
1627
+ "min_width": null,
1628
+ "object_fit": null,
1629
+ "object_position": null,
1630
+ "order": null,
1631
+ "overflow": null,
1632
+ "overflow_x": null,
1633
+ "overflow_y": null,
1634
+ "padding": null,
1635
+ "right": null,
1636
+ "top": null,
1637
+ "visibility": null,
1638
+ "width": null
1639
+ }
1640
+ },
1641
+ "a5ac8c334dd44452bf8ce7226a83e78f": {
1642
+ "model_module": "@jupyter-widgets/controls",
1643
+ "model_name": "DescriptionStyleModel",
1644
+ "model_module_version": "1.5.0",
1645
+ "state": {
1646
+ "_model_module": "@jupyter-widgets/controls",
1647
+ "_model_module_version": "1.5.0",
1648
+ "_model_name": "DescriptionStyleModel",
1649
+ "_view_count": null,
1650
+ "_view_module": "@jupyter-widgets/base",
1651
+ "_view_module_version": "1.2.0",
1652
+ "_view_name": "StyleView",
1653
+ "description_width": ""
1654
+ }
1655
+ },
1656
+ "0492dcbe2fc149d790b431195b3b2679": {
1657
+ "model_module": "@jupyter-widgets/controls",
1658
+ "model_name": "LabelModel",
1659
+ "model_module_version": "1.5.0",
1660
+ "state": {
1661
+ "_dom_classes": [],
1662
+ "_model_module": "@jupyter-widgets/controls",
1663
+ "_model_module_version": "1.5.0",
1664
+ "_model_name": "LabelModel",
1665
+ "_view_count": null,
1666
+ "_view_module": "@jupyter-widgets/controls",
1667
+ "_view_module_version": "1.5.0",
1668
+ "_view_name": "LabelView",
1669
+ "description": "",
1670
+ "description_tooltip": null,
1671
+ "layout": "IPY_MODEL_508ebe0aa0344f88be890c7f1fa4f78a",
1672
+ "placeholder": "​",
1673
+ "style": "IPY_MODEL_0e186430f4a847cba212f61da4858721",
1674
+ "value": "Connecting..."
1675
+ }
1676
+ },
1677
+ "508ebe0aa0344f88be890c7f1fa4f78a": {
1678
+ "model_module": "@jupyter-widgets/base",
1679
+ "model_name": "LayoutModel",
1680
+ "model_module_version": "1.2.0",
1681
+ "state": {
1682
+ "_model_module": "@jupyter-widgets/base",
1683
+ "_model_module_version": "1.2.0",
1684
+ "_model_name": "LayoutModel",
1685
+ "_view_count": null,
1686
+ "_view_module": "@jupyter-widgets/base",
1687
+ "_view_module_version": "1.2.0",
1688
+ "_view_name": "LayoutView",
1689
+ "align_content": null,
1690
+ "align_items": null,
1691
+ "align_self": null,
1692
+ "border": null,
1693
+ "bottom": null,
1694
+ "display": null,
1695
+ "flex": null,
1696
+ "flex_flow": null,
1697
+ "grid_area": null,
1698
+ "grid_auto_columns": null,
1699
+ "grid_auto_flow": null,
1700
+ "grid_auto_rows": null,
1701
+ "grid_column": null,
1702
+ "grid_gap": null,
1703
+ "grid_row": null,
1704
+ "grid_template_areas": null,
1705
+ "grid_template_columns": null,
1706
+ "grid_template_rows": null,
1707
+ "height": null,
1708
+ "justify_content": null,
1709
+ "justify_items": null,
1710
+ "left": null,
1711
+ "margin": null,
1712
+ "max_height": null,
1713
+ "max_width": null,
1714
+ "min_height": null,
1715
+ "min_width": null,
1716
+ "object_fit": null,
1717
+ "object_position": null,
1718
+ "order": null,
1719
+ "overflow": null,
1720
+ "overflow_x": null,
1721
+ "overflow_y": null,
1722
+ "padding": null,
1723
+ "right": null,
1724
+ "top": null,
1725
+ "visibility": null,
1726
+ "width": null
1727
+ }
1728
+ },
1729
+ "0e186430f4a847cba212f61da4858721": {
1730
+ "model_module": "@jupyter-widgets/controls",
1731
+ "model_name": "DescriptionStyleModel",
1732
+ "model_module_version": "1.5.0",
1733
+ "state": {
1734
+ "_model_module": "@jupyter-widgets/controls",
1735
+ "_model_module_version": "1.5.0",
1736
+ "_model_name": "DescriptionStyleModel",
1737
+ "_view_count": null,
1738
+ "_view_module": "@jupyter-widgets/base",
1739
+ "_view_module_version": "1.2.0",
1740
+ "_view_name": "StyleView",
1741
+ "description_width": ""
1742
+ }
1743
+ },
1744
+ "405c6ef86acc4086807a09b5f9268b3e": {
1745
+ "model_module": "@jupyter-widgets/controls",
1746
+ "model_name": "LabelModel",
1747
+ "model_module_version": "1.5.0",
1748
+ "state": {
1749
+ "_dom_classes": [],
1750
+ "_model_module": "@jupyter-widgets/controls",
1751
+ "_model_module_version": "1.5.0",
1752
+ "_model_name": "LabelModel",
1753
+ "_view_count": null,
1754
+ "_view_module": "@jupyter-widgets/controls",
1755
+ "_view_module_version": "1.5.0",
1756
+ "_view_name": "LabelView",
1757
+ "description": "",
1758
+ "description_tooltip": null,
1759
+ "layout": "IPY_MODEL_2e6fe275e4214f67a0077ecf2b9754df",
1760
+ "placeholder": "​",
1761
+ "style": "IPY_MODEL_0d19059f1e3a4a12b6cdc311be8756aa",
1762
+ "value": "Invalid token passed!"
1763
+ }
1764
+ },
1765
+ "2e6fe275e4214f67a0077ecf2b9754df": {
1766
+ "model_module": "@jupyter-widgets/base",
1767
+ "model_name": "LayoutModel",
1768
+ "model_module_version": "1.2.0",
1769
+ "state": {
1770
+ "_model_module": "@jupyter-widgets/base",
1771
+ "_model_module_version": "1.2.0",
1772
+ "_model_name": "LayoutModel",
1773
+ "_view_count": null,
1774
+ "_view_module": "@jupyter-widgets/base",
1775
+ "_view_module_version": "1.2.0",
1776
+ "_view_name": "LayoutView",
1777
+ "align_content": null,
1778
+ "align_items": null,
1779
+ "align_self": null,
1780
+ "border": null,
1781
+ "bottom": null,
1782
+ "display": null,
1783
+ "flex": null,
1784
+ "flex_flow": null,
1785
+ "grid_area": null,
1786
+ "grid_auto_columns": null,
1787
+ "grid_auto_flow": null,
1788
+ "grid_auto_rows": null,
1789
+ "grid_column": null,
1790
+ "grid_gap": null,
1791
+ "grid_row": null,
1792
+ "grid_template_areas": null,
1793
+ "grid_template_columns": null,
1794
+ "grid_template_rows": null,
1795
+ "height": null,
1796
+ "justify_content": null,
1797
+ "justify_items": null,
1798
+ "left": null,
1799
+ "margin": null,
1800
+ "max_height": null,
1801
+ "max_width": null,
1802
+ "min_height": null,
1803
+ "min_width": null,
1804
+ "object_fit": null,
1805
+ "object_position": null,
1806
+ "order": null,
1807
+ "overflow": null,
1808
+ "overflow_x": null,
1809
+ "overflow_y": null,
1810
+ "padding": null,
1811
+ "right": null,
1812
+ "top": null,
1813
+ "visibility": null,
1814
+ "width": null
1815
+ }
1816
+ },
1817
+ "0d19059f1e3a4a12b6cdc311be8756aa": {
1818
+ "model_module": "@jupyter-widgets/controls",
1819
+ "model_name": "DescriptionStyleModel",
1820
+ "model_module_version": "1.5.0",
1821
+ "state": {
1822
+ "_model_module": "@jupyter-widgets/controls",
1823
+ "_model_module_version": "1.5.0",
1824
+ "_model_name": "DescriptionStyleModel",
1825
+ "_view_count": null,
1826
+ "_view_module": "@jupyter-widgets/base",
1827
+ "_view_module_version": "1.2.0",
1828
+ "_view_name": "StyleView",
1829
+ "description_width": ""
1830
+ }
1831
+ },
1832
+ "eda1a0873d164b1694ef2a90ca5d693f": {
1833
+ "model_module": "@jupyter-widgets/controls",
1834
+ "model_name": "HBoxModel",
1835
+ "model_module_version": "1.5.0",
1836
+ "state": {
1837
+ "_dom_classes": [],
1838
+ "_model_module": "@jupyter-widgets/controls",
1839
+ "_model_module_version": "1.5.0",
1840
+ "_model_name": "HBoxModel",
1841
+ "_view_count": null,
1842
+ "_view_module": "@jupyter-widgets/controls",
1843
+ "_view_module_version": "1.5.0",
1844
+ "_view_name": "HBoxView",
1845
+ "box_style": "",
1846
+ "children": [
1847
+ "IPY_MODEL_3f5538cacd0941e5a7dbe222ceded839",
1848
+ "IPY_MODEL_4063bb00683e4b5a88b529aac0c7efa7",
1849
+ "IPY_MODEL_b56bb08e1d094f2e836b50ac4691030e"
1850
+ ],
1851
+ "layout": "IPY_MODEL_52a2f49016e74b498703505011663456"
1852
+ }
1853
+ },
1854
+ "3f5538cacd0941e5a7dbe222ceded839": {
1855
+ "model_module": "@jupyter-widgets/controls",
1856
+ "model_name": "HTMLModel",
1857
+ "model_module_version": "1.5.0",
1858
+ "state": {
1859
+ "_dom_classes": [],
1860
+ "_model_module": "@jupyter-widgets/controls",
1861
+ "_model_module_version": "1.5.0",
1862
+ "_model_name": "HTMLModel",
1863
+ "_view_count": null,
1864
+ "_view_module": "@jupyter-widgets/controls",
1865
+ "_view_module_version": "1.5.0",
1866
+ "_view_name": "HTMLView",
1867
+ "description": "",
1868
+ "description_tooltip": null,
1869
+ "layout": "IPY_MODEL_2148cec4f474400eac3395d7ac37c82f",
1870
+ "placeholder": "​",
1871
+ "style": "IPY_MODEL_5a42a39acb2f42a6a30fd726ae671ac9",
1872
+ "value": "adapter_model.safetensors: 100%"
1873
+ }
1874
+ },
1875
+ "4063bb00683e4b5a88b529aac0c7efa7": {
1876
+ "model_module": "@jupyter-widgets/controls",
1877
+ "model_name": "FloatProgressModel",
1878
+ "model_module_version": "1.5.0",
1879
+ "state": {
1880
+ "_dom_classes": [],
1881
+ "_model_module": "@jupyter-widgets/controls",
1882
+ "_model_module_version": "1.5.0",
1883
+ "_model_name": "FloatProgressModel",
1884
+ "_view_count": null,
1885
+ "_view_module": "@jupyter-widgets/controls",
1886
+ "_view_module_version": "1.5.0",
1887
+ "_view_name": "ProgressView",
1888
+ "bar_style": "success",
1889
+ "description": "",
1890
+ "description_tooltip": null,
1891
+ "layout": "IPY_MODEL_4c563351f1d24532a4faeaebb4f49186",
1892
+ "max": 13648560,
1893
+ "min": 0,
1894
+ "orientation": "horizontal",
1895
+ "style": "IPY_MODEL_c2b172657edf4e24ac546a330e30f52f",
1896
+ "value": 13648560
1897
+ }
1898
+ },
1899
+ "b56bb08e1d094f2e836b50ac4691030e": {
1900
+ "model_module": "@jupyter-widgets/controls",
1901
+ "model_name": "HTMLModel",
1902
+ "model_module_version": "1.5.0",
1903
+ "state": {
1904
+ "_dom_classes": [],
1905
+ "_model_module": "@jupyter-widgets/controls",
1906
+ "_model_module_version": "1.5.0",
1907
+ "_model_name": "HTMLModel",
1908
+ "_view_count": null,
1909
+ "_view_module": "@jupyter-widgets/controls",
1910
+ "_view_module_version": "1.5.0",
1911
+ "_view_name": "HTMLView",
1912
+ "description": "",
1913
+ "description_tooltip": null,
1914
+ "layout": "IPY_MODEL_c2fc136fd44d4f0c81937afd5ab708aa",
1915
+ "placeholder": "​",
1916
+ "style": "IPY_MODEL_f8b79a63c90d485e8a8188da348ef75f",
1917
+ "value": " 13.6M/13.6M [00:03&lt;00:00, 9.35MB/s]"
1918
+ }
1919
+ },
1920
+ "52a2f49016e74b498703505011663456": {
1921
+ "model_module": "@jupyter-widgets/base",
1922
+ "model_name": "LayoutModel",
1923
+ "model_module_version": "1.2.0",
1924
+ "state": {
1925
+ "_model_module": "@jupyter-widgets/base",
1926
+ "_model_module_version": "1.2.0",
1927
+ "_model_name": "LayoutModel",
1928
+ "_view_count": null,
1929
+ "_view_module": "@jupyter-widgets/base",
1930
+ "_view_module_version": "1.2.0",
1931
+ "_view_name": "LayoutView",
1932
+ "align_content": null,
1933
+ "align_items": null,
1934
+ "align_self": null,
1935
+ "border": null,
1936
+ "bottom": null,
1937
+ "display": null,
1938
+ "flex": null,
1939
+ "flex_flow": null,
1940
+ "grid_area": null,
1941
+ "grid_auto_columns": null,
1942
+ "grid_auto_flow": null,
1943
+ "grid_auto_rows": null,
1944
+ "grid_column": null,
1945
+ "grid_gap": null,
1946
+ "grid_row": null,
1947
+ "grid_template_areas": null,
1948
+ "grid_template_columns": null,
1949
+ "grid_template_rows": null,
1950
+ "height": null,
1951
+ "justify_content": null,
1952
+ "justify_items": null,
1953
+ "left": null,
1954
+ "margin": null,
1955
+ "max_height": null,
1956
+ "max_width": null,
1957
+ "min_height": null,
1958
+ "min_width": null,
1959
+ "object_fit": null,
1960
+ "object_position": null,
1961
+ "order": null,
1962
+ "overflow": null,
1963
+ "overflow_x": null,
1964
+ "overflow_y": null,
1965
+ "padding": null,
1966
+ "right": null,
1967
+ "top": null,
1968
+ "visibility": null,
1969
+ "width": null
1970
+ }
1971
+ },
1972
+ "2148cec4f474400eac3395d7ac37c82f": {
1973
+ "model_module": "@jupyter-widgets/base",
1974
+ "model_name": "LayoutModel",
1975
+ "model_module_version": "1.2.0",
1976
+ "state": {
1977
+ "_model_module": "@jupyter-widgets/base",
1978
+ "_model_module_version": "1.2.0",
1979
+ "_model_name": "LayoutModel",
1980
+ "_view_count": null,
1981
+ "_view_module": "@jupyter-widgets/base",
1982
+ "_view_module_version": "1.2.0",
1983
+ "_view_name": "LayoutView",
1984
+ "align_content": null,
1985
+ "align_items": null,
1986
+ "align_self": null,
1987
+ "border": null,
1988
+ "bottom": null,
1989
+ "display": null,
1990
+ "flex": null,
1991
+ "flex_flow": null,
1992
+ "grid_area": null,
1993
+ "grid_auto_columns": null,
1994
+ "grid_auto_flow": null,
1995
+ "grid_auto_rows": null,
1996
+ "grid_column": null,
1997
+ "grid_gap": null,
1998
+ "grid_row": null,
1999
+ "grid_template_areas": null,
2000
+ "grid_template_columns": null,
2001
+ "grid_template_rows": null,
2002
+ "height": null,
2003
+ "justify_content": null,
2004
+ "justify_items": null,
2005
+ "left": null,
2006
+ "margin": null,
2007
+ "max_height": null,
2008
+ "max_width": null,
2009
+ "min_height": null,
2010
+ "min_width": null,
2011
+ "object_fit": null,
2012
+ "object_position": null,
2013
+ "order": null,
2014
+ "overflow": null,
2015
+ "overflow_x": null,
2016
+ "overflow_y": null,
2017
+ "padding": null,
2018
+ "right": null,
2019
+ "top": null,
2020
+ "visibility": null,
2021
+ "width": null
2022
+ }
2023
+ },
2024
+ "5a42a39acb2f42a6a30fd726ae671ac9": {
2025
+ "model_module": "@jupyter-widgets/controls",
2026
+ "model_name": "DescriptionStyleModel",
2027
+ "model_module_version": "1.5.0",
2028
+ "state": {
2029
+ "_model_module": "@jupyter-widgets/controls",
2030
+ "_model_module_version": "1.5.0",
2031
+ "_model_name": "DescriptionStyleModel",
2032
+ "_view_count": null,
2033
+ "_view_module": "@jupyter-widgets/base",
2034
+ "_view_module_version": "1.2.0",
2035
+ "_view_name": "StyleView",
2036
+ "description_width": ""
2037
+ }
2038
+ },
2039
+ "4c563351f1d24532a4faeaebb4f49186": {
2040
+ "model_module": "@jupyter-widgets/base",
2041
+ "model_name": "LayoutModel",
2042
+ "model_module_version": "1.2.0",
2043
+ "state": {
2044
+ "_model_module": "@jupyter-widgets/base",
2045
+ "_model_module_version": "1.2.0",
2046
+ "_model_name": "LayoutModel",
2047
+ "_view_count": null,
2048
+ "_view_module": "@jupyter-widgets/base",
2049
+ "_view_module_version": "1.2.0",
2050
+ "_view_name": "LayoutView",
2051
+ "align_content": null,
2052
+ "align_items": null,
2053
+ "align_self": null,
2054
+ "border": null,
2055
+ "bottom": null,
2056
+ "display": null,
2057
+ "flex": null,
2058
+ "flex_flow": null,
2059
+ "grid_area": null,
2060
+ "grid_auto_columns": null,
2061
+ "grid_auto_flow": null,
2062
+ "grid_auto_rows": null,
2063
+ "grid_column": null,
2064
+ "grid_gap": null,
2065
+ "grid_row": null,
2066
+ "grid_template_areas": null,
2067
+ "grid_template_columns": null,
2068
+ "grid_template_rows": null,
2069
+ "height": null,
2070
+ "justify_content": null,
2071
+ "justify_items": null,
2072
+ "left": null,
2073
+ "margin": null,
2074
+ "max_height": null,
2075
+ "max_width": null,
2076
+ "min_height": null,
2077
+ "min_width": null,
2078
+ "object_fit": null,
2079
+ "object_position": null,
2080
+ "order": null,
2081
+ "overflow": null,
2082
+ "overflow_x": null,
2083
+ "overflow_y": null,
2084
+ "padding": null,
2085
+ "right": null,
2086
+ "top": null,
2087
+ "visibility": null,
2088
+ "width": null
2089
+ }
2090
+ },
2091
+ "c2b172657edf4e24ac546a330e30f52f": {
2092
+ "model_module": "@jupyter-widgets/controls",
2093
+ "model_name": "ProgressStyleModel",
2094
+ "model_module_version": "1.5.0",
2095
+ "state": {
2096
+ "_model_module": "@jupyter-widgets/controls",
2097
+ "_model_module_version": "1.5.0",
2098
+ "_model_name": "ProgressStyleModel",
2099
+ "_view_count": null,
2100
+ "_view_module": "@jupyter-widgets/base",
2101
+ "_view_module_version": "1.2.0",
2102
+ "_view_name": "StyleView",
2103
+ "bar_color": null,
2104
+ "description_width": ""
2105
+ }
2106
+ },
2107
+ "c2fc136fd44d4f0c81937afd5ab708aa": {
2108
+ "model_module": "@jupyter-widgets/base",
2109
+ "model_name": "LayoutModel",
2110
+ "model_module_version": "1.2.0",
2111
+ "state": {
2112
+ "_model_module": "@jupyter-widgets/base",
2113
+ "_model_module_version": "1.2.0",
2114
+ "_model_name": "LayoutModel",
2115
+ "_view_count": null,
2116
+ "_view_module": "@jupyter-widgets/base",
2117
+ "_view_module_version": "1.2.0",
2118
+ "_view_name": "LayoutView",
2119
+ "align_content": null,
2120
+ "align_items": null,
2121
+ "align_self": null,
2122
+ "border": null,
2123
+ "bottom": null,
2124
+ "display": null,
2125
+ "flex": null,
2126
+ "flex_flow": null,
2127
+ "grid_area": null,
2128
+ "grid_auto_columns": null,
2129
+ "grid_auto_flow": null,
2130
+ "grid_auto_rows": null,
2131
+ "grid_column": null,
2132
+ "grid_gap": null,
2133
+ "grid_row": null,
2134
+ "grid_template_areas": null,
2135
+ "grid_template_columns": null,
2136
+ "grid_template_rows": null,
2137
+ "height": null,
2138
+ "justify_content": null,
2139
+ "justify_items": null,
2140
+ "left": null,
2141
+ "margin": null,
2142
+ "max_height": null,
2143
+ "max_width": null,
2144
+ "min_height": null,
2145
+ "min_width": null,
2146
+ "object_fit": null,
2147
+ "object_position": null,
2148
+ "order": null,
2149
+ "overflow": null,
2150
+ "overflow_x": null,
2151
+ "overflow_y": null,
2152
+ "padding": null,
2153
+ "right": null,
2154
+ "top": null,
2155
+ "visibility": null,
2156
+ "width": null
2157
+ }
2158
+ },
2159
+ "f8b79a63c90d485e8a8188da348ef75f": {
2160
+ "model_module": "@jupyter-widgets/controls",
2161
+ "model_name": "DescriptionStyleModel",
2162
+ "model_module_version": "1.5.0",
2163
+ "state": {
2164
+ "_model_module": "@jupyter-widgets/controls",
2165
+ "_model_module_version": "1.5.0",
2166
+ "_model_name": "DescriptionStyleModel",
2167
+ "_view_count": null,
2168
+ "_view_module": "@jupyter-widgets/base",
2169
+ "_view_module_version": "1.2.0",
2170
+ "_view_name": "StyleView",
2171
+ "description_width": ""
2172
+ }
2173
+ }
2174
+ }
2175
+ }
2176
+ },
2177
+ "nbformat": 4,
2178
+ "nbformat_minor": 0
2179
+ }