from huggingface_hub import HfApi api = HfApi() api.upload_folder( folder_path="/home/sushant/D1/sushanta/try/nepali_clm/final-finetuned-nep-model", path_in_repo=".", repo_id="Shushant/NepaliLLM", repo_type="model", ignore_patterns="**/logs/*.txt", ) print("uploaded")