from huggingface_hub import HfApi api = HfApi() api.upload_folder( folder_path="/home/reverse_user/llama-2-7b-codeAlpaca", # Replace with actual path repo_id="glancm/llama-2-7b-codeAlpacaMG", # Replace with your repo name repo_type="model" )