Upload folder using huggingface_hub
Browse files1279 unmodified lines12801281128212831284128512861287128843 unmodified lines133213331334133513361337133813391340134113421343134413451346134713481279 unmodified lines},{"cell_type": "code","execution_count": null,"metadata": {},"outputs": [],"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"]},{"cell_type": "code","execution_count": null,"metadata": {},"outputs": [],"source": ["from huggingface_hub import HfApi\n","\n",1279 unmodified lines1280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131443 unmodified lines13581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911279 unmodified lines},{"cell_type": "code","execution_count": 39,"metadata": {},"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",")\n","print(\" Folder uploaded. Commit:\", getattr(res, \"oid\", res))\n","print(f\"Open: https://huggingface.co/{repo_id}\")\n"]},{"cell_type": "code","execution_count": 41,"metadata": {},"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