Junc1i commited on
Commit
ee61615
·
verified ·
1 Parent(s): 4380605

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +9 -8
README.md CHANGED
@@ -25,11 +25,10 @@ from huggingface_hub import snapshot_download
25
  # 下载整个数据集
26
  from huggingface_hub import hf_hub_download
27
  1.
28
- path = hf_hub_download(
29
- repo_id="Junc1i/visual_instruction_dataset",
30
- filename="path/to/file.ext", # 把这里换成你仓库里的真实相对路径
31
- repo_type="model"
32
- )
33
  2.
34
  snapshot_download(
35
  repo_id="Junc1i/visual_instruction_dataset",
@@ -37,9 +36,11 @@ snapshot_download(
37
  local_dir="./vid_data" # 可选:保存到自定义目录
38
  )
39
  3.
40
- hf download Junc1i/visual_instruction_dataset \
41
- --repo-type model \
42
- --local-dir ./data
 
 
43
  ```
44
 
45
 
 
25
  # 下载整个数据集
26
  from huggingface_hub import hf_hub_download
27
  1.
28
+ hf download Junc1i/visual_instruction_dataset \
29
+ --repo-type model \
30
+ --local-dir ./data
31
+
 
32
  2.
33
  snapshot_download(
34
  repo_id="Junc1i/visual_instruction_dataset",
 
36
  local_dir="./vid_data" # 可选:保存到自定义目录
37
  )
38
  3.
39
+ path = hf_hub_download(
40
+ repo_id="Junc1i/visual_instruction_dataset",
41
+ filename="path/to/file.ext", # 把这里换成你仓库里的真实相对路径
42
+ repo_type="model"
43
+ )
44
  ```
45
 
46