File size: 289 Bytes
0431838
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
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")