YongchengYAO commited on
Commit
01c1455
·
verified ·
1 Parent(s): 17f6ee7

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +6 -1
README.md CHANGED
@@ -64,7 +64,7 @@ Data Split & Info
64
 
65
 
66
  ## Intended Usage
67
- ### 1. Download Files from the `main` Branch
68
  ```bash
69
  #!/bin/bash
70
  pip install --upgrade huggingface-hub[cli]
@@ -75,6 +75,11 @@ huggingface-cli login --token $HF_TOKEN
75
  from huggingface_hub import snapshot_download
76
  snapshot_download(repo_id="YongchengYAO/OAIZIB-CM", repo_type='dataset', local_dir="/your/local/folder")
77
  ```
 
 
 
 
 
78
 
79
  ### 2. Load `Dataset` or `IterableDataset` from the `load_dataset-support` Branch ‼️
80
  ```python
 
64
 
65
 
66
  ## Intended Usage
67
+ ### 1. Download Files from the `main` or `load_dataset-support` Branch
68
  ```bash
69
  #!/bin/bash
70
  pip install --upgrade huggingface-hub[cli]
 
75
  from huggingface_hub import snapshot_download
76
  snapshot_download(repo_id="YongchengYAO/OAIZIB-CM", repo_type='dataset', local_dir="/your/local/folder")
77
  ```
78
+ ```python
79
+ # python
80
+ from huggingface_hub import snapshot_download
81
+ snapshot_download(repo_id="YongchengYAO/OAIZIB-CM", repo_type='dataset', revision="load_dataset-support", local_dir="/your/local/folder")
82
+ ```
83
 
84
  ### 2. Load `Dataset` or `IterableDataset` from the `load_dataset-support` Branch ‼️
85
  ```python