Alfaisal101 commited on
Commit
cf8fd6a
·
verified ·
1 Parent(s): eebc8ca

Upload 2 files

Browse files
Files changed (2) hide show
  1. Huggy.zip +3 -0
  2. HuggytheDog.ipynb +1341 -0
Huggy.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b35692b1d867f74fdf8987a911700e06ff24d40b95b935460ccd175e3712d28
3
+ size 39214997
HuggytheDog.ipynb ADDED
@@ -0,0 +1,1341 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "nbformat": 4,
3
+ "nbformat_minor": 0,
4
+ "metadata": {
5
+ "colab": {
6
+ "provenance": []
7
+ },
8
+ "kernelspec": {
9
+ "name": "python3",
10
+ "display_name": "Python 3"
11
+ },
12
+ "language_info": {
13
+ "name": "python"
14
+ },
15
+ "widgets": {
16
+ "application/vnd.jupyter.widget-state+json": {
17
+ "ba3ffd7bb01a4cafa2635b5f106bc1cd": {
18
+ "model_module": "@jupyter-widgets/controls",
19
+ "model_name": "VBoxModel",
20
+ "model_module_version": "1.5.0",
21
+ "state": {
22
+ "_dom_classes": [],
23
+ "_model_module": "@jupyter-widgets/controls",
24
+ "_model_module_version": "1.5.0",
25
+ "_model_name": "VBoxModel",
26
+ "_view_count": null,
27
+ "_view_module": "@jupyter-widgets/controls",
28
+ "_view_module_version": "1.5.0",
29
+ "_view_name": "VBoxView",
30
+ "box_style": "",
31
+ "children": [
32
+ "IPY_MODEL_071b0a7cb7ff4fa9b4a50d2bdbcfc01a",
33
+ "IPY_MODEL_26cedad581804b40817c4db80b44d56d",
34
+ "IPY_MODEL_cf76cc497c424249b7e449ea5589e90b",
35
+ "IPY_MODEL_825548fb63f8444a89940aca63bc7b83"
36
+ ],
37
+ "layout": "IPY_MODEL_251fd2fec80a4ec7a59272a41d379d2f"
38
+ }
39
+ },
40
+ "c41a41b0e9f14ed88a0e1bdbe80d754c": {
41
+ "model_module": "@jupyter-widgets/controls",
42
+ "model_name": "HTMLModel",
43
+ "model_module_version": "1.5.0",
44
+ "state": {
45
+ "_dom_classes": [],
46
+ "_model_module": "@jupyter-widgets/controls",
47
+ "_model_module_version": "1.5.0",
48
+ "_model_name": "HTMLModel",
49
+ "_view_count": null,
50
+ "_view_module": "@jupyter-widgets/controls",
51
+ "_view_module_version": "1.5.0",
52
+ "_view_name": "HTMLView",
53
+ "description": "",
54
+ "description_tooltip": null,
55
+ "layout": "IPY_MODEL_d59e27cb10f44d16b63f0868a283dfe6",
56
+ "placeholder": "​",
57
+ "style": "IPY_MODEL_23853a0320f3423d8f37213a6f1afec0",
58
+ "value": "<center> <img\nsrc=https://huggingface.co/front/assets/huggingface_logo-noborder.svg\nalt='Hugging Face'> <br> Copy a token from <a\nhref=\"https://huggingface.co/settings/tokens\" target=\"_blank\">your Hugging Face\ntokens page</a> and paste it below. <br> Immediately click login after copying\nyour token or it might be stored in plain text in this notebook file. </center>"
59
+ }
60
+ },
61
+ "de682414aefb45c7beb124d2ff029844": {
62
+ "model_module": "@jupyter-widgets/controls",
63
+ "model_name": "PasswordModel",
64
+ "model_module_version": "1.5.0",
65
+ "state": {
66
+ "_dom_classes": [],
67
+ "_model_module": "@jupyter-widgets/controls",
68
+ "_model_module_version": "1.5.0",
69
+ "_model_name": "PasswordModel",
70
+ "_view_count": null,
71
+ "_view_module": "@jupyter-widgets/controls",
72
+ "_view_module_version": "1.5.0",
73
+ "_view_name": "PasswordView",
74
+ "continuous_update": true,
75
+ "description": "Token:",
76
+ "description_tooltip": null,
77
+ "disabled": false,
78
+ "layout": "IPY_MODEL_f7220d55fa1a4fd2933c148f94ef7092",
79
+ "placeholder": "​",
80
+ "style": "IPY_MODEL_6555a2944f1f408db5ab508472eb1710",
81
+ "value": ""
82
+ }
83
+ },
84
+ "380f1c7ab66d44d79fe1241433b3de58": {
85
+ "model_module": "@jupyter-widgets/controls",
86
+ "model_name": "CheckboxModel",
87
+ "model_module_version": "1.5.0",
88
+ "state": {
89
+ "_dom_classes": [],
90
+ "_model_module": "@jupyter-widgets/controls",
91
+ "_model_module_version": "1.5.0",
92
+ "_model_name": "CheckboxModel",
93
+ "_view_count": null,
94
+ "_view_module": "@jupyter-widgets/controls",
95
+ "_view_module_version": "1.5.0",
96
+ "_view_name": "CheckboxView",
97
+ "description": "Add token as git credential?",
98
+ "description_tooltip": null,
99
+ "disabled": false,
100
+ "indent": true,
101
+ "layout": "IPY_MODEL_262b7fcaa1a545c1948f42283c763506",
102
+ "style": "IPY_MODEL_4b83ced9a7924ae9ad9209c92e445c55",
103
+ "value": true
104
+ }
105
+ },
106
+ "0da59d818fa44cde9cbc8b803bd30d38": {
107
+ "model_module": "@jupyter-widgets/controls",
108
+ "model_name": "ButtonModel",
109
+ "model_module_version": "1.5.0",
110
+ "state": {
111
+ "_dom_classes": [],
112
+ "_model_module": "@jupyter-widgets/controls",
113
+ "_model_module_version": "1.5.0",
114
+ "_model_name": "ButtonModel",
115
+ "_view_count": null,
116
+ "_view_module": "@jupyter-widgets/controls",
117
+ "_view_module_version": "1.5.0",
118
+ "_view_name": "ButtonView",
119
+ "button_style": "",
120
+ "description": "Login",
121
+ "disabled": false,
122
+ "icon": "",
123
+ "layout": "IPY_MODEL_2cfff59e91eb45a4a33ae45c886ee188",
124
+ "style": "IPY_MODEL_236f1354946a471699ed746856f6ebce",
125
+ "tooltip": ""
126
+ }
127
+ },
128
+ "4dd3d809e24f4c8388e0ca126dc9f1a2": {
129
+ "model_module": "@jupyter-widgets/controls",
130
+ "model_name": "HTMLModel",
131
+ "model_module_version": "1.5.0",
132
+ "state": {
133
+ "_dom_classes": [],
134
+ "_model_module": "@jupyter-widgets/controls",
135
+ "_model_module_version": "1.5.0",
136
+ "_model_name": "HTMLModel",
137
+ "_view_count": null,
138
+ "_view_module": "@jupyter-widgets/controls",
139
+ "_view_module_version": "1.5.0",
140
+ "_view_name": "HTMLView",
141
+ "description": "",
142
+ "description_tooltip": null,
143
+ "layout": "IPY_MODEL_1b463f3730964499b5872d45057ea7f1",
144
+ "placeholder": "​",
145
+ "style": "IPY_MODEL_23c6a79f7ab44019b2e331531187edbe",
146
+ "value": "\n<b>Pro Tip:</b> If you don't already have one, you can create a dedicated\n'notebooks' token with 'write' access, that you can then easily reuse for all\nnotebooks. </center>"
147
+ }
148
+ },
149
+ "251fd2fec80a4ec7a59272a41d379d2f": {
150
+ "model_module": "@jupyter-widgets/base",
151
+ "model_name": "LayoutModel",
152
+ "model_module_version": "1.2.0",
153
+ "state": {
154
+ "_model_module": "@jupyter-widgets/base",
155
+ "_model_module_version": "1.2.0",
156
+ "_model_name": "LayoutModel",
157
+ "_view_count": null,
158
+ "_view_module": "@jupyter-widgets/base",
159
+ "_view_module_version": "1.2.0",
160
+ "_view_name": "LayoutView",
161
+ "align_content": null,
162
+ "align_items": "center",
163
+ "align_self": null,
164
+ "border": null,
165
+ "bottom": null,
166
+ "display": "flex",
167
+ "flex": null,
168
+ "flex_flow": "column",
169
+ "grid_area": null,
170
+ "grid_auto_columns": null,
171
+ "grid_auto_flow": null,
172
+ "grid_auto_rows": null,
173
+ "grid_column": null,
174
+ "grid_gap": null,
175
+ "grid_row": null,
176
+ "grid_template_areas": null,
177
+ "grid_template_columns": null,
178
+ "grid_template_rows": null,
179
+ "height": null,
180
+ "justify_content": null,
181
+ "justify_items": null,
182
+ "left": null,
183
+ "margin": null,
184
+ "max_height": null,
185
+ "max_width": null,
186
+ "min_height": null,
187
+ "min_width": null,
188
+ "object_fit": null,
189
+ "object_position": null,
190
+ "order": null,
191
+ "overflow": null,
192
+ "overflow_x": null,
193
+ "overflow_y": null,
194
+ "padding": null,
195
+ "right": null,
196
+ "top": null,
197
+ "visibility": null,
198
+ "width": "50%"
199
+ }
200
+ },
201
+ "d59e27cb10f44d16b63f0868a283dfe6": {
202
+ "model_module": "@jupyter-widgets/base",
203
+ "model_name": "LayoutModel",
204
+ "model_module_version": "1.2.0",
205
+ "state": {
206
+ "_model_module": "@jupyter-widgets/base",
207
+ "_model_module_version": "1.2.0",
208
+ "_model_name": "LayoutModel",
209
+ "_view_count": null,
210
+ "_view_module": "@jupyter-widgets/base",
211
+ "_view_module_version": "1.2.0",
212
+ "_view_name": "LayoutView",
213
+ "align_content": null,
214
+ "align_items": null,
215
+ "align_self": null,
216
+ "border": null,
217
+ "bottom": null,
218
+ "display": null,
219
+ "flex": null,
220
+ "flex_flow": null,
221
+ "grid_area": null,
222
+ "grid_auto_columns": null,
223
+ "grid_auto_flow": null,
224
+ "grid_auto_rows": null,
225
+ "grid_column": null,
226
+ "grid_gap": null,
227
+ "grid_row": null,
228
+ "grid_template_areas": null,
229
+ "grid_template_columns": null,
230
+ "grid_template_rows": null,
231
+ "height": null,
232
+ "justify_content": null,
233
+ "justify_items": null,
234
+ "left": null,
235
+ "margin": null,
236
+ "max_height": null,
237
+ "max_width": null,
238
+ "min_height": null,
239
+ "min_width": null,
240
+ "object_fit": null,
241
+ "object_position": null,
242
+ "order": null,
243
+ "overflow": null,
244
+ "overflow_x": null,
245
+ "overflow_y": null,
246
+ "padding": null,
247
+ "right": null,
248
+ "top": null,
249
+ "visibility": null,
250
+ "width": null
251
+ }
252
+ },
253
+ "23853a0320f3423d8f37213a6f1afec0": {
254
+ "model_module": "@jupyter-widgets/controls",
255
+ "model_name": "DescriptionStyleModel",
256
+ "model_module_version": "1.5.0",
257
+ "state": {
258
+ "_model_module": "@jupyter-widgets/controls",
259
+ "_model_module_version": "1.5.0",
260
+ "_model_name": "DescriptionStyleModel",
261
+ "_view_count": null,
262
+ "_view_module": "@jupyter-widgets/base",
263
+ "_view_module_version": "1.2.0",
264
+ "_view_name": "StyleView",
265
+ "description_width": ""
266
+ }
267
+ },
268
+ "f7220d55fa1a4fd2933c148f94ef7092": {
269
+ "model_module": "@jupyter-widgets/base",
270
+ "model_name": "LayoutModel",
271
+ "model_module_version": "1.2.0",
272
+ "state": {
273
+ "_model_module": "@jupyter-widgets/base",
274
+ "_model_module_version": "1.2.0",
275
+ "_model_name": "LayoutModel",
276
+ "_view_count": null,
277
+ "_view_module": "@jupyter-widgets/base",
278
+ "_view_module_version": "1.2.0",
279
+ "_view_name": "LayoutView",
280
+ "align_content": null,
281
+ "align_items": null,
282
+ "align_self": null,
283
+ "border": null,
284
+ "bottom": null,
285
+ "display": null,
286
+ "flex": null,
287
+ "flex_flow": null,
288
+ "grid_area": null,
289
+ "grid_auto_columns": null,
290
+ "grid_auto_flow": null,
291
+ "grid_auto_rows": null,
292
+ "grid_column": null,
293
+ "grid_gap": null,
294
+ "grid_row": null,
295
+ "grid_template_areas": null,
296
+ "grid_template_columns": null,
297
+ "grid_template_rows": null,
298
+ "height": null,
299
+ "justify_content": null,
300
+ "justify_items": null,
301
+ "left": null,
302
+ "margin": null,
303
+ "max_height": null,
304
+ "max_width": null,
305
+ "min_height": null,
306
+ "min_width": null,
307
+ "object_fit": null,
308
+ "object_position": null,
309
+ "order": null,
310
+ "overflow": null,
311
+ "overflow_x": null,
312
+ "overflow_y": null,
313
+ "padding": null,
314
+ "right": null,
315
+ "top": null,
316
+ "visibility": null,
317
+ "width": null
318
+ }
319
+ },
320
+ "6555a2944f1f408db5ab508472eb1710": {
321
+ "model_module": "@jupyter-widgets/controls",
322
+ "model_name": "DescriptionStyleModel",
323
+ "model_module_version": "1.5.0",
324
+ "state": {
325
+ "_model_module": "@jupyter-widgets/controls",
326
+ "_model_module_version": "1.5.0",
327
+ "_model_name": "DescriptionStyleModel",
328
+ "_view_count": null,
329
+ "_view_module": "@jupyter-widgets/base",
330
+ "_view_module_version": "1.2.0",
331
+ "_view_name": "StyleView",
332
+ "description_width": ""
333
+ }
334
+ },
335
+ "262b7fcaa1a545c1948f42283c763506": {
336
+ "model_module": "@jupyter-widgets/base",
337
+ "model_name": "LayoutModel",
338
+ "model_module_version": "1.2.0",
339
+ "state": {
340
+ "_model_module": "@jupyter-widgets/base",
341
+ "_model_module_version": "1.2.0",
342
+ "_model_name": "LayoutModel",
343
+ "_view_count": null,
344
+ "_view_module": "@jupyter-widgets/base",
345
+ "_view_module_version": "1.2.0",
346
+ "_view_name": "LayoutView",
347
+ "align_content": null,
348
+ "align_items": null,
349
+ "align_self": null,
350
+ "border": null,
351
+ "bottom": null,
352
+ "display": null,
353
+ "flex": null,
354
+ "flex_flow": null,
355
+ "grid_area": null,
356
+ "grid_auto_columns": null,
357
+ "grid_auto_flow": null,
358
+ "grid_auto_rows": null,
359
+ "grid_column": null,
360
+ "grid_gap": null,
361
+ "grid_row": null,
362
+ "grid_template_areas": null,
363
+ "grid_template_columns": null,
364
+ "grid_template_rows": null,
365
+ "height": null,
366
+ "justify_content": null,
367
+ "justify_items": null,
368
+ "left": null,
369
+ "margin": null,
370
+ "max_height": null,
371
+ "max_width": null,
372
+ "min_height": null,
373
+ "min_width": null,
374
+ "object_fit": null,
375
+ "object_position": null,
376
+ "order": null,
377
+ "overflow": null,
378
+ "overflow_x": null,
379
+ "overflow_y": null,
380
+ "padding": null,
381
+ "right": null,
382
+ "top": null,
383
+ "visibility": null,
384
+ "width": null
385
+ }
386
+ },
387
+ "4b83ced9a7924ae9ad9209c92e445c55": {
388
+ "model_module": "@jupyter-widgets/controls",
389
+ "model_name": "DescriptionStyleModel",
390
+ "model_module_version": "1.5.0",
391
+ "state": {
392
+ "_model_module": "@jupyter-widgets/controls",
393
+ "_model_module_version": "1.5.0",
394
+ "_model_name": "DescriptionStyleModel",
395
+ "_view_count": null,
396
+ "_view_module": "@jupyter-widgets/base",
397
+ "_view_module_version": "1.2.0",
398
+ "_view_name": "StyleView",
399
+ "description_width": ""
400
+ }
401
+ },
402
+ "2cfff59e91eb45a4a33ae45c886ee188": {
403
+ "model_module": "@jupyter-widgets/base",
404
+ "model_name": "LayoutModel",
405
+ "model_module_version": "1.2.0",
406
+ "state": {
407
+ "_model_module": "@jupyter-widgets/base",
408
+ "_model_module_version": "1.2.0",
409
+ "_model_name": "LayoutModel",
410
+ "_view_count": null,
411
+ "_view_module": "@jupyter-widgets/base",
412
+ "_view_module_version": "1.2.0",
413
+ "_view_name": "LayoutView",
414
+ "align_content": null,
415
+ "align_items": null,
416
+ "align_self": null,
417
+ "border": null,
418
+ "bottom": null,
419
+ "display": null,
420
+ "flex": null,
421
+ "flex_flow": null,
422
+ "grid_area": null,
423
+ "grid_auto_columns": null,
424
+ "grid_auto_flow": null,
425
+ "grid_auto_rows": null,
426
+ "grid_column": null,
427
+ "grid_gap": null,
428
+ "grid_row": null,
429
+ "grid_template_areas": null,
430
+ "grid_template_columns": null,
431
+ "grid_template_rows": null,
432
+ "height": null,
433
+ "justify_content": null,
434
+ "justify_items": null,
435
+ "left": null,
436
+ "margin": null,
437
+ "max_height": null,
438
+ "max_width": null,
439
+ "min_height": null,
440
+ "min_width": null,
441
+ "object_fit": null,
442
+ "object_position": null,
443
+ "order": null,
444
+ "overflow": null,
445
+ "overflow_x": null,
446
+ "overflow_y": null,
447
+ "padding": null,
448
+ "right": null,
449
+ "top": null,
450
+ "visibility": null,
451
+ "width": null
452
+ }
453
+ },
454
+ "236f1354946a471699ed746856f6ebce": {
455
+ "model_module": "@jupyter-widgets/controls",
456
+ "model_name": "ButtonStyleModel",
457
+ "model_module_version": "1.5.0",
458
+ "state": {
459
+ "_model_module": "@jupyter-widgets/controls",
460
+ "_model_module_version": "1.5.0",
461
+ "_model_name": "ButtonStyleModel",
462
+ "_view_count": null,
463
+ "_view_module": "@jupyter-widgets/base",
464
+ "_view_module_version": "1.2.0",
465
+ "_view_name": "StyleView",
466
+ "button_color": null,
467
+ "font_weight": ""
468
+ }
469
+ },
470
+ "1b463f3730964499b5872d45057ea7f1": {
471
+ "model_module": "@jupyter-widgets/base",
472
+ "model_name": "LayoutModel",
473
+ "model_module_version": "1.2.0",
474
+ "state": {
475
+ "_model_module": "@jupyter-widgets/base",
476
+ "_model_module_version": "1.2.0",
477
+ "_model_name": "LayoutModel",
478
+ "_view_count": null,
479
+ "_view_module": "@jupyter-widgets/base",
480
+ "_view_module_version": "1.2.0",
481
+ "_view_name": "LayoutView",
482
+ "align_content": null,
483
+ "align_items": null,
484
+ "align_self": null,
485
+ "border": null,
486
+ "bottom": null,
487
+ "display": null,
488
+ "flex": null,
489
+ "flex_flow": null,
490
+ "grid_area": null,
491
+ "grid_auto_columns": null,
492
+ "grid_auto_flow": null,
493
+ "grid_auto_rows": null,
494
+ "grid_column": null,
495
+ "grid_gap": null,
496
+ "grid_row": null,
497
+ "grid_template_areas": null,
498
+ "grid_template_columns": null,
499
+ "grid_template_rows": null,
500
+ "height": null,
501
+ "justify_content": null,
502
+ "justify_items": null,
503
+ "left": null,
504
+ "margin": null,
505
+ "max_height": null,
506
+ "max_width": null,
507
+ "min_height": null,
508
+ "min_width": null,
509
+ "object_fit": null,
510
+ "object_position": null,
511
+ "order": null,
512
+ "overflow": null,
513
+ "overflow_x": null,
514
+ "overflow_y": null,
515
+ "padding": null,
516
+ "right": null,
517
+ "top": null,
518
+ "visibility": null,
519
+ "width": null
520
+ }
521
+ },
522
+ "23c6a79f7ab44019b2e331531187edbe": {
523
+ "model_module": "@jupyter-widgets/controls",
524
+ "model_name": "DescriptionStyleModel",
525
+ "model_module_version": "1.5.0",
526
+ "state": {
527
+ "_model_module": "@jupyter-widgets/controls",
528
+ "_model_module_version": "1.5.0",
529
+ "_model_name": "DescriptionStyleModel",
530
+ "_view_count": null,
531
+ "_view_module": "@jupyter-widgets/base",
532
+ "_view_module_version": "1.2.0",
533
+ "_view_name": "StyleView",
534
+ "description_width": ""
535
+ }
536
+ },
537
+ "d435e1a579394af0af9ee4b67566b121": {
538
+ "model_module": "@jupyter-widgets/controls",
539
+ "model_name": "LabelModel",
540
+ "model_module_version": "1.5.0",
541
+ "state": {
542
+ "_dom_classes": [],
543
+ "_model_module": "@jupyter-widgets/controls",
544
+ "_model_module_version": "1.5.0",
545
+ "_model_name": "LabelModel",
546
+ "_view_count": null,
547
+ "_view_module": "@jupyter-widgets/controls",
548
+ "_view_module_version": "1.5.0",
549
+ "_view_name": "LabelView",
550
+ "description": "",
551
+ "description_tooltip": null,
552
+ "layout": "IPY_MODEL_ca2f9498bd7b440f8d570a39a8cb7c98",
553
+ "placeholder": "​",
554
+ "style": "IPY_MODEL_03dd395bb4e743c3b545f5dc7fa62c75",
555
+ "value": "Connecting..."
556
+ }
557
+ },
558
+ "ca2f9498bd7b440f8d570a39a8cb7c98": {
559
+ "model_module": "@jupyter-widgets/base",
560
+ "model_name": "LayoutModel",
561
+ "model_module_version": "1.2.0",
562
+ "state": {
563
+ "_model_module": "@jupyter-widgets/base",
564
+ "_model_module_version": "1.2.0",
565
+ "_model_name": "LayoutModel",
566
+ "_view_count": null,
567
+ "_view_module": "@jupyter-widgets/base",
568
+ "_view_module_version": "1.2.0",
569
+ "_view_name": "LayoutView",
570
+ "align_content": null,
571
+ "align_items": null,
572
+ "align_self": null,
573
+ "border": null,
574
+ "bottom": null,
575
+ "display": null,
576
+ "flex": null,
577
+ "flex_flow": null,
578
+ "grid_area": null,
579
+ "grid_auto_columns": null,
580
+ "grid_auto_flow": null,
581
+ "grid_auto_rows": null,
582
+ "grid_column": null,
583
+ "grid_gap": null,
584
+ "grid_row": null,
585
+ "grid_template_areas": null,
586
+ "grid_template_columns": null,
587
+ "grid_template_rows": null,
588
+ "height": null,
589
+ "justify_content": null,
590
+ "justify_items": null,
591
+ "left": null,
592
+ "margin": null,
593
+ "max_height": null,
594
+ "max_width": null,
595
+ "min_height": null,
596
+ "min_width": null,
597
+ "object_fit": null,
598
+ "object_position": null,
599
+ "order": null,
600
+ "overflow": null,
601
+ "overflow_x": null,
602
+ "overflow_y": null,
603
+ "padding": null,
604
+ "right": null,
605
+ "top": null,
606
+ "visibility": null,
607
+ "width": null
608
+ }
609
+ },
610
+ "03dd395bb4e743c3b545f5dc7fa62c75": {
611
+ "model_module": "@jupyter-widgets/controls",
612
+ "model_name": "DescriptionStyleModel",
613
+ "model_module_version": "1.5.0",
614
+ "state": {
615
+ "_model_module": "@jupyter-widgets/controls",
616
+ "_model_module_version": "1.5.0",
617
+ "_model_name": "DescriptionStyleModel",
618
+ "_view_count": null,
619
+ "_view_module": "@jupyter-widgets/base",
620
+ "_view_module_version": "1.2.0",
621
+ "_view_name": "StyleView",
622
+ "description_width": ""
623
+ }
624
+ },
625
+ "071b0a7cb7ff4fa9b4a50d2bdbcfc01a": {
626
+ "model_module": "@jupyter-widgets/controls",
627
+ "model_name": "LabelModel",
628
+ "model_module_version": "1.5.0",
629
+ "state": {
630
+ "_dom_classes": [],
631
+ "_model_module": "@jupyter-widgets/controls",
632
+ "_model_module_version": "1.5.0",
633
+ "_model_name": "LabelModel",
634
+ "_view_count": null,
635
+ "_view_module": "@jupyter-widgets/controls",
636
+ "_view_module_version": "1.5.0",
637
+ "_view_name": "LabelView",
638
+ "description": "",
639
+ "description_tooltip": null,
640
+ "layout": "IPY_MODEL_e56c1224065b4c92b6a8800773224037",
641
+ "placeholder": "​",
642
+ "style": "IPY_MODEL_76dc121e5aac492ab209f28385136fc4",
643
+ "value": "Token is valid (permission: write)."
644
+ }
645
+ },
646
+ "26cedad581804b40817c4db80b44d56d": {
647
+ "model_module": "@jupyter-widgets/controls",
648
+ "model_name": "LabelModel",
649
+ "model_module_version": "1.5.0",
650
+ "state": {
651
+ "_dom_classes": [],
652
+ "_model_module": "@jupyter-widgets/controls",
653
+ "_model_module_version": "1.5.0",
654
+ "_model_name": "LabelModel",
655
+ "_view_count": null,
656
+ "_view_module": "@jupyter-widgets/controls",
657
+ "_view_module_version": "1.5.0",
658
+ "_view_name": "LabelView",
659
+ "description": "",
660
+ "description_tooltip": null,
661
+ "layout": "IPY_MODEL_59de9658f0f14163b5115d32a300ce88",
662
+ "placeholder": "​",
663
+ "style": "IPY_MODEL_54dd72d47d324b1ea0ddbf44a68fa414",
664
+ "value": "Your token has been saved in your configured git credential helpers (store)."
665
+ }
666
+ },
667
+ "cf76cc497c424249b7e449ea5589e90b": {
668
+ "model_module": "@jupyter-widgets/controls",
669
+ "model_name": "LabelModel",
670
+ "model_module_version": "1.5.0",
671
+ "state": {
672
+ "_dom_classes": [],
673
+ "_model_module": "@jupyter-widgets/controls",
674
+ "_model_module_version": "1.5.0",
675
+ "_model_name": "LabelModel",
676
+ "_view_count": null,
677
+ "_view_module": "@jupyter-widgets/controls",
678
+ "_view_module_version": "1.5.0",
679
+ "_view_name": "LabelView",
680
+ "description": "",
681
+ "description_tooltip": null,
682
+ "layout": "IPY_MODEL_4ea0ab70227448a98c37cbe56d7af3a5",
683
+ "placeholder": "​",
684
+ "style": "IPY_MODEL_feb19fb48daf47be9e1375eaf67ff19d",
685
+ "value": "Your token has been saved to /root/.cache/huggingface/token"
686
+ }
687
+ },
688
+ "825548fb63f8444a89940aca63bc7b83": {
689
+ "model_module": "@jupyter-widgets/controls",
690
+ "model_name": "LabelModel",
691
+ "model_module_version": "1.5.0",
692
+ "state": {
693
+ "_dom_classes": [],
694
+ "_model_module": "@jupyter-widgets/controls",
695
+ "_model_module_version": "1.5.0",
696
+ "_model_name": "LabelModel",
697
+ "_view_count": null,
698
+ "_view_module": "@jupyter-widgets/controls",
699
+ "_view_module_version": "1.5.0",
700
+ "_view_name": "LabelView",
701
+ "description": "",
702
+ "description_tooltip": null,
703
+ "layout": "IPY_MODEL_44cb4e413f2f414fb6e92557ae355158",
704
+ "placeholder": "​",
705
+ "style": "IPY_MODEL_5a7fef3b31cd49e2a43c2b2ad545cce2",
706
+ "value": "Login successful"
707
+ }
708
+ },
709
+ "e56c1224065b4c92b6a8800773224037": {
710
+ "model_module": "@jupyter-widgets/base",
711
+ "model_name": "LayoutModel",
712
+ "model_module_version": "1.2.0",
713
+ "state": {
714
+ "_model_module": "@jupyter-widgets/base",
715
+ "_model_module_version": "1.2.0",
716
+ "_model_name": "LayoutModel",
717
+ "_view_count": null,
718
+ "_view_module": "@jupyter-widgets/base",
719
+ "_view_module_version": "1.2.0",
720
+ "_view_name": "LayoutView",
721
+ "align_content": null,
722
+ "align_items": null,
723
+ "align_self": null,
724
+ "border": null,
725
+ "bottom": null,
726
+ "display": null,
727
+ "flex": null,
728
+ "flex_flow": null,
729
+ "grid_area": null,
730
+ "grid_auto_columns": null,
731
+ "grid_auto_flow": null,
732
+ "grid_auto_rows": null,
733
+ "grid_column": null,
734
+ "grid_gap": null,
735
+ "grid_row": null,
736
+ "grid_template_areas": null,
737
+ "grid_template_columns": null,
738
+ "grid_template_rows": null,
739
+ "height": null,
740
+ "justify_content": null,
741
+ "justify_items": null,
742
+ "left": null,
743
+ "margin": null,
744
+ "max_height": null,
745
+ "max_width": null,
746
+ "min_height": null,
747
+ "min_width": null,
748
+ "object_fit": null,
749
+ "object_position": null,
750
+ "order": null,
751
+ "overflow": null,
752
+ "overflow_x": null,
753
+ "overflow_y": null,
754
+ "padding": null,
755
+ "right": null,
756
+ "top": null,
757
+ "visibility": null,
758
+ "width": null
759
+ }
760
+ },
761
+ "76dc121e5aac492ab209f28385136fc4": {
762
+ "model_module": "@jupyter-widgets/controls",
763
+ "model_name": "DescriptionStyleModel",
764
+ "model_module_version": "1.5.0",
765
+ "state": {
766
+ "_model_module": "@jupyter-widgets/controls",
767
+ "_model_module_version": "1.5.0",
768
+ "_model_name": "DescriptionStyleModel",
769
+ "_view_count": null,
770
+ "_view_module": "@jupyter-widgets/base",
771
+ "_view_module_version": "1.2.0",
772
+ "_view_name": "StyleView",
773
+ "description_width": ""
774
+ }
775
+ },
776
+ "59de9658f0f14163b5115d32a300ce88": {
777
+ "model_module": "@jupyter-widgets/base",
778
+ "model_name": "LayoutModel",
779
+ "model_module_version": "1.2.0",
780
+ "state": {
781
+ "_model_module": "@jupyter-widgets/base",
782
+ "_model_module_version": "1.2.0",
783
+ "_model_name": "LayoutModel",
784
+ "_view_count": null,
785
+ "_view_module": "@jupyter-widgets/base",
786
+ "_view_module_version": "1.2.0",
787
+ "_view_name": "LayoutView",
788
+ "align_content": null,
789
+ "align_items": null,
790
+ "align_self": null,
791
+ "border": null,
792
+ "bottom": null,
793
+ "display": null,
794
+ "flex": null,
795
+ "flex_flow": null,
796
+ "grid_area": null,
797
+ "grid_auto_columns": null,
798
+ "grid_auto_flow": null,
799
+ "grid_auto_rows": null,
800
+ "grid_column": null,
801
+ "grid_gap": null,
802
+ "grid_row": null,
803
+ "grid_template_areas": null,
804
+ "grid_template_columns": null,
805
+ "grid_template_rows": null,
806
+ "height": null,
807
+ "justify_content": null,
808
+ "justify_items": null,
809
+ "left": null,
810
+ "margin": null,
811
+ "max_height": null,
812
+ "max_width": null,
813
+ "min_height": null,
814
+ "min_width": null,
815
+ "object_fit": null,
816
+ "object_position": null,
817
+ "order": null,
818
+ "overflow": null,
819
+ "overflow_x": null,
820
+ "overflow_y": null,
821
+ "padding": null,
822
+ "right": null,
823
+ "top": null,
824
+ "visibility": null,
825
+ "width": null
826
+ }
827
+ },
828
+ "54dd72d47d324b1ea0ddbf44a68fa414": {
829
+ "model_module": "@jupyter-widgets/controls",
830
+ "model_name": "DescriptionStyleModel",
831
+ "model_module_version": "1.5.0",
832
+ "state": {
833
+ "_model_module": "@jupyter-widgets/controls",
834
+ "_model_module_version": "1.5.0",
835
+ "_model_name": "DescriptionStyleModel",
836
+ "_view_count": null,
837
+ "_view_module": "@jupyter-widgets/base",
838
+ "_view_module_version": "1.2.0",
839
+ "_view_name": "StyleView",
840
+ "description_width": ""
841
+ }
842
+ },
843
+ "4ea0ab70227448a98c37cbe56d7af3a5": {
844
+ "model_module": "@jupyter-widgets/base",
845
+ "model_name": "LayoutModel",
846
+ "model_module_version": "1.2.0",
847
+ "state": {
848
+ "_model_module": "@jupyter-widgets/base",
849
+ "_model_module_version": "1.2.0",
850
+ "_model_name": "LayoutModel",
851
+ "_view_count": null,
852
+ "_view_module": "@jupyter-widgets/base",
853
+ "_view_module_version": "1.2.0",
854
+ "_view_name": "LayoutView",
855
+ "align_content": null,
856
+ "align_items": null,
857
+ "align_self": null,
858
+ "border": null,
859
+ "bottom": null,
860
+ "display": null,
861
+ "flex": null,
862
+ "flex_flow": null,
863
+ "grid_area": null,
864
+ "grid_auto_columns": null,
865
+ "grid_auto_flow": null,
866
+ "grid_auto_rows": null,
867
+ "grid_column": null,
868
+ "grid_gap": null,
869
+ "grid_row": null,
870
+ "grid_template_areas": null,
871
+ "grid_template_columns": null,
872
+ "grid_template_rows": null,
873
+ "height": null,
874
+ "justify_content": null,
875
+ "justify_items": null,
876
+ "left": null,
877
+ "margin": null,
878
+ "max_height": null,
879
+ "max_width": null,
880
+ "min_height": null,
881
+ "min_width": null,
882
+ "object_fit": null,
883
+ "object_position": null,
884
+ "order": null,
885
+ "overflow": null,
886
+ "overflow_x": null,
887
+ "overflow_y": null,
888
+ "padding": null,
889
+ "right": null,
890
+ "top": null,
891
+ "visibility": null,
892
+ "width": null
893
+ }
894
+ },
895
+ "feb19fb48daf47be9e1375eaf67ff19d": {
896
+ "model_module": "@jupyter-widgets/controls",
897
+ "model_name": "DescriptionStyleModel",
898
+ "model_module_version": "1.5.0",
899
+ "state": {
900
+ "_model_module": "@jupyter-widgets/controls",
901
+ "_model_module_version": "1.5.0",
902
+ "_model_name": "DescriptionStyleModel",
903
+ "_view_count": null,
904
+ "_view_module": "@jupyter-widgets/base",
905
+ "_view_module_version": "1.2.0",
906
+ "_view_name": "StyleView",
907
+ "description_width": ""
908
+ }
909
+ },
910
+ "44cb4e413f2f414fb6e92557ae355158": {
911
+ "model_module": "@jupyter-widgets/base",
912
+ "model_name": "LayoutModel",
913
+ "model_module_version": "1.2.0",
914
+ "state": {
915
+ "_model_module": "@jupyter-widgets/base",
916
+ "_model_module_version": "1.2.0",
917
+ "_model_name": "LayoutModel",
918
+ "_view_count": null,
919
+ "_view_module": "@jupyter-widgets/base",
920
+ "_view_module_version": "1.2.0",
921
+ "_view_name": "LayoutView",
922
+ "align_content": null,
923
+ "align_items": null,
924
+ "align_self": null,
925
+ "border": null,
926
+ "bottom": null,
927
+ "display": null,
928
+ "flex": null,
929
+ "flex_flow": null,
930
+ "grid_area": null,
931
+ "grid_auto_columns": null,
932
+ "grid_auto_flow": null,
933
+ "grid_auto_rows": null,
934
+ "grid_column": null,
935
+ "grid_gap": null,
936
+ "grid_row": null,
937
+ "grid_template_areas": null,
938
+ "grid_template_columns": null,
939
+ "grid_template_rows": null,
940
+ "height": null,
941
+ "justify_content": null,
942
+ "justify_items": null,
943
+ "left": null,
944
+ "margin": null,
945
+ "max_height": null,
946
+ "max_width": null,
947
+ "min_height": null,
948
+ "min_width": null,
949
+ "object_fit": null,
950
+ "object_position": null,
951
+ "order": null,
952
+ "overflow": null,
953
+ "overflow_x": null,
954
+ "overflow_y": null,
955
+ "padding": null,
956
+ "right": null,
957
+ "top": null,
958
+ "visibility": null,
959
+ "width": null
960
+ }
961
+ },
962
+ "5a7fef3b31cd49e2a43c2b2ad545cce2": {
963
+ "model_module": "@jupyter-widgets/controls",
964
+ "model_name": "DescriptionStyleModel",
965
+ "model_module_version": "1.5.0",
966
+ "state": {
967
+ "_model_module": "@jupyter-widgets/controls",
968
+ "_model_module_version": "1.5.0",
969
+ "_model_name": "DescriptionStyleModel",
970
+ "_view_count": null,
971
+ "_view_module": "@jupyter-widgets/base",
972
+ "_view_module_version": "1.2.0",
973
+ "_view_name": "StyleView",
974
+ "description_width": ""
975
+ }
976
+ }
977
+ }
978
+ }
979
+ },
980
+ "cells": [
981
+ {
982
+ "cell_type": "code",
983
+ "execution_count": 1,
984
+ "metadata": {
985
+ "id": "xV2FWNs65cY6"
986
+ },
987
+ "outputs": [],
988
+ "source": [
989
+ "%%capture\n",
990
+ "# Clone the repository (can take 3min)\n",
991
+ "!git clone --depth 1 https://github.com/Unity-Technologies/ml-agents"
992
+ ]
993
+ },
994
+ {
995
+ "cell_type": "code",
996
+ "execution_count": 2,
997
+ "metadata": {
998
+ "id": "d8wmVcMk7xKo"
999
+ },
1000
+ "outputs": [],
1001
+ "source": [
1002
+ "%%capture\n",
1003
+ "# Go inside the repository and install the package (can take 3min)\n",
1004
+ "%cd ml-agents\n",
1005
+ "!pip3 install -e ./ml-agents-envs\n",
1006
+ "!pip3 install -e ./ml-agents"
1007
+ ]
1008
+ },
1009
+ {
1010
+ "cell_type": "code",
1011
+ "source": [
1012
+ "!mkdir ./trained-envs-executables\n",
1013
+ "!mkdir ./trained-envs-executables/linux"
1014
+ ],
1015
+ "metadata": {
1016
+ "id": "dCUeGzyz6NPv"
1017
+ },
1018
+ "execution_count": 3,
1019
+ "outputs": []
1020
+ },
1021
+ {
1022
+ "cell_type": "code",
1023
+ "source": [
1024
+ "!wget \"https://github.com/huggingface/Huggy/raw/main/Huggy.zip\" -O ./trained-envs-executables/linux/Huggy.zip"
1025
+ ],
1026
+ "metadata": {
1027
+ "colab": {
1028
+ "base_uri": "https://localhost:8080/"
1029
+ },
1030
+ "id": "uhmoYkoB6JiX",
1031
+ "outputId": "dfe663d7-868d-4ec7-ba97-c7935cc5a513"
1032
+ },
1033
+ "execution_count": 4,
1034
+ "outputs": [
1035
+ {
1036
+ "output_type": "stream",
1037
+ "name": "stdout",
1038
+ "text": [
1039
+ "--2024-02-23 17:05:33-- https://github.com/huggingface/Huggy/raw/main/Huggy.zip\n",
1040
+ "Resolving github.com (github.com)... 192.30.255.113\n",
1041
+ "Connecting to github.com (github.com)|192.30.255.113|:443... connected.\n",
1042
+ "HTTP request sent, awaiting response... 302 Found\n",
1043
+ "Location: https://media.githubusercontent.com/media/huggingface/Huggy/main/Huggy.zip [following]\n",
1044
+ "--2024-02-23 17:05:33-- https://media.githubusercontent.com/media/huggingface/Huggy/main/Huggy.zip\n",
1045
+ "Resolving media.githubusercontent.com (media.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.110.133, ...\n",
1046
+ "Connecting to media.githubusercontent.com (media.githubusercontent.com)|185.199.108.133|:443... connected.\n",
1047
+ "HTTP request sent, awaiting response... 200 OK\n",
1048
+ "Length: 39214997 (37M) [application/zip]\n",
1049
+ "Saving to: ‘./trained-envs-executables/linux/Huggy.zip’\n",
1050
+ "\n",
1051
+ "./trained-envs-exec 100%[===================>] 37.40M 244MB/s in 0.2s \n",
1052
+ "\n",
1053
+ "2024-02-23 17:05:35 (244 MB/s) - ‘./trained-envs-executables/linux/Huggy.zip’ saved [39214997/39214997]\n",
1054
+ "\n"
1055
+ ]
1056
+ }
1057
+ ]
1058
+ },
1059
+ {
1060
+ "cell_type": "code",
1061
+ "source": [
1062
+ "%%capture\n",
1063
+ "!unzip -d ./trained-envs-executables/linux/ ./trained-envs-executables/linux/Huggy.zip"
1064
+ ],
1065
+ "metadata": {
1066
+ "id": "PcoTxSTX6NZp"
1067
+ },
1068
+ "execution_count": 5,
1069
+ "outputs": []
1070
+ },
1071
+ {
1072
+ "cell_type": "code",
1073
+ "source": [
1074
+ "!chmod -R 755 ./trained-envs-executables/linux/Huggy"
1075
+ ],
1076
+ "metadata": {
1077
+ "id": "M0YotyCf6Nb9"
1078
+ },
1079
+ "execution_count": 6,
1080
+ "outputs": []
1081
+ },
1082
+ {
1083
+ "cell_type": "code",
1084
+ "source": [
1085
+ "!mlagents-learn ./config/ppo/Huggy.yaml --env=./trained-envs-executables/linux/Huggy/Huggy --run-id=\"Huggy2\" --no-graphics"
1086
+ ],
1087
+ "metadata": {
1088
+ "colab": {
1089
+ "base_uri": "https://localhost:8080/"
1090
+ },
1091
+ "id": "wHEDv1396NgJ",
1092
+ "outputId": "91d7c50f-7883-48f5-9471-90d18e6acfe1"
1093
+ },
1094
+ "execution_count": 7,
1095
+ "outputs": [
1096
+ {
1097
+ "output_type": "stream",
1098
+ "name": "stdout",
1099
+ "text": [
1100
+ "/usr/local/lib/python3.10/dist-packages/torch/__init__.py:696: UserWarning: torch.set_default_tensor_type() is deprecated as of PyTorch 2.1, please use torch.set_default_dtype() and torch.set_default_device() as alternatives. (Triggered internally at ../torch/csrc/tensor/python_tensor.cpp:451.)\n",
1101
+ " _C._set_default_tensor_type(t)\n",
1102
+ "\n",
1103
+ " ┐ ╖\n",
1104
+ " ╓╖╬│╡ ││╬╖╖\n",
1105
+ " ╓╖╬│││││┘ ╬│││││╬╖\n",
1106
+ " ╖╬│││││╬╜ ╙╬│││││╖╖ ╗╗╗\n",
1107
+ " ╬╬╬╬╖││╦╖ ╖╬││╗╣╣╣╬ ╟╣╣╬ ╟╣╣╣ ╜╜╜ ╟╣╣\n",
1108
+ " ╬╬╬╬╬╬╬╬╖│╬╖╖╓╬╪│╓╣╣╣╣╣╣╣╬ ╟╣╣╬ ╟╣╣╣ ╒╣╣╖╗╣╣╣╗ ╣╣╣ ╣╣╣╣╣╣ ╟╣╣╖ ╣╣╣\n",
1109
+ " ╬╬╬╬┐ ╙╬╬╬╬│╓╣╣╣╝╜ ╫╣╣╣╬ ╟╣╣╬ ╟╣╣╣ ╟╣╣╣╙ ╙╣╣╣ ╣╣╣ ╙╟╣╣╜╙ ╫╣╣ ╟╣╣\n",
1110
+ " ╬╬╬╬┐ ╙╬╬╣╣ ╫╣╣╣╬ ╟╣╣╬ ╟╣╣╣ ╟╣╣╬ ╣╣╣ ╣╣╣ ╟╣╣ ╣╣╣┌╣╣╜\n",
1111
+ " ╬╬╬╜ ╬╬╣╣ ╙╝╣╣╬ ╙╣╣╣╗╖╓╗╣╣╣╜ ╟╣╣╬ ╣╣╣ ╣╣╣ ╟╣╣╦╓ ╣╣╣╣╣\n",
1112
+ " ╙ ╓╦╖ ╬╬╣╣ ╓╗╗╖ ╙╝╣╣╣╣╝╜ ╘╝╝╜ ╝╝╝ ╝╝╝ ╙╣╣╣ ╟╣╣╣\n",
1113
+ " ╩╬╬╬╬╬╬╦╦╬╬╣╣╗╣╣╣╣╣╣╣╝ ╫╣╣╣╣\n",
1114
+ " ╙╬╬╬╬╬╬╬╣╣╣╣╣╣╝╜\n",
1115
+ " ╙╬╬╬╣╣╣╜\n",
1116
+ " ╙\n",
1117
+ " \n",
1118
+ " Version information:\n",
1119
+ " ml-agents: 1.1.0.dev0,\n",
1120
+ " ml-agents-envs: 1.1.0.dev0,\n",
1121
+ " Communicator API: 1.5.0,\n",
1122
+ " PyTorch: 2.2.1+cu121\n",
1123
+ "[INFO] Connected to Unity environment with package version 2.2.1-exp.1 and communication version 1.5.0\n",
1124
+ "[INFO] Connected new brain: Huggy?team=0\n",
1125
+ "[INFO] Hyperparameters for behavior name Huggy: \n",
1126
+ "\ttrainer_type:\tppo\n",
1127
+ "\thyperparameters:\t\n",
1128
+ "\t batch_size:\t2048\n",
1129
+ "\t buffer_size:\t20480\n",
1130
+ "\t learning_rate:\t0.0003\n",
1131
+ "\t beta:\t0.005\n",
1132
+ "\t epsilon:\t0.2\n",
1133
+ "\t lambd:\t0.95\n",
1134
+ "\t num_epoch:\t3\n",
1135
+ "\t shared_critic:\tFalse\n",
1136
+ "\t learning_rate_schedule:\tlinear\n",
1137
+ "\t beta_schedule:\tlinear\n",
1138
+ "\t epsilon_schedule:\tlinear\n",
1139
+ "\tcheckpoint_interval:\t200000\n",
1140
+ "\tnetwork_settings:\t\n",
1141
+ "\t normalize:\tTrue\n",
1142
+ "\t hidden_units:\t512\n",
1143
+ "\t num_layers:\t3\n",
1144
+ "\t vis_encode_type:\tsimple\n",
1145
+ "\t memory:\tNone\n",
1146
+ "\t goal_conditioning_type:\thyper\n",
1147
+ "\t deterministic:\tFalse\n",
1148
+ "\treward_signals:\t\n",
1149
+ "\t extrinsic:\t\n",
1150
+ "\t gamma:\t0.995\n",
1151
+ "\t strength:\t1.0\n",
1152
+ "\t network_settings:\t\n",
1153
+ "\t normalize:\tFalse\n",
1154
+ "\t hidden_units:\t128\n",
1155
+ "\t num_layers:\t2\n",
1156
+ "\t vis_encode_type:\tsimple\n",
1157
+ "\t memory:\tNone\n",
1158
+ "\t goal_conditioning_type:\thyper\n",
1159
+ "\t deterministic:\tFalse\n",
1160
+ "\tinit_path:\tNone\n",
1161
+ "\tkeep_checkpoints:\t15\n",
1162
+ "\teven_checkpoints:\tFalse\n",
1163
+ "\tmax_steps:\t2000000\n",
1164
+ "\ttime_horizon:\t1000\n",
1165
+ "\tsummary_freq:\t50000\n",
1166
+ "\tthreaded:\tFalse\n",
1167
+ "\tself_play:\tNone\n",
1168
+ "\tbehavioral_cloning:\tNone\n",
1169
+ "[INFO] Huggy. Step: 50000. Time Elapsed: 93.378 s. Mean Reward: 1.909. Std of Reward: 0.914. Training.\n",
1170
+ "[INFO] Huggy. Step: 100000. Time Elapsed: 175.763 s. Mean Reward: 2.584. Std of Reward: 1.080. Training.\n",
1171
+ "[INFO] Huggy. Step: 150000. Time Elapsed: 266.613 s. Mean Reward: 3.110. Std of Reward: 1.117. Training.\n",
1172
+ "[INFO] Huggy. Step: 200000. Time Elapsed: 348.009 s. Mean Reward: 3.468. Std of Reward: 1.310. Training.\n",
1173
+ "[INFO] Exported results/Huggy2/Huggy/Huggy-199826.onnx\n",
1174
+ "[INFO] Huggy. Step: 250000. Time Elapsed: 442.187 s. Mean Reward: 3.305. Std of Reward: 1.395. Training.\n",
1175
+ "[INFO] Huggy. Step: 300000. Time Elapsed: 529.052 s. Mean Reward: 3.647. Std of Reward: 1.422. Training.\n",
1176
+ "[INFO] Huggy. Step: 350000. Time Elapsed: 614.213 s. Mean Reward: 3.862. Std of Reward: 1.543. Training.\n",
1177
+ "[INFO] Huggy. Step: 400000. Time Elapsed: 710.369 s. Mean Reward: 3.833. Std of Reward: 1.632. Training.\n",
1178
+ "[INFO] Exported results/Huggy2/Huggy/Huggy-399993.onnx\n",
1179
+ "[INFO] Huggy. Step: 450000. Time Elapsed: 796.704 s. Mean Reward: 3.883. Std of Reward: 1.697. Training.\n",
1180
+ "[INFO] Huggy. Step: 500000. Time Elapsed: 891.846 s. Mean Reward: 3.767. Std of Reward: 1.780. Training.\n",
1181
+ "[INFO] Huggy. Step: 550000. Time Elapsed: 976.981 s. Mean Reward: 3.748. Std of Reward: 1.747. Training.\n",
1182
+ "[INFO] Huggy. Step: 600000. Time Elapsed: 1074.936 s. Mean Reward: 3.700. Std of Reward: 1.690. Training.\n",
1183
+ "[INFO] Exported results/Huggy2/Huggy/Huggy-599947.onnx\n",
1184
+ "[INFO] Huggy. Step: 650000. Time Elapsed: 1164.652 s. Mean Reward: 3.830. Std of Reward: 1.696. Training.\n",
1185
+ "[INFO] Huggy. Step: 700000. Time Elapsed: 1250.707 s. Mean Reward: 3.820. Std of Reward: 1.811. Training.\n",
1186
+ "[INFO] Huggy. Step: 750000. Time Elapsed: 1345.573 s. Mean Reward: 3.904. Std of Reward: 1.747. Training.\n",
1187
+ "[INFO] Huggy. Step: 800000. Time Elapsed: 1433.824 s. Mean Reward: 3.841. Std of Reward: 1.647. Training.\n",
1188
+ "[INFO] Exported results/Huggy2/Huggy/Huggy-799965.onnx\n",
1189
+ "[INFO] Huggy. Step: 850000. Time Elapsed: 1528.304 s. Mean Reward: 3.815. Std of Reward: 1.784. Training.\n",
1190
+ "[INFO] Huggy. Step: 900000. Time Elapsed: 1615.571 s. Mean Reward: 3.966. Std of Reward: 1.696. Training.\n",
1191
+ "[INFO] Huggy. Step: 950000. Time Elapsed: 1714.848 s. Mean Reward: 3.818. Std of Reward: 1.711. Training.\n",
1192
+ "[INFO] Huggy. Step: 1000000. Time Elapsed: 1803.308 s. Mean Reward: 3.939. Std of Reward: 1.724. Training.\n",
1193
+ "[INFO] Exported results/Huggy2/Huggy/Huggy-999988.onnx\n",
1194
+ "[INFO] Huggy. Step: 1050000. Time Elapsed: 1891.760 s. Mean Reward: 3.963. Std of Reward: 1.686. Training.\n",
1195
+ "[INFO] Huggy. Step: 1100000. Time Elapsed: 1990.631 s. Mean Reward: 3.863. Std of Reward: 1.779. Training.\n",
1196
+ "[INFO] Huggy. Step: 1150000. Time Elapsed: 2080.953 s. Mean Reward: 3.912. Std of Reward: 1.684. Training.\n",
1197
+ "[INFO] Huggy. Step: 1200000. Time Elapsed: 2179.607 s. Mean Reward: 3.971. Std of Reward: 1.675. Training.\n",
1198
+ "[INFO] Exported results/Huggy2/Huggy/Huggy-1199952.onnx\n",
1199
+ "[INFO] Huggy. Step: 1250000. Time Elapsed: 2267.157 s. Mean Reward: 3.846. Std of Reward: 1.774. Training.\n",
1200
+ "[INFO] Huggy. Step: 1300000. Time Elapsed: 2366.259 s. Mean Reward: 3.790. Std of Reward: 1.684. Training.\n",
1201
+ "[INFO] Huggy. Step: 1350000. Time Elapsed: 2455.261 s. Mean Reward: 3.883. Std of Reward: 1.680. Training.\n",
1202
+ "[INFO] Huggy. Step: 1400000. Time Elapsed: 2551.313 s. Mean Reward: 3.909. Std of Reward: 1.621. Training.\n",
1203
+ "[INFO] Exported results/Huggy2/Huggy/Huggy-1399996.onnx\n",
1204
+ "[INFO] Huggy. Step: 1450000. Time Elapsed: 2638.028 s. Mean Reward: 3.872. Std of Reward: 1.700. Training.\n",
1205
+ "[INFO] Huggy. Step: 1500000. Time Elapsed: 2726.560 s. Mean Reward: 3.849. Std of Reward: 1.699. Training.\n",
1206
+ "[INFO] Huggy. Step: 1550000. Time Elapsed: 2821.528 s. Mean Reward: 3.976. Std of Reward: 1.728. Training.\n",
1207
+ "[INFO] Huggy. Step: 1600000. Time Elapsed: 2908.367 s. Mean Reward: 3.887. Std of Reward: 1.701. Training.\n",
1208
+ "[INFO] Exported results/Huggy2/Huggy/Huggy-1599961.onnx\n",
1209
+ "[INFO] Huggy. Step: 1650000. Time Elapsed: 3005.380 s. Mean Reward: 3.857. Std of Reward: 1.713. Training.\n",
1210
+ "[INFO] Huggy. Step: 1700000. Time Elapsed: 3097.110 s. Mean Reward: 3.943. Std of Reward: 1.666. Training.\n",
1211
+ "[INFO] Huggy. Step: 1750000. Time Elapsed: 3196.133 s. Mean Reward: 4.018. Std of Reward: 1.769. Training.\n",
1212
+ "[INFO] Huggy. Step: 1800000. Time Elapsed: 3288.032 s. Mean Reward: 3.789. Std of Reward: 1.684. Training.\n",
1213
+ "[INFO] Exported results/Huggy2/Huggy/Huggy-1799993.onnx\n",
1214
+ "[INFO] Huggy. Step: 1850000. Time Elapsed: 3378.888 s. Mean Reward: 3.871. Std of Reward: 1.685. Training.\n",
1215
+ "[INFO] Huggy. Step: 1900000. Time Elapsed: 3477.182 s. Mean Reward: 3.893. Std of Reward: 1.726. Training.\n",
1216
+ "[INFO] Huggy. Step: 1950000. Time Elapsed: 3566.042 s. Mean Reward: 3.936. Std of Reward: 1.702. Training.\n",
1217
+ "[INFO] Huggy. Step: 2000000. Time Elapsed: 3661.740 s. Mean Reward: 3.916. Std of Reward: 1.828. Training.\n",
1218
+ "[INFO] Exported results/Huggy2/Huggy/Huggy-1999981.onnx\n",
1219
+ "[INFO] Exported results/Huggy2/Huggy/Huggy-2000065.onnx\n",
1220
+ "[INFO] Copied results/Huggy2/Huggy/Huggy-2000065.onnx to results/Huggy2/Huggy.onnx.\n"
1221
+ ]
1222
+ }
1223
+ ]
1224
+ },
1225
+ {
1226
+ "cell_type": "code",
1227
+ "source": [
1228
+ "from huggingface_hub import notebook_login\n",
1229
+ "notebook_login()"
1230
+ ],
1231
+ "metadata": {
1232
+ "colab": {
1233
+ "base_uri": "https://localhost:8080/",
1234
+ "height": 145,
1235
+ "referenced_widgets": [
1236
+ "ba3ffd7bb01a4cafa2635b5f106bc1cd",
1237
+ "c41a41b0e9f14ed88a0e1bdbe80d754c",
1238
+ "de682414aefb45c7beb124d2ff029844",
1239
+ "380f1c7ab66d44d79fe1241433b3de58",
1240
+ "0da59d818fa44cde9cbc8b803bd30d38",
1241
+ "4dd3d809e24f4c8388e0ca126dc9f1a2",
1242
+ "251fd2fec80a4ec7a59272a41d379d2f",
1243
+ "d59e27cb10f44d16b63f0868a283dfe6",
1244
+ "23853a0320f3423d8f37213a6f1afec0",
1245
+ "f7220d55fa1a4fd2933c148f94ef7092",
1246
+ "6555a2944f1f408db5ab508472eb1710",
1247
+ "262b7fcaa1a545c1948f42283c763506",
1248
+ "4b83ced9a7924ae9ad9209c92e445c55",
1249
+ "2cfff59e91eb45a4a33ae45c886ee188",
1250
+ "236f1354946a471699ed746856f6ebce",
1251
+ "1b463f3730964499b5872d45057ea7f1",
1252
+ "23c6a79f7ab44019b2e331531187edbe",
1253
+ "d435e1a579394af0af9ee4b67566b121",
1254
+ "ca2f9498bd7b440f8d570a39a8cb7c98",
1255
+ "03dd395bb4e743c3b545f5dc7fa62c75",
1256
+ "071b0a7cb7ff4fa9b4a50d2bdbcfc01a",
1257
+ "26cedad581804b40817c4db80b44d56d",
1258
+ "cf76cc497c424249b7e449ea5589e90b",
1259
+ "825548fb63f8444a89940aca63bc7b83",
1260
+ "e56c1224065b4c92b6a8800773224037",
1261
+ "76dc121e5aac492ab209f28385136fc4",
1262
+ "59de9658f0f14163b5115d32a300ce88",
1263
+ "54dd72d47d324b1ea0ddbf44a68fa414",
1264
+ "4ea0ab70227448a98c37cbe56d7af3a5",
1265
+ "feb19fb48daf47be9e1375eaf67ff19d",
1266
+ "44cb4e413f2f414fb6e92557ae355158",
1267
+ "5a7fef3b31cd49e2a43c2b2ad545cce2"
1268
+ ]
1269
+ },
1270
+ "id": "wALA9m226Nm7",
1271
+ "outputId": "8d07facf-0458-470e-8dd9-fb9c1056db2a"
1272
+ },
1273
+ "execution_count": 8,
1274
+ "outputs": [
1275
+ {
1276
+ "output_type": "display_data",
1277
+ "data": {
1278
+ "text/plain": [
1279
+ "VBox(children=(HTML(value='<center> <img\\nsrc=https://huggingface.co/front/assets/huggingface_logo-noborder.sv…"
1280
+ ],
1281
+ "application/vnd.jupyter.widget-view+json": {
1282
+ "version_major": 2,
1283
+ "version_minor": 0,
1284
+ "model_id": "ba3ffd7bb01a4cafa2635b5f106bc1cd"
1285
+ }
1286
+ },
1287
+ "metadata": {}
1288
+ }
1289
+ ]
1290
+ },
1291
+ {
1292
+ "cell_type": "code",
1293
+ "source": [
1294
+ "!mlagents-push-to-hf --run-id=\"HuggyTraining\" --local-dir=\"./results/Huggy\" --repo-id=\"ThomasSimonini/ppo-Huggy\" --commit-message=\"Huggy\""
1295
+ ],
1296
+ "metadata": {
1297
+ "colab": {
1298
+ "base_uri": "https://localhost:8080/"
1299
+ },
1300
+ "id": "qJJbGZY_6Nqe",
1301
+ "outputId": "491b5d7b-7326-4c0e-b5b3-1cdbf41d2556"
1302
+ },
1303
+ "execution_count": 9,
1304
+ "outputs": [
1305
+ {
1306
+ "output_type": "stream",
1307
+ "name": "stdout",
1308
+ "text": [
1309
+ "[INFO] This function will create a model card and upload your HuggyTraining into HuggingFace Hub. This is a work in progress: If you encounter a bug, please send open an issue\n",
1310
+ "Traceback (most recent call last):\n",
1311
+ " File \"/usr/local/bin/mlagents-push-to-hf\", line 33, in <module>\n",
1312
+ " sys.exit(load_entry_point('mlagents', 'console_scripts', 'mlagents-push-to-hf')())\n",
1313
+ " File \"/content/ml-agents/ml-agents/mlagents/utils/push_to_hf.py\", line 205, in main\n",
1314
+ " package_to_hub(\n",
1315
+ " File \"/content/ml-agents/ml-agents/mlagents/utils/push_to_hf.py\", line 159, in package_to_hub\n",
1316
+ " _generate_config(local_path, configfile_name)\n",
1317
+ " File \"/content/ml-agents/ml-agents/mlagents/utils/push_to_hf.py\", line 29, in _generate_config\n",
1318
+ " with open(os.path.join(local_dir, configfile_name)) as yaml_in:\n",
1319
+ "FileNotFoundError: [Errno 2] No such file or directory: 'results/Huggy/configuration.yaml'\n"
1320
+ ]
1321
+ }
1322
+ ]
1323
+ },
1324
+ {
1325
+ "cell_type": "code",
1326
+ "source": [],
1327
+ "metadata": {
1328
+ "id": "PeBLrP5GLedL"
1329
+ },
1330
+ "execution_count": null,
1331
+ "outputs": []
1332
+ },
1333
+ {
1334
+ "cell_type": "markdown",
1335
+ "source": [],
1336
+ "metadata": {
1337
+ "id": "aVz3MLHA6LWZ"
1338
+ }
1339
+ }
1340
+ ]
1341
+ }