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+
"name": "python"
|
| 14 |
+
},
|
| 15 |
+
"widgets": {
|
| 16 |
+
"application/vnd.jupyter.widget-state+json": {
|
| 17 |
+
"84f16d8549b1477187c4dcc6bec392ef": {
|
| 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 |
+
"layout": "IPY_MODEL_bb2fa6f8ba434944aefd2c28d55ca40d"
|
| 33 |
+
}
|
| 34 |
+
},
|
| 35 |
+
"9420b044d01044de8c12d70e403d537a": {
|
| 36 |
+
"model_module": "@jupyter-widgets/controls",
|
| 37 |
+
"model_name": "HTMLModel",
|
| 38 |
+
"model_module_version": "1.5.0",
|
| 39 |
+
"state": {
|
| 40 |
+
"_dom_classes": [],
|
| 41 |
+
"_model_module": "@jupyter-widgets/controls",
|
| 42 |
+
"_model_module_version": "1.5.0",
|
| 43 |
+
"_model_name": "HTMLModel",
|
| 44 |
+
"_view_count": null,
|
| 45 |
+
"_view_module": "@jupyter-widgets/controls",
|
| 46 |
+
"_view_module_version": "1.5.0",
|
| 47 |
+
"_view_name": "HTMLView",
|
| 48 |
+
"description": "",
|
| 49 |
+
"description_tooltip": null,
|
| 50 |
+
"layout": "IPY_MODEL_e00b0987dc5847f692af9a1d46e643b8",
|
| 51 |
+
"placeholder": "",
|
| 52 |
+
"style": "IPY_MODEL_1f2bbf6e47a545b88dd035c73cb5871f",
|
| 53 |
+
"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>"
|
| 54 |
+
}
|
| 55 |
+
},
|
| 56 |
+
"dd73836f6cf84435a5e86a669c0ea6f2": {
|
| 57 |
+
"model_module": "@jupyter-widgets/controls",
|
| 58 |
+
"model_name": "PasswordModel",
|
| 59 |
+
"model_module_version": "1.5.0",
|
| 60 |
+
"state": {
|
| 61 |
+
"_dom_classes": [],
|
| 62 |
+
"_model_module": "@jupyter-widgets/controls",
|
| 63 |
+
"_model_module_version": "1.5.0",
|
| 64 |
+
"_model_name": "PasswordModel",
|
| 65 |
+
"_view_count": null,
|
| 66 |
+
"_view_module": "@jupyter-widgets/controls",
|
| 67 |
+
"_view_module_version": "1.5.0",
|
| 68 |
+
"_view_name": "PasswordView",
|
| 69 |
+
"continuous_update": true,
|
| 70 |
+
"description": "Token:",
|
| 71 |
+
"description_tooltip": null,
|
| 72 |
+
"disabled": false,
|
| 73 |
+
"layout": "IPY_MODEL_6a2cdd94a54e485c841e4bf3f146d726",
|
| 74 |
+
"placeholder": "",
|
| 75 |
+
"style": "IPY_MODEL_548af9ebb28849938413e0e3eade5f85",
|
| 76 |
+
"value": ""
|
| 77 |
+
}
|
| 78 |
+
},
|
| 79 |
+
"900b518bb55e451f906f994da1443e61": {
|
| 80 |
+
"model_module": "@jupyter-widgets/controls",
|
| 81 |
+
"model_name": "CheckboxModel",
|
| 82 |
+
"model_module_version": "1.5.0",
|
| 83 |
+
"state": {
|
| 84 |
+
"_dom_classes": [],
|
| 85 |
+
"_model_module": "@jupyter-widgets/controls",
|
| 86 |
+
"_model_module_version": "1.5.0",
|
| 87 |
+
"_model_name": "CheckboxModel",
|
| 88 |
+
"_view_count": null,
|
| 89 |
+
"_view_module": "@jupyter-widgets/controls",
|
| 90 |
+
"_view_module_version": "1.5.0",
|
| 91 |
+
"_view_name": "CheckboxView",
|
| 92 |
+
"description": "Add token as git credential?",
|
| 93 |
+
"description_tooltip": null,
|
| 94 |
+
"disabled": false,
|
| 95 |
+
"indent": true,
|
| 96 |
+
"layout": "IPY_MODEL_b4ddb91ffd904705bb0ce20141b79a55",
|
| 97 |
+
"style": "IPY_MODEL_f5c3d502cc5a415691cf18b35afb8c6b",
|
| 98 |
+
"value": true
|
| 99 |
+
}
|
| 100 |
+
},
|
| 101 |
+
"57d294398311407cbf0e5c3b17574441": {
|
| 102 |
+
"model_module": "@jupyter-widgets/controls",
|
| 103 |
+
"model_name": "ButtonModel",
|
| 104 |
+
"model_module_version": "1.5.0",
|
| 105 |
+
"state": {
|
| 106 |
+
"_dom_classes": [],
|
| 107 |
+
"_model_module": "@jupyter-widgets/controls",
|
| 108 |
+
"_model_module_version": "1.5.0",
|
| 109 |
+
"_model_name": "ButtonModel",
|
| 110 |
+
"_view_count": null,
|
| 111 |
+
"_view_module": "@jupyter-widgets/controls",
|
| 112 |
+
"_view_module_version": "1.5.0",
|
| 113 |
+
"_view_name": "ButtonView",
|
| 114 |
+
"button_style": "",
|
| 115 |
+
"description": "Login",
|
| 116 |
+
"disabled": false,
|
| 117 |
+
"icon": "",
|
| 118 |
+
"layout": "IPY_MODEL_ac023571d5a247199b6ade2e196bc478",
|
| 119 |
+
"style": "IPY_MODEL_fc6b8b72f5634f83ad06cdff642d8884",
|
| 120 |
+
"tooltip": ""
|
| 121 |
+
}
|
| 122 |
+
},
|
| 123 |
+
"56d271f8611a4ae6a96aa114c3c4edfa": {
|
| 124 |
+
"model_module": "@jupyter-widgets/controls",
|
| 125 |
+
"model_name": "HTMLModel",
|
| 126 |
+
"model_module_version": "1.5.0",
|
| 127 |
+
"state": {
|
| 128 |
+
"_dom_classes": [],
|
| 129 |
+
"_model_module": "@jupyter-widgets/controls",
|
| 130 |
+
"_model_module_version": "1.5.0",
|
| 131 |
+
"_model_name": "HTMLModel",
|
| 132 |
+
"_view_count": null,
|
| 133 |
+
"_view_module": "@jupyter-widgets/controls",
|
| 134 |
+
"_view_module_version": "1.5.0",
|
| 135 |
+
"_view_name": "HTMLView",
|
| 136 |
+
"description": "",
|
| 137 |
+
"description_tooltip": null,
|
| 138 |
+
"layout": "IPY_MODEL_19c3106efa494592a64adf126ed29bd5",
|
| 139 |
+
"placeholder": "",
|
| 140 |
+
"style": "IPY_MODEL_e9e6622d55654e6897f99deb3ea97894",
|
| 141 |
+
"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>"
|
| 142 |
+
}
|
| 143 |
+
},
|
| 144 |
+
"bb2fa6f8ba434944aefd2c28d55ca40d": {
|
| 145 |
+
"model_module": "@jupyter-widgets/base",
|
| 146 |
+
"model_name": "LayoutModel",
|
| 147 |
+
"model_module_version": "1.2.0",
|
| 148 |
+
"state": {
|
| 149 |
+
"_model_module": "@jupyter-widgets/base",
|
| 150 |
+
"_model_module_version": "1.2.0",
|
| 151 |
+
"_model_name": "LayoutModel",
|
| 152 |
+
"_view_count": null,
|
| 153 |
+
"_view_module": "@jupyter-widgets/base",
|
| 154 |
+
"_view_module_version": "1.2.0",
|
| 155 |
+
"_view_name": "LayoutView",
|
| 156 |
+
"align_content": null,
|
| 157 |
+
"align_items": "center",
|
| 158 |
+
"align_self": null,
|
| 159 |
+
"border": null,
|
| 160 |
+
"bottom": null,
|
| 161 |
+
"display": "flex",
|
| 162 |
+
"flex": null,
|
| 163 |
+
"flex_flow": "column",
|
| 164 |
+
"grid_area": null,
|
| 165 |
+
"grid_auto_columns": null,
|
| 166 |
+
"grid_auto_flow": null,
|
| 167 |
+
"grid_auto_rows": null,
|
| 168 |
+
"grid_column": null,
|
| 169 |
+
"grid_gap": null,
|
| 170 |
+
"grid_row": null,
|
| 171 |
+
"grid_template_areas": null,
|
| 172 |
+
"grid_template_columns": null,
|
| 173 |
+
"grid_template_rows": null,
|
| 174 |
+
"height": null,
|
| 175 |
+
"justify_content": null,
|
| 176 |
+
"justify_items": null,
|
| 177 |
+
"left": null,
|
| 178 |
+
"margin": null,
|
| 179 |
+
"max_height": null,
|
| 180 |
+
"max_width": null,
|
| 181 |
+
"min_height": null,
|
| 182 |
+
"min_width": null,
|
| 183 |
+
"object_fit": null,
|
| 184 |
+
"object_position": null,
|
| 185 |
+
"order": null,
|
| 186 |
+
"overflow": null,
|
| 187 |
+
"overflow_x": null,
|
| 188 |
+
"overflow_y": null,
|
| 189 |
+
"padding": null,
|
| 190 |
+
"right": null,
|
| 191 |
+
"top": null,
|
| 192 |
+
"visibility": null,
|
| 193 |
+
"width": "50%"
|
| 194 |
+
}
|
| 195 |
+
},
|
| 196 |
+
"e00b0987dc5847f692af9a1d46e643b8": {
|
| 197 |
+
"model_module": "@jupyter-widgets/base",
|
| 198 |
+
"model_name": "LayoutModel",
|
| 199 |
+
"model_module_version": "1.2.0",
|
| 200 |
+
"state": {
|
| 201 |
+
"_model_module": "@jupyter-widgets/base",
|
| 202 |
+
"_model_module_version": "1.2.0",
|
| 203 |
+
"_model_name": "LayoutModel",
|
| 204 |
+
"_view_count": null,
|
| 205 |
+
"_view_module": "@jupyter-widgets/base",
|
| 206 |
+
"_view_module_version": "1.2.0",
|
| 207 |
+
"_view_name": "LayoutView",
|
| 208 |
+
"align_content": null,
|
| 209 |
+
"align_items": null,
|
| 210 |
+
"align_self": null,
|
| 211 |
+
"border": null,
|
| 212 |
+
"bottom": null,
|
| 213 |
+
"display": null,
|
| 214 |
+
"flex": null,
|
| 215 |
+
"flex_flow": null,
|
| 216 |
+
"grid_area": null,
|
| 217 |
+
"grid_auto_columns": null,
|
| 218 |
+
"grid_auto_flow": null,
|
| 219 |
+
"grid_auto_rows": null,
|
| 220 |
+
"grid_column": null,
|
| 221 |
+
"grid_gap": null,
|
| 222 |
+
"grid_row": null,
|
| 223 |
+
"grid_template_areas": null,
|
| 224 |
+
"grid_template_columns": null,
|
| 225 |
+
"grid_template_rows": null,
|
| 226 |
+
"height": null,
|
| 227 |
+
"justify_content": null,
|
| 228 |
+
"justify_items": null,
|
| 229 |
+
"left": null,
|
| 230 |
+
"margin": null,
|
| 231 |
+
"max_height": null,
|
| 232 |
+
"max_width": null,
|
| 233 |
+
"min_height": null,
|
| 234 |
+
"min_width": null,
|
| 235 |
+
"object_fit": null,
|
| 236 |
+
"object_position": null,
|
| 237 |
+
"order": null,
|
| 238 |
+
"overflow": null,
|
| 239 |
+
"overflow_x": null,
|
| 240 |
+
"overflow_y": null,
|
| 241 |
+
"padding": null,
|
| 242 |
+
"right": null,
|
| 243 |
+
"top": null,
|
| 244 |
+
"visibility": null,
|
| 245 |
+
"width": null
|
| 246 |
+
}
|
| 247 |
+
},
|
| 248 |
+
"1f2bbf6e47a545b88dd035c73cb5871f": {
|
| 249 |
+
"model_module": "@jupyter-widgets/controls",
|
| 250 |
+
"model_name": "DescriptionStyleModel",
|
| 251 |
+
"model_module_version": "1.5.0",
|
| 252 |
+
"state": {
|
| 253 |
+
"_model_module": "@jupyter-widgets/controls",
|
| 254 |
+
"_model_module_version": "1.5.0",
|
| 255 |
+
"_model_name": "DescriptionStyleModel",
|
| 256 |
+
"_view_count": null,
|
| 257 |
+
"_view_module": "@jupyter-widgets/base",
|
| 258 |
+
"_view_module_version": "1.2.0",
|
| 259 |
+
"_view_name": "StyleView",
|
| 260 |
+
"description_width": ""
|
| 261 |
+
}
|
| 262 |
+
},
|
| 263 |
+
"6a2cdd94a54e485c841e4bf3f146d726": {
|
| 264 |
+
"model_module": "@jupyter-widgets/base",
|
| 265 |
+
"model_name": "LayoutModel",
|
| 266 |
+
"model_module_version": "1.2.0",
|
| 267 |
+
"state": {
|
| 268 |
+
"_model_module": "@jupyter-widgets/base",
|
| 269 |
+
"_model_module_version": "1.2.0",
|
| 270 |
+
"_model_name": "LayoutModel",
|
| 271 |
+
"_view_count": null,
|
| 272 |
+
"_view_module": "@jupyter-widgets/base",
|
| 273 |
+
"_view_module_version": "1.2.0",
|
| 274 |
+
"_view_name": "LayoutView",
|
| 275 |
+
"align_content": null,
|
| 276 |
+
"align_items": null,
|
| 277 |
+
"align_self": null,
|
| 278 |
+
"border": null,
|
| 279 |
+
"bottom": null,
|
| 280 |
+
"display": null,
|
| 281 |
+
"flex": null,
|
| 282 |
+
"flex_flow": null,
|
| 283 |
+
"grid_area": null,
|
| 284 |
+
"grid_auto_columns": null,
|
| 285 |
+
"grid_auto_flow": null,
|
| 286 |
+
"grid_auto_rows": null,
|
| 287 |
+
"grid_column": null,
|
| 288 |
+
"grid_gap": null,
|
| 289 |
+
"grid_row": null,
|
| 290 |
+
"grid_template_areas": null,
|
| 291 |
+
"grid_template_columns": null,
|
| 292 |
+
"grid_template_rows": null,
|
| 293 |
+
"height": null,
|
| 294 |
+
"justify_content": null,
|
| 295 |
+
"justify_items": null,
|
| 296 |
+
"left": null,
|
| 297 |
+
"margin": null,
|
| 298 |
+
"max_height": null,
|
| 299 |
+
"max_width": null,
|
| 300 |
+
"min_height": null,
|
| 301 |
+
"min_width": null,
|
| 302 |
+
"object_fit": null,
|
| 303 |
+
"object_position": null,
|
| 304 |
+
"order": null,
|
| 305 |
+
"overflow": null,
|
| 306 |
+
"overflow_x": null,
|
| 307 |
+
"overflow_y": null,
|
| 308 |
+
"padding": null,
|
| 309 |
+
"right": null,
|
| 310 |
+
"top": null,
|
| 311 |
+
"visibility": null,
|
| 312 |
+
"width": null
|
| 313 |
+
}
|
| 314 |
+
},
|
| 315 |
+
"548af9ebb28849938413e0e3eade5f85": {
|
| 316 |
+
"model_module": "@jupyter-widgets/controls",
|
| 317 |
+
"model_name": "DescriptionStyleModel",
|
| 318 |
+
"model_module_version": "1.5.0",
|
| 319 |
+
"state": {
|
| 320 |
+
"_model_module": "@jupyter-widgets/controls",
|
| 321 |
+
"_model_module_version": "1.5.0",
|
| 322 |
+
"_model_name": "DescriptionStyleModel",
|
| 323 |
+
"_view_count": null,
|
| 324 |
+
"_view_module": "@jupyter-widgets/base",
|
| 325 |
+
"_view_module_version": "1.2.0",
|
| 326 |
+
"_view_name": "StyleView",
|
| 327 |
+
"description_width": ""
|
| 328 |
+
}
|
| 329 |
+
},
|
| 330 |
+
"b4ddb91ffd904705bb0ce20141b79a55": {
|
| 331 |
+
"model_module": "@jupyter-widgets/base",
|
| 332 |
+
"model_name": "LayoutModel",
|
| 333 |
+
"model_module_version": "1.2.0",
|
| 334 |
+
"state": {
|
| 335 |
+
"_model_module": "@jupyter-widgets/base",
|
| 336 |
+
"_model_module_version": "1.2.0",
|
| 337 |
+
"_model_name": "LayoutModel",
|
| 338 |
+
"_view_count": null,
|
| 339 |
+
"_view_module": "@jupyter-widgets/base",
|
| 340 |
+
"_view_module_version": "1.2.0",
|
| 341 |
+
"_view_name": "LayoutView",
|
| 342 |
+
"align_content": null,
|
| 343 |
+
"align_items": null,
|
| 344 |
+
"align_self": null,
|
| 345 |
+
"border": null,
|
| 346 |
+
"bottom": null,
|
| 347 |
+
"display": null,
|
| 348 |
+
"flex": null,
|
| 349 |
+
"flex_flow": null,
|
| 350 |
+
"grid_area": null,
|
| 351 |
+
"grid_auto_columns": null,
|
| 352 |
+
"grid_auto_flow": null,
|
| 353 |
+
"grid_auto_rows": null,
|
| 354 |
+
"grid_column": null,
|
| 355 |
+
"grid_gap": null,
|
| 356 |
+
"grid_row": null,
|
| 357 |
+
"grid_template_areas": null,
|
| 358 |
+
"grid_template_columns": null,
|
| 359 |
+
"grid_template_rows": null,
|
| 360 |
+
"height": null,
|
| 361 |
+
"justify_content": null,
|
| 362 |
+
"justify_items": null,
|
| 363 |
+
"left": null,
|
| 364 |
+
"margin": null,
|
| 365 |
+
"max_height": null,
|
| 366 |
+
"max_width": null,
|
| 367 |
+
"min_height": null,
|
| 368 |
+
"min_width": null,
|
| 369 |
+
"object_fit": null,
|
| 370 |
+
"object_position": null,
|
| 371 |
+
"order": null,
|
| 372 |
+
"overflow": null,
|
| 373 |
+
"overflow_x": null,
|
| 374 |
+
"overflow_y": null,
|
| 375 |
+
"padding": null,
|
| 376 |
+
"right": null,
|
| 377 |
+
"top": null,
|
| 378 |
+
"visibility": null,
|
| 379 |
+
"width": null
|
| 380 |
+
}
|
| 381 |
+
},
|
| 382 |
+
"f5c3d502cc5a415691cf18b35afb8c6b": {
|
| 383 |
+
"model_module": "@jupyter-widgets/controls",
|
| 384 |
+
"model_name": "DescriptionStyleModel",
|
| 385 |
+
"model_module_version": "1.5.0",
|
| 386 |
+
"state": {
|
| 387 |
+
"_model_module": "@jupyter-widgets/controls",
|
| 388 |
+
"_model_module_version": "1.5.0",
|
| 389 |
+
"_model_name": "DescriptionStyleModel",
|
| 390 |
+
"_view_count": null,
|
| 391 |
+
"_view_module": "@jupyter-widgets/base",
|
| 392 |
+
"_view_module_version": "1.2.0",
|
| 393 |
+
"_view_name": "StyleView",
|
| 394 |
+
"description_width": ""
|
| 395 |
+
}
|
| 396 |
+
},
|
| 397 |
+
"ac023571d5a247199b6ade2e196bc478": {
|
| 398 |
+
"model_module": "@jupyter-widgets/base",
|
| 399 |
+
"model_name": "LayoutModel",
|
| 400 |
+
"model_module_version": "1.2.0",
|
| 401 |
+
"state": {
|
| 402 |
+
"_model_module": "@jupyter-widgets/base",
|
| 403 |
+
"_model_module_version": "1.2.0",
|
| 404 |
+
"_model_name": "LayoutModel",
|
| 405 |
+
"_view_count": null,
|
| 406 |
+
"_view_module": "@jupyter-widgets/base",
|
| 407 |
+
"_view_module_version": "1.2.0",
|
| 408 |
+
"_view_name": "LayoutView",
|
| 409 |
+
"align_content": null,
|
| 410 |
+
"align_items": null,
|
| 411 |
+
"align_self": null,
|
| 412 |
+
"border": null,
|
| 413 |
+
"bottom": null,
|
| 414 |
+
"display": null,
|
| 415 |
+
"flex": null,
|
| 416 |
+
"flex_flow": null,
|
| 417 |
+
"grid_area": null,
|
| 418 |
+
"grid_auto_columns": null,
|
| 419 |
+
"grid_auto_flow": null,
|
| 420 |
+
"grid_auto_rows": null,
|
| 421 |
+
"grid_column": null,
|
| 422 |
+
"grid_gap": null,
|
| 423 |
+
"grid_row": null,
|
| 424 |
+
"grid_template_areas": null,
|
| 425 |
+
"grid_template_columns": null,
|
| 426 |
+
"grid_template_rows": null,
|
| 427 |
+
"height": null,
|
| 428 |
+
"justify_content": null,
|
| 429 |
+
"justify_items": null,
|
| 430 |
+
"left": null,
|
| 431 |
+
"margin": null,
|
| 432 |
+
"max_height": null,
|
| 433 |
+
"max_width": null,
|
| 434 |
+
"min_height": null,
|
| 435 |
+
"min_width": null,
|
| 436 |
+
"object_fit": null,
|
| 437 |
+
"object_position": null,
|
| 438 |
+
"order": null,
|
| 439 |
+
"overflow": null,
|
| 440 |
+
"overflow_x": null,
|
| 441 |
+
"overflow_y": null,
|
| 442 |
+
"padding": null,
|
| 443 |
+
"right": null,
|
| 444 |
+
"top": null,
|
| 445 |
+
"visibility": null,
|
| 446 |
+
"width": null
|
| 447 |
+
}
|
| 448 |
+
},
|
| 449 |
+
"fc6b8b72f5634f83ad06cdff642d8884": {
|
| 450 |
+
"model_module": "@jupyter-widgets/controls",
|
| 451 |
+
"model_name": "ButtonStyleModel",
|
| 452 |
+
"model_module_version": "1.5.0",
|
| 453 |
+
"state": {
|
| 454 |
+
"_model_module": "@jupyter-widgets/controls",
|
| 455 |
+
"_model_module_version": "1.5.0",
|
| 456 |
+
"_model_name": "ButtonStyleModel",
|
| 457 |
+
"_view_count": null,
|
| 458 |
+
"_view_module": "@jupyter-widgets/base",
|
| 459 |
+
"_view_module_version": "1.2.0",
|
| 460 |
+
"_view_name": "StyleView",
|
| 461 |
+
"button_color": null,
|
| 462 |
+
"font_weight": ""
|
| 463 |
+
}
|
| 464 |
+
},
|
| 465 |
+
"19c3106efa494592a64adf126ed29bd5": {
|
| 466 |
+
"model_module": "@jupyter-widgets/base",
|
| 467 |
+
"model_name": "LayoutModel",
|
| 468 |
+
"model_module_version": "1.2.0",
|
| 469 |
+
"state": {
|
| 470 |
+
"_model_module": "@jupyter-widgets/base",
|
| 471 |
+
"_model_module_version": "1.2.0",
|
| 472 |
+
"_model_name": "LayoutModel",
|
| 473 |
+
"_view_count": null,
|
| 474 |
+
"_view_module": "@jupyter-widgets/base",
|
| 475 |
+
"_view_module_version": "1.2.0",
|
| 476 |
+
"_view_name": "LayoutView",
|
| 477 |
+
"align_content": null,
|
| 478 |
+
"align_items": null,
|
| 479 |
+
"align_self": null,
|
| 480 |
+
"border": null,
|
| 481 |
+
"bottom": null,
|
| 482 |
+
"display": null,
|
| 483 |
+
"flex": null,
|
| 484 |
+
"flex_flow": null,
|
| 485 |
+
"grid_area": null,
|
| 486 |
+
"grid_auto_columns": null,
|
| 487 |
+
"grid_auto_flow": null,
|
| 488 |
+
"grid_auto_rows": null,
|
| 489 |
+
"grid_column": null,
|
| 490 |
+
"grid_gap": null,
|
| 491 |
+
"grid_row": null,
|
| 492 |
+
"grid_template_areas": null,
|
| 493 |
+
"grid_template_columns": null,
|
| 494 |
+
"grid_template_rows": null,
|
| 495 |
+
"height": null,
|
| 496 |
+
"justify_content": null,
|
| 497 |
+
"justify_items": null,
|
| 498 |
+
"left": null,
|
| 499 |
+
"margin": null,
|
| 500 |
+
"max_height": null,
|
| 501 |
+
"max_width": null,
|
| 502 |
+
"min_height": null,
|
| 503 |
+
"min_width": null,
|
| 504 |
+
"object_fit": null,
|
| 505 |
+
"object_position": null,
|
| 506 |
+
"order": null,
|
| 507 |
+
"overflow": null,
|
| 508 |
+
"overflow_x": null,
|
| 509 |
+
"overflow_y": null,
|
| 510 |
+
"padding": null,
|
| 511 |
+
"right": null,
|
| 512 |
+
"top": null,
|
| 513 |
+
"visibility": null,
|
| 514 |
+
"width": null
|
| 515 |
+
}
|
| 516 |
+
},
|
| 517 |
+
"e9e6622d55654e6897f99deb3ea97894": {
|
| 518 |
+
"model_module": "@jupyter-widgets/controls",
|
| 519 |
+
"model_name": "DescriptionStyleModel",
|
| 520 |
+
"model_module_version": "1.5.0",
|
| 521 |
+
"state": {
|
| 522 |
+
"_model_module": "@jupyter-widgets/controls",
|
| 523 |
+
"_model_module_version": "1.5.0",
|
| 524 |
+
"_model_name": "DescriptionStyleModel",
|
| 525 |
+
"_view_count": null,
|
| 526 |
+
"_view_module": "@jupyter-widgets/base",
|
| 527 |
+
"_view_module_version": "1.2.0",
|
| 528 |
+
"_view_name": "StyleView",
|
| 529 |
+
"description_width": ""
|
| 530 |
+
}
|
| 531 |
+
},
|
| 532 |
+
"86469dc9818246cd99f6bf5288e20d69": {
|
| 533 |
+
"model_module": "@jupyter-widgets/controls",
|
| 534 |
+
"model_name": "LabelModel",
|
| 535 |
+
"model_module_version": "1.5.0",
|
| 536 |
+
"state": {
|
| 537 |
+
"_dom_classes": [],
|
| 538 |
+
"_model_module": "@jupyter-widgets/controls",
|
| 539 |
+
"_model_module_version": "1.5.0",
|
| 540 |
+
"_model_name": "LabelModel",
|
| 541 |
+
"_view_count": null,
|
| 542 |
+
"_view_module": "@jupyter-widgets/controls",
|
| 543 |
+
"_view_module_version": "1.5.0",
|
| 544 |
+
"_view_name": "LabelView",
|
| 545 |
+
"description": "",
|
| 546 |
+
"description_tooltip": null,
|
| 547 |
+
"layout": "IPY_MODEL_77e257e866cd4c689b5d9d090aa519fb",
|
| 548 |
+
"placeholder": "",
|
| 549 |
+
"style": "IPY_MODEL_09776533b89640d3a3e75a12f6671277",
|
| 550 |
+
"value": "Connecting..."
|
| 551 |
+
}
|
| 552 |
+
},
|
| 553 |
+
"77e257e866cd4c689b5d9d090aa519fb": {
|
| 554 |
+
"model_module": "@jupyter-widgets/base",
|
| 555 |
+
"model_name": "LayoutModel",
|
| 556 |
+
"model_module_version": "1.2.0",
|
| 557 |
+
"state": {
|
| 558 |
+
"_model_module": "@jupyter-widgets/base",
|
| 559 |
+
"_model_module_version": "1.2.0",
|
| 560 |
+
"_model_name": "LayoutModel",
|
| 561 |
+
"_view_count": null,
|
| 562 |
+
"_view_module": "@jupyter-widgets/base",
|
| 563 |
+
"_view_module_version": "1.2.0",
|
| 564 |
+
"_view_name": "LayoutView",
|
| 565 |
+
"align_content": null,
|
| 566 |
+
"align_items": null,
|
| 567 |
+
"align_self": null,
|
| 568 |
+
"border": null,
|
| 569 |
+
"bottom": null,
|
| 570 |
+
"display": null,
|
| 571 |
+
"flex": null,
|
| 572 |
+
"flex_flow": null,
|
| 573 |
+
"grid_area": null,
|
| 574 |
+
"grid_auto_columns": null,
|
| 575 |
+
"grid_auto_flow": null,
|
| 576 |
+
"grid_auto_rows": null,
|
| 577 |
+
"grid_column": null,
|
| 578 |
+
"grid_gap": null,
|
| 579 |
+
"grid_row": null,
|
| 580 |
+
"grid_template_areas": null,
|
| 581 |
+
"grid_template_columns": null,
|
| 582 |
+
"grid_template_rows": null,
|
| 583 |
+
"height": null,
|
| 584 |
+
"justify_content": null,
|
| 585 |
+
"justify_items": null,
|
| 586 |
+
"left": null,
|
| 587 |
+
"margin": null,
|
| 588 |
+
"max_height": null,
|
| 589 |
+
"max_width": null,
|
| 590 |
+
"min_height": null,
|
| 591 |
+
"min_width": null,
|
| 592 |
+
"object_fit": null,
|
| 593 |
+
"object_position": null,
|
| 594 |
+
"order": null,
|
| 595 |
+
"overflow": null,
|
| 596 |
+
"overflow_x": null,
|
| 597 |
+
"overflow_y": null,
|
| 598 |
+
"padding": null,
|
| 599 |
+
"right": null,
|
| 600 |
+
"top": null,
|
| 601 |
+
"visibility": null,
|
| 602 |
+
"width": null
|
| 603 |
+
}
|
| 604 |
+
},
|
| 605 |
+
"09776533b89640d3a3e75a12f6671277": {
|
| 606 |
+
"model_module": "@jupyter-widgets/controls",
|
| 607 |
+
"model_name": "DescriptionStyleModel",
|
| 608 |
+
"model_module_version": "1.5.0",
|
| 609 |
+
"state": {
|
| 610 |
+
"_model_module": "@jupyter-widgets/controls",
|
| 611 |
+
"_model_module_version": "1.5.0",
|
| 612 |
+
"_model_name": "DescriptionStyleModel",
|
| 613 |
+
"_view_count": null,
|
| 614 |
+
"_view_module": "@jupyter-widgets/base",
|
| 615 |
+
"_view_module_version": "1.2.0",
|
| 616 |
+
"_view_name": "StyleView",
|
| 617 |
+
"description_width": ""
|
| 618 |
+
}
|
| 619 |
+
}
|
| 620 |
+
}
|
| 621 |
+
}
|
| 622 |
+
},
|
| 623 |
+
"cells": [
|
| 624 |
+
{
|
| 625 |
+
"cell_type": "code",
|
| 626 |
+
"execution_count": 1,
|
| 627 |
+
"metadata": {
|
| 628 |
+
"colab": {
|
| 629 |
+
"base_uri": "https://localhost:8080/"
|
| 630 |
+
},
|
| 631 |
+
"id": "ZHhwrmoW0BWT",
|
| 632 |
+
"outputId": "fae86d0d-efea-4c1b-fee4-6a0b4cc4d324"
|
| 633 |
+
},
|
| 634 |
+
"outputs": [
|
| 635 |
+
{
|
| 636 |
+
"output_type": "stream",
|
| 637 |
+
"name": "stdout",
|
| 638 |
+
"text": [
|
| 639 |
+
"Cloning into 'mixture-of-agents'...\n",
|
| 640 |
+
"remote: Enumerating objects: 13, done.\u001b[K\n",
|
| 641 |
+
"remote: Counting objects: 100% (9/9), done.\u001b[K\n",
|
| 642 |
+
"remote: Compressing objects: 100% (9/9), done.\u001b[K\n",
|
| 643 |
+
"remote: Total 13 (delta 2), reused 0 (delta 0), pack-reused 4 (from 1)\u001b[K\n",
|
| 644 |
+
"Unpacking objects: 100% (13/13), 6.85 KiB | 1.71 MiB/s, done.\n"
|
| 645 |
+
]
|
| 646 |
+
}
|
| 647 |
+
],
|
| 648 |
+
"source": [
|
| 649 |
+
"# Clone the Hugging Face Space repository\n",
|
| 650 |
+
"!git clone https://huggingface.co/spaces/DrishtiSharma/mixture-of-agents\n",
|
| 651 |
+
"\n",
|
| 652 |
+
"\n"
|
| 653 |
+
]
|
| 654 |
+
},
|
| 655 |
+
{
|
| 656 |
+
"cell_type": "code",
|
| 657 |
+
"source": [
|
| 658 |
+
"# Change directory to the Hugging Face Space repository\n",
|
| 659 |
+
"%cd mixture-of-agents"
|
| 660 |
+
],
|
| 661 |
+
"metadata": {
|
| 662 |
+
"colab": {
|
| 663 |
+
"base_uri": "https://localhost:8080/"
|
| 664 |
+
},
|
| 665 |
+
"id": "6X0Y_Ers01tB",
|
| 666 |
+
"outputId": "7ccb2295-317e-4509-d8a3-3de6a2a7addf"
|
| 667 |
+
},
|
| 668 |
+
"execution_count": 2,
|
| 669 |
+
"outputs": [
|
| 670 |
+
{
|
| 671 |
+
"output_type": "stream",
|
| 672 |
+
"name": "stdout",
|
| 673 |
+
"text": [
|
| 674 |
+
"/content/mixture-of-agents\n"
|
| 675 |
+
]
|
| 676 |
+
}
|
| 677 |
+
]
|
| 678 |
+
},
|
| 679 |
+
{
|
| 680 |
+
"cell_type": "code",
|
| 681 |
+
"source": [
|
| 682 |
+
"# Clone the GitHub repository containing the folder\n",
|
| 683 |
+
"!git clone https://github.com/kram254/Mixture-of-Agents-running-on-Groq.git"
|
| 684 |
+
],
|
| 685 |
+
"metadata": {
|
| 686 |
+
"colab": {
|
| 687 |
+
"base_uri": "https://localhost:8080/"
|
| 688 |
+
},
|
| 689 |
+
"id": "prdXMc4d04nr",
|
| 690 |
+
"outputId": "f3766bdf-8e72-4f9c-ae21-7ff445285b18"
|
| 691 |
+
},
|
| 692 |
+
"execution_count": 3,
|
| 693 |
+
"outputs": [
|
| 694 |
+
{
|
| 695 |
+
"output_type": "stream",
|
| 696 |
+
"name": "stdout",
|
| 697 |
+
"text": [
|
| 698 |
+
"Cloning into 'Mixture-of-Agents-running-on-Groq'...\n",
|
| 699 |
+
"remote: Enumerating objects: 27, done.\u001b[K\n",
|
| 700 |
+
"remote: Counting objects: 100% (27/27), done.\u001b[K\n",
|
| 701 |
+
"remote: Compressing objects: 100% (21/21), done.\u001b[K\n",
|
| 702 |
+
"remote: Total 27 (delta 3), reused 27 (delta 3), pack-reused 0 (from 0)\u001b[K\n",
|
| 703 |
+
"Receiving objects: 100% (27/27), 50.45 KiB | 2.29 MiB/s, done.\n",
|
| 704 |
+
"Resolving deltas: 100% (3/3), done.\n"
|
| 705 |
+
]
|
| 706 |
+
}
|
| 707 |
+
]
|
| 708 |
+
},
|
| 709 |
+
{
|
| 710 |
+
"cell_type": "code",
|
| 711 |
+
"source": [
|
| 712 |
+
"# List the files in the researcher_swarm folder to verify\n",
|
| 713 |
+
"!ls Mixture-of-Agents-running-on-Groq"
|
| 714 |
+
],
|
| 715 |
+
"metadata": {
|
| 716 |
+
"colab": {
|
| 717 |
+
"base_uri": "https://localhost:8080/"
|
| 718 |
+
},
|
| 719 |
+
"id": "1vyD348f1WmP",
|
| 720 |
+
"outputId": "4da0d5a8-b554-4501-d182-55288bee9550"
|
| 721 |
+
},
|
| 722 |
+
"execution_count": 4,
|
| 723 |
+
"outputs": [
|
| 724 |
+
{
|
| 725 |
+
"output_type": "stream",
|
| 726 |
+
"name": "stdout",
|
| 727 |
+
"text": [
|
| 728 |
+
"app.py\tDockerfile LICENSE moa README.md requirements.txt static\n"
|
| 729 |
+
]
|
| 730 |
+
}
|
| 731 |
+
]
|
| 732 |
+
},
|
| 733 |
+
{
|
| 734 |
+
"cell_type": "code",
|
| 735 |
+
"source": [
|
| 736 |
+
"# Copy only the app folder or the required content to the Hugging Face Space repository\n",
|
| 737 |
+
"# Update <correct_folder_name> if app is named differently or copy all contents\n",
|
| 738 |
+
"!cp -r Mixture-of-Agents-running-on-Groq/moa /content/mixture-of-agents/ || \\\n",
|
| 739 |
+
"cp -r Mixture-of-Agents-running-on-Groq/* /content/mixture-of-agents/"
|
| 740 |
+
],
|
| 741 |
+
"metadata": {
|
| 742 |
+
"id": "3gE6umBh1Z7K"
|
| 743 |
+
},
|
| 744 |
+
"execution_count": 5,
|
| 745 |
+
"outputs": []
|
| 746 |
+
},
|
| 747 |
+
{
|
| 748 |
+
"cell_type": "code",
|
| 749 |
+
"source": [
|
| 750 |
+
"# Navigate back to the Hugging Face Space repository\n",
|
| 751 |
+
"%cd /content/mixture-of-agents"
|
| 752 |
+
],
|
| 753 |
+
"metadata": {
|
| 754 |
+
"colab": {
|
| 755 |
+
"base_uri": "https://localhost:8080/"
|
| 756 |
+
},
|
| 757 |
+
"id": "EQ7baHG91dIS",
|
| 758 |
+
"outputId": "6ef3de20-9410-43ea-86d2-a4e1a6f75181"
|
| 759 |
+
},
|
| 760 |
+
"execution_count": 6,
|
| 761 |
+
"outputs": [
|
| 762 |
+
{
|
| 763 |
+
"output_type": "stream",
|
| 764 |
+
"name": "stdout",
|
| 765 |
+
"text": [
|
| 766 |
+
"/content/mixture-of-agents\n"
|
| 767 |
+
]
|
| 768 |
+
}
|
| 769 |
+
]
|
| 770 |
+
},
|
| 771 |
+
{
|
| 772 |
+
"cell_type": "code",
|
| 773 |
+
"source": [
|
| 774 |
+
"# Initialize a Git repository if not already initialized\n",
|
| 775 |
+
"!git init"
|
| 776 |
+
],
|
| 777 |
+
"metadata": {
|
| 778 |
+
"colab": {
|
| 779 |
+
"base_uri": "https://localhost:8080/"
|
| 780 |
+
},
|
| 781 |
+
"id": "8HeZbVwV1gE7",
|
| 782 |
+
"outputId": "0c62351c-1456-4555-b2ba-1b28c7ca8ad4"
|
| 783 |
+
},
|
| 784 |
+
"execution_count": 7,
|
| 785 |
+
"outputs": [
|
| 786 |
+
{
|
| 787 |
+
"output_type": "stream",
|
| 788 |
+
"name": "stdout",
|
| 789 |
+
"text": [
|
| 790 |
+
"Reinitialized existing Git repository in /content/mixture-of-agents/.git/\n"
|
| 791 |
+
]
|
| 792 |
+
}
|
| 793 |
+
]
|
| 794 |
+
},
|
| 795 |
+
{
|
| 796 |
+
"cell_type": "code",
|
| 797 |
+
"source": [
|
| 798 |
+
"# Stage the copied files\n",
|
| 799 |
+
"!git add ."
|
| 800 |
+
],
|
| 801 |
+
"metadata": {
|
| 802 |
+
"colab": {
|
| 803 |
+
"base_uri": "https://localhost:8080/"
|
| 804 |
+
},
|
| 805 |
+
"id": "_NkV5AuJ1jVB",
|
| 806 |
+
"outputId": "55803efe-3cfd-4abe-d610-178110cb99ca"
|
| 807 |
+
},
|
| 808 |
+
"execution_count": 8,
|
| 809 |
+
"outputs": [
|
| 810 |
+
{
|
| 811 |
+
"output_type": "stream",
|
| 812 |
+
"name": "stdout",
|
| 813 |
+
"text": [
|
| 814 |
+
"warning: adding embedded git repository: Mixture-of-Agents-running-on-Groq\n",
|
| 815 |
+
"\u001b[33mhint: You've added another git repository inside your current repository.\u001b[m\n",
|
| 816 |
+
"\u001b[33mhint: Clones of the outer repository will not contain the contents of\u001b[m\n",
|
| 817 |
+
"\u001b[33mhint: the embedded repository and will not know how to obtain it.\u001b[m\n",
|
| 818 |
+
"\u001b[33mhint: If you meant to add a submodule, use:\u001b[m\n",
|
| 819 |
+
"\u001b[33mhint: \u001b[m\n",
|
| 820 |
+
"\u001b[33mhint: \tgit submodule add <url> Mixture-of-Agents-running-on-Groq\u001b[m\n",
|
| 821 |
+
"\u001b[33mhint: \u001b[m\n",
|
| 822 |
+
"\u001b[33mhint: If you added this path by mistake, you can remove it from the\u001b[m\n",
|
| 823 |
+
"\u001b[33mhint: index with:\u001b[m\n",
|
| 824 |
+
"\u001b[33mhint: \u001b[m\n",
|
| 825 |
+
"\u001b[33mhint: \tgit rm --cached Mixture-of-Agents-running-on-Groq\u001b[m\n",
|
| 826 |
+
"\u001b[33mhint: \u001b[m\n",
|
| 827 |
+
"\u001b[33mhint: See \"git help submodule\" for more information.\u001b[m\n"
|
| 828 |
+
]
|
| 829 |
+
}
|
| 830 |
+
]
|
| 831 |
+
},
|
| 832 |
+
{
|
| 833 |
+
"cell_type": "code",
|
| 834 |
+
"source": [
|
| 835 |
+
"# Configure Git user credentials\n",
|
| 836 |
+
"!git config --global user.email \"driknowsnothing\"\n",
|
| 837 |
+
"!git config --global user.name \"ohyeah\""
|
| 838 |
+
],
|
| 839 |
+
"metadata": {
|
| 840 |
+
"id": "sNr1KhP01mBs"
|
| 841 |
+
},
|
| 842 |
+
"execution_count": 9,
|
| 843 |
+
"outputs": []
|
| 844 |
+
},
|
| 845 |
+
{
|
| 846 |
+
"cell_type": "code",
|
| 847 |
+
"source": [
|
| 848 |
+
"# Commit the changes\n",
|
| 849 |
+
"!git commit -m \"Added moa folder\""
|
| 850 |
+
],
|
| 851 |
+
"metadata": {
|
| 852 |
+
"colab": {
|
| 853 |
+
"base_uri": "https://localhost:8080/"
|
| 854 |
+
},
|
| 855 |
+
"id": "YLBon80r1sdc",
|
| 856 |
+
"outputId": "0eec0c18-69bc-4558-f6d7-1837fe03f39b"
|
| 857 |
+
},
|
| 858 |
+
"execution_count": 10,
|
| 859 |
+
"outputs": [
|
| 860 |
+
{
|
| 861 |
+
"output_type": "stream",
|
| 862 |
+
"name": "stdout",
|
| 863 |
+
"text": [
|
| 864 |
+
"[main dda2773] Added moa folder\n",
|
| 865 |
+
" 6 files changed, 218 insertions(+)\n",
|
| 866 |
+
" create mode 160000 Mixture-of-Agents-running-on-Groq\n",
|
| 867 |
+
" create mode 100644 moa/__init__.py\n",
|
| 868 |
+
" create mode 100644 moa/agent/__init__.py\n",
|
| 869 |
+
" create mode 100644 moa/agent/moa.py\n",
|
| 870 |
+
" create mode 100644 moa/agent/prompts.py\n",
|
| 871 |
+
" create mode 100644 moa/main.py\n"
|
| 872 |
+
]
|
| 873 |
+
}
|
| 874 |
+
]
|
| 875 |
+
},
|
| 876 |
+
{
|
| 877 |
+
"cell_type": "code",
|
| 878 |
+
"source": [
|
| 879 |
+
"# Authenticate with Hugging Face\n",
|
| 880 |
+
"from huggingface_hub import notebook_login\n",
|
| 881 |
+
"notebook_login()"
|
| 882 |
+
],
|
| 883 |
+
"metadata": {
|
| 884 |
+
"colab": {
|
| 885 |
+
"base_uri": "https://localhost:8080/",
|
| 886 |
+
"height": 17,
|
| 887 |
+
"referenced_widgets": [
|
| 888 |
+
"84f16d8549b1477187c4dcc6bec392ef",
|
| 889 |
+
"9420b044d01044de8c12d70e403d537a",
|
| 890 |
+
"dd73836f6cf84435a5e86a669c0ea6f2",
|
| 891 |
+
"900b518bb55e451f906f994da1443e61",
|
| 892 |
+
"57d294398311407cbf0e5c3b17574441",
|
| 893 |
+
"56d271f8611a4ae6a96aa114c3c4edfa",
|
| 894 |
+
"bb2fa6f8ba434944aefd2c28d55ca40d",
|
| 895 |
+
"e00b0987dc5847f692af9a1d46e643b8",
|
| 896 |
+
"1f2bbf6e47a545b88dd035c73cb5871f",
|
| 897 |
+
"6a2cdd94a54e485c841e4bf3f146d726",
|
| 898 |
+
"548af9ebb28849938413e0e3eade5f85",
|
| 899 |
+
"b4ddb91ffd904705bb0ce20141b79a55",
|
| 900 |
+
"f5c3d502cc5a415691cf18b35afb8c6b",
|
| 901 |
+
"ac023571d5a247199b6ade2e196bc478",
|
| 902 |
+
"fc6b8b72f5634f83ad06cdff642d8884",
|
| 903 |
+
"19c3106efa494592a64adf126ed29bd5",
|
| 904 |
+
"e9e6622d55654e6897f99deb3ea97894",
|
| 905 |
+
"86469dc9818246cd99f6bf5288e20d69",
|
| 906 |
+
"77e257e866cd4c689b5d9d090aa519fb",
|
| 907 |
+
"09776533b89640d3a3e75a12f6671277"
|
| 908 |
+
]
|
| 909 |
+
},
|
| 910 |
+
"id": "3ed4SoHs1yRv",
|
| 911 |
+
"outputId": "8d20cdef-6611-4b7b-b410-89ac8230cb57"
|
| 912 |
+
},
|
| 913 |
+
"execution_count": 11,
|
| 914 |
+
"outputs": [
|
| 915 |
+
{
|
| 916 |
+
"output_type": "display_data",
|
| 917 |
+
"data": {
|
| 918 |
+
"text/plain": [
|
| 919 |
+
"VBox(children=(HTML(value='<center> <img\\nsrc=https://huggingface.co/front/assets/huggingface_logo-noborder.sv…"
|
| 920 |
+
],
|
| 921 |
+
"application/vnd.jupyter.widget-view+json": {
|
| 922 |
+
"version_major": 2,
|
| 923 |
+
"version_minor": 0,
|
| 924 |
+
"model_id": "84f16d8549b1477187c4dcc6bec392ef"
|
| 925 |
+
}
|
| 926 |
+
},
|
| 927 |
+
"metadata": {}
|
| 928 |
+
}
|
| 929 |
+
]
|
| 930 |
+
},
|
| 931 |
+
{
|
| 932 |
+
"cell_type": "code",
|
| 933 |
+
"source": [
|
| 934 |
+
"# Push the changes to the Hugging Face Space repository\n",
|
| 935 |
+
"!git push"
|
| 936 |
+
],
|
| 937 |
+
"metadata": {
|
| 938 |
+
"colab": {
|
| 939 |
+
"base_uri": "https://localhost:8080/"
|
| 940 |
+
},
|
| 941 |
+
"id": "Ri9u_IDj0yz7",
|
| 942 |
+
"outputId": "ce06d10d-ab9b-4439-ccce-2f665a55ce3f"
|
| 943 |
+
},
|
| 944 |
+
"execution_count": 12,
|
| 945 |
+
"outputs": [
|
| 946 |
+
{
|
| 947 |
+
"output_type": "stream",
|
| 948 |
+
"name": "stdout",
|
| 949 |
+
"text": [
|
| 950 |
+
"Enumerating objects: 10, done.\n",
|
| 951 |
+
"Counting objects: 10% (1/10)\rCounting objects: 20% (2/10)\rCounting objects: 30% (3/10)\rCounting objects: 40% (4/10)\rCounting objects: 50% (5/10)\rCounting objects: 60% (6/10)\rCounting objects: 70% (7/10)\rCounting objects: 80% (8/10)\rCounting objects: 90% (9/10)\rCounting objects: 100% (10/10)\rCounting objects: 100% (10/10), done.\n",
|
| 952 |
+
"Delta compression using up to 2 threads\n",
|
| 953 |
+
"Compressing objects: 14% (1/7)\rCompressing objects: 28% (2/7)\rCompressing objects: 42% (3/7)\rCompressing objects: 57% (4/7)\rCompressing objects: 71% (5/7)\rCompressing objects: 85% (6/7)\rCompressing objects: 100% (7/7)\rCompressing objects: 100% (7/7), done.\n",
|
| 954 |
+
"Writing objects: 11% (1/9)\rWriting objects: 22% (2/9)\rWriting objects: 33% (3/9)\rWriting objects: 44% (4/9)\rWriting objects: 55% (5/9)\rWriting objects: 66% (6/9)\rWriting objects: 77% (7/9)\rWriting objects: 88% (8/9)\rWriting objects: 100% (9/9)\rWriting objects: 100% (9/9), 3.13 KiB | 1.57 MiB/s, done.\n",
|
| 955 |
+
"Total 9 (delta 0), reused 0 (delta 0), pack-reused 0\n",
|
| 956 |
+
"To https://huggingface.co/spaces/DrishtiSharma/mixture-of-agents\n",
|
| 957 |
+
" 95df285..dda2773 main -> main\n"
|
| 958 |
+
]
|
| 959 |
+
}
|
| 960 |
+
]
|
| 961 |
+
},
|
| 962 |
+
{
|
| 963 |
+
"cell_type": "code",
|
| 964 |
+
"source": [],
|
| 965 |
+
"metadata": {
|
| 966 |
+
"id": "x3V_LbGE16MM"
|
| 967 |
+
},
|
| 968 |
+
"execution_count": null,
|
| 969 |
+
"outputs": []
|
| 970 |
+
}
|
| 971 |
+
]
|
| 972 |
+
}
|