laubonghaudoi commited on
Commit
47cfccd
1 Parent(s): 98bab96

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -85,7 +85,7 @@ ds = load_dataset("CanCLID/zoengjyutgaai_saamgwokjinji")
85
  from huggingface_hub import snapshot_download
86
 
87
  # 如果你淨係想下載啲字幕或者源音頻,噉就將下面嘅 `wav/*` 改成 `srt/*` 或者 `webm/*`
88
- snapshot_download(repo_id="CanCLID/zoengjyutgaai_saamgwokjinji",allow_patterns="wav/*",repo_type="dataset")
89
  ```
90
 
91
  如果唔想用 python,你亦都可以用命令行叫 git 針對克隆個`wav/`或者其他路經,避免將成個 repo 都克隆落嚟浪費空間同下載時間:
@@ -176,7 +176,7 @@ If you only want to download a certain directory to save time and space from clo
176
  from huggingface_hub import snapshot_download
177
 
178
  # If you only want to download the source audio or the subtitles, change the `wav/*` below into `srt/*` or `webm/*`
179
- snapshot_download(repo_id="CanCLID/zoengjyutgaai_saamgwokjinji",allow_patterns="wav/*",repo_type="dataset")
180
  ```
181
 
182
  If you don't want to run python codes and want to do this via command lines, you can selectively clone only a directory of the repo:
 
85
  from huggingface_hub import snapshot_download
86
 
87
  # 如果你淨係想下載啲字幕或者源音頻,噉就將下面嘅 `wav/*` 改成 `srt/*` 或者 `webm/*`
88
+ snapshot_download(repo_id="CanCLID/zoengjyutgaai_saamgwokjinji",allow_patterns="wav/*",local_dir="./",repo_type="dataset")
89
  ```
90
 
91
  如果唔想用 python,你亦都可以用命令行叫 git 針對克隆個`wav/`或者其他路經,避免將成個 repo 都克隆落嚟浪費空間同下載時間:
 
176
  from huggingface_hub import snapshot_download
177
 
178
  # If you only want to download the source audio or the subtitles, change the `wav/*` below into `srt/*` or `webm/*`
179
+ snapshot_download(repo_id="CanCLID/zoengjyutgaai_saamgwokjinji",allow_patterns="wav/*",local_dir="./",repo_type="dataset")
180
  ```
181
 
182
  If you don't want to run python codes and want to do this via command lines, you can selectively clone only a directory of the repo: