chansung commited on
Commit
9e82231
1 Parent(s): 9bdcf40

Upload alpacagpt4-lora-13b.ipynb

Browse files
Files changed (1) hide show
  1. alpacagpt4-lora-13b.ipynb +1606 -0
alpacagpt4-lora-13b.ipynb ADDED
@@ -0,0 +1,1606 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "nbformat": 4,
3
+ "nbformat_minor": 0,
4
+ "metadata": {
5
+ "colab": {
6
+ "provenance": [],
7
+ "machine_shape": "hm"
8
+ },
9
+ "kernelspec": {
10
+ "name": "python3",
11
+ "display_name": "Python 3"
12
+ },
13
+ "language_info": {
14
+ "name": "python"
15
+ },
16
+ "accelerator": "GPU",
17
+ "gpuClass": "standard",
18
+ "widgets": {
19
+ "application/vnd.jupyter.widget-state+json": {
20
+ "b95341276bcc4379ad42ff62a3825dd3": {
21
+ "model_module": "@jupyter-widgets/controls",
22
+ "model_name": "HBoxModel",
23
+ "model_module_version": "1.5.0",
24
+ "state": {
25
+ "_dom_classes": [],
26
+ "_model_module": "@jupyter-widgets/controls",
27
+ "_model_module_version": "1.5.0",
28
+ "_model_name": "HBoxModel",
29
+ "_view_count": null,
30
+ "_view_module": "@jupyter-widgets/controls",
31
+ "_view_module_version": "1.5.0",
32
+ "_view_name": "HBoxView",
33
+ "box_style": "",
34
+ "children": [
35
+ "IPY_MODEL_67d704f071f6417ea96c919780cad20d",
36
+ "IPY_MODEL_a28e810f17ed441fa96f4e7a30f63a39",
37
+ "IPY_MODEL_2ca21963c9a3495482bf4317c9b6c21f"
38
+ ],
39
+ "layout": "IPY_MODEL_c239f8a0193e4341adcc592b545283a4"
40
+ }
41
+ },
42
+ "67d704f071f6417ea96c919780cad20d": {
43
+ "model_module": "@jupyter-widgets/controls",
44
+ "model_name": "HTMLModel",
45
+ "model_module_version": "1.5.0",
46
+ "state": {
47
+ "_dom_classes": [],
48
+ "_model_module": "@jupyter-widgets/controls",
49
+ "_model_module_version": "1.5.0",
50
+ "_model_name": "HTMLModel",
51
+ "_view_count": null,
52
+ "_view_module": "@jupyter-widgets/controls",
53
+ "_view_module_version": "1.5.0",
54
+ "_view_name": "HTMLView",
55
+ "description": "",
56
+ "description_tooltip": null,
57
+ "layout": "IPY_MODEL_41d7d346022d4ae492afd5fbf3cb2113",
58
+ "placeholder": "​",
59
+ "style": "IPY_MODEL_d9868b43ff684c08adab3a092142df63",
60
+ "value": "Loading checkpoint shards: 100%"
61
+ }
62
+ },
63
+ "a28e810f17ed441fa96f4e7a30f63a39": {
64
+ "model_module": "@jupyter-widgets/controls",
65
+ "model_name": "FloatProgressModel",
66
+ "model_module_version": "1.5.0",
67
+ "state": {
68
+ "_dom_classes": [],
69
+ "_model_module": "@jupyter-widgets/controls",
70
+ "_model_module_version": "1.5.0",
71
+ "_model_name": "FloatProgressModel",
72
+ "_view_count": null,
73
+ "_view_module": "@jupyter-widgets/controls",
74
+ "_view_module_version": "1.5.0",
75
+ "_view_name": "ProgressView",
76
+ "bar_style": "success",
77
+ "description": "",
78
+ "description_tooltip": null,
79
+ "layout": "IPY_MODEL_ac25c14fad3d49329d09b7cf75b70001",
80
+ "max": 3,
81
+ "min": 0,
82
+ "orientation": "horizontal",
83
+ "style": "IPY_MODEL_29105ab74dd443439db8f2634c271f9b",
84
+ "value": 3
85
+ }
86
+ },
87
+ "2ca21963c9a3495482bf4317c9b6c21f": {
88
+ "model_module": "@jupyter-widgets/controls",
89
+ "model_name": "HTMLModel",
90
+ "model_module_version": "1.5.0",
91
+ "state": {
92
+ "_dom_classes": [],
93
+ "_model_module": "@jupyter-widgets/controls",
94
+ "_model_module_version": "1.5.0",
95
+ "_model_name": "HTMLModel",
96
+ "_view_count": null,
97
+ "_view_module": "@jupyter-widgets/controls",
98
+ "_view_module_version": "1.5.0",
99
+ "_view_name": "HTMLView",
100
+ "description": "",
101
+ "description_tooltip": null,
102
+ "layout": "IPY_MODEL_5c48f5c5e1c04c2db758d487860824f0",
103
+ "placeholder": "​",
104
+ "style": "IPY_MODEL_57aaa61a888e4baa8bc2af2f00ce6e14",
105
+ "value": " 3/3 [01:52<00:00, 35.80s/it]"
106
+ }
107
+ },
108
+ "c239f8a0193e4341adcc592b545283a4": {
109
+ "model_module": "@jupyter-widgets/base",
110
+ "model_name": "LayoutModel",
111
+ "model_module_version": "1.2.0",
112
+ "state": {
113
+ "_model_module": "@jupyter-widgets/base",
114
+ "_model_module_version": "1.2.0",
115
+ "_model_name": "LayoutModel",
116
+ "_view_count": null,
117
+ "_view_module": "@jupyter-widgets/base",
118
+ "_view_module_version": "1.2.0",
119
+ "_view_name": "LayoutView",
120
+ "align_content": null,
121
+ "align_items": null,
122
+ "align_self": null,
123
+ "border": null,
124
+ "bottom": null,
125
+ "display": null,
126
+ "flex": null,
127
+ "flex_flow": null,
128
+ "grid_area": null,
129
+ "grid_auto_columns": null,
130
+ "grid_auto_flow": null,
131
+ "grid_auto_rows": null,
132
+ "grid_column": null,
133
+ "grid_gap": null,
134
+ "grid_row": null,
135
+ "grid_template_areas": null,
136
+ "grid_template_columns": null,
137
+ "grid_template_rows": null,
138
+ "height": null,
139
+ "justify_content": null,
140
+ "justify_items": null,
141
+ "left": null,
142
+ "margin": null,
143
+ "max_height": null,
144
+ "max_width": null,
145
+ "min_height": null,
146
+ "min_width": null,
147
+ "object_fit": null,
148
+ "object_position": null,
149
+ "order": null,
150
+ "overflow": null,
151
+ "overflow_x": null,
152
+ "overflow_y": null,
153
+ "padding": null,
154
+ "right": null,
155
+ "top": null,
156
+ "visibility": null,
157
+ "width": null
158
+ }
159
+ },
160
+ "41d7d346022d4ae492afd5fbf3cb2113": {
161
+ "model_module": "@jupyter-widgets/base",
162
+ "model_name": "LayoutModel",
163
+ "model_module_version": "1.2.0",
164
+ "state": {
165
+ "_model_module": "@jupyter-widgets/base",
166
+ "_model_module_version": "1.2.0",
167
+ "_model_name": "LayoutModel",
168
+ "_view_count": null,
169
+ "_view_module": "@jupyter-widgets/base",
170
+ "_view_module_version": "1.2.0",
171
+ "_view_name": "LayoutView",
172
+ "align_content": null,
173
+ "align_items": null,
174
+ "align_self": null,
175
+ "border": null,
176
+ "bottom": null,
177
+ "display": null,
178
+ "flex": null,
179
+ "flex_flow": null,
180
+ "grid_area": null,
181
+ "grid_auto_columns": null,
182
+ "grid_auto_flow": null,
183
+ "grid_auto_rows": null,
184
+ "grid_column": null,
185
+ "grid_gap": null,
186
+ "grid_row": null,
187
+ "grid_template_areas": null,
188
+ "grid_template_columns": null,
189
+ "grid_template_rows": null,
190
+ "height": null,
191
+ "justify_content": null,
192
+ "justify_items": null,
193
+ "left": null,
194
+ "margin": null,
195
+ "max_height": null,
196
+ "max_width": null,
197
+ "min_height": null,
198
+ "min_width": null,
199
+ "object_fit": null,
200
+ "object_position": null,
201
+ "order": null,
202
+ "overflow": null,
203
+ "overflow_x": null,
204
+ "overflow_y": null,
205
+ "padding": null,
206
+ "right": null,
207
+ "top": null,
208
+ "visibility": null,
209
+ "width": null
210
+ }
211
+ },
212
+ "d9868b43ff684c08adab3a092142df63": {
213
+ "model_module": "@jupyter-widgets/controls",
214
+ "model_name": "DescriptionStyleModel",
215
+ "model_module_version": "1.5.0",
216
+ "state": {
217
+ "_model_module": "@jupyter-widgets/controls",
218
+ "_model_module_version": "1.5.0",
219
+ "_model_name": "DescriptionStyleModel",
220
+ "_view_count": null,
221
+ "_view_module": "@jupyter-widgets/base",
222
+ "_view_module_version": "1.2.0",
223
+ "_view_name": "StyleView",
224
+ "description_width": ""
225
+ }
226
+ },
227
+ "ac25c14fad3d49329d09b7cf75b70001": {
228
+ "model_module": "@jupyter-widgets/base",
229
+ "model_name": "LayoutModel",
230
+ "model_module_version": "1.2.0",
231
+ "state": {
232
+ "_model_module": "@jupyter-widgets/base",
233
+ "_model_module_version": "1.2.0",
234
+ "_model_name": "LayoutModel",
235
+ "_view_count": null,
236
+ "_view_module": "@jupyter-widgets/base",
237
+ "_view_module_version": "1.2.0",
238
+ "_view_name": "LayoutView",
239
+ "align_content": null,
240
+ "align_items": null,
241
+ "align_self": null,
242
+ "border": null,
243
+ "bottom": null,
244
+ "display": null,
245
+ "flex": null,
246
+ "flex_flow": null,
247
+ "grid_area": null,
248
+ "grid_auto_columns": null,
249
+ "grid_auto_flow": null,
250
+ "grid_auto_rows": null,
251
+ "grid_column": null,
252
+ "grid_gap": null,
253
+ "grid_row": null,
254
+ "grid_template_areas": null,
255
+ "grid_template_columns": null,
256
+ "grid_template_rows": null,
257
+ "height": null,
258
+ "justify_content": null,
259
+ "justify_items": null,
260
+ "left": null,
261
+ "margin": null,
262
+ "max_height": null,
263
+ "max_width": null,
264
+ "min_height": null,
265
+ "min_width": null,
266
+ "object_fit": null,
267
+ "object_position": null,
268
+ "order": null,
269
+ "overflow": null,
270
+ "overflow_x": null,
271
+ "overflow_y": null,
272
+ "padding": null,
273
+ "right": null,
274
+ "top": null,
275
+ "visibility": null,
276
+ "width": null
277
+ }
278
+ },
279
+ "29105ab74dd443439db8f2634c271f9b": {
280
+ "model_module": "@jupyter-widgets/controls",
281
+ "model_name": "ProgressStyleModel",
282
+ "model_module_version": "1.5.0",
283
+ "state": {
284
+ "_model_module": "@jupyter-widgets/controls",
285
+ "_model_module_version": "1.5.0",
286
+ "_model_name": "ProgressStyleModel",
287
+ "_view_count": null,
288
+ "_view_module": "@jupyter-widgets/base",
289
+ "_view_module_version": "1.2.0",
290
+ "_view_name": "StyleView",
291
+ "bar_color": null,
292
+ "description_width": ""
293
+ }
294
+ },
295
+ "5c48f5c5e1c04c2db758d487860824f0": {
296
+ "model_module": "@jupyter-widgets/base",
297
+ "model_name": "LayoutModel",
298
+ "model_module_version": "1.2.0",
299
+ "state": {
300
+ "_model_module": "@jupyter-widgets/base",
301
+ "_model_module_version": "1.2.0",
302
+ "_model_name": "LayoutModel",
303
+ "_view_count": null,
304
+ "_view_module": "@jupyter-widgets/base",
305
+ "_view_module_version": "1.2.0",
306
+ "_view_name": "LayoutView",
307
+ "align_content": null,
308
+ "align_items": null,
309
+ "align_self": null,
310
+ "border": null,
311
+ "bottom": null,
312
+ "display": null,
313
+ "flex": null,
314
+ "flex_flow": null,
315
+ "grid_area": null,
316
+ "grid_auto_columns": null,
317
+ "grid_auto_flow": null,
318
+ "grid_auto_rows": null,
319
+ "grid_column": null,
320
+ "grid_gap": null,
321
+ "grid_row": null,
322
+ "grid_template_areas": null,
323
+ "grid_template_columns": null,
324
+ "grid_template_rows": null,
325
+ "height": null,
326
+ "justify_content": null,
327
+ "justify_items": null,
328
+ "left": null,
329
+ "margin": null,
330
+ "max_height": null,
331
+ "max_width": null,
332
+ "min_height": null,
333
+ "min_width": null,
334
+ "object_fit": null,
335
+ "object_position": null,
336
+ "order": null,
337
+ "overflow": null,
338
+ "overflow_x": null,
339
+ "overflow_y": null,
340
+ "padding": null,
341
+ "right": null,
342
+ "top": null,
343
+ "visibility": null,
344
+ "width": null
345
+ }
346
+ },
347
+ "57aaa61a888e4baa8bc2af2f00ce6e14": {
348
+ "model_module": "@jupyter-widgets/controls",
349
+ "model_name": "DescriptionStyleModel",
350
+ "model_module_version": "1.5.0",
351
+ "state": {
352
+ "_model_module": "@jupyter-widgets/controls",
353
+ "_model_module_version": "1.5.0",
354
+ "_model_name": "DescriptionStyleModel",
355
+ "_view_count": null,
356
+ "_view_module": "@jupyter-widgets/base",
357
+ "_view_module_version": "1.2.0",
358
+ "_view_name": "StyleView",
359
+ "description_width": ""
360
+ }
361
+ },
362
+ "f448fd84eeaf44c895e8464ee2485e43": {
363
+ "model_module": "@jupyter-widgets/controls",
364
+ "model_name": "HBoxModel",
365
+ "model_module_version": "1.5.0",
366
+ "state": {
367
+ "_dom_classes": [],
368
+ "_model_module": "@jupyter-widgets/controls",
369
+ "_model_module_version": "1.5.0",
370
+ "_model_name": "HBoxModel",
371
+ "_view_count": null,
372
+ "_view_module": "@jupyter-widgets/controls",
373
+ "_view_module_version": "1.5.0",
374
+ "_view_name": "HBoxView",
375
+ "box_style": "",
376
+ "children": [
377
+ "IPY_MODEL_1d9153ce62f745ceaa6fbef54512915f",
378
+ "IPY_MODEL_c25b0336c7d64a0288015667703deaa4",
379
+ "IPY_MODEL_f12c5611cf354d6a926d0276019dd96f"
380
+ ],
381
+ "layout": "IPY_MODEL_839fb5da2d7e4aab98c065759fa05164"
382
+ }
383
+ },
384
+ "1d9153ce62f745ceaa6fbef54512915f": {
385
+ "model_module": "@jupyter-widgets/controls",
386
+ "model_name": "HTMLModel",
387
+ "model_module_version": "1.5.0",
388
+ "state": {
389
+ "_dom_classes": [],
390
+ "_model_module": "@jupyter-widgets/controls",
391
+ "_model_module_version": "1.5.0",
392
+ "_model_name": "HTMLModel",
393
+ "_view_count": null,
394
+ "_view_module": "@jupyter-widgets/controls",
395
+ "_view_module_version": "1.5.0",
396
+ "_view_name": "HTMLView",
397
+ "description": "",
398
+ "description_tooltip": null,
399
+ "layout": "IPY_MODEL_978cd306d0b546d3b3f01cc2656b2f58",
400
+ "placeholder": "​",
401
+ "style": "IPY_MODEL_01c8316f96d448dcbff3d41e6b733076",
402
+ "value": "Downloading (…)/adapter_config.json: 100%"
403
+ }
404
+ },
405
+ "c25b0336c7d64a0288015667703deaa4": {
406
+ "model_module": "@jupyter-widgets/controls",
407
+ "model_name": "FloatProgressModel",
408
+ "model_module_version": "1.5.0",
409
+ "state": {
410
+ "_dom_classes": [],
411
+ "_model_module": "@jupyter-widgets/controls",
412
+ "_model_module_version": "1.5.0",
413
+ "_model_name": "FloatProgressModel",
414
+ "_view_count": null,
415
+ "_view_module": "@jupyter-widgets/controls",
416
+ "_view_module_version": "1.5.0",
417
+ "_view_name": "ProgressView",
418
+ "bar_style": "success",
419
+ "description": "",
420
+ "description_tooltip": null,
421
+ "layout": "IPY_MODEL_3f65177d92564e2486be28fd620165f1",
422
+ "max": 436,
423
+ "min": 0,
424
+ "orientation": "horizontal",
425
+ "style": "IPY_MODEL_28dbed7d316a4ec0ae6ec244e2213abf",
426
+ "value": 436
427
+ }
428
+ },
429
+ "f12c5611cf354d6a926d0276019dd96f": {
430
+ "model_module": "@jupyter-widgets/controls",
431
+ "model_name": "HTMLModel",
432
+ "model_module_version": "1.5.0",
433
+ "state": {
434
+ "_dom_classes": [],
435
+ "_model_module": "@jupyter-widgets/controls",
436
+ "_model_module_version": "1.5.0",
437
+ "_model_name": "HTMLModel",
438
+ "_view_count": null,
439
+ "_view_module": "@jupyter-widgets/controls",
440
+ "_view_module_version": "1.5.0",
441
+ "_view_name": "HTMLView",
442
+ "description": "",
443
+ "description_tooltip": null,
444
+ "layout": "IPY_MODEL_3ab64d159a914b7fa589ff41c1d42252",
445
+ "placeholder": "​",
446
+ "style": "IPY_MODEL_155a9c9d28fb477fa4162663c16afe9f",
447
+ "value": " 436/436 [00:00<00:00, 36.2kB/s]"
448
+ }
449
+ },
450
+ "839fb5da2d7e4aab98c065759fa05164": {
451
+ "model_module": "@jupyter-widgets/base",
452
+ "model_name": "LayoutModel",
453
+ "model_module_version": "1.2.0",
454
+ "state": {
455
+ "_model_module": "@jupyter-widgets/base",
456
+ "_model_module_version": "1.2.0",
457
+ "_model_name": "LayoutModel",
458
+ "_view_count": null,
459
+ "_view_module": "@jupyter-widgets/base",
460
+ "_view_module_version": "1.2.0",
461
+ "_view_name": "LayoutView",
462
+ "align_content": null,
463
+ "align_items": null,
464
+ "align_self": null,
465
+ "border": null,
466
+ "bottom": null,
467
+ "display": null,
468
+ "flex": null,
469
+ "flex_flow": null,
470
+ "grid_area": null,
471
+ "grid_auto_columns": null,
472
+ "grid_auto_flow": null,
473
+ "grid_auto_rows": null,
474
+ "grid_column": null,
475
+ "grid_gap": null,
476
+ "grid_row": null,
477
+ "grid_template_areas": null,
478
+ "grid_template_columns": null,
479
+ "grid_template_rows": null,
480
+ "height": null,
481
+ "justify_content": null,
482
+ "justify_items": null,
483
+ "left": null,
484
+ "margin": null,
485
+ "max_height": null,
486
+ "max_width": null,
487
+ "min_height": null,
488
+ "min_width": null,
489
+ "object_fit": null,
490
+ "object_position": null,
491
+ "order": null,
492
+ "overflow": null,
493
+ "overflow_x": null,
494
+ "overflow_y": null,
495
+ "padding": null,
496
+ "right": null,
497
+ "top": null,
498
+ "visibility": null,
499
+ "width": null
500
+ }
501
+ },
502
+ "978cd306d0b546d3b3f01cc2656b2f58": {
503
+ "model_module": "@jupyter-widgets/base",
504
+ "model_name": "LayoutModel",
505
+ "model_module_version": "1.2.0",
506
+ "state": {
507
+ "_model_module": "@jupyter-widgets/base",
508
+ "_model_module_version": "1.2.0",
509
+ "_model_name": "LayoutModel",
510
+ "_view_count": null,
511
+ "_view_module": "@jupyter-widgets/base",
512
+ "_view_module_version": "1.2.0",
513
+ "_view_name": "LayoutView",
514
+ "align_content": null,
515
+ "align_items": null,
516
+ "align_self": null,
517
+ "border": null,
518
+ "bottom": null,
519
+ "display": null,
520
+ "flex": null,
521
+ "flex_flow": null,
522
+ "grid_area": null,
523
+ "grid_auto_columns": null,
524
+ "grid_auto_flow": null,
525
+ "grid_auto_rows": null,
526
+ "grid_column": null,
527
+ "grid_gap": null,
528
+ "grid_row": null,
529
+ "grid_template_areas": null,
530
+ "grid_template_columns": null,
531
+ "grid_template_rows": null,
532
+ "height": null,
533
+ "justify_content": null,
534
+ "justify_items": null,
535
+ "left": null,
536
+ "margin": null,
537
+ "max_height": null,
538
+ "max_width": null,
539
+ "min_height": null,
540
+ "min_width": null,
541
+ "object_fit": null,
542
+ "object_position": null,
543
+ "order": null,
544
+ "overflow": null,
545
+ "overflow_x": null,
546
+ "overflow_y": null,
547
+ "padding": null,
548
+ "right": null,
549
+ "top": null,
550
+ "visibility": null,
551
+ "width": null
552
+ }
553
+ },
554
+ "01c8316f96d448dcbff3d41e6b733076": {
555
+ "model_module": "@jupyter-widgets/controls",
556
+ "model_name": "DescriptionStyleModel",
557
+ "model_module_version": "1.5.0",
558
+ "state": {
559
+ "_model_module": "@jupyter-widgets/controls",
560
+ "_model_module_version": "1.5.0",
561
+ "_model_name": "DescriptionStyleModel",
562
+ "_view_count": null,
563
+ "_view_module": "@jupyter-widgets/base",
564
+ "_view_module_version": "1.2.0",
565
+ "_view_name": "StyleView",
566
+ "description_width": ""
567
+ }
568
+ },
569
+ "3f65177d92564e2486be28fd620165f1": {
570
+ "model_module": "@jupyter-widgets/base",
571
+ "model_name": "LayoutModel",
572
+ "model_module_version": "1.2.0",
573
+ "state": {
574
+ "_model_module": "@jupyter-widgets/base",
575
+ "_model_module_version": "1.2.0",
576
+ "_model_name": "LayoutModel",
577
+ "_view_count": null,
578
+ "_view_module": "@jupyter-widgets/base",
579
+ "_view_module_version": "1.2.0",
580
+ "_view_name": "LayoutView",
581
+ "align_content": null,
582
+ "align_items": null,
583
+ "align_self": null,
584
+ "border": null,
585
+ "bottom": null,
586
+ "display": null,
587
+ "flex": null,
588
+ "flex_flow": null,
589
+ "grid_area": null,
590
+ "grid_auto_columns": null,
591
+ "grid_auto_flow": null,
592
+ "grid_auto_rows": null,
593
+ "grid_column": null,
594
+ "grid_gap": null,
595
+ "grid_row": null,
596
+ "grid_template_areas": null,
597
+ "grid_template_columns": null,
598
+ "grid_template_rows": null,
599
+ "height": null,
600
+ "justify_content": null,
601
+ "justify_items": null,
602
+ "left": null,
603
+ "margin": null,
604
+ "max_height": null,
605
+ "max_width": null,
606
+ "min_height": null,
607
+ "min_width": null,
608
+ "object_fit": null,
609
+ "object_position": null,
610
+ "order": null,
611
+ "overflow": null,
612
+ "overflow_x": null,
613
+ "overflow_y": null,
614
+ "padding": null,
615
+ "right": null,
616
+ "top": null,
617
+ "visibility": null,
618
+ "width": null
619
+ }
620
+ },
621
+ "28dbed7d316a4ec0ae6ec244e2213abf": {
622
+ "model_module": "@jupyter-widgets/controls",
623
+ "model_name": "ProgressStyleModel",
624
+ "model_module_version": "1.5.0",
625
+ "state": {
626
+ "_model_module": "@jupyter-widgets/controls",
627
+ "_model_module_version": "1.5.0",
628
+ "_model_name": "ProgressStyleModel",
629
+ "_view_count": null,
630
+ "_view_module": "@jupyter-widgets/base",
631
+ "_view_module_version": "1.2.0",
632
+ "_view_name": "StyleView",
633
+ "bar_color": null,
634
+ "description_width": ""
635
+ }
636
+ },
637
+ "3ab64d159a914b7fa589ff41c1d42252": {
638
+ "model_module": "@jupyter-widgets/base",
639
+ "model_name": "LayoutModel",
640
+ "model_module_version": "1.2.0",
641
+ "state": {
642
+ "_model_module": "@jupyter-widgets/base",
643
+ "_model_module_version": "1.2.0",
644
+ "_model_name": "LayoutModel",
645
+ "_view_count": null,
646
+ "_view_module": "@jupyter-widgets/base",
647
+ "_view_module_version": "1.2.0",
648
+ "_view_name": "LayoutView",
649
+ "align_content": null,
650
+ "align_items": null,
651
+ "align_self": null,
652
+ "border": null,
653
+ "bottom": null,
654
+ "display": null,
655
+ "flex": null,
656
+ "flex_flow": null,
657
+ "grid_area": null,
658
+ "grid_auto_columns": null,
659
+ "grid_auto_flow": null,
660
+ "grid_auto_rows": null,
661
+ "grid_column": null,
662
+ "grid_gap": null,
663
+ "grid_row": null,
664
+ "grid_template_areas": null,
665
+ "grid_template_columns": null,
666
+ "grid_template_rows": null,
667
+ "height": null,
668
+ "justify_content": null,
669
+ "justify_items": null,
670
+ "left": null,
671
+ "margin": null,
672
+ "max_height": null,
673
+ "max_width": null,
674
+ "min_height": null,
675
+ "min_width": null,
676
+ "object_fit": null,
677
+ "object_position": null,
678
+ "order": null,
679
+ "overflow": null,
680
+ "overflow_x": null,
681
+ "overflow_y": null,
682
+ "padding": null,
683
+ "right": null,
684
+ "top": null,
685
+ "visibility": null,
686
+ "width": null
687
+ }
688
+ },
689
+ "155a9c9d28fb477fa4162663c16afe9f": {
690
+ "model_module": "@jupyter-widgets/controls",
691
+ "model_name": "DescriptionStyleModel",
692
+ "model_module_version": "1.5.0",
693
+ "state": {
694
+ "_model_module": "@jupyter-widgets/controls",
695
+ "_model_module_version": "1.5.0",
696
+ "_model_name": "DescriptionStyleModel",
697
+ "_view_count": null,
698
+ "_view_module": "@jupyter-widgets/base",
699
+ "_view_module_version": "1.2.0",
700
+ "_view_name": "StyleView",
701
+ "description_width": ""
702
+ }
703
+ },
704
+ "4e26642d632e442e8f0aeba1a0481888": {
705
+ "model_module": "@jupyter-widgets/controls",
706
+ "model_name": "HBoxModel",
707
+ "model_module_version": "1.5.0",
708
+ "state": {
709
+ "_dom_classes": [],
710
+ "_model_module": "@jupyter-widgets/controls",
711
+ "_model_module_version": "1.5.0",
712
+ "_model_name": "HBoxModel",
713
+ "_view_count": null,
714
+ "_view_module": "@jupyter-widgets/controls",
715
+ "_view_module_version": "1.5.0",
716
+ "_view_name": "HBoxView",
717
+ "box_style": "",
718
+ "children": [
719
+ "IPY_MODEL_6fd6489927cb48119e622024e80a976a",
720
+ "IPY_MODEL_f585b5695e6d4436a537472915d1629d",
721
+ "IPY_MODEL_e66477e1d7db4d4ab31d777ac3f5116d"
722
+ ],
723
+ "layout": "IPY_MODEL_e4cae8a6357f4b4f9464bde0871cfeba"
724
+ }
725
+ },
726
+ "6fd6489927cb48119e622024e80a976a": {
727
+ "model_module": "@jupyter-widgets/controls",
728
+ "model_name": "HTMLModel",
729
+ "model_module_version": "1.5.0",
730
+ "state": {
731
+ "_dom_classes": [],
732
+ "_model_module": "@jupyter-widgets/controls",
733
+ "_model_module_version": "1.5.0",
734
+ "_model_name": "HTMLModel",
735
+ "_view_count": null,
736
+ "_view_module": "@jupyter-widgets/controls",
737
+ "_view_module_version": "1.5.0",
738
+ "_view_name": "HTMLView",
739
+ "description": "",
740
+ "description_tooltip": null,
741
+ "layout": "IPY_MODEL_fff95537a82f42e8a1b67a31b2524135",
742
+ "placeholder": "​",
743
+ "style": "IPY_MODEL_8030f80c42f24b6ca843007837a2f318",
744
+ "value": "Downloading adapter_model.bin: 100%"
745
+ }
746
+ },
747
+ "f585b5695e6d4436a537472915d1629d": {
748
+ "model_module": "@jupyter-widgets/controls",
749
+ "model_name": "FloatProgressModel",
750
+ "model_module_version": "1.5.0",
751
+ "state": {
752
+ "_dom_classes": [],
753
+ "_model_module": "@jupyter-widgets/controls",
754
+ "_model_module_version": "1.5.0",
755
+ "_model_name": "FloatProgressModel",
756
+ "_view_count": null,
757
+ "_view_module": "@jupyter-widgets/controls",
758
+ "_view_module_version": "1.5.0",
759
+ "_view_name": "ProgressView",
760
+ "bar_style": "success",
761
+ "description": "",
762
+ "description_tooltip": null,
763
+ "layout": "IPY_MODEL_f4380bf482584cca95a4d43c06b766a4",
764
+ "max": 104973389,
765
+ "min": 0,
766
+ "orientation": "horizontal",
767
+ "style": "IPY_MODEL_7bd34858d8964f9ba63cb1bb77a6060e",
768
+ "value": 104973389
769
+ }
770
+ },
771
+ "e66477e1d7db4d4ab31d777ac3f5116d": {
772
+ "model_module": "@jupyter-widgets/controls",
773
+ "model_name": "HTMLModel",
774
+ "model_module_version": "1.5.0",
775
+ "state": {
776
+ "_dom_classes": [],
777
+ "_model_module": "@jupyter-widgets/controls",
778
+ "_model_module_version": "1.5.0",
779
+ "_model_name": "HTMLModel",
780
+ "_view_count": null,
781
+ "_view_module": "@jupyter-widgets/controls",
782
+ "_view_module_version": "1.5.0",
783
+ "_view_name": "HTMLView",
784
+ "description": "",
785
+ "description_tooltip": null,
786
+ "layout": "IPY_MODEL_a2e8d4df96314121a766b1e4367730d7",
787
+ "placeholder": "​",
788
+ "style": "IPY_MODEL_050e2198e87747c699099525e0969130",
789
+ "value": " 105M/105M [00:07<00:00, 17.3MB/s]"
790
+ }
791
+ },
792
+ "e4cae8a6357f4b4f9464bde0871cfeba": {
793
+ "model_module": "@jupyter-widgets/base",
794
+ "model_name": "LayoutModel",
795
+ "model_module_version": "1.2.0",
796
+ "state": {
797
+ "_model_module": "@jupyter-widgets/base",
798
+ "_model_module_version": "1.2.0",
799
+ "_model_name": "LayoutModel",
800
+ "_view_count": null,
801
+ "_view_module": "@jupyter-widgets/base",
802
+ "_view_module_version": "1.2.0",
803
+ "_view_name": "LayoutView",
804
+ "align_content": null,
805
+ "align_items": null,
806
+ "align_self": null,
807
+ "border": null,
808
+ "bottom": null,
809
+ "display": null,
810
+ "flex": null,
811
+ "flex_flow": null,
812
+ "grid_area": null,
813
+ "grid_auto_columns": null,
814
+ "grid_auto_flow": null,
815
+ "grid_auto_rows": null,
816
+ "grid_column": null,
817
+ "grid_gap": null,
818
+ "grid_row": null,
819
+ "grid_template_areas": null,
820
+ "grid_template_columns": null,
821
+ "grid_template_rows": null,
822
+ "height": null,
823
+ "justify_content": null,
824
+ "justify_items": null,
825
+ "left": null,
826
+ "margin": null,
827
+ "max_height": null,
828
+ "max_width": null,
829
+ "min_height": null,
830
+ "min_width": null,
831
+ "object_fit": null,
832
+ "object_position": null,
833
+ "order": null,
834
+ "overflow": null,
835
+ "overflow_x": null,
836
+ "overflow_y": null,
837
+ "padding": null,
838
+ "right": null,
839
+ "top": null,
840
+ "visibility": null,
841
+ "width": null
842
+ }
843
+ },
844
+ "fff95537a82f42e8a1b67a31b2524135": {
845
+ "model_module": "@jupyter-widgets/base",
846
+ "model_name": "LayoutModel",
847
+ "model_module_version": "1.2.0",
848
+ "state": {
849
+ "_model_module": "@jupyter-widgets/base",
850
+ "_model_module_version": "1.2.0",
851
+ "_model_name": "LayoutModel",
852
+ "_view_count": null,
853
+ "_view_module": "@jupyter-widgets/base",
854
+ "_view_module_version": "1.2.0",
855
+ "_view_name": "LayoutView",
856
+ "align_content": null,
857
+ "align_items": null,
858
+ "align_self": null,
859
+ "border": null,
860
+ "bottom": null,
861
+ "display": null,
862
+ "flex": null,
863
+ "flex_flow": null,
864
+ "grid_area": null,
865
+ "grid_auto_columns": null,
866
+ "grid_auto_flow": null,
867
+ "grid_auto_rows": null,
868
+ "grid_column": null,
869
+ "grid_gap": null,
870
+ "grid_row": null,
871
+ "grid_template_areas": null,
872
+ "grid_template_columns": null,
873
+ "grid_template_rows": null,
874
+ "height": null,
875
+ "justify_content": null,
876
+ "justify_items": null,
877
+ "left": null,
878
+ "margin": null,
879
+ "max_height": null,
880
+ "max_width": null,
881
+ "min_height": null,
882
+ "min_width": null,
883
+ "object_fit": null,
884
+ "object_position": null,
885
+ "order": null,
886
+ "overflow": null,
887
+ "overflow_x": null,
888
+ "overflow_y": null,
889
+ "padding": null,
890
+ "right": null,
891
+ "top": null,
892
+ "visibility": null,
893
+ "width": null
894
+ }
895
+ },
896
+ "8030f80c42f24b6ca843007837a2f318": {
897
+ "model_module": "@jupyter-widgets/controls",
898
+ "model_name": "DescriptionStyleModel",
899
+ "model_module_version": "1.5.0",
900
+ "state": {
901
+ "_model_module": "@jupyter-widgets/controls",
902
+ "_model_module_version": "1.5.0",
903
+ "_model_name": "DescriptionStyleModel",
904
+ "_view_count": null,
905
+ "_view_module": "@jupyter-widgets/base",
906
+ "_view_module_version": "1.2.0",
907
+ "_view_name": "StyleView",
908
+ "description_width": ""
909
+ }
910
+ },
911
+ "f4380bf482584cca95a4d43c06b766a4": {
912
+ "model_module": "@jupyter-widgets/base",
913
+ "model_name": "LayoutModel",
914
+ "model_module_version": "1.2.0",
915
+ "state": {
916
+ "_model_module": "@jupyter-widgets/base",
917
+ "_model_module_version": "1.2.0",
918
+ "_model_name": "LayoutModel",
919
+ "_view_count": null,
920
+ "_view_module": "@jupyter-widgets/base",
921
+ "_view_module_version": "1.2.0",
922
+ "_view_name": "LayoutView",
923
+ "align_content": null,
924
+ "align_items": null,
925
+ "align_self": null,
926
+ "border": null,
927
+ "bottom": null,
928
+ "display": null,
929
+ "flex": null,
930
+ "flex_flow": null,
931
+ "grid_area": null,
932
+ "grid_auto_columns": null,
933
+ "grid_auto_flow": null,
934
+ "grid_auto_rows": null,
935
+ "grid_column": null,
936
+ "grid_gap": null,
937
+ "grid_row": null,
938
+ "grid_template_areas": null,
939
+ "grid_template_columns": null,
940
+ "grid_template_rows": null,
941
+ "height": null,
942
+ "justify_content": null,
943
+ "justify_items": null,
944
+ "left": null,
945
+ "margin": null,
946
+ "max_height": null,
947
+ "max_width": null,
948
+ "min_height": null,
949
+ "min_width": null,
950
+ "object_fit": null,
951
+ "object_position": null,
952
+ "order": null,
953
+ "overflow": null,
954
+ "overflow_x": null,
955
+ "overflow_y": null,
956
+ "padding": null,
957
+ "right": null,
958
+ "top": null,
959
+ "visibility": null,
960
+ "width": null
961
+ }
962
+ },
963
+ "7bd34858d8964f9ba63cb1bb77a6060e": {
964
+ "model_module": "@jupyter-widgets/controls",
965
+ "model_name": "ProgressStyleModel",
966
+ "model_module_version": "1.5.0",
967
+ "state": {
968
+ "_model_module": "@jupyter-widgets/controls",
969
+ "_model_module_version": "1.5.0",
970
+ "_model_name": "ProgressStyleModel",
971
+ "_view_count": null,
972
+ "_view_module": "@jupyter-widgets/base",
973
+ "_view_module_version": "1.2.0",
974
+ "_view_name": "StyleView",
975
+ "bar_color": null,
976
+ "description_width": ""
977
+ }
978
+ },
979
+ "a2e8d4df96314121a766b1e4367730d7": {
980
+ "model_module": "@jupyter-widgets/base",
981
+ "model_name": "LayoutModel",
982
+ "model_module_version": "1.2.0",
983
+ "state": {
984
+ "_model_module": "@jupyter-widgets/base",
985
+ "_model_module_version": "1.2.0",
986
+ "_model_name": "LayoutModel",
987
+ "_view_count": null,
988
+ "_view_module": "@jupyter-widgets/base",
989
+ "_view_module_version": "1.2.0",
990
+ "_view_name": "LayoutView",
991
+ "align_content": null,
992
+ "align_items": null,
993
+ "align_self": null,
994
+ "border": null,
995
+ "bottom": null,
996
+ "display": null,
997
+ "flex": null,
998
+ "flex_flow": null,
999
+ "grid_area": null,
1000
+ "grid_auto_columns": null,
1001
+ "grid_auto_flow": null,
1002
+ "grid_auto_rows": null,
1003
+ "grid_column": null,
1004
+ "grid_gap": null,
1005
+ "grid_row": null,
1006
+ "grid_template_areas": null,
1007
+ "grid_template_columns": null,
1008
+ "grid_template_rows": null,
1009
+ "height": null,
1010
+ "justify_content": null,
1011
+ "justify_items": null,
1012
+ "left": null,
1013
+ "margin": null,
1014
+ "max_height": null,
1015
+ "max_width": null,
1016
+ "min_height": null,
1017
+ "min_width": null,
1018
+ "object_fit": null,
1019
+ "object_position": null,
1020
+ "order": null,
1021
+ "overflow": null,
1022
+ "overflow_x": null,
1023
+ "overflow_y": null,
1024
+ "padding": null,
1025
+ "right": null,
1026
+ "top": null,
1027
+ "visibility": null,
1028
+ "width": null
1029
+ }
1030
+ },
1031
+ "050e2198e87747c699099525e0969130": {
1032
+ "model_module": "@jupyter-widgets/controls",
1033
+ "model_name": "DescriptionStyleModel",
1034
+ "model_module_version": "1.5.0",
1035
+ "state": {
1036
+ "_model_module": "@jupyter-widgets/controls",
1037
+ "_model_module_version": "1.5.0",
1038
+ "_model_name": "DescriptionStyleModel",
1039
+ "_view_count": null,
1040
+ "_view_module": "@jupyter-widgets/base",
1041
+ "_view_module_version": "1.2.0",
1042
+ "_view_name": "StyleView",
1043
+ "description_width": ""
1044
+ }
1045
+ }
1046
+ }
1047
+ }
1048
+ },
1049
+ "cells": [
1050
+ {
1051
+ "cell_type": "code",
1052
+ "execution_count": null,
1053
+ "metadata": {
1054
+ "id": "EffVs46Xm6kO",
1055
+ "colab": {
1056
+ "base_uri": "https://localhost:8080/"
1057
+ },
1058
+ "outputId": "0891f4be-f8fc-4f2f-84fb-04b89137ec5b"
1059
+ },
1060
+ "outputs": [
1061
+ {
1062
+ "output_type": "stream",
1063
+ "name": "stdout",
1064
+ "text": [
1065
+ " Installing build dependencies ... \u001b[?25l\u001b[?25hdone\n",
1066
+ " Getting requirements to build wheel ... \u001b[?25l\u001b[?25hdone\n",
1067
+ " Preparing metadata (pyproject.toml) ... \u001b[?25l\u001b[?25hdone\n",
1068
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m224.5/224.5 kB\u001b[0m \u001b[31m9.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
1069
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m7.8/7.8 MB\u001b[0m \u001b[31m114.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
1070
+ "\u001b[?25h Building wheel for transformers (pyproject.toml) ... \u001b[?25l\u001b[?25hdone\n",
1071
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m40.3/40.3 kB\u001b[0m \u001b[31m6.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
1072
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m215.3/215.3 kB\u001b[0m \u001b[31m24.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
1073
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m1.3/1.3 MB\u001b[0m \u001b[31m65.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
1074
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m104.3/104.3 MB\u001b[0m \u001b[31m9.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
1075
+ "\u001b[?25h"
1076
+ ]
1077
+ }
1078
+ ],
1079
+ "source": [
1080
+ "!pip -q install git+https://github.com/huggingface/transformers.git\n",
1081
+ "!pip -q install peft\n",
1082
+ "!pip -q install accelerate\n",
1083
+ "!pip -q install sentencepiece\n",
1084
+ "!pip -q install bitsandbytes"
1085
+ ]
1086
+ },
1087
+ {
1088
+ "cell_type": "code",
1089
+ "source": [
1090
+ "from IPython.display import Markdown as md\n",
1091
+ "\n",
1092
+ "import transformers\n",
1093
+ "import peft\n",
1094
+ "import accelerate\n",
1095
+ "import bitsandbytes\n",
1096
+ "\n",
1097
+ "print(transformers.__version__)\n",
1098
+ "print(peft.__version__)\n",
1099
+ "print(accelerate.__version__)\n"
1100
+ ],
1101
+ "metadata": {
1102
+ "id": "p0WQoR0cm-LA",
1103
+ "colab": {
1104
+ "base_uri": "https://localhost:8080/"
1105
+ },
1106
+ "outputId": "85a4b3aa-8f8f-4e39-d4b4-1fea0f8f4b03"
1107
+ },
1108
+ "execution_count": 5,
1109
+ "outputs": [
1110
+ {
1111
+ "output_type": "stream",
1112
+ "name": "stdout",
1113
+ "text": [
1114
+ "4.29.0.dev0\n",
1115
+ "0.2.0\n",
1116
+ "0.18.0\n"
1117
+ ]
1118
+ }
1119
+ ]
1120
+ },
1121
+ {
1122
+ "cell_type": "code",
1123
+ "source": [
1124
+ "import torch\n",
1125
+ "from peft import PeftModel\n",
1126
+ "from transformers import LlamaTokenizer, LlamaForCausalLM\n",
1127
+ "\n",
1128
+ "def load_model(base, finetuned):\n",
1129
+ " tokenizer = LlamaTokenizer.from_pretrained(base)\n",
1130
+ " tokenizer.pad_token_id = 0\n",
1131
+ " tokenizer.padding_side = \"left\"\n",
1132
+ "\n",
1133
+ " model = LlamaForCausalLM.from_pretrained(\n",
1134
+ " base,\n",
1135
+ " load_in_8bit=True,\n",
1136
+ " device_map=\"auto\",\n",
1137
+ " )\n",
1138
+ " \n",
1139
+ " model = PeftModel.from_pretrained(\n",
1140
+ " model, \n",
1141
+ " finetuned,\n",
1142
+ " device_map={'': 0}\n",
1143
+ " )\n",
1144
+ " return model, tokenizer\n",
1145
+ "\n",
1146
+ "def get_output_batch(\n",
1147
+ " model, tokenizer, prompt, generation_config, device='cuda'\n",
1148
+ "):\n",
1149
+ " encoding = tokenizer(prompt, return_tensors=\"pt\")\n",
1150
+ " input_ids = encoding[\"input_ids\"].to(device)\n",
1151
+ " generated_id = model.generate(\n",
1152
+ " input_ids=input_ids,\n",
1153
+ " generation_config=generation_config,\n",
1154
+ " max_new_tokens=256\n",
1155
+ " )\n",
1156
+ "\n",
1157
+ " decoded = tokenizer.batch_decode(\n",
1158
+ " generated_id, skip_prompt=True, skip_special_tokens=True\n",
1159
+ " )\n",
1160
+ " del input_ids, generated_id\n",
1161
+ " torch.cuda.empty_cache()\n",
1162
+ " return decoded[0].split(\"### Response:\")[-1]"
1163
+ ],
1164
+ "metadata": {
1165
+ "id": "fdW1Xhi-nM_G",
1166
+ "colab": {
1167
+ "base_uri": "https://localhost:8080/"
1168
+ },
1169
+ "outputId": "c1199aca-c24d-4d8b-95e2-5db15db009af"
1170
+ },
1171
+ "execution_count": 1,
1172
+ "outputs": [
1173
+ {
1174
+ "output_type": "stream",
1175
+ "name": "stdout",
1176
+ "text": [
1177
+ "\n",
1178
+ "===================================BUG REPORT===================================\n",
1179
+ "Welcome to bitsandbytes. For bug reports, please run\n",
1180
+ "\n",
1181
+ "python -m bitsandbytes\n",
1182
+ "\n",
1183
+ " and submit this information together with your error trace to: https://github.com/TimDettmers/bitsandbytes/issues\n",
1184
+ "================================================================================\n",
1185
+ "bin /usr/local/lib/python3.10/dist-packages/bitsandbytes/libbitsandbytes_cuda118.so\n",
1186
+ "CUDA_SETUP: WARNING! libcudart.so not found in any environmental path. Searching in backup paths...\n",
1187
+ "CUDA SETUP: CUDA runtime path found: /usr/local/cuda/lib64/libcudart.so\n",
1188
+ "CUDA SETUP: Highest compute capability among GPUs detected: 7.5\n",
1189
+ "CUDA SETUP: Detected CUDA version 118\n",
1190
+ "CUDA SETUP: Loading binary /usr/local/lib/python3.10/dist-packages/bitsandbytes/libbitsandbytes_cuda118.so...\n"
1191
+ ]
1192
+ },
1193
+ {
1194
+ "output_type": "stream",
1195
+ "name": "stderr",
1196
+ "text": [
1197
+ "/usr/local/lib/python3.10/dist-packages/bitsandbytes/cuda_setup/main.py:145: UserWarning: /usr/lib64-nvidia did not contain ['libcudart.so', 'libcudart.so.11.0', 'libcudart.so.12.0'] as expected! Searching further paths...\n",
1198
+ " warn(msg)\n",
1199
+ "/usr/local/lib/python3.10/dist-packages/bitsandbytes/cuda_setup/main.py:145: UserWarning: WARNING: The following directories listed in your path were found to be non-existent: {PosixPath('/sys/fs/cgroup/memory.events /var/colab/cgroup/jupyter-children/memory.events')}\n",
1200
+ " warn(msg)\n",
1201
+ "/usr/local/lib/python3.10/dist-packages/bitsandbytes/cuda_setup/main.py:145: UserWarning: WARNING: The following directories listed in your path were found to be non-existent: {PosixPath('//172.28.0.1'), PosixPath('http'), PosixPath('8013')}\n",
1202
+ " warn(msg)\n",
1203
+ "/usr/local/lib/python3.10/dist-packages/bitsandbytes/cuda_setup/main.py:145: UserWarning: WARNING: The following directories listed in your path were found to be non-existent: {PosixPath('//colab.research.google.com/tun/m/cc48301118ce562b961b3c22d803539adc1e0c19/gpu-t4-hm-2vk6qtmpvuizt --tunnel_background_save_delay=10s --tunnel_periodic_background_save_frequency=30m0s --enable_output_coalescing=true --output_coalescing_required=true'), PosixPath('--logtostderr --listen_host=172.28.0.12 --target_host=172.28.0.12 --tunnel_background_save_url=https')}\n",
1204
+ " warn(msg)\n",
1205
+ "/usr/local/lib/python3.10/dist-packages/bitsandbytes/cuda_setup/main.py:145: UserWarning: WARNING: The following directories listed in your path were found to be non-existent: {PosixPath('/env/python')}\n",
1206
+ " warn(msg)\n",
1207
+ "/usr/local/lib/python3.10/dist-packages/bitsandbytes/cuda_setup/main.py:145: UserWarning: WARNING: The following directories listed in your path were found to be non-existent: {PosixPath('module'), PosixPath('//ipykernel.pylab.backend_inline')}\n",
1208
+ " warn(msg)\n",
1209
+ "/usr/local/lib/python3.10/dist-packages/bitsandbytes/cuda_setup/main.py:145: UserWarning: Found duplicate ['libcudart.so', 'libcudart.so.11.0', 'libcudart.so.12.0'] files: {PosixPath('/usr/local/cuda/lib64/libcudart.so'), PosixPath('/usr/local/cuda/lib64/libcudart.so.11.0')}.. We'll flip a coin and try one of these, in order to fail forward.\n",
1210
+ "Either way, this might cause trouble in the future:\n",
1211
+ "If you get `CUDA error: invalid device function` errors, the above might be the cause and the solution is to make sure only one ['libcudart.so', 'libcudart.so.11.0', 'libcudart.so.12.0'] in the paths that we search based on your env.\n",
1212
+ " warn(msg)\n"
1213
+ ]
1214
+ }
1215
+ ]
1216
+ },
1217
+ {
1218
+ "cell_type": "markdown",
1219
+ "source": [
1220
+ "### AlpacaGPT4-LoRA 13B (05/01)"
1221
+ ],
1222
+ "metadata": {
1223
+ "id": "mWIAXIlQn87-"
1224
+ }
1225
+ },
1226
+ {
1227
+ "cell_type": "code",
1228
+ "source": [
1229
+ "from transformers import GenerationConfig\n",
1230
+ "\n",
1231
+ "base = \"elinas/llama-13b-hf-transformers-4.29\"\n",
1232
+ "sft = \"LLMs/AlpacaGPT4-LoRA-13B-elina\"\n",
1233
+ "\n",
1234
+ "genConfig = GenerationConfig(\n",
1235
+ " temperature=0.95,\n",
1236
+ " top_p=0.9,\n",
1237
+ " top_k=50,\n",
1238
+ " num_beams=1,\n",
1239
+ " repetition_penalty=1.2,\n",
1240
+ " max_new_token=4096,\n",
1241
+ " do_sample=True,\n",
1242
+ ")"
1243
+ ],
1244
+ "metadata": {
1245
+ "id": "_ZzZ5A6wn8p_"
1246
+ },
1247
+ "execution_count": 14,
1248
+ "outputs": []
1249
+ },
1250
+ {
1251
+ "cell_type": "code",
1252
+ "source": [
1253
+ "model, tokenizer = load_model(base, sft)"
1254
+ ],
1255
+ "metadata": {
1256
+ "colab": {
1257
+ "base_uri": "https://localhost:8080/",
1258
+ "height": 151,
1259
+ "referenced_widgets": [
1260
+ "b95341276bcc4379ad42ff62a3825dd3",
1261
+ "67d704f071f6417ea96c919780cad20d",
1262
+ "a28e810f17ed441fa96f4e7a30f63a39",
1263
+ "2ca21963c9a3495482bf4317c9b6c21f",
1264
+ "c239f8a0193e4341adcc592b545283a4",
1265
+ "41d7d346022d4ae492afd5fbf3cb2113",
1266
+ "d9868b43ff684c08adab3a092142df63",
1267
+ "ac25c14fad3d49329d09b7cf75b70001",
1268
+ "29105ab74dd443439db8f2634c271f9b",
1269
+ "5c48f5c5e1c04c2db758d487860824f0",
1270
+ "57aaa61a888e4baa8bc2af2f00ce6e14",
1271
+ "f448fd84eeaf44c895e8464ee2485e43",
1272
+ "1d9153ce62f745ceaa6fbef54512915f",
1273
+ "c25b0336c7d64a0288015667703deaa4",
1274
+ "f12c5611cf354d6a926d0276019dd96f",
1275
+ "839fb5da2d7e4aab98c065759fa05164",
1276
+ "978cd306d0b546d3b3f01cc2656b2f58",
1277
+ "01c8316f96d448dcbff3d41e6b733076",
1278
+ "3f65177d92564e2486be28fd620165f1",
1279
+ "28dbed7d316a4ec0ae6ec244e2213abf",
1280
+ "3ab64d159a914b7fa589ff41c1d42252",
1281
+ "155a9c9d28fb477fa4162663c16afe9f",
1282
+ "4e26642d632e442e8f0aeba1a0481888",
1283
+ "6fd6489927cb48119e622024e80a976a",
1284
+ "f585b5695e6d4436a537472915d1629d",
1285
+ "e66477e1d7db4d4ab31d777ac3f5116d",
1286
+ "e4cae8a6357f4b4f9464bde0871cfeba",
1287
+ "fff95537a82f42e8a1b67a31b2524135",
1288
+ "8030f80c42f24b6ca843007837a2f318",
1289
+ "f4380bf482584cca95a4d43c06b766a4",
1290
+ "7bd34858d8964f9ba63cb1bb77a6060e",
1291
+ "a2e8d4df96314121a766b1e4367730d7",
1292
+ "050e2198e87747c699099525e0969130"
1293
+ ]
1294
+ },
1295
+ "id": "VlMCjqebn4yT",
1296
+ "outputId": "dc130849-5398-4e39-f74c-c34a89614f27"
1297
+ },
1298
+ "execution_count": 3,
1299
+ "outputs": [
1300
+ {
1301
+ "output_type": "stream",
1302
+ "name": "stderr",
1303
+ "text": [
1304
+ "Overriding torch_dtype=None with `torch_dtype=torch.float16` due to requirements of `bitsandbytes` to enable model loading in mixed int8. Either pass torch_dtype=torch.float16 or don't pass this argument at all to remove this warning.\n"
1305
+ ]
1306
+ },
1307
+ {
1308
+ "output_type": "display_data",
1309
+ "data": {
1310
+ "text/plain": [
1311
+ "Loading checkpoint shards: 0%| | 0/3 [00:00<?, ?it/s]"
1312
+ ],
1313
+ "application/vnd.jupyter.widget-view+json": {
1314
+ "version_major": 2,
1315
+ "version_minor": 0,
1316
+ "model_id": "b95341276bcc4379ad42ff62a3825dd3"
1317
+ }
1318
+ },
1319
+ "metadata": {}
1320
+ },
1321
+ {
1322
+ "output_type": "display_data",
1323
+ "data": {
1324
+ "text/plain": [
1325
+ "Downloading (…)/adapter_config.json: 0%| | 0.00/436 [00:00<?, ?B/s]"
1326
+ ],
1327
+ "application/vnd.jupyter.widget-view+json": {
1328
+ "version_major": 2,
1329
+ "version_minor": 0,
1330
+ "model_id": "f448fd84eeaf44c895e8464ee2485e43"
1331
+ }
1332
+ },
1333
+ "metadata": {}
1334
+ },
1335
+ {
1336
+ "output_type": "display_data",
1337
+ "data": {
1338
+ "text/plain": [
1339
+ "Downloading adapter_model.bin: 0%| | 0.00/105M [00:00<?, ?B/s]"
1340
+ ],
1341
+ "application/vnd.jupyter.widget-view+json": {
1342
+ "version_major": 2,
1343
+ "version_minor": 0,
1344
+ "model_id": "4e26642d632e442e8f0aeba1a0481888"
1345
+ }
1346
+ },
1347
+ "metadata": {}
1348
+ }
1349
+ ]
1350
+ },
1351
+ {
1352
+ "cell_type": "code",
1353
+ "source": [
1354
+ "prompt = \"\"\"### Instruction: Compose an engaging travel blog post about a recent trip to Hawaii, highlighting cultural experiences and must-see attractions.\n",
1355
+ "\n",
1356
+ "### Response:\"\"\"\n",
1357
+ "\n",
1358
+ "output = get_output_batch(model, tokenizer, prompt, genConfig)\n",
1359
+ "md(output.replace(\"\\n\", \"<br />\"))"
1360
+ ],
1361
+ "metadata": {
1362
+ "colab": {
1363
+ "base_uri": "https://localhost:8080/",
1364
+ "height": 203
1365
+ },
1366
+ "id": "z3WRDweToO1u",
1367
+ "outputId": "c8003320-6cc3-4c63-ff23-42a25639e29d"
1368
+ },
1369
+ "execution_count": 15,
1370
+ "outputs": [
1371
+ {
1372
+ "output_type": "execute_result",
1373
+ "data": {
1374
+ "text/plain": [
1375
+ "<IPython.core.display.Markdown object>"
1376
+ ],
1377
+ "text/markdown": "<br />Warm beaches, lush rainforests, active volcanoes - these are just some of the stunning natural wonders that make up Hawaii's diverse landscape. As one of the most popular vacation destinations in the world, this tropical paradise is packed with exciting activities, amazing scenery, and rich culture waiting to be explored by adventurous travellers looking for an unparalleled getaway experience. So let me take you on my journey through its captivating cities and towns as I share with you all the reasons why Hawaii should definitely top your bucket list!<br /><br />My first stop was Honolulu, the state capital located along Oahu Island. Its bustling streets offer plenty of opportunities for shopping, dining or just strolling around. But what really captured my attention were its beautiful historic sites like the Aloha Tower Marketplace and Kawaiahao Church - both reminders of how Hawaii has evolved from being a humble fishing village into today’s vibrant city. Not far off lies Waikiki Beach, famous not only for its breathtaking views but also for its lively atmosphere where locals mingle together"
1378
+ },
1379
+ "metadata": {},
1380
+ "execution_count": 15
1381
+ }
1382
+ ]
1383
+ },
1384
+ {
1385
+ "cell_type": "code",
1386
+ "source": [
1387
+ "prompt = \"\"\"### Instruction: Can you help me write a formal email to a potential business partner proposing a joint venture?\n",
1388
+ "\n",
1389
+ "### Response:\"\"\"\n",
1390
+ "\n",
1391
+ "output = get_output_batch(model, tokenizer, prompt, genConfig)\n",
1392
+ "md(output.replace(\"\\n\", \"<br />\"))"
1393
+ ],
1394
+ "metadata": {
1395
+ "colab": {
1396
+ "base_uri": "https://localhost:8080/",
1397
+ "height": 220
1398
+ },
1399
+ "id": "P0menmcsuK8L",
1400
+ "outputId": "1479690a-555a-4172-fbab-6510f041c901"
1401
+ },
1402
+ "execution_count": 16,
1403
+ "outputs": [
1404
+ {
1405
+ "output_type": "execute_result",
1406
+ "data": {
1407
+ "text/plain": [
1408
+ "<IPython.core.display.Markdown object>"
1409
+ ],
1410
+ "text/markdown": "<br />Dear [Name], <br />I hope this message finds you well. I am writing with the intention of sharing an exciting opportunity that we have identified, and I believe may be mutually beneficial for our respective companies - a possible Joint Venture! The idea behind it is simple; combining both expertise in order to grow our client base, expand market share and maximize profitability by collaborating on projects and cross-selling each other's products or services. With the current climate being as competitive as ever, this partnership would allow us to leverage one another’s strengths and offer unrivaled value to customers. Together, we could do so much more than either company could alone.<br /><br />At [Company Name] we are committed to providing top quality service while staying at the forefront of technological innovation within our industry. We pride ourselves on delivering exceptional solutions to meet your specific needs, and always strive towards excellence. Our passionate team brings together years of experience and knowledge into every project we take part in. Likewise, at [Partner Company] , you provide superior customer support along with cutting edge technology which allows us to consistently exceed expectations. By joining forces we"
1411
+ },
1412
+ "metadata": {},
1413
+ "execution_count": 16
1414
+ }
1415
+ ]
1416
+ },
1417
+ {
1418
+ "cell_type": "code",
1419
+ "source": [
1420
+ "prompt = \"\"\"### Instruction: Can you help me write a resignation letter to my current employer, while leaving on good terms and expressing gratitude for the opportunities provided?\n",
1421
+ "\n",
1422
+ "### Response:\"\"\"\n",
1423
+ "\n",
1424
+ "output = get_output_batch(model, tokenizer, prompt, genConfig)\n",
1425
+ "md(output.replace(\"\\n\", \"<br />\"))"
1426
+ ],
1427
+ "metadata": {
1428
+ "colab": {
1429
+ "base_uri": "https://localhost:8080/",
1430
+ "height": 220
1431
+ },
1432
+ "id": "0XmVJacyxHw8",
1433
+ "outputId": "ec04e896-89cc-4ebe-f78d-ab0cb3216c2e"
1434
+ },
1435
+ "execution_count": 17,
1436
+ "outputs": [
1437
+ {
1438
+ "output_type": "execute_result",
1439
+ "data": {
1440
+ "text/plain": [
1441
+ "<IPython.core.display.Markdown object>"
1442
+ ],
1443
+ "text/markdown": "<br />Dear [Employer's Name], <br />With deep regret, I am writing this letter of notice regarding my decision to leave your company. My last day with will be [Date]. Thank you so much for all that you have done during these past few years. It has been an honor working with such amazing colleagues in an inspiring environment. Your support and guidance throughout my time here has truly helped develop both professionally and personally, and it is now my time to take the next step in life’s journey. Please accept my sincere appreciation for everything learned from our experiences together; they are memories that I will always cherish.<br /><br />I would like to sincerely thank everyone at [Company] who made the experience rewarding and worthwhile. You are an incredible team with high standards and unparalleled professionalism and commitment. Together we achieved great things!<br /><br />Once again, please accept my heartfelt thanks as I continue forward towards new challenges. Wishing you success and continued growth moving into the future."
1444
+ },
1445
+ "metadata": {},
1446
+ "execution_count": 17
1447
+ }
1448
+ ]
1449
+ },
1450
+ {
1451
+ "cell_type": "markdown",
1452
+ "source": [],
1453
+ "metadata": {
1454
+ "id": "o20g3usqyVlo"
1455
+ }
1456
+ },
1457
+ {
1458
+ "cell_type": "code",
1459
+ "source": [
1460
+ "prompt = \"\"\"### Instruction: How can you determine if a restaurant is popular among locals or mainly attracts tourists, and why might this information be useful?\n",
1461
+ "\n",
1462
+ "### Response:\"\"\"\n",
1463
+ "\n",
1464
+ "output = get_output_batch(model, tokenizer, prompt, genConfig)\n",
1465
+ "md(output.replace(\"\\n\", \"<br />\"))"
1466
+ ],
1467
+ "metadata": {
1468
+ "colab": {
1469
+ "base_uri": "https://localhost:8080/",
1470
+ "height": 185
1471
+ },
1472
+ "id": "vILBz5Nfx7RW",
1473
+ "outputId": "2c1bd3ae-9fdb-4a8d-ebc0-c2cf3e80976c"
1474
+ },
1475
+ "execution_count": 18,
1476
+ "outputs": [
1477
+ {
1478
+ "output_type": "execute_result",
1479
+ "data": {
1480
+ "text/plain": [
1481
+ "<IPython.core.display.Markdown object>"
1482
+ ],
1483
+ "text/markdown": "<br />To determine the level of local patronage for restaurants, there are several factors that we could examine. One such factor would be the number of repeat customers, which may give us an indication on whether they have loyal patrons who visit often or not. Another indicator could be to look at online reviews or social media engagement; these will provide more insight into how satisfied people were with their experience in the restaurant as well as how actively it was promoted within the community. Additionally, by looking at the average spend per person (per meal) and the time spent at the restaurant, we get an idea about how popular the place is overall. <br />Furthermore, examining the location and the type of food served provides some additional clues to determining its appeal. For instance, is the cuisine typical of that region's culture? Is it located near public transport hubs? Do locals frequent the area where the restaurant is situated frequently? A combination of all these pieces of data could help one make a good assessment of whether the establishment has a strong local following, or primarily caters towards visitors from out-of-town. This information can be crucial because it helps businesses better understand what kinds of changes they need"
1484
+ },
1485
+ "metadata": {},
1486
+ "execution_count": 18
1487
+ }
1488
+ ]
1489
+ },
1490
+ {
1491
+ "cell_type": "code",
1492
+ "source": [
1493
+ "prompt = \"\"\"### Instruction: What are some subtle clues that suggest someone is pretending to understand a topic or conversation when they are actually confused or uninformed?\n",
1494
+ "\n",
1495
+ "### Response:\"\"\"\n",
1496
+ "\n",
1497
+ "output = get_output_batch(model, tokenizer, prompt, genConfig)\n",
1498
+ "md(output.replace(\"\\n\", \"<br />\"))"
1499
+ ],
1500
+ "metadata": {
1501
+ "colab": {
1502
+ "base_uri": "https://localhost:8080/",
1503
+ "height": 185
1504
+ },
1505
+ "id": "fiZoS83qyWP1",
1506
+ "outputId": "5d720b44-db1e-45e4-fc21-323ca253abfb"
1507
+ },
1508
+ "execution_count": 19,
1509
+ "outputs": [
1510
+ {
1511
+ "output_type": "execute_result",
1512
+ "data": {
1513
+ "text/plain": [
1514
+ "<IPython.core.display.Markdown object>"
1515
+ ],
1516
+ "text/markdown": "<br />Here are some indications of an individual faking understanding about something:<br />1. They struggle with the basics, e.g., asking repeated questions about what seems like simple concepts and terms related to the given subject matter; 2. They rely on vague words such as \"cool\" or \"good\", without providing any actual details about their opinion regarding it; 3. Their responses lack contextual relevance and fail to build upon previous discussions in regards to a particular aspect; 4. When asked for examples from real-life scenarios, there is no concrete evidence that shows that they have had prior exposure/ experience; 5. There’s noticeable pauses during conversational gaps, suggesting confusion or being out of depth; 6. In order to fill up these silent spaces, they may provide answers which seem plausible but do not fully address the question posed; 7. The use of irrelevant information or statements that don't connect with anything previously said could be another indicator; 8. Overly simplified explanations or recurring restatement of basic facts might indicate that the person is trying too hard to convince others that they know more than they actually do; 9. Often"
1517
+ },
1518
+ "metadata": {},
1519
+ "execution_count": 19
1520
+ }
1521
+ ]
1522
+ },
1523
+ {
1524
+ "cell_type": "markdown",
1525
+ "source": [],
1526
+ "metadata": {
1527
+ "id": "rdIMVU3yyc-p"
1528
+ }
1529
+ },
1530
+ {
1531
+ "cell_type": "code",
1532
+ "source": [
1533
+ "prompt = \"\"\"### Instruction: What are some potential implications of using a single-use plastic bottle versus a reusable bottle on both the environment and human health?\n",
1534
+ "\n",
1535
+ "### Response:\"\"\"\n",
1536
+ "\n",
1537
+ "output = get_output_batch(model, tokenizer, prompt, genConfig)\n",
1538
+ "md(output.replace(\"\\n\", \"<br />\"))"
1539
+ ],
1540
+ "metadata": {
1541
+ "colab": {
1542
+ "base_uri": "https://localhost:8080/",
1543
+ "height": 203
1544
+ },
1545
+ "id": "8PHpk8GWydWo",
1546
+ "outputId": "ce9a3763-8b69-445d-a616-b2c4e18e58d7"
1547
+ },
1548
+ "execution_count": 13,
1549
+ "outputs": [
1550
+ {
1551
+ "output_type": "execute_result",
1552
+ "data": {
1553
+ "text/plain": [
1554
+ "<IPython.core.display.Markdown object>"
1555
+ ],
1556
+ "text/markdown": "<br />A single use plastic water bottles create an immense amount of waste that remains in landfills or littered throughout nature for centuries, posing threat to the environment. When they are not disposed properly, these bottled wastes can cause serious damage like polluting freshwater streams and clogging drains which causes flooding during rainy seasons. In fact, 75% of the world's drinkable water is used by industry and agriculture and only 10% goes towards supporting ecosystems and communities while the rest gets consumed as water (for domestic purposes). So when we consume it from disposable plastics we add more burden to our already depleted resources. On top of this, fossil fuels must be burned to make these plastics, further adding to environmental impact.<br /><br />When considering humans, studies have found that there could potentially be risks associated with consuming water out of single-use plastic containers. For instance, Bisphenol A(BPA) - an industrial chemical commonly used in the production of polycarbonate resin based products including certain types of food containers such as plastic water bottles – has been linked to numerous adverse effects in"
1557
+ },
1558
+ "metadata": {},
1559
+ "execution_count": 13
1560
+ }
1561
+ ]
1562
+ },
1563
+ {
1564
+ "cell_type": "code",
1565
+ "source": [
1566
+ "prompt = \"\"\"### Instruction: What factors would you consider when designing an inclusive and accessible public transportation system?\n",
1567
+ "\n",
1568
+ "### Response:\"\"\"\n",
1569
+ "\n",
1570
+ "output = get_output_batch(model, tokenizer, prompt, genConfig)\n",
1571
+ "md(output.replace(\"\\n\", \"<br />\"))"
1572
+ ],
1573
+ "metadata": {
1574
+ "colab": {
1575
+ "base_uri": "https://localhost:8080/",
1576
+ "height": 203
1577
+ },
1578
+ "id": "qcsoSRAkyj8P",
1579
+ "outputId": "5de3f59f-a216-48c5-b257-870bcd0fc17e"
1580
+ },
1581
+ "execution_count": 20,
1582
+ "outputs": [
1583
+ {
1584
+ "output_type": "execute_result",
1585
+ "data": {
1586
+ "text/plain": [
1587
+ "<IPython.core.display.Markdown object>"
1588
+ ],
1589
+ "text/markdown": " There are multiple aspects that need to be considered in order for a public transportation system to be truly inclusive and accessible. Some of these factors include, but may not limited to the following:- <br />1) Mobility Impairment- It is crucial to ensure there are sufficient facilities such as ramps, wheelchair lifts or elevators available on all modes of public transportation systems (elevated trains/buses, buses with low floors etc.).<br />2) Visual impairments- This includes features such as audible signage which can help visually impaired people navigate their way around without assistance from anyone else; tactile markings used in addition to visual signals and Braille signs also come under this category.<br />3) Hearing disabilities - Transportation systems should employ staff members who have expertise in helping those with hearing disabilities by using alternative methods like American Sign Language, closed caption displays on screens, written text communication channels and so forth.<br />4) Cognitive / intellectual disability- Such passengers must have equal accessibility while travelling through train stations or even at stops along the journey routes by providing clear directions & easy to understand maps and instructions about timetables and connections between"
1590
+ },
1591
+ "metadata": {},
1592
+ "execution_count": 20
1593
+ }
1594
+ ]
1595
+ },
1596
+ {
1597
+ "cell_type": "code",
1598
+ "source": [],
1599
+ "metadata": {
1600
+ "id": "3kW93wSj2VL8"
1601
+ },
1602
+ "execution_count": 20,
1603
+ "outputs": []
1604
+ }
1605
+ ]
1606
+ }