{ "cells": [ { "cell_type": "code", "execution_count": 2, "id": "6cde784e-3949-4eb5-925e-9009da201ebd", "metadata": {}, "outputs": [], "source": [ "from huggingface_hub import HfApi\n", "\n", "api = HfApi()\n", "\n", "# Upload all the content from the local folder to your remote Space.\n", "# By default, files are uploaded at the root of the repo\n", "def upload():\n", " api.upload_folder(\n", " \n", " folder_path=\"/workspace/axolotl/qlora-out\",\n", " \n", " repo_id=\"Chat-Error/Claude-Kimiko\",\n", " \n", " repo_type=\"model\",\n", " \n", " )" ] }, { "cell_type": "code", "execution_count": null, "id": "e125b798-01f6-43d3-894a-fb0147059085", "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "kernelspec": { "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.10.13" } }, "nbformat": 4, "nbformat_minor": 5 }