from huggingface_hub import HfApi | |
api = HfApi() | |
api.upload_folder(folder_path="/workspace/axolotl/axolotl/qlora-out/checkpoint-1198", repo_id="mattshumer/mistral8x7bchat", repo_type="model", ignore_patterns="pytorch_model.bin", multi_commits=True, multi_commits_verbose=True) | |