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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "markdown",
|
5 |
+
"id": "761319ec-18e8-46c5-b7d6-bfdabc892e38",
|
6 |
+
"metadata": {
|
7 |
+
"id": "761319ec-18e8-46c5-b7d6-bfdabc892e38"
|
8 |
+
},
|
9 |
+
"source": [
|
10 |
+
"## Post-process a finetuned LLM\n",
|
11 |
+
"\n",
|
12 |
+
"Test and upload a finetuned language model"
|
13 |
+
]
|
14 |
+
},
|
15 |
+
{
|
16 |
+
"cell_type": "code",
|
17 |
+
"execution_count": null,
|
18 |
+
"id": "00e6173c-597b-4eb0-8275-bab2c62d4d48",
|
19 |
+
"metadata": {
|
20 |
+
"colab": {
|
21 |
+
"base_uri": "https://localhost:8080/"
|
22 |
+
},
|
23 |
+
"id": "00e6173c-597b-4eb0-8275-bab2c62d4d48",
|
24 |
+
"outputId": "290cab53-6854-41de-a1fa-e0d174adbf59"
|
25 |
+
},
|
26 |
+
"outputs": [],
|
27 |
+
"source": [
|
28 |
+
"!pip install -q -U huggingface_hub peft transformers torch accelerate bitsandbytes"
|
29 |
+
]
|
30 |
+
},
|
31 |
+
{
|
32 |
+
"cell_type": "code",
|
33 |
+
"execution_count": null,
|
34 |
+
"id": "7d9e47e4-3adf-4aa4-910c-9f75eb213420",
|
35 |
+
"metadata": {
|
36 |
+
"colab": {
|
37 |
+
"base_uri": "https://localhost:8080/",
|
38 |
+
"height": 145,
|
39 |
+
"referenced_widgets": [
|
40 |
+
"d27a99c9454a42669954005db152bcdb",
|
41 |
+
"1c8ae80c5e454e938d1010b62895f7a2",
|
42 |
+
"7415c2eaad4d484abec4cd71ec40d9a2",
|
43 |
+
"fe4580bf81f74921b18e4791509daa83",
|
44 |
+
"2f0e202a91c54fafabed7415d48fc73c",
|
45 |
+
"0dded06bf7f34c7f98ec3e848659d24f",
|
46 |
+
"74eaf6da011745e199f5f76d38b0c884",
|
47 |
+
"926085da23864493ad769225649e89ef",
|
48 |
+
"e63dfce513c2412caaf4cb285d60151b",
|
49 |
+
"dfae1a43351f42e2adf5a443a3c1e085",
|
50 |
+
"22bcf39d833d43f2a43e7464d4b2f0fb",
|
51 |
+
"78797db4dd51494db33a6603f2ecd060",
|
52 |
+
"5fd869d422004d758ec2e87779200829",
|
53 |
+
"20040b4fd7f84dd5bf3466ddaf66deea",
|
54 |
+
"e9752af013ef4468bb7d465574533242",
|
55 |
+
"a39961c5f9c3477b83eeb0a1f6c64d0a",
|
56 |
+
"9c9246e66c2c45b18b9c282ecc94e0bf",
|
57 |
+
"86128aadb59e4ca6a293000b9cf39f06",
|
58 |
+
"b4f8140c7a674bde9505db55f6541bfb",
|
59 |
+
"6c7de99ef7ff41d99228de2c2273eece",
|
60 |
+
"14751ec0d56d4125952134e35dda4b36",
|
61 |
+
"8e40dba2d99e4dbd88dba9085e10c36d",
|
62 |
+
"250db2cbdc3b4b15965aa1ec4d34dc24",
|
63 |
+
"d7faa7875fd24fdca89b38318b6624ef",
|
64 |
+
"6706a59598e042749e1f5e9916e81645",
|
65 |
+
"d4eff178b2374120ae54be3616a834af",
|
66 |
+
"f3333f764c9748238ea62f0febb0f7d3",
|
67 |
+
"789e961e93304d6285ed20f58bef4d58",
|
68 |
+
"969061586df34e1bb65cde513250f6a9",
|
69 |
+
"3f54505d762244ff8f0f77f122dacea8",
|
70 |
+
"defe50df284d484f98039fb37eee28d6",
|
71 |
+
"b643b3cfb364440c97f073e8377c19b5"
|
72 |
+
]
|
73 |
+
},
|
74 |
+
"id": "7d9e47e4-3adf-4aa4-910c-9f75eb213420",
|
75 |
+
"outputId": "8bb2c7e5-c0ee-4715-bba9-725a531d3ea5"
|
76 |
+
},
|
77 |
+
"outputs": [],
|
78 |
+
"source": [
|
79 |
+
"from huggingface_hub import notebook_login\n",
|
80 |
+
"\n",
|
81 |
+
"notebook_login()"
|
82 |
+
]
|
83 |
+
},
|
84 |
+
{
|
85 |
+
"cell_type": "code",
|
86 |
+
"execution_count": null,
|
87 |
+
"id": "25376737-3af9-4382-9240-9e94050c8ae7",
|
88 |
+
"metadata": {
|
89 |
+
"id": "25376737-3af9-4382-9240-9e94050c8ae7"
|
90 |
+
},
|
91 |
+
"outputs": [],
|
92 |
+
"source": [
|
93 |
+
"!git config --global credential.helper store"
|
94 |
+
]
|
95 |
+
},
|
96 |
+
{
|
97 |
+
"cell_type": "markdown",
|
98 |
+
"id": "e24d7ddd-044f-4739-8b01-5a1b187150f5",
|
99 |
+
"metadata": {
|
100 |
+
"id": "e24d7ddd-044f-4739-8b01-5a1b187150f5"
|
101 |
+
},
|
102 |
+
"source": [
|
103 |
+
"## Setup"
|
104 |
+
]
|
105 |
+
},
|
106 |
+
{
|
107 |
+
"cell_type": "code",
|
108 |
+
"execution_count": null,
|
109 |
+
"id": "bfeb06bd-96d9-4db0-81ee-1053104f915c",
|
110 |
+
"metadata": {
|
111 |
+
"colab": {
|
112 |
+
"base_uri": "https://localhost:8080/"
|
113 |
+
},
|
114 |
+
"id": "bfeb06bd-96d9-4db0-81ee-1053104f915c",
|
115 |
+
"outputId": "bbba2467-7171-497f-e66e-2bcb6237c183"
|
116 |
+
},
|
117 |
+
"outputs": [],
|
118 |
+
"source": [
|
119 |
+
"!nvidia-smi"
|
120 |
+
]
|
121 |
+
},
|
122 |
+
{
|
123 |
+
"cell_type": "markdown",
|
124 |
+
"id": "c68a3bba-f374-4ed6-acb6-ebedeb6e29be",
|
125 |
+
"metadata": {
|
126 |
+
"id": "c68a3bba-f374-4ed6-acb6-ebedeb6e29be"
|
127 |
+
},
|
128 |
+
"source": [
|
129 |
+
"## Loss curve\n",
|
130 |
+
"\n",
|
131 |
+
"During training, the model converged nicely as follows:\n",
|
132 |
+
"\n",
|
133 |
+
"![image](https://raw.githubusercontent.com/daniel-furman/sft-demos/main/assets/jul_24_23_1_14_00_log_loss_curves_llama-2-70b-dolphin.png)\n"
|
134 |
+
]
|
135 |
+
},
|
136 |
+
{
|
137 |
+
"cell_type": "markdown",
|
138 |
+
"id": "d6076740-c324-49a9-841e-30b4878d208b",
|
139 |
+
"metadata": {
|
140 |
+
"id": "d6076740-c324-49a9-841e-30b4878d208b"
|
141 |
+
},
|
142 |
+
"source": [
|
143 |
+
"## Basic usage\n",
|
144 |
+
"\n",
|
145 |
+
"With a supervised finetuned (sft) model in hand, we can test it on some basic prompts and then upload it to the Hugging Face hub either as a public or private model repo, depending on the use case."
|
146 |
+
]
|
147 |
+
},
|
148 |
+
{
|
149 |
+
"cell_type": "code",
|
150 |
+
"execution_count": null,
|
151 |
+
"id": "AsrAO-TL25pN",
|
152 |
+
"metadata": {
|
153 |
+
"id": "AsrAO-TL25pN"
|
154 |
+
},
|
155 |
+
"outputs": [],
|
156 |
+
"source": [
|
157 |
+
"import torch\n",
|
158 |
+
"from peft import PeftModel, PeftConfig\n",
|
159 |
+
"from transformers import (\n",
|
160 |
+
" AutoModelForCausalLM,\n",
|
161 |
+
" AutoTokenizer,\n",
|
162 |
+
" BitsAndBytesConfig,\n",
|
163 |
+
" pipeline,\n",
|
164 |
+
")"
|
165 |
+
]
|
166 |
+
},
|
167 |
+
{
|
168 |
+
"cell_type": "code",
|
169 |
+
"execution_count": null,
|
170 |
+
"id": "6b17e2d0-b482-4ebd-a830-325d98318f70",
|
171 |
+
"metadata": {
|
172 |
+
"id": "6b17e2d0-b482-4ebd-a830-325d98318f70"
|
173 |
+
},
|
174 |
+
"outputs": [],
|
175 |
+
"source": [
|
176 |
+
"peft_model_id = \"dfurman/llama-2-13b-dolphin-peft\"\n",
|
177 |
+
"config = PeftConfig.from_pretrained(peft_model_id)\n",
|
178 |
+
"\n",
|
179 |
+
"bnb_config = BitsAndBytesConfig(\n",
|
180 |
+
" load_in_4bit=True,\n",
|
181 |
+
" bnb_4bit_quant_type=\"nf4\",\n",
|
182 |
+
" bnb_4bit_compute_dtype=torch.bfloat16,\n",
|
183 |
+
")\n",
|
184 |
+
"\n",
|
185 |
+
"model = AutoModelForCausalLM.from_pretrained(\n",
|
186 |
+
" config.base_model_name_or_path,\n",
|
187 |
+
" quantization_config=bnb_config,\n",
|
188 |
+
" use_auth_token=True,\n",
|
189 |
+
" device_map=\"auto\",\n",
|
190 |
+
")"
|
191 |
+
]
|
192 |
+
},
|
193 |
+
{
|
194 |
+
"cell_type": "code",
|
195 |
+
"execution_count": null,
|
196 |
+
"id": "FE_Tdkin3Whb",
|
197 |
+
"metadata": {
|
198 |
+
"id": "FE_Tdkin3Whb"
|
199 |
+
},
|
200 |
+
"outputs": [],
|
201 |
+
"source": [
|
202 |
+
"# Load the tokenizer\n",
|
203 |
+
"tokenizer = AutoTokenizer.from_pretrained(config.base_model_name_or_path, use_fast=True)\n",
|
204 |
+
"tokenizer.pad_token = tokenizer.eos_token\n",
|
205 |
+
"\n",
|
206 |
+
"# Load the Lora model\n",
|
207 |
+
"model = PeftModel.from_pretrained(model, peft_model_id)\n",
|
208 |
+
"\n",
|
209 |
+
"# Prompt formatter\n",
|
210 |
+
"format_template = \"You are a helpful assistant. {query}\\n\""
|
211 |
+
]
|
212 |
+
},
|
213 |
+
{
|
214 |
+
"cell_type": "code",
|
215 |
+
"execution_count": null,
|
216 |
+
"id": "b93b4abc-50e6-4308-8bfb-dfd164aef43f",
|
217 |
+
"metadata": {
|
218 |
+
"id": "b93b4abc-50e6-4308-8bfb-dfd164aef43f"
|
219 |
+
},
|
220 |
+
"outputs": [],
|
221 |
+
"source": [
|
222 |
+
"model"
|
223 |
+
]
|
224 |
+
},
|
225 |
+
{
|
226 |
+
"cell_type": "code",
|
227 |
+
"execution_count": null,
|
228 |
+
"id": "136794be-1cf3-4478-90df-61507179f076",
|
229 |
+
"metadata": {
|
230 |
+
"colab": {
|
231 |
+
"base_uri": "https://localhost:8080/"
|
232 |
+
},
|
233 |
+
"id": "136794be-1cf3-4478-90df-61507179f076",
|
234 |
+
"outputId": "786629c0-3f80-47bc-b853-a2beecf22c88"
|
235 |
+
},
|
236 |
+
"outputs": [],
|
237 |
+
"source": [
|
238 |
+
"free_in_GB = int(torch.cuda.mem_get_info()[0] / 1024**3)\n",
|
239 |
+
"max_memory = f\"{free_in_GB-2}GB\"\n",
|
240 |
+
"n_gpus = torch.cuda.device_count()\n",
|
241 |
+
"max_memory = {i: max_memory for i in range(n_gpus)}\n",
|
242 |
+
"print(\"max memory: \", max_memory)"
|
243 |
+
]
|
244 |
+
},
|
245 |
+
{
|
246 |
+
"cell_type": "code",
|
247 |
+
"execution_count": null,
|
248 |
+
"id": "5g-JzwDH3NHi",
|
249 |
+
"metadata": {
|
250 |
+
"colab": {
|
251 |
+
"base_uri": "https://localhost:8080/",
|
252 |
+
"height": 35
|
253 |
+
},
|
254 |
+
"id": "5g-JzwDH3NHi",
|
255 |
+
"outputId": "de3d6611-7771-44d9-8dc4-5dfa72800bda"
|
256 |
+
},
|
257 |
+
"outputs": [],
|
258 |
+
"source": [
|
259 |
+
"# First, format the prompt\n",
|
260 |
+
"query = \"Tell me a recipe for vegan banana bread.\"\n",
|
261 |
+
"prompt = format_template.format(query=query)\n",
|
262 |
+
"prompt"
|
263 |
+
]
|
264 |
+
},
|
265 |
+
{
|
266 |
+
"cell_type": "code",
|
267 |
+
"execution_count": null,
|
268 |
+
"id": "p-v89cpL7nyN",
|
269 |
+
"metadata": {
|
270 |
+
"colab": {
|
271 |
+
"base_uri": "https://localhost:8080/"
|
272 |
+
},
|
273 |
+
"id": "p-v89cpL7nyN",
|
274 |
+
"outputId": "6874c921-ab46-4613-c26e-ce0e29f06f42"
|
275 |
+
},
|
276 |
+
"outputs": [],
|
277 |
+
"source": [
|
278 |
+
"# Inference can be done using model.generate\n",
|
279 |
+
"print(\"\\n\\n*** Generate:\")\n",
|
280 |
+
"\n",
|
281 |
+
"input_ids = tokenizer(prompt, return_tensors=\"pt\").input_ids.cuda()\n",
|
282 |
+
"with torch.autocast(\"cuda\", dtype=torch.bfloat16):\n",
|
283 |
+
" output = model.generate(\n",
|
284 |
+
" input_ids=input_ids,\n",
|
285 |
+
" max_new_tokens=512,\n",
|
286 |
+
" do_sample=True,\n",
|
287 |
+
" temperature=0.7,\n",
|
288 |
+
" return_dict_in_generate=True,\n",
|
289 |
+
" eos_token_id=tokenizer.eos_token_id,\n",
|
290 |
+
" pad_token_id=tokenizer.pad_token_id,\n",
|
291 |
+
" repetition_penalty=1.2,\n",
|
292 |
+
" )\n",
|
293 |
+
"\n",
|
294 |
+
"print(tokenizer.decode(output[\"sequences\"][0], skip_special_tokens=True))"
|
295 |
+
]
|
296 |
+
},
|
297 |
+
{
|
298 |
+
"cell_type": "code",
|
299 |
+
"execution_count": null,
|
300 |
+
"id": "1vPU1_9E93Fp",
|
301 |
+
"metadata": {
|
302 |
+
"id": "1vPU1_9E93Fp"
|
303 |
+
},
|
304 |
+
"outputs": [],
|
305 |
+
"source": []
|
306 |
+
},
|
307 |
+
{
|
308 |
+
"cell_type": "code",
|
309 |
+
"execution_count": null,
|
310 |
+
"id": "GiuA0h8779pf",
|
311 |
+
"metadata": {
|
312 |
+
"id": "GiuA0h8779pf"
|
313 |
+
},
|
314 |
+
"outputs": [],
|
315 |
+
"source": []
|
316 |
+
}
|
317 |
+
],
|
318 |
+
"metadata": {
|
319 |
+
"accelerator": "GPU",
|
320 |
+
"colab": {
|
321 |
+
"gpuType": "A100",
|
322 |
+
"machine_shape": "hm",
|
323 |
+
"provenance": []
|
324 |
+
},
|
325 |
+
"interpreter": {
|
326 |
+
"hash": "301faebbd5cea7fd4466786a19f1bea9d8baf657aaca95ef39840c46b8697603"
|
327 |
+
},
|
328 |
+
"kernelspec": {
|
329 |
+
"display_name": "Python 3",
|
330 |
+
"name": "python3"
|
331 |
+
},
|
332 |
+
"language_info": {
|
333 |
+
"codemirror_mode": {
|
334 |
+
"name": "ipython",
|
335 |
+
"version": 3
|
336 |
+
},
|
337 |
+
"file_extension": ".py",
|
338 |
+
"mimetype": "text/x-python",
|
339 |
+
"name": "python",
|
340 |
+
"nbconvert_exporter": "python",
|
341 |
+
"pygments_lexer": "ipython3",
|
342 |
+
"version": "3.8.10"
|
343 |
+
},
|
344 |
+
"widgets": {
|
345 |
+
"application/vnd.jupyter.widget-state+json": {
|
346 |
+
"0dded06bf7f34c7f98ec3e848659d24f": {
|
347 |
+
"model_module": "@jupyter-widgets/controls",
|
348 |
+
"model_module_version": "1.5.0",
|
349 |
+
"model_name": "HTMLModel",
|
350 |
+
"state": {
|
351 |
+
"_dom_classes": [],
|
352 |
+
"_model_module": "@jupyter-widgets/controls",
|
353 |
+
"_model_module_version": "1.5.0",
|
354 |
+
"_model_name": "HTMLModel",
|
355 |
+
"_view_count": null,
|
356 |
+
"_view_module": "@jupyter-widgets/controls",
|
357 |
+
"_view_module_version": "1.5.0",
|
358 |
+
"_view_name": "HTMLView",
|
359 |
+
"description": "",
|
360 |
+
"description_tooltip": null,
|
361 |
+
"layout": "IPY_MODEL_a39961c5f9c3477b83eeb0a1f6c64d0a",
|
362 |
+
"placeholder": "",
|
363 |
+
"style": "IPY_MODEL_9c9246e66c2c45b18b9c282ecc94e0bf",
|
364 |
+
"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>"
|
365 |
+
}
|
366 |
+
},
|
367 |
+
"14751ec0d56d4125952134e35dda4b36": {
|
368 |
+
"model_module": "@jupyter-widgets/controls",
|
369 |
+
"model_module_version": "1.5.0",
|
370 |
+
"model_name": "LabelModel",
|
371 |
+
"state": {
|
372 |
+
"_dom_classes": [],
|
373 |
+
"_model_module": "@jupyter-widgets/controls",
|
374 |
+
"_model_module_version": "1.5.0",
|
375 |
+
"_model_name": "LabelModel",
|
376 |
+
"_view_count": null,
|
377 |
+
"_view_module": "@jupyter-widgets/controls",
|
378 |
+
"_view_module_version": "1.5.0",
|
379 |
+
"_view_name": "LabelView",
|
380 |
+
"description": "",
|
381 |
+
"description_tooltip": null,
|
382 |
+
"layout": "IPY_MODEL_6706a59598e042749e1f5e9916e81645",
|
383 |
+
"placeholder": "",
|
384 |
+
"style": "IPY_MODEL_d4eff178b2374120ae54be3616a834af",
|
385 |
+
"value": "Token is valid (permission: write)."
|
386 |
+
}
|
387 |
+
},
|
388 |
+
"1c8ae80c5e454e938d1010b62895f7a2": {
|
389 |
+
"model_module": "@jupyter-widgets/controls",
|
390 |
+
"model_module_version": "1.5.0",
|
391 |
+
"model_name": "HTMLModel",
|
392 |
+
"state": {
|
393 |
+
"_dom_classes": [],
|
394 |
+
"_model_module": "@jupyter-widgets/controls",
|
395 |
+
"_model_module_version": "1.5.0",
|
396 |
+
"_model_name": "HTMLModel",
|
397 |
+
"_view_count": null,
|
398 |
+
"_view_module": "@jupyter-widgets/controls",
|
399 |
+
"_view_module_version": "1.5.0",
|
400 |
+
"_view_name": "HTMLView",
|
401 |
+
"description": "",
|
402 |
+
"description_tooltip": null,
|
403 |
+
"layout": "IPY_MODEL_926085da23864493ad769225649e89ef",
|
404 |
+
"placeholder": "",
|
405 |
+
"style": "IPY_MODEL_e63dfce513c2412caaf4cb285d60151b",
|
406 |
+
"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>"
|
407 |
+
}
|
408 |
+
},
|
409 |
+
"20040b4fd7f84dd5bf3466ddaf66deea": {
|
410 |
+
"model_module": "@jupyter-widgets/base",
|
411 |
+
"model_module_version": "1.2.0",
|
412 |
+
"model_name": "LayoutModel",
|
413 |
+
"state": {
|
414 |
+
"_model_module": "@jupyter-widgets/base",
|
415 |
+
"_model_module_version": "1.2.0",
|
416 |
+
"_model_name": "LayoutModel",
|
417 |
+
"_view_count": null,
|
418 |
+
"_view_module": "@jupyter-widgets/base",
|
419 |
+
"_view_module_version": "1.2.0",
|
420 |
+
"_view_name": "LayoutView",
|
421 |
+
"align_content": null,
|
422 |
+
"align_items": null,
|
423 |
+
"align_self": null,
|
424 |
+
"border": null,
|
425 |
+
"bottom": null,
|
426 |
+
"display": null,
|
427 |
+
"flex": null,
|
428 |
+
"flex_flow": null,
|
429 |
+
"grid_area": null,
|
430 |
+
"grid_auto_columns": null,
|
431 |
+
"grid_auto_flow": null,
|
432 |
+
"grid_auto_rows": null,
|
433 |
+
"grid_column": null,
|
434 |
+
"grid_gap": null,
|
435 |
+
"grid_row": null,
|
436 |
+
"grid_template_areas": null,
|
437 |
+
"grid_template_columns": null,
|
438 |
+
"grid_template_rows": null,
|
439 |
+
"height": null,
|
440 |
+
"justify_content": null,
|
441 |
+
"justify_items": null,
|
442 |
+
"left": null,
|
443 |
+
"margin": null,
|
444 |
+
"max_height": null,
|
445 |
+
"max_width": null,
|
446 |
+
"min_height": null,
|
447 |
+
"min_width": null,
|
448 |
+
"object_fit": null,
|
449 |
+
"object_position": null,
|
450 |
+
"order": null,
|
451 |
+
"overflow": null,
|
452 |
+
"overflow_x": null,
|
453 |
+
"overflow_y": null,
|
454 |
+
"padding": null,
|
455 |
+
"right": null,
|
456 |
+
"top": null,
|
457 |
+
"visibility": null,
|
458 |
+
"width": null
|
459 |
+
}
|
460 |
+
},
|
461 |
+
"22bcf39d833d43f2a43e7464d4b2f0fb": {
|
462 |
+
"model_module": "@jupyter-widgets/controls",
|
463 |
+
"model_module_version": "1.5.0",
|
464 |
+
"model_name": "DescriptionStyleModel",
|
465 |
+
"state": {
|
466 |
+
"_model_module": "@jupyter-widgets/controls",
|
467 |
+
"_model_module_version": "1.5.0",
|
468 |
+
"_model_name": "DescriptionStyleModel",
|
469 |
+
"_view_count": null,
|
470 |
+
"_view_module": "@jupyter-widgets/base",
|
471 |
+
"_view_module_version": "1.2.0",
|
472 |
+
"_view_name": "StyleView",
|
473 |
+
"description_width": ""
|
474 |
+
}
|
475 |
+
},
|
476 |
+
"250db2cbdc3b4b15965aa1ec4d34dc24": {
|
477 |
+
"model_module": "@jupyter-widgets/controls",
|
478 |
+
"model_module_version": "1.5.0",
|
479 |
+
"model_name": "LabelModel",
|
480 |
+
"state": {
|
481 |
+
"_dom_classes": [],
|
482 |
+
"_model_module": "@jupyter-widgets/controls",
|
483 |
+
"_model_module_version": "1.5.0",
|
484 |
+
"_model_name": "LabelModel",
|
485 |
+
"_view_count": null,
|
486 |
+
"_view_module": "@jupyter-widgets/controls",
|
487 |
+
"_view_module_version": "1.5.0",
|
488 |
+
"_view_name": "LabelView",
|
489 |
+
"description": "",
|
490 |
+
"description_tooltip": null,
|
491 |
+
"layout": "IPY_MODEL_969061586df34e1bb65cde513250f6a9",
|
492 |
+
"placeholder": "",
|
493 |
+
"style": "IPY_MODEL_3f54505d762244ff8f0f77f122dacea8",
|
494 |
+
"value": "Your token has been saved to /root/.cache/huggingface/token"
|
495 |
+
}
|
496 |
+
},
|
497 |
+
"2f0e202a91c54fafabed7415d48fc73c": {
|
498 |
+
"model_module": "@jupyter-widgets/controls",
|
499 |
+
"model_module_version": "1.5.0",
|
500 |
+
"model_name": "ButtonModel",
|
501 |
+
"state": {
|
502 |
+
"_dom_classes": [],
|
503 |
+
"_model_module": "@jupyter-widgets/controls",
|
504 |
+
"_model_module_version": "1.5.0",
|
505 |
+
"_model_name": "ButtonModel",
|
506 |
+
"_view_count": null,
|
507 |
+
"_view_module": "@jupyter-widgets/controls",
|
508 |
+
"_view_module_version": "1.5.0",
|
509 |
+
"_view_name": "ButtonView",
|
510 |
+
"button_style": "",
|
511 |
+
"description": "Login",
|
512 |
+
"disabled": false,
|
513 |
+
"icon": "",
|
514 |
+
"layout": "IPY_MODEL_20040b4fd7f84dd5bf3466ddaf66deea",
|
515 |
+
"style": "IPY_MODEL_e9752af013ef4468bb7d465574533242",
|
516 |
+
"tooltip": ""
|
517 |
+
}
|
518 |
+
},
|
519 |
+
"3f54505d762244ff8f0f77f122dacea8": {
|
520 |
+
"model_module": "@jupyter-widgets/controls",
|
521 |
+
"model_module_version": "1.5.0",
|
522 |
+
"model_name": "DescriptionStyleModel",
|
523 |
+
"state": {
|
524 |
+
"_model_module": "@jupyter-widgets/controls",
|
525 |
+
"_model_module_version": "1.5.0",
|
526 |
+
"_model_name": "DescriptionStyleModel",
|
527 |
+
"_view_count": null,
|
528 |
+
"_view_module": "@jupyter-widgets/base",
|
529 |
+
"_view_module_version": "1.2.0",
|
530 |
+
"_view_name": "StyleView",
|
531 |
+
"description_width": ""
|
532 |
+
}
|
533 |
+
},
|
534 |
+
"5fd869d422004d758ec2e87779200829": {
|
535 |
+
"model_module": "@jupyter-widgets/controls",
|
536 |
+
"model_module_version": "1.5.0",
|
537 |
+
"model_name": "DescriptionStyleModel",
|
538 |
+
"state": {
|
539 |
+
"_model_module": "@jupyter-widgets/controls",
|
540 |
+
"_model_module_version": "1.5.0",
|
541 |
+
"_model_name": "DescriptionStyleModel",
|
542 |
+
"_view_count": null,
|
543 |
+
"_view_module": "@jupyter-widgets/base",
|
544 |
+
"_view_module_version": "1.2.0",
|
545 |
+
"_view_name": "StyleView",
|
546 |
+
"description_width": ""
|
547 |
+
}
|
548 |
+
},
|
549 |
+
"6706a59598e042749e1f5e9916e81645": {
|
550 |
+
"model_module": "@jupyter-widgets/base",
|
551 |
+
"model_module_version": "1.2.0",
|
552 |
+
"model_name": "LayoutModel",
|
553 |
+
"state": {
|
554 |
+
"_model_module": "@jupyter-widgets/base",
|
555 |
+
"_model_module_version": "1.2.0",
|
556 |
+
"_model_name": "LayoutModel",
|
557 |
+
"_view_count": null,
|
558 |
+
"_view_module": "@jupyter-widgets/base",
|
559 |
+
"_view_module_version": "1.2.0",
|
560 |
+
"_view_name": "LayoutView",
|
561 |
+
"align_content": null,
|
562 |
+
"align_items": null,
|
563 |
+
"align_self": null,
|
564 |
+
"border": null,
|
565 |
+
"bottom": null,
|
566 |
+
"display": null,
|
567 |
+
"flex": null,
|
568 |
+
"flex_flow": null,
|
569 |
+
"grid_area": null,
|
570 |
+
"grid_auto_columns": null,
|
571 |
+
"grid_auto_flow": null,
|
572 |
+
"grid_auto_rows": null,
|
573 |
+
"grid_column": null,
|
574 |
+
"grid_gap": null,
|
575 |
+
"grid_row": null,
|
576 |
+
"grid_template_areas": null,
|
577 |
+
"grid_template_columns": null,
|
578 |
+
"grid_template_rows": null,
|
579 |
+
"height": null,
|
580 |
+
"justify_content": null,
|
581 |
+
"justify_items": null,
|
582 |
+
"left": null,
|
583 |
+
"margin": null,
|
584 |
+
"max_height": null,
|
585 |
+
"max_width": null,
|
586 |
+
"min_height": null,
|
587 |
+
"min_width": null,
|
588 |
+
"object_fit": null,
|
589 |
+
"object_position": null,
|
590 |
+
"order": null,
|
591 |
+
"overflow": null,
|
592 |
+
"overflow_x": null,
|
593 |
+
"overflow_y": null,
|
594 |
+
"padding": null,
|
595 |
+
"right": null,
|
596 |
+
"top": null,
|
597 |
+
"visibility": null,
|
598 |
+
"width": null
|
599 |
+
}
|
600 |
+
},
|
601 |
+
"6c7de99ef7ff41d99228de2c2273eece": {
|
602 |
+
"model_module": "@jupyter-widgets/controls",
|
603 |
+
"model_module_version": "1.5.0",
|
604 |
+
"model_name": "DescriptionStyleModel",
|
605 |
+
"state": {
|
606 |
+
"_model_module": "@jupyter-widgets/controls",
|
607 |
+
"_model_module_version": "1.5.0",
|
608 |
+
"_model_name": "DescriptionStyleModel",
|
609 |
+
"_view_count": null,
|
610 |
+
"_view_module": "@jupyter-widgets/base",
|
611 |
+
"_view_module_version": "1.2.0",
|
612 |
+
"_view_name": "StyleView",
|
613 |
+
"description_width": ""
|
614 |
+
}
|
615 |
+
},
|
616 |
+
"7415c2eaad4d484abec4cd71ec40d9a2": {
|
617 |
+
"model_module": "@jupyter-widgets/controls",
|
618 |
+
"model_module_version": "1.5.0",
|
619 |
+
"model_name": "PasswordModel",
|
620 |
+
"state": {
|
621 |
+
"_dom_classes": [],
|
622 |
+
"_model_module": "@jupyter-widgets/controls",
|
623 |
+
"_model_module_version": "1.5.0",
|
624 |
+
"_model_name": "PasswordModel",
|
625 |
+
"_view_count": null,
|
626 |
+
"_view_module": "@jupyter-widgets/controls",
|
627 |
+
"_view_module_version": "1.5.0",
|
628 |
+
"_view_name": "PasswordView",
|
629 |
+
"continuous_update": true,
|
630 |
+
"description": "Token:",
|
631 |
+
"description_tooltip": null,
|
632 |
+
"disabled": false,
|
633 |
+
"layout": "IPY_MODEL_dfae1a43351f42e2adf5a443a3c1e085",
|
634 |
+
"placeholder": "",
|
635 |
+
"style": "IPY_MODEL_22bcf39d833d43f2a43e7464d4b2f0fb",
|
636 |
+
"value": ""
|
637 |
+
}
|
638 |
+
},
|
639 |
+
"74eaf6da011745e199f5f76d38b0c884": {
|
640 |
+
"model_module": "@jupyter-widgets/base",
|
641 |
+
"model_module_version": "1.2.0",
|
642 |
+
"model_name": "LayoutModel",
|
643 |
+
"state": {
|
644 |
+
"_model_module": "@jupyter-widgets/base",
|
645 |
+
"_model_module_version": "1.2.0",
|
646 |
+
"_model_name": "LayoutModel",
|
647 |
+
"_view_count": null,
|
648 |
+
"_view_module": "@jupyter-widgets/base",
|
649 |
+
"_view_module_version": "1.2.0",
|
650 |
+
"_view_name": "LayoutView",
|
651 |
+
"align_content": null,
|
652 |
+
"align_items": "center",
|
653 |
+
"align_self": null,
|
654 |
+
"border": null,
|
655 |
+
"bottom": null,
|
656 |
+
"display": "flex",
|
657 |
+
"flex": null,
|
658 |
+
"flex_flow": "column",
|
659 |
+
"grid_area": null,
|
660 |
+
"grid_auto_columns": null,
|
661 |
+
"grid_auto_flow": null,
|
662 |
+
"grid_auto_rows": null,
|
663 |
+
"grid_column": null,
|
664 |
+
"grid_gap": null,
|
665 |
+
"grid_row": null,
|
666 |
+
"grid_template_areas": null,
|
667 |
+
"grid_template_columns": null,
|
668 |
+
"grid_template_rows": null,
|
669 |
+
"height": null,
|
670 |
+
"justify_content": null,
|
671 |
+
"justify_items": null,
|
672 |
+
"left": null,
|
673 |
+
"margin": null,
|
674 |
+
"max_height": null,
|
675 |
+
"max_width": null,
|
676 |
+
"min_height": null,
|
677 |
+
"min_width": null,
|
678 |
+
"object_fit": null,
|
679 |
+
"object_position": null,
|
680 |
+
"order": null,
|
681 |
+
"overflow": null,
|
682 |
+
"overflow_x": null,
|
683 |
+
"overflow_y": null,
|
684 |
+
"padding": null,
|
685 |
+
"right": null,
|
686 |
+
"top": null,
|
687 |
+
"visibility": null,
|
688 |
+
"width": "50%"
|
689 |
+
}
|
690 |
+
},
|
691 |
+
"78797db4dd51494db33a6603f2ecd060": {
|
692 |
+
"model_module": "@jupyter-widgets/base",
|
693 |
+
"model_module_version": "1.2.0",
|
694 |
+
"model_name": "LayoutModel",
|
695 |
+
"state": {
|
696 |
+
"_model_module": "@jupyter-widgets/base",
|
697 |
+
"_model_module_version": "1.2.0",
|
698 |
+
"_model_name": "LayoutModel",
|
699 |
+
"_view_count": null,
|
700 |
+
"_view_module": "@jupyter-widgets/base",
|
701 |
+
"_view_module_version": "1.2.0",
|
702 |
+
"_view_name": "LayoutView",
|
703 |
+
"align_content": null,
|
704 |
+
"align_items": null,
|
705 |
+
"align_self": null,
|
706 |
+
"border": null,
|
707 |
+
"bottom": null,
|
708 |
+
"display": null,
|
709 |
+
"flex": null,
|
710 |
+
"flex_flow": null,
|
711 |
+
"grid_area": null,
|
712 |
+
"grid_auto_columns": null,
|
713 |
+
"grid_auto_flow": null,
|
714 |
+
"grid_auto_rows": null,
|
715 |
+
"grid_column": null,
|
716 |
+
"grid_gap": null,
|
717 |
+
"grid_row": null,
|
718 |
+
"grid_template_areas": null,
|
719 |
+
"grid_template_columns": null,
|
720 |
+
"grid_template_rows": null,
|
721 |
+
"height": null,
|
722 |
+
"justify_content": null,
|
723 |
+
"justify_items": null,
|
724 |
+
"left": null,
|
725 |
+
"margin": null,
|
726 |
+
"max_height": null,
|
727 |
+
"max_width": null,
|
728 |
+
"min_height": null,
|
729 |
+
"min_width": null,
|
730 |
+
"object_fit": null,
|
731 |
+
"object_position": null,
|
732 |
+
"order": null,
|
733 |
+
"overflow": null,
|
734 |
+
"overflow_x": null,
|
735 |
+
"overflow_y": null,
|
736 |
+
"padding": null,
|
737 |
+
"right": null,
|
738 |
+
"top": null,
|
739 |
+
"visibility": null,
|
740 |
+
"width": null
|
741 |
+
}
|
742 |
+
},
|
743 |
+
"789e961e93304d6285ed20f58bef4d58": {
|
744 |
+
"model_module": "@jupyter-widgets/controls",
|
745 |
+
"model_module_version": "1.5.0",
|
746 |
+
"model_name": "DescriptionStyleModel",
|
747 |
+
"state": {
|
748 |
+
"_model_module": "@jupyter-widgets/controls",
|
749 |
+
"_model_module_version": "1.5.0",
|
750 |
+
"_model_name": "DescriptionStyleModel",
|
751 |
+
"_view_count": null,
|
752 |
+
"_view_module": "@jupyter-widgets/base",
|
753 |
+
"_view_module_version": "1.2.0",
|
754 |
+
"_view_name": "StyleView",
|
755 |
+
"description_width": ""
|
756 |
+
}
|
757 |
+
},
|
758 |
+
"86128aadb59e4ca6a293000b9cf39f06": {
|
759 |
+
"model_module": "@jupyter-widgets/controls",
|
760 |
+
"model_module_version": "1.5.0",
|
761 |
+
"model_name": "LabelModel",
|
762 |
+
"state": {
|
763 |
+
"_dom_classes": [],
|
764 |
+
"_model_module": "@jupyter-widgets/controls",
|
765 |
+
"_model_module_version": "1.5.0",
|
766 |
+
"_model_name": "LabelModel",
|
767 |
+
"_view_count": null,
|
768 |
+
"_view_module": "@jupyter-widgets/controls",
|
769 |
+
"_view_module_version": "1.5.0",
|
770 |
+
"_view_name": "LabelView",
|
771 |
+
"description": "",
|
772 |
+
"description_tooltip": null,
|
773 |
+
"layout": "IPY_MODEL_b4f8140c7a674bde9505db55f6541bfb",
|
774 |
+
"placeholder": "",
|
775 |
+
"style": "IPY_MODEL_6c7de99ef7ff41d99228de2c2273eece",
|
776 |
+
"value": "Connecting..."
|
777 |
+
}
|
778 |
+
},
|
779 |
+
"8e40dba2d99e4dbd88dba9085e10c36d": {
|
780 |
+
"model_module": "@jupyter-widgets/controls",
|
781 |
+
"model_module_version": "1.5.0",
|
782 |
+
"model_name": "LabelModel",
|
783 |
+
"state": {
|
784 |
+
"_dom_classes": [],
|
785 |
+
"_model_module": "@jupyter-widgets/controls",
|
786 |
+
"_model_module_version": "1.5.0",
|
787 |
+
"_model_name": "LabelModel",
|
788 |
+
"_view_count": null,
|
789 |
+
"_view_module": "@jupyter-widgets/controls",
|
790 |
+
"_view_module_version": "1.5.0",
|
791 |
+
"_view_name": "LabelView",
|
792 |
+
"description": "",
|
793 |
+
"description_tooltip": null,
|
794 |
+
"layout": "IPY_MODEL_f3333f764c9748238ea62f0febb0f7d3",
|
795 |
+
"placeholder": "",
|
796 |
+
"style": "IPY_MODEL_789e961e93304d6285ed20f58bef4d58",
|
797 |
+
"value": "Your token has been saved in your configured git credential helpers (store)."
|
798 |
+
}
|
799 |
+
},
|
800 |
+
"926085da23864493ad769225649e89ef": {
|
801 |
+
"model_module": "@jupyter-widgets/base",
|
802 |
+
"model_module_version": "1.2.0",
|
803 |
+
"model_name": "LayoutModel",
|
804 |
+
"state": {
|
805 |
+
"_model_module": "@jupyter-widgets/base",
|
806 |
+
"_model_module_version": "1.2.0",
|
807 |
+
"_model_name": "LayoutModel",
|
808 |
+
"_view_count": null,
|
809 |
+
"_view_module": "@jupyter-widgets/base",
|
810 |
+
"_view_module_version": "1.2.0",
|
811 |
+
"_view_name": "LayoutView",
|
812 |
+
"align_content": null,
|
813 |
+
"align_items": null,
|
814 |
+
"align_self": null,
|
815 |
+
"border": null,
|
816 |
+
"bottom": null,
|
817 |
+
"display": null,
|
818 |
+
"flex": null,
|
819 |
+
"flex_flow": null,
|
820 |
+
"grid_area": null,
|
821 |
+
"grid_auto_columns": null,
|
822 |
+
"grid_auto_flow": null,
|
823 |
+
"grid_auto_rows": null,
|
824 |
+
"grid_column": null,
|
825 |
+
"grid_gap": null,
|
826 |
+
"grid_row": null,
|
827 |
+
"grid_template_areas": null,
|
828 |
+
"grid_template_columns": null,
|
829 |
+
"grid_template_rows": null,
|
830 |
+
"height": null,
|
831 |
+
"justify_content": null,
|
832 |
+
"justify_items": null,
|
833 |
+
"left": null,
|
834 |
+
"margin": null,
|
835 |
+
"max_height": null,
|
836 |
+
"max_width": null,
|
837 |
+
"min_height": null,
|
838 |
+
"min_width": null,
|
839 |
+
"object_fit": null,
|
840 |
+
"object_position": null,
|
841 |
+
"order": null,
|
842 |
+
"overflow": null,
|
843 |
+
"overflow_x": null,
|
844 |
+
"overflow_y": null,
|
845 |
+
"padding": null,
|
846 |
+
"right": null,
|
847 |
+
"top": null,
|
848 |
+
"visibility": null,
|
849 |
+
"width": null
|
850 |
+
}
|
851 |
+
},
|
852 |
+
"969061586df34e1bb65cde513250f6a9": {
|
853 |
+
"model_module": "@jupyter-widgets/base",
|
854 |
+
"model_module_version": "1.2.0",
|
855 |
+
"model_name": "LayoutModel",
|
856 |
+
"state": {
|
857 |
+
"_model_module": "@jupyter-widgets/base",
|
858 |
+
"_model_module_version": "1.2.0",
|
859 |
+
"_model_name": "LayoutModel",
|
860 |
+
"_view_count": null,
|
861 |
+
"_view_module": "@jupyter-widgets/base",
|
862 |
+
"_view_module_version": "1.2.0",
|
863 |
+
"_view_name": "LayoutView",
|
864 |
+
"align_content": null,
|
865 |
+
"align_items": null,
|
866 |
+
"align_self": null,
|
867 |
+
"border": null,
|
868 |
+
"bottom": null,
|
869 |
+
"display": null,
|
870 |
+
"flex": null,
|
871 |
+
"flex_flow": null,
|
872 |
+
"grid_area": null,
|
873 |
+
"grid_auto_columns": null,
|
874 |
+
"grid_auto_flow": null,
|
875 |
+
"grid_auto_rows": null,
|
876 |
+
"grid_column": null,
|
877 |
+
"grid_gap": null,
|
878 |
+
"grid_row": null,
|
879 |
+
"grid_template_areas": null,
|
880 |
+
"grid_template_columns": null,
|
881 |
+
"grid_template_rows": null,
|
882 |
+
"height": null,
|
883 |
+
"justify_content": null,
|
884 |
+
"justify_items": null,
|
885 |
+
"left": null,
|
886 |
+
"margin": null,
|
887 |
+
"max_height": null,
|
888 |
+
"max_width": null,
|
889 |
+
"min_height": null,
|
890 |
+
"min_width": null,
|
891 |
+
"object_fit": null,
|
892 |
+
"object_position": null,
|
893 |
+
"order": null,
|
894 |
+
"overflow": null,
|
895 |
+
"overflow_x": null,
|
896 |
+
"overflow_y": null,
|
897 |
+
"padding": null,
|
898 |
+
"right": null,
|
899 |
+
"top": null,
|
900 |
+
"visibility": null,
|
901 |
+
"width": null
|
902 |
+
}
|
903 |
+
},
|
904 |
+
"9c9246e66c2c45b18b9c282ecc94e0bf": {
|
905 |
+
"model_module": "@jupyter-widgets/controls",
|
906 |
+
"model_module_version": "1.5.0",
|
907 |
+
"model_name": "DescriptionStyleModel",
|
908 |
+
"state": {
|
909 |
+
"_model_module": "@jupyter-widgets/controls",
|
910 |
+
"_model_module_version": "1.5.0",
|
911 |
+
"_model_name": "DescriptionStyleModel",
|
912 |
+
"_view_count": null,
|
913 |
+
"_view_module": "@jupyter-widgets/base",
|
914 |
+
"_view_module_version": "1.2.0",
|
915 |
+
"_view_name": "StyleView",
|
916 |
+
"description_width": ""
|
917 |
+
}
|
918 |
+
},
|
919 |
+
"a39961c5f9c3477b83eeb0a1f6c64d0a": {
|
920 |
+
"model_module": "@jupyter-widgets/base",
|
921 |
+
"model_module_version": "1.2.0",
|
922 |
+
"model_name": "LayoutModel",
|
923 |
+
"state": {
|
924 |
+
"_model_module": "@jupyter-widgets/base",
|
925 |
+
"_model_module_version": "1.2.0",
|
926 |
+
"_model_name": "LayoutModel",
|
927 |
+
"_view_count": null,
|
928 |
+
"_view_module": "@jupyter-widgets/base",
|
929 |
+
"_view_module_version": "1.2.0",
|
930 |
+
"_view_name": "LayoutView",
|
931 |
+
"align_content": null,
|
932 |
+
"align_items": null,
|
933 |
+
"align_self": null,
|
934 |
+
"border": null,
|
935 |
+
"bottom": null,
|
936 |
+
"display": null,
|
937 |
+
"flex": null,
|
938 |
+
"flex_flow": null,
|
939 |
+
"grid_area": null,
|
940 |
+
"grid_auto_columns": null,
|
941 |
+
"grid_auto_flow": null,
|
942 |
+
"grid_auto_rows": null,
|
943 |
+
"grid_column": null,
|
944 |
+
"grid_gap": null,
|
945 |
+
"grid_row": null,
|
946 |
+
"grid_template_areas": null,
|
947 |
+
"grid_template_columns": null,
|
948 |
+
"grid_template_rows": null,
|
949 |
+
"height": null,
|
950 |
+
"justify_content": null,
|
951 |
+
"justify_items": null,
|
952 |
+
"left": null,
|
953 |
+
"margin": null,
|
954 |
+
"max_height": null,
|
955 |
+
"max_width": null,
|
956 |
+
"min_height": null,
|
957 |
+
"min_width": null,
|
958 |
+
"object_fit": null,
|
959 |
+
"object_position": null,
|
960 |
+
"order": null,
|
961 |
+
"overflow": null,
|
962 |
+
"overflow_x": null,
|
963 |
+
"overflow_y": null,
|
964 |
+
"padding": null,
|
965 |
+
"right": null,
|
966 |
+
"top": null,
|
967 |
+
"visibility": null,
|
968 |
+
"width": null
|
969 |
+
}
|
970 |
+
},
|
971 |
+
"b4f8140c7a674bde9505db55f6541bfb": {
|
972 |
+
"model_module": "@jupyter-widgets/base",
|
973 |
+
"model_module_version": "1.2.0",
|
974 |
+
"model_name": "LayoutModel",
|
975 |
+
"state": {
|
976 |
+
"_model_module": "@jupyter-widgets/base",
|
977 |
+
"_model_module_version": "1.2.0",
|
978 |
+
"_model_name": "LayoutModel",
|
979 |
+
"_view_count": null,
|
980 |
+
"_view_module": "@jupyter-widgets/base",
|
981 |
+
"_view_module_version": "1.2.0",
|
982 |
+
"_view_name": "LayoutView",
|
983 |
+
"align_content": null,
|
984 |
+
"align_items": null,
|
985 |
+
"align_self": null,
|
986 |
+
"border": null,
|
987 |
+
"bottom": null,
|
988 |
+
"display": null,
|
989 |
+
"flex": null,
|
990 |
+
"flex_flow": null,
|
991 |
+
"grid_area": null,
|
992 |
+
"grid_auto_columns": null,
|
993 |
+
"grid_auto_flow": null,
|
994 |
+
"grid_auto_rows": null,
|
995 |
+
"grid_column": null,
|
996 |
+
"grid_gap": null,
|
997 |
+
"grid_row": null,
|
998 |
+
"grid_template_areas": null,
|
999 |
+
"grid_template_columns": null,
|
1000 |
+
"grid_template_rows": null,
|
1001 |
+
"height": null,
|
1002 |
+
"justify_content": null,
|
1003 |
+
"justify_items": null,
|
1004 |
+
"left": null,
|
1005 |
+
"margin": null,
|
1006 |
+
"max_height": null,
|
1007 |
+
"max_width": null,
|
1008 |
+
"min_height": null,
|
1009 |
+
"min_width": null,
|
1010 |
+
"object_fit": null,
|
1011 |
+
"object_position": null,
|
1012 |
+
"order": null,
|
1013 |
+
"overflow": null,
|
1014 |
+
"overflow_x": null,
|
1015 |
+
"overflow_y": null,
|
1016 |
+
"padding": null,
|
1017 |
+
"right": null,
|
1018 |
+
"top": null,
|
1019 |
+
"visibility": null,
|
1020 |
+
"width": null
|
1021 |
+
}
|
1022 |
+
},
|
1023 |
+
"b643b3cfb364440c97f073e8377c19b5": {
|
1024 |
+
"model_module": "@jupyter-widgets/controls",
|
1025 |
+
"model_module_version": "1.5.0",
|
1026 |
+
"model_name": "DescriptionStyleModel",
|
1027 |
+
"state": {
|
1028 |
+
"_model_module": "@jupyter-widgets/controls",
|
1029 |
+
"_model_module_version": "1.5.0",
|
1030 |
+
"_model_name": "DescriptionStyleModel",
|
1031 |
+
"_view_count": null,
|
1032 |
+
"_view_module": "@jupyter-widgets/base",
|
1033 |
+
"_view_module_version": "1.2.0",
|
1034 |
+
"_view_name": "StyleView",
|
1035 |
+
"description_width": ""
|
1036 |
+
}
|
1037 |
+
},
|
1038 |
+
"d27a99c9454a42669954005db152bcdb": {
|
1039 |
+
"model_module": "@jupyter-widgets/controls",
|
1040 |
+
"model_module_version": "1.5.0",
|
1041 |
+
"model_name": "VBoxModel",
|
1042 |
+
"state": {
|
1043 |
+
"_dom_classes": [],
|
1044 |
+
"_model_module": "@jupyter-widgets/controls",
|
1045 |
+
"_model_module_version": "1.5.0",
|
1046 |
+
"_model_name": "VBoxModel",
|
1047 |
+
"_view_count": null,
|
1048 |
+
"_view_module": "@jupyter-widgets/controls",
|
1049 |
+
"_view_module_version": "1.5.0",
|
1050 |
+
"_view_name": "VBoxView",
|
1051 |
+
"box_style": "",
|
1052 |
+
"children": [
|
1053 |
+
"IPY_MODEL_14751ec0d56d4125952134e35dda4b36",
|
1054 |
+
"IPY_MODEL_8e40dba2d99e4dbd88dba9085e10c36d",
|
1055 |
+
"IPY_MODEL_250db2cbdc3b4b15965aa1ec4d34dc24",
|
1056 |
+
"IPY_MODEL_d7faa7875fd24fdca89b38318b6624ef"
|
1057 |
+
],
|
1058 |
+
"layout": "IPY_MODEL_74eaf6da011745e199f5f76d38b0c884"
|
1059 |
+
}
|
1060 |
+
},
|
1061 |
+
"d4eff178b2374120ae54be3616a834af": {
|
1062 |
+
"model_module": "@jupyter-widgets/controls",
|
1063 |
+
"model_module_version": "1.5.0",
|
1064 |
+
"model_name": "DescriptionStyleModel",
|
1065 |
+
"state": {
|
1066 |
+
"_model_module": "@jupyter-widgets/controls",
|
1067 |
+
"_model_module_version": "1.5.0",
|
1068 |
+
"_model_name": "DescriptionStyleModel",
|
1069 |
+
"_view_count": null,
|
1070 |
+
"_view_module": "@jupyter-widgets/base",
|
1071 |
+
"_view_module_version": "1.2.0",
|
1072 |
+
"_view_name": "StyleView",
|
1073 |
+
"description_width": ""
|
1074 |
+
}
|
1075 |
+
},
|
1076 |
+
"d7faa7875fd24fdca89b38318b6624ef": {
|
1077 |
+
"model_module": "@jupyter-widgets/controls",
|
1078 |
+
"model_module_version": "1.5.0",
|
1079 |
+
"model_name": "LabelModel",
|
1080 |
+
"state": {
|
1081 |
+
"_dom_classes": [],
|
1082 |
+
"_model_module": "@jupyter-widgets/controls",
|
1083 |
+
"_model_module_version": "1.5.0",
|
1084 |
+
"_model_name": "LabelModel",
|
1085 |
+
"_view_count": null,
|
1086 |
+
"_view_module": "@jupyter-widgets/controls",
|
1087 |
+
"_view_module_version": "1.5.0",
|
1088 |
+
"_view_name": "LabelView",
|
1089 |
+
"description": "",
|
1090 |
+
"description_tooltip": null,
|
1091 |
+
"layout": "IPY_MODEL_defe50df284d484f98039fb37eee28d6",
|
1092 |
+
"placeholder": "",
|
1093 |
+
"style": "IPY_MODEL_b643b3cfb364440c97f073e8377c19b5",
|
1094 |
+
"value": "Login successful"
|
1095 |
+
}
|
1096 |
+
},
|
1097 |
+
"defe50df284d484f98039fb37eee28d6": {
|
1098 |
+
"model_module": "@jupyter-widgets/base",
|
1099 |
+
"model_module_version": "1.2.0",
|
1100 |
+
"model_name": "LayoutModel",
|
1101 |
+
"state": {
|
1102 |
+
"_model_module": "@jupyter-widgets/base",
|
1103 |
+
"_model_module_version": "1.2.0",
|
1104 |
+
"_model_name": "LayoutModel",
|
1105 |
+
"_view_count": null,
|
1106 |
+
"_view_module": "@jupyter-widgets/base",
|
1107 |
+
"_view_module_version": "1.2.0",
|
1108 |
+
"_view_name": "LayoutView",
|
1109 |
+
"align_content": null,
|
1110 |
+
"align_items": null,
|
1111 |
+
"align_self": null,
|
1112 |
+
"border": null,
|
1113 |
+
"bottom": null,
|
1114 |
+
"display": null,
|
1115 |
+
"flex": null,
|
1116 |
+
"flex_flow": null,
|
1117 |
+
"grid_area": null,
|
1118 |
+
"grid_auto_columns": null,
|
1119 |
+
"grid_auto_flow": null,
|
1120 |
+
"grid_auto_rows": null,
|
1121 |
+
"grid_column": null,
|
1122 |
+
"grid_gap": null,
|
1123 |
+
"grid_row": null,
|
1124 |
+
"grid_template_areas": null,
|
1125 |
+
"grid_template_columns": null,
|
1126 |
+
"grid_template_rows": null,
|
1127 |
+
"height": null,
|
1128 |
+
"justify_content": null,
|
1129 |
+
"justify_items": null,
|
1130 |
+
"left": null,
|
1131 |
+
"margin": null,
|
1132 |
+
"max_height": null,
|
1133 |
+
"max_width": null,
|
1134 |
+
"min_height": null,
|
1135 |
+
"min_width": null,
|
1136 |
+
"object_fit": null,
|
1137 |
+
"object_position": null,
|
1138 |
+
"order": null,
|
1139 |
+
"overflow": null,
|
1140 |
+
"overflow_x": null,
|
1141 |
+
"overflow_y": null,
|
1142 |
+
"padding": null,
|
1143 |
+
"right": null,
|
1144 |
+
"top": null,
|
1145 |
+
"visibility": null,
|
1146 |
+
"width": null
|
1147 |
+
}
|
1148 |
+
},
|
1149 |
+
"dfae1a43351f42e2adf5a443a3c1e085": {
|
1150 |
+
"model_module": "@jupyter-widgets/base",
|
1151 |
+
"model_module_version": "1.2.0",
|
1152 |
+
"model_name": "LayoutModel",
|
1153 |
+
"state": {
|
1154 |
+
"_model_module": "@jupyter-widgets/base",
|
1155 |
+
"_model_module_version": "1.2.0",
|
1156 |
+
"_model_name": "LayoutModel",
|
1157 |
+
"_view_count": null,
|
1158 |
+
"_view_module": "@jupyter-widgets/base",
|
1159 |
+
"_view_module_version": "1.2.0",
|
1160 |
+
"_view_name": "LayoutView",
|
1161 |
+
"align_content": null,
|
1162 |
+
"align_items": null,
|
1163 |
+
"align_self": null,
|
1164 |
+
"border": null,
|
1165 |
+
"bottom": null,
|
1166 |
+
"display": null,
|
1167 |
+
"flex": null,
|
1168 |
+
"flex_flow": null,
|
1169 |
+
"grid_area": null,
|
1170 |
+
"grid_auto_columns": null,
|
1171 |
+
"grid_auto_flow": null,
|
1172 |
+
"grid_auto_rows": null,
|
1173 |
+
"grid_column": null,
|
1174 |
+
"grid_gap": null,
|
1175 |
+
"grid_row": null,
|
1176 |
+
"grid_template_areas": null,
|
1177 |
+
"grid_template_columns": null,
|
1178 |
+
"grid_template_rows": null,
|
1179 |
+
"height": null,
|
1180 |
+
"justify_content": null,
|
1181 |
+
"justify_items": null,
|
1182 |
+
"left": null,
|
1183 |
+
"margin": null,
|
1184 |
+
"max_height": null,
|
1185 |
+
"max_width": null,
|
1186 |
+
"min_height": null,
|
1187 |
+
"min_width": null,
|
1188 |
+
"object_fit": null,
|
1189 |
+
"object_position": null,
|
1190 |
+
"order": null,
|
1191 |
+
"overflow": null,
|
1192 |
+
"overflow_x": null,
|
1193 |
+
"overflow_y": null,
|
1194 |
+
"padding": null,
|
1195 |
+
"right": null,
|
1196 |
+
"top": null,
|
1197 |
+
"visibility": null,
|
1198 |
+
"width": null
|
1199 |
+
}
|
1200 |
+
},
|
1201 |
+
"e63dfce513c2412caaf4cb285d60151b": {
|
1202 |
+
"model_module": "@jupyter-widgets/controls",
|
1203 |
+
"model_module_version": "1.5.0",
|
1204 |
+
"model_name": "DescriptionStyleModel",
|
1205 |
+
"state": {
|
1206 |
+
"_model_module": "@jupyter-widgets/controls",
|
1207 |
+
"_model_module_version": "1.5.0",
|
1208 |
+
"_model_name": "DescriptionStyleModel",
|
1209 |
+
"_view_count": null,
|
1210 |
+
"_view_module": "@jupyter-widgets/base",
|
1211 |
+
"_view_module_version": "1.2.0",
|
1212 |
+
"_view_name": "StyleView",
|
1213 |
+
"description_width": ""
|
1214 |
+
}
|
1215 |
+
},
|
1216 |
+
"e9752af013ef4468bb7d465574533242": {
|
1217 |
+
"model_module": "@jupyter-widgets/controls",
|
1218 |
+
"model_module_version": "1.5.0",
|
1219 |
+
"model_name": "ButtonStyleModel",
|
1220 |
+
"state": {
|
1221 |
+
"_model_module": "@jupyter-widgets/controls",
|
1222 |
+
"_model_module_version": "1.5.0",
|
1223 |
+
"_model_name": "ButtonStyleModel",
|
1224 |
+
"_view_count": null,
|
1225 |
+
"_view_module": "@jupyter-widgets/base",
|
1226 |
+
"_view_module_version": "1.2.0",
|
1227 |
+
"_view_name": "StyleView",
|
1228 |
+
"button_color": null,
|
1229 |
+
"font_weight": ""
|
1230 |
+
}
|
1231 |
+
},
|
1232 |
+
"f3333f764c9748238ea62f0febb0f7d3": {
|
1233 |
+
"model_module": "@jupyter-widgets/base",
|
1234 |
+
"model_module_version": "1.2.0",
|
1235 |
+
"model_name": "LayoutModel",
|
1236 |
+
"state": {
|
1237 |
+
"_model_module": "@jupyter-widgets/base",
|
1238 |
+
"_model_module_version": "1.2.0",
|
1239 |
+
"_model_name": "LayoutModel",
|
1240 |
+
"_view_count": null,
|
1241 |
+
"_view_module": "@jupyter-widgets/base",
|
1242 |
+
"_view_module_version": "1.2.0",
|
1243 |
+
"_view_name": "LayoutView",
|
1244 |
+
"align_content": null,
|
1245 |
+
"align_items": null,
|
1246 |
+
"align_self": null,
|
1247 |
+
"border": null,
|
1248 |
+
"bottom": null,
|
1249 |
+
"display": null,
|
1250 |
+
"flex": null,
|
1251 |
+
"flex_flow": null,
|
1252 |
+
"grid_area": null,
|
1253 |
+
"grid_auto_columns": null,
|
1254 |
+
"grid_auto_flow": null,
|
1255 |
+
"grid_auto_rows": null,
|
1256 |
+
"grid_column": null,
|
1257 |
+
"grid_gap": null,
|
1258 |
+
"grid_row": null,
|
1259 |
+
"grid_template_areas": null,
|
1260 |
+
"grid_template_columns": null,
|
1261 |
+
"grid_template_rows": null,
|
1262 |
+
"height": null,
|
1263 |
+
"justify_content": null,
|
1264 |
+
"justify_items": null,
|
1265 |
+
"left": null,
|
1266 |
+
"margin": null,
|
1267 |
+
"max_height": null,
|
1268 |
+
"max_width": null,
|
1269 |
+
"min_height": null,
|
1270 |
+
"min_width": null,
|
1271 |
+
"object_fit": null,
|
1272 |
+
"object_position": null,
|
1273 |
+
"order": null,
|
1274 |
+
"overflow": null,
|
1275 |
+
"overflow_x": null,
|
1276 |
+
"overflow_y": null,
|
1277 |
+
"padding": null,
|
1278 |
+
"right": null,
|
1279 |
+
"top": null,
|
1280 |
+
"visibility": null,
|
1281 |
+
"width": null
|
1282 |
+
}
|
1283 |
+
},
|
1284 |
+
"fe4580bf81f74921b18e4791509daa83": {
|
1285 |
+
"model_module": "@jupyter-widgets/controls",
|
1286 |
+
"model_module_version": "1.5.0",
|
1287 |
+
"model_name": "CheckboxModel",
|
1288 |
+
"state": {
|
1289 |
+
"_dom_classes": [],
|
1290 |
+
"_model_module": "@jupyter-widgets/controls",
|
1291 |
+
"_model_module_version": "1.5.0",
|
1292 |
+
"_model_name": "CheckboxModel",
|
1293 |
+
"_view_count": null,
|
1294 |
+
"_view_module": "@jupyter-widgets/controls",
|
1295 |
+
"_view_module_version": "1.5.0",
|
1296 |
+
"_view_name": "CheckboxView",
|
1297 |
+
"description": "Add token as git credential?",
|
1298 |
+
"description_tooltip": null,
|
1299 |
+
"disabled": false,
|
1300 |
+
"indent": true,
|
1301 |
+
"layout": "IPY_MODEL_78797db4dd51494db33a6603f2ecd060",
|
1302 |
+
"style": "IPY_MODEL_5fd869d422004d758ec2e87779200829",
|
1303 |
+
"value": true
|
1304 |
+
}
|
1305 |
+
}
|
1306 |
+
}
|
1307 |
+
}
|
1308 |
+
},
|
1309 |
+
"nbformat": 4,
|
1310 |
+
"nbformat_minor": 5
|
1311 |
+
}
|