kiyoonkim commited on
Commit
6db277e
·
1 Parent(s): 6059fae

Upload hfhub.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. hfhub.py +3 -2
hfhub.py CHANGED
@@ -31,7 +31,8 @@ ckpt_filepath = hf_hub_download(
31
  repo_type="model",
32
  cache_dir=Path(repo_dir),
33
  resume_download=True,
34
- subfolder="checkpoints",
35
- filename=download_checkpoint_with_name,
 
36
  )
37
  print(ckpt_filepath)
 
31
  repo_type="model",
32
  cache_dir=Path(repo_dir),
33
  resume_download=True,
34
+ # subfolder="checkpoints",
35
+ filename="hfhub.py",
36
+ local_dir=Path(repo_dir) / "checkpoints",
37
  )
38
  print(ckpt_filepath)