{ "nbformat": 4, "nbformat_minor": 0, "metadata": { "colab": { "provenance": [], "machine_shape": "hm", "gpuType": "A100" }, "kernelspec": { "name": "python3", "display_name": "Python 3" }, "language_info": { "name": "python" }, "accelerator": "GPU", "widgets": { "application/vnd.jupyter.widget-state+json": { "f50aaa6ec46d48c59c2edfdf84145282": { "model_module": "@jupyter-widgets/controls", "model_name": "HBoxModel", "model_module_version": "1.5.0", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "HBoxModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", "_view_name": "HBoxView", "box_style": "", "children": [ "IPY_MODEL_5ac56ff612204a4b851bee6c707d03dd", "IPY_MODEL_5c976b4625df4728a718163731910172", "IPY_MODEL_2c5743cdd6534d4bb575f042c2381844" ], "layout": "IPY_MODEL_02bb5372697044239793fff7e5a9797f" } }, "5ac56ff612204a4b851bee6c707d03dd": { "model_module": "@jupyter-widgets/controls", "model_name": "HTMLModel", "model_module_version": "1.5.0", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "HTMLModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", "_view_name": "HTMLView", "description": "", "description_tooltip": null, "layout": "IPY_MODEL_f705b32c4bea41d6a903d16d08362b9c", "placeholder": "", "style": "IPY_MODEL_d2e33d8fa7c34ea0b96b4f91893f2d72", "value": "Computing widget examples: 0%" } }, "5c976b4625df4728a718163731910172": { "model_module": "@jupyter-widgets/controls", "model_name": "FloatProgressModel", "model_module_version": "1.5.0", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "FloatProgressModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", "_view_name": "ProgressView", "bar_style": "", "description": "", "description_tooltip": null, "layout": "IPY_MODEL_1faec6c1dede4771b652f7df54f4692e", "max": 1, "min": 0, "orientation": "horizontal", "style": "IPY_MODEL_9a4fcefe494e4e7caed78ef96cf6a5d5", "value": 1 } }, "2c5743cdd6534d4bb575f042c2381844": { "model_module": "@jupyter-widgets/controls", "model_name": "HTMLModel", "model_module_version": "1.5.0", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "HTMLModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", "_view_name": "HTMLView", "description": "", "description_tooltip": null, "layout": "IPY_MODEL_1e2bf3ba22624018a85d5960f88e14c0", "placeholder": "", "style": "IPY_MODEL_166a610be67a459d89c1bb24668620db", "value": " 0/1 [00:00<?, ?example/s]" } }, "02bb5372697044239793fff7e5a9797f": { "model_module": "@jupyter-widgets/base", "model_name": "LayoutModel", "model_module_version": "1.2.0", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "overflow_x": null, "overflow_y": null, "padding": null, "right": null, "top": null, "visibility": "hidden", "width": null } }, "f705b32c4bea41d6a903d16d08362b9c": { "model_module": "@jupyter-widgets/base", "model_name": "LayoutModel", "model_module_version": "1.2.0", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "overflow_x": null, "overflow_y": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "d2e33d8fa7c34ea0b96b4f91893f2d72": { "model_module": "@jupyter-widgets/controls", "model_name": "DescriptionStyleModel", "model_module_version": "1.5.0", "state": { "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "DescriptionStyleModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "StyleView", "description_width": "" } }, "1faec6c1dede4771b652f7df54f4692e": { "model_module": "@jupyter-widgets/base", "model_name": "LayoutModel", "model_module_version": "1.2.0", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "overflow_x": null, "overflow_y": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "9a4fcefe494e4e7caed78ef96cf6a5d5": { "model_module": "@jupyter-widgets/controls", "model_name": "ProgressStyleModel", "model_module_version": "1.5.0", "state": { "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "ProgressStyleModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "StyleView", "bar_color": null, "description_width": "" } }, "1e2bf3ba22624018a85d5960f88e14c0": { "model_module": "@jupyter-widgets/base", "model_name": "LayoutModel", "model_module_version": "1.2.0", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "overflow_x": null, "overflow_y": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "166a610be67a459d89c1bb24668620db": { "model_module": "@jupyter-widgets/controls", "model_name": "DescriptionStyleModel", "model_module_version": "1.5.0", "state": { "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "DescriptionStyleModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "StyleView", "description_width": "" } }, "ed85d1c3c1104f57980ec6351d9c79b5": { "model_module": "@jupyter-widgets/controls", "model_name": "VBoxModel", "model_module_version": "1.5.0", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "VBoxModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", "_view_name": "VBoxView", "box_style": "", "children": [], "layout": "IPY_MODEL_8a65602829734dd3b118466ab01f0404" } }, "5c589ca8b55a4f1d909622007baddd52": { "model_module": "@jupyter-widgets/controls", "model_name": "HTMLModel", "model_module_version": "1.5.0", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "HTMLModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", "_view_name": "HTMLView", "description": "", "description_tooltip": null, "layout": "IPY_MODEL_8b413509781842b2a7ef40bc3c6108e2", "placeholder": "", "style": "IPY_MODEL_7b31776c2eed480898c348fc1a9d419c", "value": "
/content/wandb/run-20250512_075227-kox78uhx"
]
},
"metadata": {}
},
{
"output_type": "display_data",
"data": {
"text/plain": [
"| Step | \n", "Training Loss | \n", "
|---|
" ] }, "metadata": {} }, { "output_type": "stream", "name": "stdout", "text": [ "✅ Model saved to ./BAAI_bge-base-en-v1.5_finetuned\n" ] } ] }, { "cell_type": "markdown", "source": [ "Push to Hugging Face Hub" ], "metadata": { "id": "QVYS3OTqYMEq" } }, { "cell_type": "code", "execution_count": 10, "metadata": { "colab": { "base_uri": "https://localhost:8080/", "height": 67, "referenced_widgets": [ "ed85d1c3c1104f57980ec6351d9c79b5", "5c589ca8b55a4f1d909622007baddd52", "addb6171c05a49f396f54775e5e355cb", "589f657cbecc4fa0bd8b634489be841f", "14ee5d63da3147cdbf5ecd54fb6637ff", "40a9c99a1880485994716bf53cd4523e", "8a65602829734dd3b118466ab01f0404", "8b413509781842b2a7ef40bc3c6108e2", "7b31776c2eed480898c348fc1a9d419c", "1b88b1047faa43f8aa34fd3dd8a99b55", "d36e90fc6b6a4372a8be86b45d09c1fb", "0a062d904d2447c9b3f3f6ffde956651", "27cc4fb6ff974b6badf51558851eb41c", "bcd7646a12e4492a8d01b4387d85dc0a", "8f1ba35d1d5c4474a4e5d9a59bcad5ce", "d9539898a56b44e9a97cffe0b6c99681", "f7c72473cfef48cfadb0713c99fd0581", "6a60be3d5d81409baf5a5deac11b76c2", "c839e7b9cbd54f04a48d21f5737f7771", "9c96223377b34f2f984611a0907e9559", "7813c39890aa4109aefa92b2faf68ff1", "2385570598c4414a9ddc4ec2d4b9086f", "aaf4666528fb40fd88d4b30447c50bb2", "698a377e99df45e78ccbf20797de0a41", "fafb03cb342748b8ad86d0e92c60704d", "b913993b462f45419e6df6c3f3e59abb", "fa597887215e4847bf4307e6d53209bc", "23a9b33969e54057972e49ec6c4c4cda", "51bdf5b19f2f4a1eb112aae8f60221f8", "9fbd564d003f41ffa033ad5bec0b82c4", "bb3decb0dd4346b782349d581bc2dd8c" ] }, "id": "1S40kWSWUBxB", "outputId": "cc47b6cf-3781-4dda-b072-bd1c0c4a49a5" }, "outputs": [ { "output_type": "display_data", "data": { "text/plain": [ "VBox(children=(HTML(value='