LayoutLMv3_RVL-CDIP_NK100 / upload_after.py
jordyvl's picture
Upload with huggingface_hub
de15e79
raw
history blame contribute delete
413 Bytes
from huggingface_hub import create_repo
identifier = "jordyvl/LayoutLMv3_RVL-CDIP_NK100"
# create_repo(identifier)
from huggingface_hub import HfApi
api = HfApi()
api.upload_folder(
folder_path="/home/jordy/code/opensource/Beyond-Document-Page-Classification/src/EE/test_LayoutLMv3_jordyvl/rvl_cdip_100_examples_per_class_2023-04-04 11:38/checkpoint-480",
repo_id=identifier,
repo_type="model",
)