File size: 297 Bytes
b2be3b0 |
1 2 3 4 5 6 7 8 9 10 |
from huggingface_hub import upload_folder
upload_folder(
folder_path="./gpt2-lyrics-model", # path to your model files
repo_id="harishchaurasia/gpt2-lyrics-model-fine-tuned",
repo_type="model",
path_in_repo=".", # keep structure same
commit_message="Initial model upload"
)
|