Datasets:

License:
marvinseyfarth commited on
Commit
de02b5d
·
verified ·
1 Parent(s): a5b0a3a

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +6 -6
README.md CHANGED
@@ -82,12 +82,12 @@ For example: `vqgan_chestct.pth`, `ldm_chestct.pth`, etc.
82
 
83
  ## 7. Upload Checkpoints
84
 
85
- Replace `<org>/<repo>` with the actual organisation/repository name on Hugging Face.
86
 
87
  **Upload a single file:**
88
 
89
  ```bash
90
- hf upload <org>/<repo> \
91
  /path/to/local/checkpoint.pth \
92
  checkpoint.pth \
93
  --repo-type model
@@ -98,7 +98,7 @@ The third argument is the destination filename inside the repository.
98
  **Upload all checkpoints at once from a folder:**
99
 
100
  ```bash
101
- hf upload <org>/<repo> \
102
  /path/to/checkpoints/ \
103
  . \
104
  --repo-type model
@@ -121,7 +121,7 @@ You should see the uploaded files listed under **Files and versions**. Click any
121
  You can also verify from the terminal:
122
 
123
  ```bash
124
- hf repo info <org>/<repo> --repo-type model
125
  ```
126
 
127
  ---
@@ -133,13 +133,13 @@ Anyone with access to the repository can download checkpoints with:
133
  ```bash
134
  pip install huggingface_hub
135
 
136
- hf download <org>/<repo> checkpoint.pth --local-dir checkpoints/
137
  ```
138
 
139
  Or download everything at once:
140
 
141
  ```bash
142
- hf download <org>/<repo> --local-dir checkpoints/
143
  ```
144
 
145
  If the repository is private, members must log in first (`hf auth login`) with their own access token.
 
82
 
83
  ## 7. Upload Checkpoints
84
 
85
+ Replace `<repo>` with the actual repository name on Hugging Face.
86
 
87
  **Upload a single file:**
88
 
89
  ```bash
90
+ hf upload AICM-HD/<repo> \
91
  /path/to/local/checkpoint.pth \
92
  checkpoint.pth \
93
  --repo-type model
 
98
  **Upload all checkpoints at once from a folder:**
99
 
100
  ```bash
101
+ hf upload AICM-HD/<repo> \
102
  /path/to/checkpoints/ \
103
  . \
104
  --repo-type model
 
121
  You can also verify from the terminal:
122
 
123
  ```bash
124
+ hf repo info AICM-HD/<repo> --repo-type model
125
  ```
126
 
127
  ---
 
133
  ```bash
134
  pip install huggingface_hub
135
 
136
+ hf download AICM-HD/<repo> checkpoint.pth --local-dir checkpoints/
137
  ```
138
 
139
  Or download everything at once:
140
 
141
  ```bash
142
+ hf download AICM-HD/<repo> --local-dir checkpoints/
143
  ```
144
 
145
  If the repository is private, members must log in first (`hf auth login`) with their own access token.