from huggingface_hub import snapshot_download from huggingface_hub import HfApi path = snapshot_download(repo_id="org/model") api = HfApi() api.create_repo(repo_id="new-org/model", private=True) api.upload_folder( folder_path=path, repo_id="new-org/model", repo_type="model", )