File size: 1,413 Bytes
fdf307c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 |
{
"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
}
|