ylshen commited on
Commit
d7d8493
·
verified ·
1 Parent(s): 9a6d330

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +7 -2
README.md CHANGED
@@ -11405,8 +11405,13 @@ data = load_dataset("openbmb/DCAD-2000")
11405
  ```
11406
  You can also specifiy the language you wanted
11407
  ```
11408
- from datasets import load_dataset
11409
- data = load_dataset("openbmb/DCAD-2000", name="eng_Latn", split="train")
 
 
 
 
 
11410
  ```
11411
 
11412
  ## Citation Information
 
11405
  ```
11406
  You can also specifiy the language you wanted
11407
  ```
11408
+ dataset_path = snapshot_download(repo_id="openbmb/DCAD-2000")
11409
+ ## select all keep datasets
11410
+ keep_files = glob.glob(os.path.join(dataset_path, "eng_Latn", "*keep*"))
11411
+
11412
+ # load the selected datasets (You can also load all the dataset you want, try to revise the loading code a little bit)
11413
+ for files in keep_files:
11414
+ data = load_dataset("json", data_files=keep_files)
11415
  ```
11416
 
11417
  ## Citation Information