{ "nbformat": 4, "nbformat_minor": 0, "metadata": { "colab": { "provenance": [] }, "kernelspec": { "name": "python3", "display_name": "Python 3" }, "language_info": { "name": "python" }, "widgets": { "application/vnd.jupyter.widget-state+json": { "423d621389ad4a42bb5135995d015b22": { "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": [ "IPY_MODEL_08c70ceeea924b71b3b6f857ed42d853", "IPY_MODEL_54849760c68c4f3bbc1ae7791dc95b17", "IPY_MODEL_00b87c0992474b169894118405633975", "IPY_MODEL_951f643c654645159ac1419fc924c994", "IPY_MODEL_41a103d864d54a5ab7cd3164ceb29be9" ], "layout": "IPY_MODEL_ee14797dd17d460a9c719c3fd995ce64" } }, "08c70ceeea924b71b3b6f857ed42d853": { "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_b5971665f06946baa63db15a77dc7f03", "placeholder": "", "style": "IPY_MODEL_9acdf1cf6fec48c0aa468d42676f8489", "value": "
Epoch | \n", "Training Loss | \n", "Validation Loss | \n", "
---|---|---|
1 | \n", "2.960600 | \n", "2.700889 | \n", "
"
]
},
"metadata": {}
},
{
"output_type": "stream",
"name": "stdout",
"text": [
"Loading chatbot...\n"
]
},
{
"output_type": "stream",
"name": "stderr",
"text": [
"Device set to use cpu\n",
"/usr/local/lib/python3.11/dist-packages/gradio/chat_interface.py:339: UserWarning: The 'tuples' format for chatbot messages is deprecated and will be removed in a future version of Gradio. Please set type='messages' instead, which uses openai-style 'role' and 'content' keys.\n",
" self.chatbot = Chatbot(\n"
]
},
{
"output_type": "stream",
"name": "stdout",
"text": [
"It looks like you are running Gradio on a hosted a Jupyter notebook. For the Gradio app to work, sharing must be enabled. Automatically setting `share=True` (you can turn this off by setting `share=False` in `launch()` explicitly).\n",
"\n",
"Colab notebook detected. To show errors in colab notebook, set debug=True in launch()\n",
"* Running on public URL: https://a3e682dd7134cd6ae5.gradio.live\n",
"\n",
"This share link expires in 1 week. For free permanent hosting and GPU upgrades, run `gradio deploy` from the terminal in the working directory to deploy to Hugging Face Spaces (https://huggingface.co/spaces)\n"
]
},
{
"output_type": "display_data",
"data": {
"text/plain": [
"