File size: 270 Bytes
202105f
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
from huggingface_hub import HfApi
import os 

api = HfApi(token=os.getenv("HF_TOKEN"))
api.upload_large_folder(
            folder_path="/data3/bart/rayst3r_hf/",
                repo_id="bartduis/rayst3r",
                    repo_type="dataset",
                    )