Update README.md
Browse files
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 |
-
|
| 11409 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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
|