{ "cells": [ { "cell_type": "code", "execution_count": 3, "id": "6e76a090-bfcd-40fb-a974-30b422a86eaf", "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "bash: from: command not found\n", "bash: syntax error near unexpected token `('\n", "bash: syntax error near unexpected token `newline'\n", "bash: syntax error near unexpected token `)'\n" ] }, { "ename": "", "evalue": "2", "output_type": "error", "traceback": [] } ], "source": [ "from huggingface_hub import HfApi\n", "api = HfApi()\n", "api.upload_folder(\n", " folder_path=\"/\",\n", " repo_id=\"Jyotirmoy-Cluster/llama3-FT\",\n", " repo_type=\"model\"\n", ")" ] }, { "cell_type": "code", "execution_count": null, "id": "6549a3f8-32bb-471a-8d70-fda5af8f9b38", "metadata": {}, "outputs": [], "source": [] }, { "cell_type": "code", "execution_count": null, "id": "21e7973d-478d-411d-99b9-8db8ec2d7ce8", "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "kernelspec": { "display_name": "Bash", "language": "bash", "name": "bash" }, "language_info": { "codemirror_mode": "shell", "file_extension": ".sh", "mimetype": "text/x-sh", "name": "bash" } }, "nbformat": 4, "nbformat_minor": 5 }