PEFT
Safetensors
glancm's picture
Upload folder using huggingface_hub
0460f08 verified
Raw History Blame Contribute Delete
257 Bytes
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"
)