willt-dc commited on
Commit
6cdcec6
·
verified ·
1 Parent(s): 8feafe6

Upload Rosa_V01.ipynb

Browse files
Files changed (1) hide show
  1. Rosa_V01.ipynb +2187 -0
Rosa_V01.ipynb ADDED
@@ -0,0 +1,2187 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "nbformat": 4,
3
+ "nbformat_minor": 0,
4
+ "metadata": {
5
+ "colab": {
6
+ "machine_shape": "hm",
7
+ "gpuType": "T4",
8
+ "provenance": []
9
+ },
10
+ "accelerator": "GPU",
11
+ "kaggle": {
12
+ "accelerator": "gpu"
13
+ },
14
+ "language_info": {
15
+ "name": "python"
16
+ },
17
+ "kernelspec": {
18
+ "name": "python3",
19
+ "display_name": "Python 3"
20
+ },
21
+ "widgets": {
22
+ "application/vnd.jupyter.widget-state+json": {
23
+ "25695111ed824dabb39b49e187ca8377": {
24
+ "model_module": "@jupyter-widgets/controls",
25
+ "model_name": "HBoxModel",
26
+ "model_module_version": "1.5.0",
27
+ "state": {
28
+ "_dom_classes": [],
29
+ "_model_module": "@jupyter-widgets/controls",
30
+ "_model_module_version": "1.5.0",
31
+ "_model_name": "HBoxModel",
32
+ "_view_count": null,
33
+ "_view_module": "@jupyter-widgets/controls",
34
+ "_view_module_version": "1.5.0",
35
+ "_view_name": "HBoxView",
36
+ "box_style": "",
37
+ "children": [
38
+ "IPY_MODEL_7cdeb618f8c245f88115f9efe1cb215a",
39
+ "IPY_MODEL_cefda06cf56a445fa2bca589598a8808",
40
+ "IPY_MODEL_5fca52838aa948f2a22aa92191622548"
41
+ ],
42
+ "layout": "IPY_MODEL_c201c8d58bb744949a7d296f6f4d43f7"
43
+ }
44
+ },
45
+ "7cdeb618f8c245f88115f9efe1cb215a": {
46
+ "model_module": "@jupyter-widgets/controls",
47
+ "model_name": "HTMLModel",
48
+ "model_module_version": "1.5.0",
49
+ "state": {
50
+ "_dom_classes": [],
51
+ "_model_module": "@jupyter-widgets/controls",
52
+ "_model_module_version": "1.5.0",
53
+ "_model_name": "HTMLModel",
54
+ "_view_count": null,
55
+ "_view_module": "@jupyter-widgets/controls",
56
+ "_view_module_version": "1.5.0",
57
+ "_view_name": "HTMLView",
58
+ "description": "",
59
+ "description_tooltip": null,
60
+ "layout": "IPY_MODEL_881fe3baf9404ebe93facda6dcab10c8",
61
+ "placeholder": "​",
62
+ "style": "IPY_MODEL_2254d6b674894c00bc4c266409d4f8d4",
63
+ "value": "tokenizer_config.json: 100%"
64
+ }
65
+ },
66
+ "cefda06cf56a445fa2bca589598a8808": {
67
+ "model_module": "@jupyter-widgets/controls",
68
+ "model_name": "FloatProgressModel",
69
+ "model_module_version": "1.5.0",
70
+ "state": {
71
+ "_dom_classes": [],
72
+ "_model_module": "@jupyter-widgets/controls",
73
+ "_model_module_version": "1.5.0",
74
+ "_model_name": "FloatProgressModel",
75
+ "_view_count": null,
76
+ "_view_module": "@jupyter-widgets/controls",
77
+ "_view_module_version": "1.5.0",
78
+ "_view_name": "ProgressView",
79
+ "bar_style": "success",
80
+ "description": "",
81
+ "description_tooltip": null,
82
+ "layout": "IPY_MODEL_f09ea2bac7124d609e756193f6f7b68f",
83
+ "max": 48,
84
+ "min": 0,
85
+ "orientation": "horizontal",
86
+ "style": "IPY_MODEL_965d73b03fa3444087f4a1ae5a622120",
87
+ "value": 48
88
+ }
89
+ },
90
+ "5fca52838aa948f2a22aa92191622548": {
91
+ "model_module": "@jupyter-widgets/controls",
92
+ "model_name": "HTMLModel",
93
+ "model_module_version": "1.5.0",
94
+ "state": {
95
+ "_dom_classes": [],
96
+ "_model_module": "@jupyter-widgets/controls",
97
+ "_model_module_version": "1.5.0",
98
+ "_model_name": "HTMLModel",
99
+ "_view_count": null,
100
+ "_view_module": "@jupyter-widgets/controls",
101
+ "_view_module_version": "1.5.0",
102
+ "_view_name": "HTMLView",
103
+ "description": "",
104
+ "description_tooltip": null,
105
+ "layout": "IPY_MODEL_5f0ad285ec494a9b9633c7fe4b8e956a",
106
+ "placeholder": "​",
107
+ "style": "IPY_MODEL_f132d8fcdcc04808b16aa6a8fc548baf",
108
+ "value": " 48.0/48.0 [00:00<00:00, 4.03kB/s]"
109
+ }
110
+ },
111
+ "c201c8d58bb744949a7d296f6f4d43f7": {
112
+ "model_module": "@jupyter-widgets/base",
113
+ "model_name": "LayoutModel",
114
+ "model_module_version": "1.2.0",
115
+ "state": {
116
+ "_model_module": "@jupyter-widgets/base",
117
+ "_model_module_version": "1.2.0",
118
+ "_model_name": "LayoutModel",
119
+ "_view_count": null,
120
+ "_view_module": "@jupyter-widgets/base",
121
+ "_view_module_version": "1.2.0",
122
+ "_view_name": "LayoutView",
123
+ "align_content": null,
124
+ "align_items": null,
125
+ "align_self": null,
126
+ "border": null,
127
+ "bottom": null,
128
+ "display": null,
129
+ "flex": null,
130
+ "flex_flow": null,
131
+ "grid_area": null,
132
+ "grid_auto_columns": null,
133
+ "grid_auto_flow": null,
134
+ "grid_auto_rows": null,
135
+ "grid_column": null,
136
+ "grid_gap": null,
137
+ "grid_row": null,
138
+ "grid_template_areas": null,
139
+ "grid_template_columns": null,
140
+ "grid_template_rows": null,
141
+ "height": null,
142
+ "justify_content": null,
143
+ "justify_items": null,
144
+ "left": null,
145
+ "margin": null,
146
+ "max_height": null,
147
+ "max_width": null,
148
+ "min_height": null,
149
+ "min_width": null,
150
+ "object_fit": null,
151
+ "object_position": null,
152
+ "order": null,
153
+ "overflow": null,
154
+ "overflow_x": null,
155
+ "overflow_y": null,
156
+ "padding": null,
157
+ "right": null,
158
+ "top": null,
159
+ "visibility": null,
160
+ "width": null
161
+ }
162
+ },
163
+ "881fe3baf9404ebe93facda6dcab10c8": {
164
+ "model_module": "@jupyter-widgets/base",
165
+ "model_name": "LayoutModel",
166
+ "model_module_version": "1.2.0",
167
+ "state": {
168
+ "_model_module": "@jupyter-widgets/base",
169
+ "_model_module_version": "1.2.0",
170
+ "_model_name": "LayoutModel",
171
+ "_view_count": null,
172
+ "_view_module": "@jupyter-widgets/base",
173
+ "_view_module_version": "1.2.0",
174
+ "_view_name": "LayoutView",
175
+ "align_content": null,
176
+ "align_items": null,
177
+ "align_self": null,
178
+ "border": null,
179
+ "bottom": null,
180
+ "display": null,
181
+ "flex": null,
182
+ "flex_flow": null,
183
+ "grid_area": null,
184
+ "grid_auto_columns": null,
185
+ "grid_auto_flow": null,
186
+ "grid_auto_rows": null,
187
+ "grid_column": null,
188
+ "grid_gap": null,
189
+ "grid_row": null,
190
+ "grid_template_areas": null,
191
+ "grid_template_columns": null,
192
+ "grid_template_rows": null,
193
+ "height": null,
194
+ "justify_content": null,
195
+ "justify_items": null,
196
+ "left": null,
197
+ "margin": null,
198
+ "max_height": null,
199
+ "max_width": null,
200
+ "min_height": null,
201
+ "min_width": null,
202
+ "object_fit": null,
203
+ "object_position": null,
204
+ "order": null,
205
+ "overflow": null,
206
+ "overflow_x": null,
207
+ "overflow_y": null,
208
+ "padding": null,
209
+ "right": null,
210
+ "top": null,
211
+ "visibility": null,
212
+ "width": null
213
+ }
214
+ },
215
+ "2254d6b674894c00bc4c266409d4f8d4": {
216
+ "model_module": "@jupyter-widgets/controls",
217
+ "model_name": "DescriptionStyleModel",
218
+ "model_module_version": "1.5.0",
219
+ "state": {
220
+ "_model_module": "@jupyter-widgets/controls",
221
+ "_model_module_version": "1.5.0",
222
+ "_model_name": "DescriptionStyleModel",
223
+ "_view_count": null,
224
+ "_view_module": "@jupyter-widgets/base",
225
+ "_view_module_version": "1.2.0",
226
+ "_view_name": "StyleView",
227
+ "description_width": ""
228
+ }
229
+ },
230
+ "f09ea2bac7124d609e756193f6f7b68f": {
231
+ "model_module": "@jupyter-widgets/base",
232
+ "model_name": "LayoutModel",
233
+ "model_module_version": "1.2.0",
234
+ "state": {
235
+ "_model_module": "@jupyter-widgets/base",
236
+ "_model_module_version": "1.2.0",
237
+ "_model_name": "LayoutModel",
238
+ "_view_count": null,
239
+ "_view_module": "@jupyter-widgets/base",
240
+ "_view_module_version": "1.2.0",
241
+ "_view_name": "LayoutView",
242
+ "align_content": null,
243
+ "align_items": null,
244
+ "align_self": null,
245
+ "border": null,
246
+ "bottom": null,
247
+ "display": null,
248
+ "flex": null,
249
+ "flex_flow": null,
250
+ "grid_area": null,
251
+ "grid_auto_columns": null,
252
+ "grid_auto_flow": null,
253
+ "grid_auto_rows": null,
254
+ "grid_column": null,
255
+ "grid_gap": null,
256
+ "grid_row": null,
257
+ "grid_template_areas": null,
258
+ "grid_template_columns": null,
259
+ "grid_template_rows": null,
260
+ "height": null,
261
+ "justify_content": null,
262
+ "justify_items": null,
263
+ "left": null,
264
+ "margin": null,
265
+ "max_height": null,
266
+ "max_width": null,
267
+ "min_height": null,
268
+ "min_width": null,
269
+ "object_fit": null,
270
+ "object_position": null,
271
+ "order": null,
272
+ "overflow": null,
273
+ "overflow_x": null,
274
+ "overflow_y": null,
275
+ "padding": null,
276
+ "right": null,
277
+ "top": null,
278
+ "visibility": null,
279
+ "width": null
280
+ }
281
+ },
282
+ "965d73b03fa3444087f4a1ae5a622120": {
283
+ "model_module": "@jupyter-widgets/controls",
284
+ "model_name": "ProgressStyleModel",
285
+ "model_module_version": "1.5.0",
286
+ "state": {
287
+ "_model_module": "@jupyter-widgets/controls",
288
+ "_model_module_version": "1.5.0",
289
+ "_model_name": "ProgressStyleModel",
290
+ "_view_count": null,
291
+ "_view_module": "@jupyter-widgets/base",
292
+ "_view_module_version": "1.2.0",
293
+ "_view_name": "StyleView",
294
+ "bar_color": null,
295
+ "description_width": ""
296
+ }
297
+ },
298
+ "5f0ad285ec494a9b9633c7fe4b8e956a": {
299
+ "model_module": "@jupyter-widgets/base",
300
+ "model_name": "LayoutModel",
301
+ "model_module_version": "1.2.0",
302
+ "state": {
303
+ "_model_module": "@jupyter-widgets/base",
304
+ "_model_module_version": "1.2.0",
305
+ "_model_name": "LayoutModel",
306
+ "_view_count": null,
307
+ "_view_module": "@jupyter-widgets/base",
308
+ "_view_module_version": "1.2.0",
309
+ "_view_name": "LayoutView",
310
+ "align_content": null,
311
+ "align_items": null,
312
+ "align_self": null,
313
+ "border": null,
314
+ "bottom": null,
315
+ "display": null,
316
+ "flex": null,
317
+ "flex_flow": null,
318
+ "grid_area": null,
319
+ "grid_auto_columns": null,
320
+ "grid_auto_flow": null,
321
+ "grid_auto_rows": null,
322
+ "grid_column": null,
323
+ "grid_gap": null,
324
+ "grid_row": null,
325
+ "grid_template_areas": null,
326
+ "grid_template_columns": null,
327
+ "grid_template_rows": null,
328
+ "height": null,
329
+ "justify_content": null,
330
+ "justify_items": null,
331
+ "left": null,
332
+ "margin": null,
333
+ "max_height": null,
334
+ "max_width": null,
335
+ "min_height": null,
336
+ "min_width": null,
337
+ "object_fit": null,
338
+ "object_position": null,
339
+ "order": null,
340
+ "overflow": null,
341
+ "overflow_x": null,
342
+ "overflow_y": null,
343
+ "padding": null,
344
+ "right": null,
345
+ "top": null,
346
+ "visibility": null,
347
+ "width": null
348
+ }
349
+ },
350
+ "f132d8fcdcc04808b16aa6a8fc548baf": {
351
+ "model_module": "@jupyter-widgets/controls",
352
+ "model_name": "DescriptionStyleModel",
353
+ "model_module_version": "1.5.0",
354
+ "state": {
355
+ "_model_module": "@jupyter-widgets/controls",
356
+ "_model_module_version": "1.5.0",
357
+ "_model_name": "DescriptionStyleModel",
358
+ "_view_count": null,
359
+ "_view_module": "@jupyter-widgets/base",
360
+ "_view_module_version": "1.2.0",
361
+ "_view_name": "StyleView",
362
+ "description_width": ""
363
+ }
364
+ },
365
+ "1dd730816fde442eb73f54495a8e4cb8": {
366
+ "model_module": "@jupyter-widgets/controls",
367
+ "model_name": "HBoxModel",
368
+ "model_module_version": "1.5.0",
369
+ "state": {
370
+ "_dom_classes": [],
371
+ "_model_module": "@jupyter-widgets/controls",
372
+ "_model_module_version": "1.5.0",
373
+ "_model_name": "HBoxModel",
374
+ "_view_count": null,
375
+ "_view_module": "@jupyter-widgets/controls",
376
+ "_view_module_version": "1.5.0",
377
+ "_view_name": "HBoxView",
378
+ "box_style": "",
379
+ "children": [
380
+ "IPY_MODEL_be36cb7bbcaf4574915b3ddec99f4ae8",
381
+ "IPY_MODEL_ad31e194e4754dc58e995665bafd38f8",
382
+ "IPY_MODEL_fb7015e03ed94e6d81594e8e1979fd9f"
383
+ ],
384
+ "layout": "IPY_MODEL_c7e10c1421d747f796d1567cd2fd8cde"
385
+ }
386
+ },
387
+ "be36cb7bbcaf4574915b3ddec99f4ae8": {
388
+ "model_module": "@jupyter-widgets/controls",
389
+ "model_name": "HTMLModel",
390
+ "model_module_version": "1.5.0",
391
+ "state": {
392
+ "_dom_classes": [],
393
+ "_model_module": "@jupyter-widgets/controls",
394
+ "_model_module_version": "1.5.0",
395
+ "_model_name": "HTMLModel",
396
+ "_view_count": null,
397
+ "_view_module": "@jupyter-widgets/controls",
398
+ "_view_module_version": "1.5.0",
399
+ "_view_name": "HTMLView",
400
+ "description": "",
401
+ "description_tooltip": null,
402
+ "layout": "IPY_MODEL_a85569145a3545ed9dbc6c3d6236f0a9",
403
+ "placeholder": "​",
404
+ "style": "IPY_MODEL_8d3c4e68989e4a0d90f0ec72e2e951b8",
405
+ "value": "vocab.txt: 100%"
406
+ }
407
+ },
408
+ "ad31e194e4754dc58e995665bafd38f8": {
409
+ "model_module": "@jupyter-widgets/controls",
410
+ "model_name": "FloatProgressModel",
411
+ "model_module_version": "1.5.0",
412
+ "state": {
413
+ "_dom_classes": [],
414
+ "_model_module": "@jupyter-widgets/controls",
415
+ "_model_module_version": "1.5.0",
416
+ "_model_name": "FloatProgressModel",
417
+ "_view_count": null,
418
+ "_view_module": "@jupyter-widgets/controls",
419
+ "_view_module_version": "1.5.0",
420
+ "_view_name": "ProgressView",
421
+ "bar_style": "success",
422
+ "description": "",
423
+ "description_tooltip": null,
424
+ "layout": "IPY_MODEL_8d9da383fe8c46459eaadf1588a83988",
425
+ "max": 231508,
426
+ "min": 0,
427
+ "orientation": "horizontal",
428
+ "style": "IPY_MODEL_c97bcd7876414a32ae8019c6b4b8be9d",
429
+ "value": 231508
430
+ }
431
+ },
432
+ "fb7015e03ed94e6d81594e8e1979fd9f": {
433
+ "model_module": "@jupyter-widgets/controls",
434
+ "model_name": "HTMLModel",
435
+ "model_module_version": "1.5.0",
436
+ "state": {
437
+ "_dom_classes": [],
438
+ "_model_module": "@jupyter-widgets/controls",
439
+ "_model_module_version": "1.5.0",
440
+ "_model_name": "HTMLModel",
441
+ "_view_count": null,
442
+ "_view_module": "@jupyter-widgets/controls",
443
+ "_view_module_version": "1.5.0",
444
+ "_view_name": "HTMLView",
445
+ "description": "",
446
+ "description_tooltip": null,
447
+ "layout": "IPY_MODEL_ad4b03f221d04231b60be29817549012",
448
+ "placeholder": "​",
449
+ "style": "IPY_MODEL_25abcd0de5be44b1aafbe934c57119b9",
450
+ "value": " 232k/232k [00:00<00:00, 6.29MB/s]"
451
+ }
452
+ },
453
+ "c7e10c1421d747f796d1567cd2fd8cde": {
454
+ "model_module": "@jupyter-widgets/base",
455
+ "model_name": "LayoutModel",
456
+ "model_module_version": "1.2.0",
457
+ "state": {
458
+ "_model_module": "@jupyter-widgets/base",
459
+ "_model_module_version": "1.2.0",
460
+ "_model_name": "LayoutModel",
461
+ "_view_count": null,
462
+ "_view_module": "@jupyter-widgets/base",
463
+ "_view_module_version": "1.2.0",
464
+ "_view_name": "LayoutView",
465
+ "align_content": null,
466
+ "align_items": null,
467
+ "align_self": null,
468
+ "border": null,
469
+ "bottom": null,
470
+ "display": null,
471
+ "flex": null,
472
+ "flex_flow": null,
473
+ "grid_area": null,
474
+ "grid_auto_columns": null,
475
+ "grid_auto_flow": null,
476
+ "grid_auto_rows": null,
477
+ "grid_column": null,
478
+ "grid_gap": null,
479
+ "grid_row": null,
480
+ "grid_template_areas": null,
481
+ "grid_template_columns": null,
482
+ "grid_template_rows": null,
483
+ "height": null,
484
+ "justify_content": null,
485
+ "justify_items": null,
486
+ "left": null,
487
+ "margin": null,
488
+ "max_height": null,
489
+ "max_width": null,
490
+ "min_height": null,
491
+ "min_width": null,
492
+ "object_fit": null,
493
+ "object_position": null,
494
+ "order": null,
495
+ "overflow": null,
496
+ "overflow_x": null,
497
+ "overflow_y": null,
498
+ "padding": null,
499
+ "right": null,
500
+ "top": null,
501
+ "visibility": null,
502
+ "width": null
503
+ }
504
+ },
505
+ "a85569145a3545ed9dbc6c3d6236f0a9": {
506
+ "model_module": "@jupyter-widgets/base",
507
+ "model_name": "LayoutModel",
508
+ "model_module_version": "1.2.0",
509
+ "state": {
510
+ "_model_module": "@jupyter-widgets/base",
511
+ "_model_module_version": "1.2.0",
512
+ "_model_name": "LayoutModel",
513
+ "_view_count": null,
514
+ "_view_module": "@jupyter-widgets/base",
515
+ "_view_module_version": "1.2.0",
516
+ "_view_name": "LayoutView",
517
+ "align_content": null,
518
+ "align_items": null,
519
+ "align_self": null,
520
+ "border": null,
521
+ "bottom": null,
522
+ "display": null,
523
+ "flex": null,
524
+ "flex_flow": null,
525
+ "grid_area": null,
526
+ "grid_auto_columns": null,
527
+ "grid_auto_flow": null,
528
+ "grid_auto_rows": null,
529
+ "grid_column": null,
530
+ "grid_gap": null,
531
+ "grid_row": null,
532
+ "grid_template_areas": null,
533
+ "grid_template_columns": null,
534
+ "grid_template_rows": null,
535
+ "height": null,
536
+ "justify_content": null,
537
+ "justify_items": null,
538
+ "left": null,
539
+ "margin": null,
540
+ "max_height": null,
541
+ "max_width": null,
542
+ "min_height": null,
543
+ "min_width": null,
544
+ "object_fit": null,
545
+ "object_position": null,
546
+ "order": null,
547
+ "overflow": null,
548
+ "overflow_x": null,
549
+ "overflow_y": null,
550
+ "padding": null,
551
+ "right": null,
552
+ "top": null,
553
+ "visibility": null,
554
+ "width": null
555
+ }
556
+ },
557
+ "8d3c4e68989e4a0d90f0ec72e2e951b8": {
558
+ "model_module": "@jupyter-widgets/controls",
559
+ "model_name": "DescriptionStyleModel",
560
+ "model_module_version": "1.5.0",
561
+ "state": {
562
+ "_model_module": "@jupyter-widgets/controls",
563
+ "_model_module_version": "1.5.0",
564
+ "_model_name": "DescriptionStyleModel",
565
+ "_view_count": null,
566
+ "_view_module": "@jupyter-widgets/base",
567
+ "_view_module_version": "1.2.0",
568
+ "_view_name": "StyleView",
569
+ "description_width": ""
570
+ }
571
+ },
572
+ "8d9da383fe8c46459eaadf1588a83988": {
573
+ "model_module": "@jupyter-widgets/base",
574
+ "model_name": "LayoutModel",
575
+ "model_module_version": "1.2.0",
576
+ "state": {
577
+ "_model_module": "@jupyter-widgets/base",
578
+ "_model_module_version": "1.2.0",
579
+ "_model_name": "LayoutModel",
580
+ "_view_count": null,
581
+ "_view_module": "@jupyter-widgets/base",
582
+ "_view_module_version": "1.2.0",
583
+ "_view_name": "LayoutView",
584
+ "align_content": null,
585
+ "align_items": null,
586
+ "align_self": null,
587
+ "border": null,
588
+ "bottom": null,
589
+ "display": null,
590
+ "flex": null,
591
+ "flex_flow": null,
592
+ "grid_area": null,
593
+ "grid_auto_columns": null,
594
+ "grid_auto_flow": null,
595
+ "grid_auto_rows": null,
596
+ "grid_column": null,
597
+ "grid_gap": null,
598
+ "grid_row": null,
599
+ "grid_template_areas": null,
600
+ "grid_template_columns": null,
601
+ "grid_template_rows": null,
602
+ "height": null,
603
+ "justify_content": null,
604
+ "justify_items": null,
605
+ "left": null,
606
+ "margin": null,
607
+ "max_height": null,
608
+ "max_width": null,
609
+ "min_height": null,
610
+ "min_width": null,
611
+ "object_fit": null,
612
+ "object_position": null,
613
+ "order": null,
614
+ "overflow": null,
615
+ "overflow_x": null,
616
+ "overflow_y": null,
617
+ "padding": null,
618
+ "right": null,
619
+ "top": null,
620
+ "visibility": null,
621
+ "width": null
622
+ }
623
+ },
624
+ "c97bcd7876414a32ae8019c6b4b8be9d": {
625
+ "model_module": "@jupyter-widgets/controls",
626
+ "model_name": "ProgressStyleModel",
627
+ "model_module_version": "1.5.0",
628
+ "state": {
629
+ "_model_module": "@jupyter-widgets/controls",
630
+ "_model_module_version": "1.5.0",
631
+ "_model_name": "ProgressStyleModel",
632
+ "_view_count": null,
633
+ "_view_module": "@jupyter-widgets/base",
634
+ "_view_module_version": "1.2.0",
635
+ "_view_name": "StyleView",
636
+ "bar_color": null,
637
+ "description_width": ""
638
+ }
639
+ },
640
+ "ad4b03f221d04231b60be29817549012": {
641
+ "model_module": "@jupyter-widgets/base",
642
+ "model_name": "LayoutModel",
643
+ "model_module_version": "1.2.0",
644
+ "state": {
645
+ "_model_module": "@jupyter-widgets/base",
646
+ "_model_module_version": "1.2.0",
647
+ "_model_name": "LayoutModel",
648
+ "_view_count": null,
649
+ "_view_module": "@jupyter-widgets/base",
650
+ "_view_module_version": "1.2.0",
651
+ "_view_name": "LayoutView",
652
+ "align_content": null,
653
+ "align_items": null,
654
+ "align_self": null,
655
+ "border": null,
656
+ "bottom": null,
657
+ "display": null,
658
+ "flex": null,
659
+ "flex_flow": null,
660
+ "grid_area": null,
661
+ "grid_auto_columns": null,
662
+ "grid_auto_flow": null,
663
+ "grid_auto_rows": null,
664
+ "grid_column": null,
665
+ "grid_gap": null,
666
+ "grid_row": null,
667
+ "grid_template_areas": null,
668
+ "grid_template_columns": null,
669
+ "grid_template_rows": null,
670
+ "height": null,
671
+ "justify_content": null,
672
+ "justify_items": null,
673
+ "left": null,
674
+ "margin": null,
675
+ "max_height": null,
676
+ "max_width": null,
677
+ "min_height": null,
678
+ "min_width": null,
679
+ "object_fit": null,
680
+ "object_position": null,
681
+ "order": null,
682
+ "overflow": null,
683
+ "overflow_x": null,
684
+ "overflow_y": null,
685
+ "padding": null,
686
+ "right": null,
687
+ "top": null,
688
+ "visibility": null,
689
+ "width": null
690
+ }
691
+ },
692
+ "25abcd0de5be44b1aafbe934c57119b9": {
693
+ "model_module": "@jupyter-widgets/controls",
694
+ "model_name": "DescriptionStyleModel",
695
+ "model_module_version": "1.5.0",
696
+ "state": {
697
+ "_model_module": "@jupyter-widgets/controls",
698
+ "_model_module_version": "1.5.0",
699
+ "_model_name": "DescriptionStyleModel",
700
+ "_view_count": null,
701
+ "_view_module": "@jupyter-widgets/base",
702
+ "_view_module_version": "1.2.0",
703
+ "_view_name": "StyleView",
704
+ "description_width": ""
705
+ }
706
+ },
707
+ "7a3d14a16eff40ef9fe100aea16f2f9c": {
708
+ "model_module": "@jupyter-widgets/controls",
709
+ "model_name": "HBoxModel",
710
+ "model_module_version": "1.5.0",
711
+ "state": {
712
+ "_dom_classes": [],
713
+ "_model_module": "@jupyter-widgets/controls",
714
+ "_model_module_version": "1.5.0",
715
+ "_model_name": "HBoxModel",
716
+ "_view_count": null,
717
+ "_view_module": "@jupyter-widgets/controls",
718
+ "_view_module_version": "1.5.0",
719
+ "_view_name": "HBoxView",
720
+ "box_style": "",
721
+ "children": [
722
+ "IPY_MODEL_9963d18fe9c1481390539befafc848f6",
723
+ "IPY_MODEL_5c9ca457a3e74f92b8e4ff4812e77d56",
724
+ "IPY_MODEL_8fc133d4c78341f79e5cbf398b0d8dd1"
725
+ ],
726
+ "layout": "IPY_MODEL_1533ccae39104ff3b3df295d7d6aa23c"
727
+ }
728
+ },
729
+ "9963d18fe9c1481390539befafc848f6": {
730
+ "model_module": "@jupyter-widgets/controls",
731
+ "model_name": "HTMLModel",
732
+ "model_module_version": "1.5.0",
733
+ "state": {
734
+ "_dom_classes": [],
735
+ "_model_module": "@jupyter-widgets/controls",
736
+ "_model_module_version": "1.5.0",
737
+ "_model_name": "HTMLModel",
738
+ "_view_count": null,
739
+ "_view_module": "@jupyter-widgets/controls",
740
+ "_view_module_version": "1.5.0",
741
+ "_view_name": "HTMLView",
742
+ "description": "",
743
+ "description_tooltip": null,
744
+ "layout": "IPY_MODEL_3dad56cfc6e740d4ac8334ee22231b5d",
745
+ "placeholder": "​",
746
+ "style": "IPY_MODEL_2008d064b7eb490ba9293b5f0f6d8915",
747
+ "value": "tokenizer.json: 100%"
748
+ }
749
+ },
750
+ "5c9ca457a3e74f92b8e4ff4812e77d56": {
751
+ "model_module": "@jupyter-widgets/controls",
752
+ "model_name": "FloatProgressModel",
753
+ "model_module_version": "1.5.0",
754
+ "state": {
755
+ "_dom_classes": [],
756
+ "_model_module": "@jupyter-widgets/controls",
757
+ "_model_module_version": "1.5.0",
758
+ "_model_name": "FloatProgressModel",
759
+ "_view_count": null,
760
+ "_view_module": "@jupyter-widgets/controls",
761
+ "_view_module_version": "1.5.0",
762
+ "_view_name": "ProgressView",
763
+ "bar_style": "success",
764
+ "description": "",
765
+ "description_tooltip": null,
766
+ "layout": "IPY_MODEL_f3a6f8a77a834bcaaaa83378f229cc08",
767
+ "max": 466062,
768
+ "min": 0,
769
+ "orientation": "horizontal",
770
+ "style": "IPY_MODEL_61f7548f811043c391d7c3f02b3f0a71",
771
+ "value": 466062
772
+ }
773
+ },
774
+ "8fc133d4c78341f79e5cbf398b0d8dd1": {
775
+ "model_module": "@jupyter-widgets/controls",
776
+ "model_name": "HTMLModel",
777
+ "model_module_version": "1.5.0",
778
+ "state": {
779
+ "_dom_classes": [],
780
+ "_model_module": "@jupyter-widgets/controls",
781
+ "_model_module_version": "1.5.0",
782
+ "_model_name": "HTMLModel",
783
+ "_view_count": null,
784
+ "_view_module": "@jupyter-widgets/controls",
785
+ "_view_module_version": "1.5.0",
786
+ "_view_name": "HTMLView",
787
+ "description": "",
788
+ "description_tooltip": null,
789
+ "layout": "IPY_MODEL_05510606ad2d4d928c8e611617089a4d",
790
+ "placeholder": "​",
791
+ "style": "IPY_MODEL_7e1e3339d2b149b0ac2e1531b295e8a9",
792
+ "value": " 466k/466k [00:00<00:00, 3.64MB/s]"
793
+ }
794
+ },
795
+ "1533ccae39104ff3b3df295d7d6aa23c": {
796
+ "model_module": "@jupyter-widgets/base",
797
+ "model_name": "LayoutModel",
798
+ "model_module_version": "1.2.0",
799
+ "state": {
800
+ "_model_module": "@jupyter-widgets/base",
801
+ "_model_module_version": "1.2.0",
802
+ "_model_name": "LayoutModel",
803
+ "_view_count": null,
804
+ "_view_module": "@jupyter-widgets/base",
805
+ "_view_module_version": "1.2.0",
806
+ "_view_name": "LayoutView",
807
+ "align_content": null,
808
+ "align_items": null,
809
+ "align_self": null,
810
+ "border": null,
811
+ "bottom": null,
812
+ "display": null,
813
+ "flex": null,
814
+ "flex_flow": null,
815
+ "grid_area": null,
816
+ "grid_auto_columns": null,
817
+ "grid_auto_flow": null,
818
+ "grid_auto_rows": null,
819
+ "grid_column": null,
820
+ "grid_gap": null,
821
+ "grid_row": null,
822
+ "grid_template_areas": null,
823
+ "grid_template_columns": null,
824
+ "grid_template_rows": null,
825
+ "height": null,
826
+ "justify_content": null,
827
+ "justify_items": null,
828
+ "left": null,
829
+ "margin": null,
830
+ "max_height": null,
831
+ "max_width": null,
832
+ "min_height": null,
833
+ "min_width": null,
834
+ "object_fit": null,
835
+ "object_position": null,
836
+ "order": null,
837
+ "overflow": null,
838
+ "overflow_x": null,
839
+ "overflow_y": null,
840
+ "padding": null,
841
+ "right": null,
842
+ "top": null,
843
+ "visibility": null,
844
+ "width": null
845
+ }
846
+ },
847
+ "3dad56cfc6e740d4ac8334ee22231b5d": {
848
+ "model_module": "@jupyter-widgets/base",
849
+ "model_name": "LayoutModel",
850
+ "model_module_version": "1.2.0",
851
+ "state": {
852
+ "_model_module": "@jupyter-widgets/base",
853
+ "_model_module_version": "1.2.0",
854
+ "_model_name": "LayoutModel",
855
+ "_view_count": null,
856
+ "_view_module": "@jupyter-widgets/base",
857
+ "_view_module_version": "1.2.0",
858
+ "_view_name": "LayoutView",
859
+ "align_content": null,
860
+ "align_items": null,
861
+ "align_self": null,
862
+ "border": null,
863
+ "bottom": null,
864
+ "display": null,
865
+ "flex": null,
866
+ "flex_flow": null,
867
+ "grid_area": null,
868
+ "grid_auto_columns": null,
869
+ "grid_auto_flow": null,
870
+ "grid_auto_rows": null,
871
+ "grid_column": null,
872
+ "grid_gap": null,
873
+ "grid_row": null,
874
+ "grid_template_areas": null,
875
+ "grid_template_columns": null,
876
+ "grid_template_rows": null,
877
+ "height": null,
878
+ "justify_content": null,
879
+ "justify_items": null,
880
+ "left": null,
881
+ "margin": null,
882
+ "max_height": null,
883
+ "max_width": null,
884
+ "min_height": null,
885
+ "min_width": null,
886
+ "object_fit": null,
887
+ "object_position": null,
888
+ "order": null,
889
+ "overflow": null,
890
+ "overflow_x": null,
891
+ "overflow_y": null,
892
+ "padding": null,
893
+ "right": null,
894
+ "top": null,
895
+ "visibility": null,
896
+ "width": null
897
+ }
898
+ },
899
+ "2008d064b7eb490ba9293b5f0f6d8915": {
900
+ "model_module": "@jupyter-widgets/controls",
901
+ "model_name": "DescriptionStyleModel",
902
+ "model_module_version": "1.5.0",
903
+ "state": {
904
+ "_model_module": "@jupyter-widgets/controls",
905
+ "_model_module_version": "1.5.0",
906
+ "_model_name": "DescriptionStyleModel",
907
+ "_view_count": null,
908
+ "_view_module": "@jupyter-widgets/base",
909
+ "_view_module_version": "1.2.0",
910
+ "_view_name": "StyleView",
911
+ "description_width": ""
912
+ }
913
+ },
914
+ "f3a6f8a77a834bcaaaa83378f229cc08": {
915
+ "model_module": "@jupyter-widgets/base",
916
+ "model_name": "LayoutModel",
917
+ "model_module_version": "1.2.0",
918
+ "state": {
919
+ "_model_module": "@jupyter-widgets/base",
920
+ "_model_module_version": "1.2.0",
921
+ "_model_name": "LayoutModel",
922
+ "_view_count": null,
923
+ "_view_module": "@jupyter-widgets/base",
924
+ "_view_module_version": "1.2.0",
925
+ "_view_name": "LayoutView",
926
+ "align_content": null,
927
+ "align_items": null,
928
+ "align_self": null,
929
+ "border": null,
930
+ "bottom": null,
931
+ "display": null,
932
+ "flex": null,
933
+ "flex_flow": null,
934
+ "grid_area": null,
935
+ "grid_auto_columns": null,
936
+ "grid_auto_flow": null,
937
+ "grid_auto_rows": null,
938
+ "grid_column": null,
939
+ "grid_gap": null,
940
+ "grid_row": null,
941
+ "grid_template_areas": null,
942
+ "grid_template_columns": null,
943
+ "grid_template_rows": null,
944
+ "height": null,
945
+ "justify_content": null,
946
+ "justify_items": null,
947
+ "left": null,
948
+ "margin": null,
949
+ "max_height": null,
950
+ "max_width": null,
951
+ "min_height": null,
952
+ "min_width": null,
953
+ "object_fit": null,
954
+ "object_position": null,
955
+ "order": null,
956
+ "overflow": null,
957
+ "overflow_x": null,
958
+ "overflow_y": null,
959
+ "padding": null,
960
+ "right": null,
961
+ "top": null,
962
+ "visibility": null,
963
+ "width": null
964
+ }
965
+ },
966
+ "61f7548f811043c391d7c3f02b3f0a71": {
967
+ "model_module": "@jupyter-widgets/controls",
968
+ "model_name": "ProgressStyleModel",
969
+ "model_module_version": "1.5.0",
970
+ "state": {
971
+ "_model_module": "@jupyter-widgets/controls",
972
+ "_model_module_version": "1.5.0",
973
+ "_model_name": "ProgressStyleModel",
974
+ "_view_count": null,
975
+ "_view_module": "@jupyter-widgets/base",
976
+ "_view_module_version": "1.2.0",
977
+ "_view_name": "StyleView",
978
+ "bar_color": null,
979
+ "description_width": ""
980
+ }
981
+ },
982
+ "05510606ad2d4d928c8e611617089a4d": {
983
+ "model_module": "@jupyter-widgets/base",
984
+ "model_name": "LayoutModel",
985
+ "model_module_version": "1.2.0",
986
+ "state": {
987
+ "_model_module": "@jupyter-widgets/base",
988
+ "_model_module_version": "1.2.0",
989
+ "_model_name": "LayoutModel",
990
+ "_view_count": null,
991
+ "_view_module": "@jupyter-widgets/base",
992
+ "_view_module_version": "1.2.0",
993
+ "_view_name": "LayoutView",
994
+ "align_content": null,
995
+ "align_items": null,
996
+ "align_self": null,
997
+ "border": null,
998
+ "bottom": null,
999
+ "display": null,
1000
+ "flex": null,
1001
+ "flex_flow": null,
1002
+ "grid_area": null,
1003
+ "grid_auto_columns": null,
1004
+ "grid_auto_flow": null,
1005
+ "grid_auto_rows": null,
1006
+ "grid_column": null,
1007
+ "grid_gap": null,
1008
+ "grid_row": null,
1009
+ "grid_template_areas": null,
1010
+ "grid_template_columns": null,
1011
+ "grid_template_rows": null,
1012
+ "height": null,
1013
+ "justify_content": null,
1014
+ "justify_items": null,
1015
+ "left": null,
1016
+ "margin": null,
1017
+ "max_height": null,
1018
+ "max_width": null,
1019
+ "min_height": null,
1020
+ "min_width": null,
1021
+ "object_fit": null,
1022
+ "object_position": null,
1023
+ "order": null,
1024
+ "overflow": null,
1025
+ "overflow_x": null,
1026
+ "overflow_y": null,
1027
+ "padding": null,
1028
+ "right": null,
1029
+ "top": null,
1030
+ "visibility": null,
1031
+ "width": null
1032
+ }
1033
+ },
1034
+ "7e1e3339d2b149b0ac2e1531b295e8a9": {
1035
+ "model_module": "@jupyter-widgets/controls",
1036
+ "model_name": "DescriptionStyleModel",
1037
+ "model_module_version": "1.5.0",
1038
+ "state": {
1039
+ "_model_module": "@jupyter-widgets/controls",
1040
+ "_model_module_version": "1.5.0",
1041
+ "_model_name": "DescriptionStyleModel",
1042
+ "_view_count": null,
1043
+ "_view_module": "@jupyter-widgets/base",
1044
+ "_view_module_version": "1.2.0",
1045
+ "_view_name": "StyleView",
1046
+ "description_width": ""
1047
+ }
1048
+ },
1049
+ "392c8c37640345438fb7f03fa71ca896": {
1050
+ "model_module": "@jupyter-widgets/controls",
1051
+ "model_name": "HBoxModel",
1052
+ "model_module_version": "1.5.0",
1053
+ "state": {
1054
+ "_dom_classes": [],
1055
+ "_model_module": "@jupyter-widgets/controls",
1056
+ "_model_module_version": "1.5.0",
1057
+ "_model_name": "HBoxModel",
1058
+ "_view_count": null,
1059
+ "_view_module": "@jupyter-widgets/controls",
1060
+ "_view_module_version": "1.5.0",
1061
+ "_view_name": "HBoxView",
1062
+ "box_style": "",
1063
+ "children": [
1064
+ "IPY_MODEL_e303ded092b048c48976b60d4e61612c",
1065
+ "IPY_MODEL_fb21ed9a4a4141e999d34321a3a2013f",
1066
+ "IPY_MODEL_e0f2c184d9b94781b2874e80f4f9cbec"
1067
+ ],
1068
+ "layout": "IPY_MODEL_1a3169f71ffd4b7eb20822dff0dd4106"
1069
+ }
1070
+ },
1071
+ "e303ded092b048c48976b60d4e61612c": {
1072
+ "model_module": "@jupyter-widgets/controls",
1073
+ "model_name": "HTMLModel",
1074
+ "model_module_version": "1.5.0",
1075
+ "state": {
1076
+ "_dom_classes": [],
1077
+ "_model_module": "@jupyter-widgets/controls",
1078
+ "_model_module_version": "1.5.0",
1079
+ "_model_name": "HTMLModel",
1080
+ "_view_count": null,
1081
+ "_view_module": "@jupyter-widgets/controls",
1082
+ "_view_module_version": "1.5.0",
1083
+ "_view_name": "HTMLView",
1084
+ "description": "",
1085
+ "description_tooltip": null,
1086
+ "layout": "IPY_MODEL_3fd4b03a39f24c8b959749fbeeea89f6",
1087
+ "placeholder": "​",
1088
+ "style": "IPY_MODEL_b3956f8ba6c44d58b07435eefce61e06",
1089
+ "value": "config.json: 100%"
1090
+ }
1091
+ },
1092
+ "fb21ed9a4a4141e999d34321a3a2013f": {
1093
+ "model_module": "@jupyter-widgets/controls",
1094
+ "model_name": "FloatProgressModel",
1095
+ "model_module_version": "1.5.0",
1096
+ "state": {
1097
+ "_dom_classes": [],
1098
+ "_model_module": "@jupyter-widgets/controls",
1099
+ "_model_module_version": "1.5.0",
1100
+ "_model_name": "FloatProgressModel",
1101
+ "_view_count": null,
1102
+ "_view_module": "@jupyter-widgets/controls",
1103
+ "_view_module_version": "1.5.0",
1104
+ "_view_name": "ProgressView",
1105
+ "bar_style": "success",
1106
+ "description": "",
1107
+ "description_tooltip": null,
1108
+ "layout": "IPY_MODEL_849a5d4c1eef48669613c205f20438b2",
1109
+ "max": 570,
1110
+ "min": 0,
1111
+ "orientation": "horizontal",
1112
+ "style": "IPY_MODEL_32586109edf64739b24f76b42c86e8e9",
1113
+ "value": 570
1114
+ }
1115
+ },
1116
+ "e0f2c184d9b94781b2874e80f4f9cbec": {
1117
+ "model_module": "@jupyter-widgets/controls",
1118
+ "model_name": "HTMLModel",
1119
+ "model_module_version": "1.5.0",
1120
+ "state": {
1121
+ "_dom_classes": [],
1122
+ "_model_module": "@jupyter-widgets/controls",
1123
+ "_model_module_version": "1.5.0",
1124
+ "_model_name": "HTMLModel",
1125
+ "_view_count": null,
1126
+ "_view_module": "@jupyter-widgets/controls",
1127
+ "_view_module_version": "1.5.0",
1128
+ "_view_name": "HTMLView",
1129
+ "description": "",
1130
+ "description_tooltip": null,
1131
+ "layout": "IPY_MODEL_fecfb16eb63e4729a17af48d278ee24c",
1132
+ "placeholder": "​",
1133
+ "style": "IPY_MODEL_0e66a5bc753f4817a207dbba945b9717",
1134
+ "value": " 570/570 [00:00<00:00, 57.4kB/s]"
1135
+ }
1136
+ },
1137
+ "1a3169f71ffd4b7eb20822dff0dd4106": {
1138
+ "model_module": "@jupyter-widgets/base",
1139
+ "model_name": "LayoutModel",
1140
+ "model_module_version": "1.2.0",
1141
+ "state": {
1142
+ "_model_module": "@jupyter-widgets/base",
1143
+ "_model_module_version": "1.2.0",
1144
+ "_model_name": "LayoutModel",
1145
+ "_view_count": null,
1146
+ "_view_module": "@jupyter-widgets/base",
1147
+ "_view_module_version": "1.2.0",
1148
+ "_view_name": "LayoutView",
1149
+ "align_content": null,
1150
+ "align_items": null,
1151
+ "align_self": null,
1152
+ "border": null,
1153
+ "bottom": null,
1154
+ "display": null,
1155
+ "flex": null,
1156
+ "flex_flow": null,
1157
+ "grid_area": null,
1158
+ "grid_auto_columns": null,
1159
+ "grid_auto_flow": null,
1160
+ "grid_auto_rows": null,
1161
+ "grid_column": null,
1162
+ "grid_gap": null,
1163
+ "grid_row": null,
1164
+ "grid_template_areas": null,
1165
+ "grid_template_columns": null,
1166
+ "grid_template_rows": null,
1167
+ "height": null,
1168
+ "justify_content": null,
1169
+ "justify_items": null,
1170
+ "left": null,
1171
+ "margin": null,
1172
+ "max_height": null,
1173
+ "max_width": null,
1174
+ "min_height": null,
1175
+ "min_width": null,
1176
+ "object_fit": null,
1177
+ "object_position": null,
1178
+ "order": null,
1179
+ "overflow": null,
1180
+ "overflow_x": null,
1181
+ "overflow_y": null,
1182
+ "padding": null,
1183
+ "right": null,
1184
+ "top": null,
1185
+ "visibility": null,
1186
+ "width": null
1187
+ }
1188
+ },
1189
+ "3fd4b03a39f24c8b959749fbeeea89f6": {
1190
+ "model_module": "@jupyter-widgets/base",
1191
+ "model_name": "LayoutModel",
1192
+ "model_module_version": "1.2.0",
1193
+ "state": {
1194
+ "_model_module": "@jupyter-widgets/base",
1195
+ "_model_module_version": "1.2.0",
1196
+ "_model_name": "LayoutModel",
1197
+ "_view_count": null,
1198
+ "_view_module": "@jupyter-widgets/base",
1199
+ "_view_module_version": "1.2.0",
1200
+ "_view_name": "LayoutView",
1201
+ "align_content": null,
1202
+ "align_items": null,
1203
+ "align_self": null,
1204
+ "border": null,
1205
+ "bottom": null,
1206
+ "display": null,
1207
+ "flex": null,
1208
+ "flex_flow": null,
1209
+ "grid_area": null,
1210
+ "grid_auto_columns": null,
1211
+ "grid_auto_flow": null,
1212
+ "grid_auto_rows": null,
1213
+ "grid_column": null,
1214
+ "grid_gap": null,
1215
+ "grid_row": null,
1216
+ "grid_template_areas": null,
1217
+ "grid_template_columns": null,
1218
+ "grid_template_rows": null,
1219
+ "height": null,
1220
+ "justify_content": null,
1221
+ "justify_items": null,
1222
+ "left": null,
1223
+ "margin": null,
1224
+ "max_height": null,
1225
+ "max_width": null,
1226
+ "min_height": null,
1227
+ "min_width": null,
1228
+ "object_fit": null,
1229
+ "object_position": null,
1230
+ "order": null,
1231
+ "overflow": null,
1232
+ "overflow_x": null,
1233
+ "overflow_y": null,
1234
+ "padding": null,
1235
+ "right": null,
1236
+ "top": null,
1237
+ "visibility": null,
1238
+ "width": null
1239
+ }
1240
+ },
1241
+ "b3956f8ba6c44d58b07435eefce61e06": {
1242
+ "model_module": "@jupyter-widgets/controls",
1243
+ "model_name": "DescriptionStyleModel",
1244
+ "model_module_version": "1.5.0",
1245
+ "state": {
1246
+ "_model_module": "@jupyter-widgets/controls",
1247
+ "_model_module_version": "1.5.0",
1248
+ "_model_name": "DescriptionStyleModel",
1249
+ "_view_count": null,
1250
+ "_view_module": "@jupyter-widgets/base",
1251
+ "_view_module_version": "1.2.0",
1252
+ "_view_name": "StyleView",
1253
+ "description_width": ""
1254
+ }
1255
+ },
1256
+ "849a5d4c1eef48669613c205f20438b2": {
1257
+ "model_module": "@jupyter-widgets/base",
1258
+ "model_name": "LayoutModel",
1259
+ "model_module_version": "1.2.0",
1260
+ "state": {
1261
+ "_model_module": "@jupyter-widgets/base",
1262
+ "_model_module_version": "1.2.0",
1263
+ "_model_name": "LayoutModel",
1264
+ "_view_count": null,
1265
+ "_view_module": "@jupyter-widgets/base",
1266
+ "_view_module_version": "1.2.0",
1267
+ "_view_name": "LayoutView",
1268
+ "align_content": null,
1269
+ "align_items": null,
1270
+ "align_self": null,
1271
+ "border": null,
1272
+ "bottom": null,
1273
+ "display": null,
1274
+ "flex": null,
1275
+ "flex_flow": null,
1276
+ "grid_area": null,
1277
+ "grid_auto_columns": null,
1278
+ "grid_auto_flow": null,
1279
+ "grid_auto_rows": null,
1280
+ "grid_column": null,
1281
+ "grid_gap": null,
1282
+ "grid_row": null,
1283
+ "grid_template_areas": null,
1284
+ "grid_template_columns": null,
1285
+ "grid_template_rows": null,
1286
+ "height": null,
1287
+ "justify_content": null,
1288
+ "justify_items": null,
1289
+ "left": null,
1290
+ "margin": null,
1291
+ "max_height": null,
1292
+ "max_width": null,
1293
+ "min_height": null,
1294
+ "min_width": null,
1295
+ "object_fit": null,
1296
+ "object_position": null,
1297
+ "order": null,
1298
+ "overflow": null,
1299
+ "overflow_x": null,
1300
+ "overflow_y": null,
1301
+ "padding": null,
1302
+ "right": null,
1303
+ "top": null,
1304
+ "visibility": null,
1305
+ "width": null
1306
+ }
1307
+ },
1308
+ "32586109edf64739b24f76b42c86e8e9": {
1309
+ "model_module": "@jupyter-widgets/controls",
1310
+ "model_name": "ProgressStyleModel",
1311
+ "model_module_version": "1.5.0",
1312
+ "state": {
1313
+ "_model_module": "@jupyter-widgets/controls",
1314
+ "_model_module_version": "1.5.0",
1315
+ "_model_name": "ProgressStyleModel",
1316
+ "_view_count": null,
1317
+ "_view_module": "@jupyter-widgets/base",
1318
+ "_view_module_version": "1.2.0",
1319
+ "_view_name": "StyleView",
1320
+ "bar_color": null,
1321
+ "description_width": ""
1322
+ }
1323
+ },
1324
+ "fecfb16eb63e4729a17af48d278ee24c": {
1325
+ "model_module": "@jupyter-widgets/base",
1326
+ "model_name": "LayoutModel",
1327
+ "model_module_version": "1.2.0",
1328
+ "state": {
1329
+ "_model_module": "@jupyter-widgets/base",
1330
+ "_model_module_version": "1.2.0",
1331
+ "_model_name": "LayoutModel",
1332
+ "_view_count": null,
1333
+ "_view_module": "@jupyter-widgets/base",
1334
+ "_view_module_version": "1.2.0",
1335
+ "_view_name": "LayoutView",
1336
+ "align_content": null,
1337
+ "align_items": null,
1338
+ "align_self": null,
1339
+ "border": null,
1340
+ "bottom": null,
1341
+ "display": null,
1342
+ "flex": null,
1343
+ "flex_flow": null,
1344
+ "grid_area": null,
1345
+ "grid_auto_columns": null,
1346
+ "grid_auto_flow": null,
1347
+ "grid_auto_rows": null,
1348
+ "grid_column": null,
1349
+ "grid_gap": null,
1350
+ "grid_row": null,
1351
+ "grid_template_areas": null,
1352
+ "grid_template_columns": null,
1353
+ "grid_template_rows": null,
1354
+ "height": null,
1355
+ "justify_content": null,
1356
+ "justify_items": null,
1357
+ "left": null,
1358
+ "margin": null,
1359
+ "max_height": null,
1360
+ "max_width": null,
1361
+ "min_height": null,
1362
+ "min_width": null,
1363
+ "object_fit": null,
1364
+ "object_position": null,
1365
+ "order": null,
1366
+ "overflow": null,
1367
+ "overflow_x": null,
1368
+ "overflow_y": null,
1369
+ "padding": null,
1370
+ "right": null,
1371
+ "top": null,
1372
+ "visibility": null,
1373
+ "width": null
1374
+ }
1375
+ },
1376
+ "0e66a5bc753f4817a207dbba945b9717": {
1377
+ "model_module": "@jupyter-widgets/controls",
1378
+ "model_name": "DescriptionStyleModel",
1379
+ "model_module_version": "1.5.0",
1380
+ "state": {
1381
+ "_model_module": "@jupyter-widgets/controls",
1382
+ "_model_module_version": "1.5.0",
1383
+ "_model_name": "DescriptionStyleModel",
1384
+ "_view_count": null,
1385
+ "_view_module": "@jupyter-widgets/base",
1386
+ "_view_module_version": "1.2.0",
1387
+ "_view_name": "StyleView",
1388
+ "description_width": ""
1389
+ }
1390
+ },
1391
+ "145c1d5b3d7646779d2a834efea5025b": {
1392
+ "model_module": "@jupyter-widgets/controls",
1393
+ "model_name": "HBoxModel",
1394
+ "model_module_version": "1.5.0",
1395
+ "state": {
1396
+ "_dom_classes": [],
1397
+ "_model_module": "@jupyter-widgets/controls",
1398
+ "_model_module_version": "1.5.0",
1399
+ "_model_name": "HBoxModel",
1400
+ "_view_count": null,
1401
+ "_view_module": "@jupyter-widgets/controls",
1402
+ "_view_module_version": "1.5.0",
1403
+ "_view_name": "HBoxView",
1404
+ "box_style": "",
1405
+ "children": [
1406
+ "IPY_MODEL_21fbcd445d9948f29e306f1796f05de6",
1407
+ "IPY_MODEL_36f817aa53c34443a027570ab3d11beb",
1408
+ "IPY_MODEL_c487f826c8e94e8a890c0b4c6a3a12f4"
1409
+ ],
1410
+ "layout": "IPY_MODEL_1905f601604446cb8e8bb2948fbceb8e"
1411
+ }
1412
+ },
1413
+ "21fbcd445d9948f29e306f1796f05de6": {
1414
+ "model_module": "@jupyter-widgets/controls",
1415
+ "model_name": "HTMLModel",
1416
+ "model_module_version": "1.5.0",
1417
+ "state": {
1418
+ "_dom_classes": [],
1419
+ "_model_module": "@jupyter-widgets/controls",
1420
+ "_model_module_version": "1.5.0",
1421
+ "_model_name": "HTMLModel",
1422
+ "_view_count": null,
1423
+ "_view_module": "@jupyter-widgets/controls",
1424
+ "_view_module_version": "1.5.0",
1425
+ "_view_name": "HTMLView",
1426
+ "description": "",
1427
+ "description_tooltip": null,
1428
+ "layout": "IPY_MODEL_4403a2962611451290841a6dc805a8cc",
1429
+ "placeholder": "​",
1430
+ "style": "IPY_MODEL_0f28ef72d0424c70a1e69fdc4e192a5d",
1431
+ "value": "model.safetensors: 100%"
1432
+ }
1433
+ },
1434
+ "36f817aa53c34443a027570ab3d11beb": {
1435
+ "model_module": "@jupyter-widgets/controls",
1436
+ "model_name": "FloatProgressModel",
1437
+ "model_module_version": "1.5.0",
1438
+ "state": {
1439
+ "_dom_classes": [],
1440
+ "_model_module": "@jupyter-widgets/controls",
1441
+ "_model_module_version": "1.5.0",
1442
+ "_model_name": "FloatProgressModel",
1443
+ "_view_count": null,
1444
+ "_view_module": "@jupyter-widgets/controls",
1445
+ "_view_module_version": "1.5.0",
1446
+ "_view_name": "ProgressView",
1447
+ "bar_style": "success",
1448
+ "description": "",
1449
+ "description_tooltip": null,
1450
+ "layout": "IPY_MODEL_28c41b804b4448d0bc5dc444035e5f96",
1451
+ "max": 440449768,
1452
+ "min": 0,
1453
+ "orientation": "horizontal",
1454
+ "style": "IPY_MODEL_e9d8d87bc9a24f799d66bb3b43f43065",
1455
+ "value": 440449768
1456
+ }
1457
+ },
1458
+ "c487f826c8e94e8a890c0b4c6a3a12f4": {
1459
+ "model_module": "@jupyter-widgets/controls",
1460
+ "model_name": "HTMLModel",
1461
+ "model_module_version": "1.5.0",
1462
+ "state": {
1463
+ "_dom_classes": [],
1464
+ "_model_module": "@jupyter-widgets/controls",
1465
+ "_model_module_version": "1.5.0",
1466
+ "_model_name": "HTMLModel",
1467
+ "_view_count": null,
1468
+ "_view_module": "@jupyter-widgets/controls",
1469
+ "_view_module_version": "1.5.0",
1470
+ "_view_name": "HTMLView",
1471
+ "description": "",
1472
+ "description_tooltip": null,
1473
+ "layout": "IPY_MODEL_13e01047f59a472b8849757c34bb8c44",
1474
+ "placeholder": "​",
1475
+ "style": "IPY_MODEL_308dc62a44034b369c2d02a64056e0ec",
1476
+ "value": " 440M/440M [00:06<00:00, 64.9MB/s]"
1477
+ }
1478
+ },
1479
+ "1905f601604446cb8e8bb2948fbceb8e": {
1480
+ "model_module": "@jupyter-widgets/base",
1481
+ "model_name": "LayoutModel",
1482
+ "model_module_version": "1.2.0",
1483
+ "state": {
1484
+ "_model_module": "@jupyter-widgets/base",
1485
+ "_model_module_version": "1.2.0",
1486
+ "_model_name": "LayoutModel",
1487
+ "_view_count": null,
1488
+ "_view_module": "@jupyter-widgets/base",
1489
+ "_view_module_version": "1.2.0",
1490
+ "_view_name": "LayoutView",
1491
+ "align_content": null,
1492
+ "align_items": null,
1493
+ "align_self": null,
1494
+ "border": null,
1495
+ "bottom": null,
1496
+ "display": null,
1497
+ "flex": null,
1498
+ "flex_flow": null,
1499
+ "grid_area": null,
1500
+ "grid_auto_columns": null,
1501
+ "grid_auto_flow": null,
1502
+ "grid_auto_rows": null,
1503
+ "grid_column": null,
1504
+ "grid_gap": null,
1505
+ "grid_row": null,
1506
+ "grid_template_areas": null,
1507
+ "grid_template_columns": null,
1508
+ "grid_template_rows": null,
1509
+ "height": null,
1510
+ "justify_content": null,
1511
+ "justify_items": null,
1512
+ "left": null,
1513
+ "margin": null,
1514
+ "max_height": null,
1515
+ "max_width": null,
1516
+ "min_height": null,
1517
+ "min_width": null,
1518
+ "object_fit": null,
1519
+ "object_position": null,
1520
+ "order": null,
1521
+ "overflow": null,
1522
+ "overflow_x": null,
1523
+ "overflow_y": null,
1524
+ "padding": null,
1525
+ "right": null,
1526
+ "top": null,
1527
+ "visibility": null,
1528
+ "width": null
1529
+ }
1530
+ },
1531
+ "4403a2962611451290841a6dc805a8cc": {
1532
+ "model_module": "@jupyter-widgets/base",
1533
+ "model_name": "LayoutModel",
1534
+ "model_module_version": "1.2.0",
1535
+ "state": {
1536
+ "_model_module": "@jupyter-widgets/base",
1537
+ "_model_module_version": "1.2.0",
1538
+ "_model_name": "LayoutModel",
1539
+ "_view_count": null,
1540
+ "_view_module": "@jupyter-widgets/base",
1541
+ "_view_module_version": "1.2.0",
1542
+ "_view_name": "LayoutView",
1543
+ "align_content": null,
1544
+ "align_items": null,
1545
+ "align_self": null,
1546
+ "border": null,
1547
+ "bottom": null,
1548
+ "display": null,
1549
+ "flex": null,
1550
+ "flex_flow": null,
1551
+ "grid_area": null,
1552
+ "grid_auto_columns": null,
1553
+ "grid_auto_flow": null,
1554
+ "grid_auto_rows": null,
1555
+ "grid_column": null,
1556
+ "grid_gap": null,
1557
+ "grid_row": null,
1558
+ "grid_template_areas": null,
1559
+ "grid_template_columns": null,
1560
+ "grid_template_rows": null,
1561
+ "height": null,
1562
+ "justify_content": null,
1563
+ "justify_items": null,
1564
+ "left": null,
1565
+ "margin": null,
1566
+ "max_height": null,
1567
+ "max_width": null,
1568
+ "min_height": null,
1569
+ "min_width": null,
1570
+ "object_fit": null,
1571
+ "object_position": null,
1572
+ "order": null,
1573
+ "overflow": null,
1574
+ "overflow_x": null,
1575
+ "overflow_y": null,
1576
+ "padding": null,
1577
+ "right": null,
1578
+ "top": null,
1579
+ "visibility": null,
1580
+ "width": null
1581
+ }
1582
+ },
1583
+ "0f28ef72d0424c70a1e69fdc4e192a5d": {
1584
+ "model_module": "@jupyter-widgets/controls",
1585
+ "model_name": "DescriptionStyleModel",
1586
+ "model_module_version": "1.5.0",
1587
+ "state": {
1588
+ "_model_module": "@jupyter-widgets/controls",
1589
+ "_model_module_version": "1.5.0",
1590
+ "_model_name": "DescriptionStyleModel",
1591
+ "_view_count": null,
1592
+ "_view_module": "@jupyter-widgets/base",
1593
+ "_view_module_version": "1.2.0",
1594
+ "_view_name": "StyleView",
1595
+ "description_width": ""
1596
+ }
1597
+ },
1598
+ "28c41b804b4448d0bc5dc444035e5f96": {
1599
+ "model_module": "@jupyter-widgets/base",
1600
+ "model_name": "LayoutModel",
1601
+ "model_module_version": "1.2.0",
1602
+ "state": {
1603
+ "_model_module": "@jupyter-widgets/base",
1604
+ "_model_module_version": "1.2.0",
1605
+ "_model_name": "LayoutModel",
1606
+ "_view_count": null,
1607
+ "_view_module": "@jupyter-widgets/base",
1608
+ "_view_module_version": "1.2.0",
1609
+ "_view_name": "LayoutView",
1610
+ "align_content": null,
1611
+ "align_items": null,
1612
+ "align_self": null,
1613
+ "border": null,
1614
+ "bottom": null,
1615
+ "display": null,
1616
+ "flex": null,
1617
+ "flex_flow": null,
1618
+ "grid_area": null,
1619
+ "grid_auto_columns": null,
1620
+ "grid_auto_flow": null,
1621
+ "grid_auto_rows": null,
1622
+ "grid_column": null,
1623
+ "grid_gap": null,
1624
+ "grid_row": null,
1625
+ "grid_template_areas": null,
1626
+ "grid_template_columns": null,
1627
+ "grid_template_rows": null,
1628
+ "height": null,
1629
+ "justify_content": null,
1630
+ "justify_items": null,
1631
+ "left": null,
1632
+ "margin": null,
1633
+ "max_height": null,
1634
+ "max_width": null,
1635
+ "min_height": null,
1636
+ "min_width": null,
1637
+ "object_fit": null,
1638
+ "object_position": null,
1639
+ "order": null,
1640
+ "overflow": null,
1641
+ "overflow_x": null,
1642
+ "overflow_y": null,
1643
+ "padding": null,
1644
+ "right": null,
1645
+ "top": null,
1646
+ "visibility": null,
1647
+ "width": null
1648
+ }
1649
+ },
1650
+ "e9d8d87bc9a24f799d66bb3b43f43065": {
1651
+ "model_module": "@jupyter-widgets/controls",
1652
+ "model_name": "ProgressStyleModel",
1653
+ "model_module_version": "1.5.0",
1654
+ "state": {
1655
+ "_model_module": "@jupyter-widgets/controls",
1656
+ "_model_module_version": "1.5.0",
1657
+ "_model_name": "ProgressStyleModel",
1658
+ "_view_count": null,
1659
+ "_view_module": "@jupyter-widgets/base",
1660
+ "_view_module_version": "1.2.0",
1661
+ "_view_name": "StyleView",
1662
+ "bar_color": null,
1663
+ "description_width": ""
1664
+ }
1665
+ },
1666
+ "13e01047f59a472b8849757c34bb8c44": {
1667
+ "model_module": "@jupyter-widgets/base",
1668
+ "model_name": "LayoutModel",
1669
+ "model_module_version": "1.2.0",
1670
+ "state": {
1671
+ "_model_module": "@jupyter-widgets/base",
1672
+ "_model_module_version": "1.2.0",
1673
+ "_model_name": "LayoutModel",
1674
+ "_view_count": null,
1675
+ "_view_module": "@jupyter-widgets/base",
1676
+ "_view_module_version": "1.2.0",
1677
+ "_view_name": "LayoutView",
1678
+ "align_content": null,
1679
+ "align_items": null,
1680
+ "align_self": null,
1681
+ "border": null,
1682
+ "bottom": null,
1683
+ "display": null,
1684
+ "flex": null,
1685
+ "flex_flow": null,
1686
+ "grid_area": null,
1687
+ "grid_auto_columns": null,
1688
+ "grid_auto_flow": null,
1689
+ "grid_auto_rows": null,
1690
+ "grid_column": null,
1691
+ "grid_gap": null,
1692
+ "grid_row": null,
1693
+ "grid_template_areas": null,
1694
+ "grid_template_columns": null,
1695
+ "grid_template_rows": null,
1696
+ "height": null,
1697
+ "justify_content": null,
1698
+ "justify_items": null,
1699
+ "left": null,
1700
+ "margin": null,
1701
+ "max_height": null,
1702
+ "max_width": null,
1703
+ "min_height": null,
1704
+ "min_width": null,
1705
+ "object_fit": null,
1706
+ "object_position": null,
1707
+ "order": null,
1708
+ "overflow": null,
1709
+ "overflow_x": null,
1710
+ "overflow_y": null,
1711
+ "padding": null,
1712
+ "right": null,
1713
+ "top": null,
1714
+ "visibility": null,
1715
+ "width": null
1716
+ }
1717
+ },
1718
+ "308dc62a44034b369c2d02a64056e0ec": {
1719
+ "model_module": "@jupyter-widgets/controls",
1720
+ "model_name": "DescriptionStyleModel",
1721
+ "model_module_version": "1.5.0",
1722
+ "state": {
1723
+ "_model_module": "@jupyter-widgets/controls",
1724
+ "_model_module_version": "1.5.0",
1725
+ "_model_name": "DescriptionStyleModel",
1726
+ "_view_count": null,
1727
+ "_view_module": "@jupyter-widgets/base",
1728
+ "_view_module_version": "1.2.0",
1729
+ "_view_name": "StyleView",
1730
+ "description_width": ""
1731
+ }
1732
+ }
1733
+ }
1734
+ }
1735
+ },
1736
+ "cells": [
1737
+ {
1738
+ "cell_type": "code",
1739
+ "source": [
1740
+ "!pip install torch transformers"
1741
+ ],
1742
+ "metadata": {
1743
+ "id": "SfzOc2dnvLvM",
1744
+ "outputId": "c2d62006-f225-4b3b-ca6f-adf3c8f7fc1e",
1745
+ "colab": {
1746
+ "base_uri": "https://localhost:8080/"
1747
+ }
1748
+ },
1749
+ "execution_count": 1,
1750
+ "outputs": [
1751
+ {
1752
+ "output_type": "stream",
1753
+ "name": "stdout",
1754
+ "text": [
1755
+ "Requirement already satisfied: torch in /usr/local/lib/python3.11/dist-packages (2.6.0+cu124)\n",
1756
+ "Requirement already satisfied: transformers in /usr/local/lib/python3.11/dist-packages (4.53.0)\n",
1757
+ "Requirement already satisfied: filelock in /usr/local/lib/python3.11/dist-packages (from torch) (3.18.0)\n",
1758
+ "Requirement already satisfied: typing-extensions>=4.10.0 in /usr/local/lib/python3.11/dist-packages (from torch) (4.14.0)\n",
1759
+ "Requirement already satisfied: networkx in /usr/local/lib/python3.11/dist-packages (from torch) (3.5)\n",
1760
+ "Requirement already satisfied: jinja2 in /usr/local/lib/python3.11/dist-packages (from torch) (3.1.6)\n",
1761
+ "Requirement already satisfied: fsspec in /usr/local/lib/python3.11/dist-packages (from torch) (2025.3.2)\n",
1762
+ "Collecting nvidia-cuda-nvrtc-cu12==12.4.127 (from torch)\n",
1763
+ " Downloading nvidia_cuda_nvrtc_cu12-12.4.127-py3-none-manylinux2014_x86_64.whl.metadata (1.5 kB)\n",
1764
+ "Collecting nvidia-cuda-runtime-cu12==12.4.127 (from torch)\n",
1765
+ " Downloading nvidia_cuda_runtime_cu12-12.4.127-py3-none-manylinux2014_x86_64.whl.metadata (1.5 kB)\n",
1766
+ "Collecting nvidia-cuda-cupti-cu12==12.4.127 (from torch)\n",
1767
+ " Downloading nvidia_cuda_cupti_cu12-12.4.127-py3-none-manylinux2014_x86_64.whl.metadata (1.6 kB)\n",
1768
+ "Collecting nvidia-cudnn-cu12==9.1.0.70 (from torch)\n",
1769
+ " Downloading nvidia_cudnn_cu12-9.1.0.70-py3-none-manylinux2014_x86_64.whl.metadata (1.6 kB)\n",
1770
+ "Collecting nvidia-cublas-cu12==12.4.5.8 (from torch)\n",
1771
+ " Downloading nvidia_cublas_cu12-12.4.5.8-py3-none-manylinux2014_x86_64.whl.metadata (1.5 kB)\n",
1772
+ "Collecting nvidia-cufft-cu12==11.2.1.3 (from torch)\n",
1773
+ " Downloading nvidia_cufft_cu12-11.2.1.3-py3-none-manylinux2014_x86_64.whl.metadata (1.5 kB)\n",
1774
+ "Collecting nvidia-curand-cu12==10.3.5.147 (from torch)\n",
1775
+ " Downloading nvidia_curand_cu12-10.3.5.147-py3-none-manylinux2014_x86_64.whl.metadata (1.5 kB)\n",
1776
+ "Collecting nvidia-cusolver-cu12==11.6.1.9 (from torch)\n",
1777
+ " Downloading nvidia_cusolver_cu12-11.6.1.9-py3-none-manylinux2014_x86_64.whl.metadata (1.6 kB)\n",
1778
+ "Collecting nvidia-cusparse-cu12==12.3.1.170 (from torch)\n",
1779
+ " Downloading nvidia_cusparse_cu12-12.3.1.170-py3-none-manylinux2014_x86_64.whl.metadata (1.6 kB)\n",
1780
+ "Requirement already satisfied: nvidia-cusparselt-cu12==0.6.2 in /usr/local/lib/python3.11/dist-packages (from torch) (0.6.2)\n",
1781
+ "Requirement already satisfied: nvidia-nccl-cu12==2.21.5 in /usr/local/lib/python3.11/dist-packages (from torch) (2.21.5)\n",
1782
+ "Requirement already satisfied: nvidia-nvtx-cu12==12.4.127 in /usr/local/lib/python3.11/dist-packages (from torch) (12.4.127)\n",
1783
+ "Collecting nvidia-nvjitlink-cu12==12.4.127 (from torch)\n",
1784
+ " Downloading nvidia_nvjitlink_cu12-12.4.127-py3-none-manylinux2014_x86_64.whl.metadata (1.5 kB)\n",
1785
+ "Requirement already satisfied: triton==3.2.0 in /usr/local/lib/python3.11/dist-packages (from torch) (3.2.0)\n",
1786
+ "Requirement already satisfied: sympy==1.13.1 in /usr/local/lib/python3.11/dist-packages (from torch) (1.13.1)\n",
1787
+ "Requirement already satisfied: mpmath<1.4,>=1.1.0 in /usr/local/lib/python3.11/dist-packages (from sympy==1.13.1->torch) (1.3.0)\n",
1788
+ "Requirement already satisfied: huggingface-hub<1.0,>=0.30.0 in /usr/local/lib/python3.11/dist-packages (from transformers) (0.33.1)\n",
1789
+ "Requirement already satisfied: numpy>=1.17 in /usr/local/lib/python3.11/dist-packages (from transformers) (2.0.2)\n",
1790
+ "Requirement already satisfied: packaging>=20.0 in /usr/local/lib/python3.11/dist-packages (from transformers) (24.2)\n",
1791
+ "Requirement already satisfied: pyyaml>=5.1 in /usr/local/lib/python3.11/dist-packages (from transformers) (6.0.2)\n",
1792
+ "Requirement already satisfied: regex!=2019.12.17 in /usr/local/lib/python3.11/dist-packages (from transformers) (2024.11.6)\n",
1793
+ "Requirement already satisfied: requests in /usr/local/lib/python3.11/dist-packages (from transformers) (2.32.3)\n",
1794
+ "Requirement already satisfied: tokenizers<0.22,>=0.21 in /usr/local/lib/python3.11/dist-packages (from transformers) (0.21.2)\n",
1795
+ "Requirement already satisfied: safetensors>=0.4.3 in /usr/local/lib/python3.11/dist-packages (from transformers) (0.5.3)\n",
1796
+ "Requirement already satisfied: tqdm>=4.27 in /usr/local/lib/python3.11/dist-packages (from transformers) (4.67.1)\n",
1797
+ "Requirement already satisfied: hf-xet<2.0.0,>=1.1.2 in /usr/local/lib/python3.11/dist-packages (from huggingface-hub<1.0,>=0.30.0->transformers) (1.1.5)\n",
1798
+ "Requirement already satisfied: MarkupSafe>=2.0 in /usr/local/lib/python3.11/dist-packages (from jinja2->torch) (3.0.2)\n",
1799
+ "Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.11/dist-packages (from requests->transformers) (3.4.2)\n",
1800
+ "Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.11/dist-packages (from requests->transformers) (3.10)\n",
1801
+ "Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.11/dist-packages (from requests->transformers) (2.4.0)\n",
1802
+ "Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.11/dist-packages (from requests->transformers) (2025.6.15)\n",
1803
+ "Downloading nvidia_cublas_cu12-12.4.5.8-py3-none-manylinux2014_x86_64.whl (363.4 MB)\n",
1804
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m363.4/363.4 MB\u001b[0m \u001b[31m4.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
1805
+ "\u001b[?25hDownloading nvidia_cuda_cupti_cu12-12.4.127-py3-none-manylinux2014_x86_64.whl (13.8 MB)\n",
1806
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m13.8/13.8 MB\u001b[0m \u001b[31m64.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
1807
+ "\u001b[?25hDownloading nvidia_cuda_nvrtc_cu12-12.4.127-py3-none-manylinux2014_x86_64.whl (24.6 MB)\n",
1808
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m24.6/24.6 MB\u001b[0m \u001b[31m38.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
1809
+ "\u001b[?25hDownloading nvidia_cuda_runtime_cu12-12.4.127-py3-none-manylinux2014_x86_64.whl (883 kB)\n",
1810
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m883.7/883.7 kB\u001b[0m \u001b[31m32.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
1811
+ "\u001b[?25hDownloading nvidia_cudnn_cu12-9.1.0.70-py3-none-manylinux2014_x86_64.whl (664.8 MB)\n",
1812
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m664.8/664.8 MB\u001b[0m \u001b[31m2.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
1813
+ "\u001b[?25hDownloading nvidia_cufft_cu12-11.2.1.3-py3-none-manylinux2014_x86_64.whl (211.5 MB)\n",
1814
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m211.5/211.5 MB\u001b[0m \u001b[31m5.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
1815
+ "\u001b[?25hDownloading nvidia_curand_cu12-10.3.5.147-py3-none-manylinux2014_x86_64.whl (56.3 MB)\n",
1816
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m56.3/56.3 MB\u001b[0m \u001b[31m13.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
1817
+ "\u001b[?25hDownloading nvidia_cusolver_cu12-11.6.1.9-py3-none-manylinux2014_x86_64.whl (127.9 MB)\n",
1818
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m127.9/127.9 MB\u001b[0m \u001b[31m7.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
1819
+ "\u001b[?25hDownloading nvidia_cusparse_cu12-12.3.1.170-py3-none-manylinux2014_x86_64.whl (207.5 MB)\n",
1820
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m207.5/207.5 MB\u001b[0m \u001b[31m5.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
1821
+ "\u001b[?25hDownloading nvidia_nvjitlink_cu12-12.4.127-py3-none-manylinux2014_x86_64.whl (21.1 MB)\n",
1822
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m21.1/21.1 MB\u001b[0m \u001b[31m109.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
1823
+ "\u001b[?25hInstalling collected packages: nvidia-nvjitlink-cu12, nvidia-curand-cu12, nvidia-cufft-cu12, nvidia-cuda-runtime-cu12, nvidia-cuda-nvrtc-cu12, nvidia-cuda-cupti-cu12, nvidia-cublas-cu12, nvidia-cusparse-cu12, nvidia-cudnn-cu12, nvidia-cusolver-cu12\n",
1824
+ " Attempting uninstall: nvidia-nvjitlink-cu12\n",
1825
+ " Found existing installation: nvidia-nvjitlink-cu12 12.5.82\n",
1826
+ " Uninstalling nvidia-nvjitlink-cu12-12.5.82:\n",
1827
+ " Successfully uninstalled nvidia-nvjitlink-cu12-12.5.82\n",
1828
+ " Attempting uninstall: nvidia-curand-cu12\n",
1829
+ " Found existing installation: nvidia-curand-cu12 10.3.6.82\n",
1830
+ " Uninstalling nvidia-curand-cu12-10.3.6.82:\n",
1831
+ " Successfully uninstalled nvidia-curand-cu12-10.3.6.82\n",
1832
+ " Attempting uninstall: nvidia-cufft-cu12\n",
1833
+ " Found existing installation: nvidia-cufft-cu12 11.2.3.61\n",
1834
+ " Uninstalling nvidia-cufft-cu12-11.2.3.61:\n",
1835
+ " Successfully uninstalled nvidia-cufft-cu12-11.2.3.61\n",
1836
+ " Attempting uninstall: nvidia-cuda-runtime-cu12\n",
1837
+ " Found existing installation: nvidia-cuda-runtime-cu12 12.5.82\n",
1838
+ " Uninstalling nvidia-cuda-runtime-cu12-12.5.82:\n",
1839
+ " Successfully uninstalled nvidia-cuda-runtime-cu12-12.5.82\n",
1840
+ " Attempting uninstall: nvidia-cuda-nvrtc-cu12\n",
1841
+ " Found existing installation: nvidia-cuda-nvrtc-cu12 12.5.82\n",
1842
+ " Uninstalling nvidia-cuda-nvrtc-cu12-12.5.82:\n",
1843
+ " Successfully uninstalled nvidia-cuda-nvrtc-cu12-12.5.82\n",
1844
+ " Attempting uninstall: nvidia-cuda-cupti-cu12\n",
1845
+ " Found existing installation: nvidia-cuda-cupti-cu12 12.5.82\n",
1846
+ " Uninstalling nvidia-cuda-cupti-cu12-12.5.82:\n",
1847
+ " Successfully uninstalled nvidia-cuda-cupti-cu12-12.5.82\n",
1848
+ " Attempting uninstall: nvidia-cublas-cu12\n",
1849
+ " Found existing installation: nvidia-cublas-cu12 12.5.3.2\n",
1850
+ " Uninstalling nvidia-cublas-cu12-12.5.3.2:\n",
1851
+ " Successfully uninstalled nvidia-cublas-cu12-12.5.3.2\n",
1852
+ " Attempting uninstall: nvidia-cusparse-cu12\n",
1853
+ " Found existing installation: nvidia-cusparse-cu12 12.5.1.3\n",
1854
+ " Uninstalling nvidia-cusparse-cu12-12.5.1.3:\n",
1855
+ " Successfully uninstalled nvidia-cusparse-cu12-12.5.1.3\n",
1856
+ " Attempting uninstall: nvidia-cudnn-cu12\n",
1857
+ " Found existing installation: nvidia-cudnn-cu12 9.3.0.75\n",
1858
+ " Uninstalling nvidia-cudnn-cu12-9.3.0.75:\n",
1859
+ " Successfully uninstalled nvidia-cudnn-cu12-9.3.0.75\n",
1860
+ " Attempting uninstall: nvidia-cusolver-cu12\n",
1861
+ " Found existing installation: nvidia-cusolver-cu12 11.6.3.83\n",
1862
+ " Uninstalling nvidia-cusolver-cu12-11.6.3.83:\n",
1863
+ " Successfully uninstalled nvidia-cusolver-cu12-11.6.3.83\n",
1864
+ "Successfully installed nvidia-cublas-cu12-12.4.5.8 nvidia-cuda-cupti-cu12-12.4.127 nvidia-cuda-nvrtc-cu12-12.4.127 nvidia-cuda-runtime-cu12-12.4.127 nvidia-cudnn-cu12-9.1.0.70 nvidia-cufft-cu12-11.2.1.3 nvidia-curand-cu12-10.3.5.147 nvidia-cusolver-cu12-11.6.1.9 nvidia-cusparse-cu12-12.3.1.170 nvidia-nvjitlink-cu12-12.4.127\n"
1865
+ ]
1866
+ }
1867
+ ]
1868
+ },
1869
+ {
1870
+ "cell_type": "markdown",
1871
+ "source": [],
1872
+ "metadata": {
1873
+ "id": "6tHeTpAN_9bR"
1874
+ }
1875
+ },
1876
+ {
1877
+ "cell_type": "markdown",
1878
+ "source": [],
1879
+ "metadata": {
1880
+ "id": "Zm_788_HAU9-"
1881
+ }
1882
+ },
1883
+ {
1884
+ "cell_type": "code",
1885
+ "source": [
1886
+ "from transformers import BertModel, BertTokenizer\n",
1887
+ "import torch\n",
1888
+ "import torch.nn as nn\n",
1889
+ "\n",
1890
+ "# Define the ROSA model class\n",
1891
+ "class Rosa(nn.Module):\n",
1892
+ " def __init__(self, model_name=\"bert-base-uncased\", num_emotions=28):\n",
1893
+ " super().__init__()\n",
1894
+ " self.heart = BertModel.from_pretrained(model_name)\n",
1895
+ " self.grace = nn.Dropout(0.3)\n",
1896
+ " self.bloom = nn.Linear(self.heart.config.hidden_size, num_emotions)\n",
1897
+ "\n",
1898
+ " def forward(self, input_ids, attention_mask):\n",
1899
+ " petals = self.heart(input_ids=input_ids, attention_mask=attention_mask)\n",
1900
+ " pooled = petals.pooler_output\n",
1901
+ " softened = self.grace(pooled)\n",
1902
+ " logits = self.bloom(softened)\n",
1903
+ " return logits\n"
1904
+ ],
1905
+ "metadata": {
1906
+ "id": "GYa2FYFQv8NN"
1907
+ },
1908
+ "execution_count": 2,
1909
+ "outputs": []
1910
+ },
1911
+ {
1912
+ "cell_type": "code",
1913
+ "source": [
1914
+ "# Download model weights (.pt) from your Hugging Face model repo\n",
1915
+ "!wget https://huggingface.co/willt-dc/Rosa-V1/resolve/main/rosa.pt"
1916
+ ],
1917
+ "metadata": {
1918
+ "id": "Mqu4WstbwM9h",
1919
+ "outputId": "79889605-93b8-4954-cd77-13af5b832926",
1920
+ "colab": {
1921
+ "base_uri": "https://localhost:8080/"
1922
+ }
1923
+ },
1924
+ "execution_count": 3,
1925
+ "outputs": [
1926
+ {
1927
+ "output_type": "stream",
1928
+ "name": "stdout",
1929
+ "text": [
1930
+ "--2025-07-06 04:14:13-- https://huggingface.co/willt-dc/Rosa-V1/resolve/main/rosa.pt\n",
1931
+ "Resolving huggingface.co (huggingface.co)... 3.163.189.74, 3.163.189.90, 3.163.189.114, ...\n",
1932
+ "Connecting to huggingface.co (huggingface.co)|3.163.189.74|:443... connected.\n",
1933
+ "HTTP request sent, awaiting response... 302 Found\n",
1934
+ "Location: https://cdn-lfs-us-1.hf.co/repos/5f/6a/5f6ab047273cacf29e23346367a908adbedfedd393c94ff329ca0e456f2a2109/794208af7d8065a964ee7327477f670fccd93b1c955263ebcc5b8ac0613f4ebb?response-content-disposition=inline%3B+filename*%3DUTF-8%27%27rosa.pt%3B+filename%3D%22rosa.pt%22%3B&Expires=1751778853&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTc1MTc3ODg1M319LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy11cy0xLmhmLmNvL3JlcG9zLzVmLzZhLzVmNmFiMDQ3MjczY2FjZjI5ZTIzMzQ2MzY3YTkwOGFkYmVkZmVkZDM5M2M5NGZmMzI5Y2EwZTQ1NmYyYTIxMDkvNzk0MjA4YWY3ZDgwNjVhOTY0ZWU3MzI3NDc3ZjY3MGZjY2Q5M2IxYzk1NTI2M2ViY2M1YjhhYzA2MTNmNGViYj9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPSoifV19&Signature=EXMuY0KsGFmu-jqOYmXjgV17bH8KlSlWtMkFr7jGGy9VerG3jv3A-sAZGnJC2M%7EicB3CEXEuB%7EesofIlT8%7EsXleDId-imASXjf73C59aBi3yeoyNysE6mYk7sQ5vAJNYBJ9XM8A2%7Eveu7xVkB9n4lMPNdi5rSx4c5PpGQjFnfbpPRUzP5Esaf257DxELL-oUFrCPEJRhwRsnPJheDAG5x4wUal73asknCNSSQuuAShvv8KD%7EQwjeXXUPopDeQJyuis%7E3M2KEURqWcIwU48dPDHNeksU947uwUS88IlZGhvE61CTOCwjlWg-1uMtf0lBK7RkUm1lWfDbxURowoSNWEA__&Key-Pair-Id=K24J24Z295AEI9 [following]\n",
1935
+ "--2025-07-06 04:14:13-- https://cdn-lfs-us-1.hf.co/repos/5f/6a/5f6ab047273cacf29e23346367a908adbedfedd393c94ff329ca0e456f2a2109/794208af7d8065a964ee7327477f670fccd93b1c955263ebcc5b8ac0613f4ebb?response-content-disposition=inline%3B+filename*%3DUTF-8%27%27rosa.pt%3B+filename%3D%22rosa.pt%22%3B&Expires=1751778853&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTc1MTc3ODg1M319LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy11cy0xLmhmLmNvL3JlcG9zLzVmLzZhLzVmNmFiMDQ3MjczY2FjZjI5ZTIzMzQ2MzY3YTkwOGFkYmVkZmVkZDM5M2M5NGZmMzI5Y2EwZTQ1NmYyYTIxMDkvNzk0MjA4YWY3ZDgwNjVhOTY0ZWU3MzI3NDc3ZjY3MGZjY2Q5M2IxYzk1NTI2M2ViY2M1YjhhYzA2MTNmNGViYj9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPSoifV19&Signature=EXMuY0KsGFmu-jqOYmXjgV17bH8KlSlWtMkFr7jGGy9VerG3jv3A-sAZGnJC2M%7EicB3CEXEuB%7EesofIlT8%7EsXleDId-imASXjf73C59aBi3yeoyNysE6mYk7sQ5vAJNYBJ9XM8A2%7Eveu7xVkB9n4lMPNdi5rSx4c5PpGQjFnfbpPRUzP5Esaf257DxELL-oUFrCPEJRhwRsnPJheDAG5x4wUal73asknCNSSQuuAShvv8KD%7EQwjeXXUPopDeQJyuis%7E3M2KEURqWcIwU48dPDHNeksU947uwUS88IlZGhvE61CTOCwjlWg-1uMtf0lBK7RkUm1lWfDbxURowoSNWEA__&Key-Pair-Id=K24J24Z295AEI9\n",
1936
+ "Resolving cdn-lfs-us-1.hf.co (cdn-lfs-us-1.hf.co)... 18.238.217.89, 18.238.217.75, 18.238.217.92, ...\n",
1937
+ "Connecting to cdn-lfs-us-1.hf.co (cdn-lfs-us-1.hf.co)|18.238.217.89|:443... connected.\n",
1938
+ "HTTP request sent, awaiting response... 200 OK\n",
1939
+ "Length: 438084096 (418M) [binary/octet-stream]\n",
1940
+ "Saving to: ‘rosa.pt’\n",
1941
+ "\n",
1942
+ "rosa.pt 100%[===================>] 417.79M 285MB/s in 1.5s \n",
1943
+ "\n",
1944
+ "2025-07-06 04:14:15 (285 MB/s) - ‘rosa.pt’ saved [438084096/438084096]\n",
1945
+ "\n"
1946
+ ]
1947
+ }
1948
+ ]
1949
+ },
1950
+ {
1951
+ "cell_type": "code",
1952
+ "source": [
1953
+ "# Load tokenizer and model\n",
1954
+ "tokenizer = BertTokenizer.from_pretrained(\"bert-base-uncased\")\n",
1955
+ "model = Rosa(num_emotions=28)\n",
1956
+ "model.load_state_dict(torch.load(\"rosa.pt\", map_location=torch.device(\"cpu\")))\n",
1957
+ "model.eval()\n",
1958
+ "\n",
1959
+ "# Run inference on your text\n",
1960
+ "def predict(text):\n",
1961
+ " inputs = tokenizer(text, return_tensors=\"pt\", truncation=True, padding=True)\n",
1962
+ " model_inputs = {\n",
1963
+ " \"input_ids\": inputs[\"input_ids\"],\n",
1964
+ " \"attention_mask\": inputs[\"attention_mask\"]\n",
1965
+ "}\n",
1966
+ " with torch.no_grad():\n",
1967
+ " logits = model(**model_inputs)\n",
1968
+ " probs = torch.sigmoid(logits).squeeze()\n",
1969
+ " return probs\n",
1970
+ "\n",
1971
+ "# Example\n",
1972
+ "text = \"And all I loved, I loved alone\"\n",
1973
+ "probs = predict(text)\n",
1974
+ "\n",
1975
+ "# Emotion labels\n",
1976
+ "emotion_labels = [\n",
1977
+ " \"admiration\", \"amusement\", \"anger\", \"annoyance\", \"approval\", \"caring\",\n",
1978
+ " \"confusion\", \"curiosity\", \"desire\", \"disappointment\", \"disapproval\",\n",
1979
+ " \"disgust\", \"embarrassment\", \"excitement\", \"fear\", \"gratitude\", \"grief\",\n",
1980
+ " \"joy\", \"love\", \"nervousness\", \"optimism\", \"pride\", \"realization\", \"relief\",\n",
1981
+ " \"remorse\", \"sadness\", \"surprise\", \"neautral\"\n",
1982
+ "]\n",
1983
+ "\n",
1984
+ "# Print nicely\n",
1985
+ "for label, prob in zip(emotion_labels, probs.tolist()):\n",
1986
+ " print(f\"{label:<15}: {prob:.4f}\")\n"
1987
+ ],
1988
+ "metadata": {
1989
+ "id": "jmh6TCWHwV_C",
1990
+ "outputId": "55e6a846-1fac-4a85-ff4b-7eeb72690cb6",
1991
+ "colab": {
1992
+ "base_uri": "https://localhost:8080/",
1993
+ "height": 787,
1994
+ "referenced_widgets": [
1995
+ "25695111ed824dabb39b49e187ca8377",
1996
+ "7cdeb618f8c245f88115f9efe1cb215a",
1997
+ "cefda06cf56a445fa2bca589598a8808",
1998
+ "5fca52838aa948f2a22aa92191622548",
1999
+ "c201c8d58bb744949a7d296f6f4d43f7",
2000
+ "881fe3baf9404ebe93facda6dcab10c8",
2001
+ "2254d6b674894c00bc4c266409d4f8d4",
2002
+ "f09ea2bac7124d609e756193f6f7b68f",
2003
+ "965d73b03fa3444087f4a1ae5a622120",
2004
+ "5f0ad285ec494a9b9633c7fe4b8e956a",
2005
+ "f132d8fcdcc04808b16aa6a8fc548baf",
2006
+ "1dd730816fde442eb73f54495a8e4cb8",
2007
+ "be36cb7bbcaf4574915b3ddec99f4ae8",
2008
+ "ad31e194e4754dc58e995665bafd38f8",
2009
+ "fb7015e03ed94e6d81594e8e1979fd9f",
2010
+ "c7e10c1421d747f796d1567cd2fd8cde",
2011
+ "a85569145a3545ed9dbc6c3d6236f0a9",
2012
+ "8d3c4e68989e4a0d90f0ec72e2e951b8",
2013
+ "8d9da383fe8c46459eaadf1588a83988",
2014
+ "c97bcd7876414a32ae8019c6b4b8be9d",
2015
+ "ad4b03f221d04231b60be29817549012",
2016
+ "25abcd0de5be44b1aafbe934c57119b9",
2017
+ "7a3d14a16eff40ef9fe100aea16f2f9c",
2018
+ "9963d18fe9c1481390539befafc848f6",
2019
+ "5c9ca457a3e74f92b8e4ff4812e77d56",
2020
+ "8fc133d4c78341f79e5cbf398b0d8dd1",
2021
+ "1533ccae39104ff3b3df295d7d6aa23c",
2022
+ "3dad56cfc6e740d4ac8334ee22231b5d",
2023
+ "2008d064b7eb490ba9293b5f0f6d8915",
2024
+ "f3a6f8a77a834bcaaaa83378f229cc08",
2025
+ "61f7548f811043c391d7c3f02b3f0a71",
2026
+ "05510606ad2d4d928c8e611617089a4d",
2027
+ "7e1e3339d2b149b0ac2e1531b295e8a9",
2028
+ "392c8c37640345438fb7f03fa71ca896",
2029
+ "e303ded092b048c48976b60d4e61612c",
2030
+ "fb21ed9a4a4141e999d34321a3a2013f",
2031
+ "e0f2c184d9b94781b2874e80f4f9cbec",
2032
+ "1a3169f71ffd4b7eb20822dff0dd4106",
2033
+ "3fd4b03a39f24c8b959749fbeeea89f6",
2034
+ "b3956f8ba6c44d58b07435eefce61e06",
2035
+ "849a5d4c1eef48669613c205f20438b2",
2036
+ "32586109edf64739b24f76b42c86e8e9",
2037
+ "fecfb16eb63e4729a17af48d278ee24c",
2038
+ "0e66a5bc753f4817a207dbba945b9717",
2039
+ "145c1d5b3d7646779d2a834efea5025b",
2040
+ "21fbcd445d9948f29e306f1796f05de6",
2041
+ "36f817aa53c34443a027570ab3d11beb",
2042
+ "c487f826c8e94e8a890c0b4c6a3a12f4",
2043
+ "1905f601604446cb8e8bb2948fbceb8e",
2044
+ "4403a2962611451290841a6dc805a8cc",
2045
+ "0f28ef72d0424c70a1e69fdc4e192a5d",
2046
+ "28c41b804b4448d0bc5dc444035e5f96",
2047
+ "e9d8d87bc9a24f799d66bb3b43f43065",
2048
+ "13e01047f59a472b8849757c34bb8c44",
2049
+ "308dc62a44034b369c2d02a64056e0ec"
2050
+ ]
2051
+ }
2052
+ },
2053
+ "execution_count": 4,
2054
+ "outputs": [
2055
+ {
2056
+ "output_type": "stream",
2057
+ "name": "stderr",
2058
+ "text": [
2059
+ "/usr/local/lib/python3.11/dist-packages/huggingface_hub/utils/_auth.py:94: UserWarning: \n",
2060
+ "The secret `HF_TOKEN` does not exist in your Colab secrets.\n",
2061
+ "To authenticate with the Hugging Face Hub, create a token in your settings tab (https://huggingface.co/settings/tokens), set it as secret in your Google Colab and restart your session.\n",
2062
+ "You will be able to reuse this secret in all of your notebooks.\n",
2063
+ "Please note that authentication is recommended but still optional to access public models or datasets.\n",
2064
+ " warnings.warn(\n"
2065
+ ]
2066
+ },
2067
+ {
2068
+ "output_type": "display_data",
2069
+ "data": {
2070
+ "text/plain": [
2071
+ "tokenizer_config.json: 0%| | 0.00/48.0 [00:00<?, ?B/s]"
2072
+ ],
2073
+ "application/vnd.jupyter.widget-view+json": {
2074
+ "version_major": 2,
2075
+ "version_minor": 0,
2076
+ "model_id": "25695111ed824dabb39b49e187ca8377"
2077
+ }
2078
+ },
2079
+ "metadata": {}
2080
+ },
2081
+ {
2082
+ "output_type": "display_data",
2083
+ "data": {
2084
+ "text/plain": [
2085
+ "vocab.txt: 0%| | 0.00/232k [00:00<?, ?B/s]"
2086
+ ],
2087
+ "application/vnd.jupyter.widget-view+json": {
2088
+ "version_major": 2,
2089
+ "version_minor": 0,
2090
+ "model_id": "1dd730816fde442eb73f54495a8e4cb8"
2091
+ }
2092
+ },
2093
+ "metadata": {}
2094
+ },
2095
+ {
2096
+ "output_type": "display_data",
2097
+ "data": {
2098
+ "text/plain": [
2099
+ "tokenizer.json: 0%| | 0.00/466k [00:00<?, ?B/s]"
2100
+ ],
2101
+ "application/vnd.jupyter.widget-view+json": {
2102
+ "version_major": 2,
2103
+ "version_minor": 0,
2104
+ "model_id": "7a3d14a16eff40ef9fe100aea16f2f9c"
2105
+ }
2106
+ },
2107
+ "metadata": {}
2108
+ },
2109
+ {
2110
+ "output_type": "display_data",
2111
+ "data": {
2112
+ "text/plain": [
2113
+ "config.json: 0%| | 0.00/570 [00:00<?, ?B/s]"
2114
+ ],
2115
+ "application/vnd.jupyter.widget-view+json": {
2116
+ "version_major": 2,
2117
+ "version_minor": 0,
2118
+ "model_id": "392c8c37640345438fb7f03fa71ca896"
2119
+ }
2120
+ },
2121
+ "metadata": {}
2122
+ },
2123
+ {
2124
+ "output_type": "display_data",
2125
+ "data": {
2126
+ "text/plain": [
2127
+ "model.safetensors: 0%| | 0.00/440M [00:00<?, ?B/s]"
2128
+ ],
2129
+ "application/vnd.jupyter.widget-view+json": {
2130
+ "version_major": 2,
2131
+ "version_minor": 0,
2132
+ "model_id": "145c1d5b3d7646779d2a834efea5025b"
2133
+ }
2134
+ },
2135
+ "metadata": {}
2136
+ },
2137
+ {
2138
+ "output_type": "stream",
2139
+ "name": "stdout",
2140
+ "text": [
2141
+ "admiration : 0.0305\n",
2142
+ "amusement : 0.0076\n",
2143
+ "anger : 0.0059\n",
2144
+ "annoyance : 0.0065\n",
2145
+ "approval : 0.0187\n",
2146
+ "caring : 0.0072\n",
2147
+ "confusion : 0.0045\n",
2148
+ "curiosity : 0.0078\n",
2149
+ "desire : 0.0084\n",
2150
+ "disappointment : 0.0062\n",
2151
+ "disapproval : 0.0073\n",
2152
+ "disgust : 0.0023\n",
2153
+ "embarrassment : 0.0022\n",
2154
+ "excitement : 0.0089\n",
2155
+ "fear : 0.0021\n",
2156
+ "gratitude : 0.0119\n",
2157
+ "grief : 0.0013\n",
2158
+ "joy : 0.0221\n",
2159
+ "love : 0.9037\n",
2160
+ "nervousness : 0.0014\n",
2161
+ "optimism : 0.0094\n",
2162
+ "pride : 0.0016\n",
2163
+ "realization : 0.0080\n",
2164
+ "relief : 0.0022\n",
2165
+ "remorse : 0.0051\n",
2166
+ "sadness : 0.0082\n",
2167
+ "surprise : 0.0054\n",
2168
+ "neautral : 0.0204\n"
2169
+ ]
2170
+ }
2171
+ ]
2172
+ },
2173
+ {
2174
+ "cell_type": "markdown",
2175
+ "source": [
2176
+ "## Local Inference on GPU\n",
2177
+ "Model page: https://huggingface.co/willt-dc/Rosa-V1\n",
2178
+ "\n",
2179
+ "⚠️ If the generated code snippets do not work, please open an issue on either the [model repo](https://huggingface.co/willt-dc/Rosa-V1)\n",
2180
+ "\t\t\tand/or on [huggingface.js](https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/src/model-libraries-snippets.ts) 🙏"
2181
+ ],
2182
+ "metadata": {
2183
+ "id": "c2WZcz0zvLvQ"
2184
+ }
2185
+ }
2186
+ ]
2187
+ }