NepaliLLM / upload_data.py
Shushant's picture
Upload . with huggingface_hub
0431838
raw
history blame contribute delete
289 Bytes
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")