Upload folder using huggingface_hub
Browse files1279 unmodified lines128012811282128312831284128512851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131443 unmodified lines1358135913601335136113371338136213631364136513661367134313681369134513701371137213731374137513761377137813791380138113821383138413851386138713881389139013911279 unmodified lines }, { "cell_type": "code", "execution_count": null, "execution_count": 39, "metadata": {}, "outputs": [], "outputs": [ { "name": "stdin", "output_type": "stream", "text": [ "Paste your HF token (starts with hf_): ········\n" ] }, { "name": "stderr", "output_type": "stream", "text": [ "Note: Environment variable`HF_TOKEN` is set and is the current active token independently from the token you've just configured.\n" ] }, { "name": "stdout", "output_type": "stream", "text": [ " Authenticated as: azima4361\n", "Sample files: ['E:\\\\Career\\\\Data synthis\\\\DataSynthis_ML_JobTask\\\\.ipynb_checkpoints', 'E:\\\\Career\\\\Data synthis\\\\DataSynthis_ML_JobTask\\\\AAPL_stock_data.csv', 'E:\\\\Career\\\\Data synthis\\\\DataSynthis_ML_JobTask\\\\Time_Series_Forecasting.ipynb', 'E:\\\\Career\\\\Data synthis\\\\DataSynthis_ML_JobTask\\\\.ipynb_checkpoints\\\\Time_Series_Forecasting-checkpoint.ipynb']\n", " Repo ready: https://huggingface.co/azima4361/DataSynthis_ML_JobTask\n", " Folder uploaded. Commit: 93eb9bc36357ce51e6451bc22f99a2b8ceef9108\n", "Open: https://huggingface.co/azima4361/DataSynthis_ML_JobTask\n" ] } ], "source": [ "\n", "\n",43 unmodified lines " repo_id=repo_id,\n", " repo_type=repo_type,\n", " path_in_repo=\"\", \n", " # ignore_patterns=[\"*.tmp\",\"*.log\",\"__pycache__/*\",\".ipynb_checkpoints/*\"],\n", ")\n", "print(\"✅ Folder uploaded. Commit:\", getattr(res, \"oid\", res))\n", "print(f\"🔗 Open: https://huggingface.co/{repo_id}\")\n" "print(\" Folder uploaded. Commit:\", getattr(res, \"oid\", res))\n", "print(f\"Open: https://huggingface.co/{repo_id}\")\n" ] }, { "cell_type": "code", "execution_count": null, "execution_count": 41, "metadata": {}, "outputs": [], "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "No files have been modified since last commit. Skipping to prevent empty commit.\n" ] }, { "data": { "text/plain": [ "CommitInfo(commit_url='https://huggingface.co/azima4361/DataSynthis_ML_JobTask/commit/93eb9bc36357ce51e6451bc22f99a2b8ceef9108', commit_message='Upload folder using huggingface_hub', commit_description='', oid='93eb9bc36357ce51e6451bc22f99a2b8ceef9108', pr_url=None, repo_url=RepoUrl('https://huggingface.co/azima4361/DataSynthis_ML_JobTask', endpoint='https://huggingface.co', repo_type='model', repo_id='azima4361/DataSynthis_ML_JobTask'), pr_revision=None, pr_num=None)" ] }, "execution_count": 41, "metadata": {}, "output_type": "execute_result" } ], "source": [ "from huggingface_hub import HfApi\n", "\n",Time_Series_Forecasting.ipynb+50-7