holylovenia
commited on
Commit
•
985cde3
1
Parent(s):
e01f3fc
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
@@ -38,25 +38,25 @@ ind, ara, spa, fra, hin, por, rus, zho, eng, khm, zlm, mya, tgl, tam
|
|
38 |
## Supported Tasks
|
39 |
|
40 |
Machine Translation
|
41 |
-
|
42 |
## Dataset Usage
|
43 |
### Using `datasets` library
|
44 |
```
|
45 |
-
|
46 |
-
|
47 |
```
|
48 |
### Using `seacrowd` library
|
49 |
```import seacrowd as sc
|
50 |
# Load the dataset using the default config
|
51 |
-
|
52 |
# Check all available subsets (config names) of the dataset
|
53 |
-
|
54 |
# Load the dataset using a specific config
|
55 |
-
|
56 |
```
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
|
61 |
## Dataset Homepage
|
62 |
|
|
|
38 |
## Supported Tasks
|
39 |
|
40 |
Machine Translation
|
41 |
+
|
42 |
## Dataset Usage
|
43 |
### Using `datasets` library
|
44 |
```
|
45 |
+
from datasets import load_dataset
|
46 |
+
dset = datasets.load_dataset("SEACrowd/tico_19", trust_remote_code=True)
|
47 |
```
|
48 |
### Using `seacrowd` library
|
49 |
```import seacrowd as sc
|
50 |
# Load the dataset using the default config
|
51 |
+
dset = sc.load_dataset("tico_19", schema="seacrowd")
|
52 |
# Check all available subsets (config names) of the dataset
|
53 |
+
print(sc.available_config_names("tico_19"))
|
54 |
# Load the dataset using a specific config
|
55 |
+
dset = sc.load_dataset_by_config_name(config_name="<config_name>")
|
56 |
```
|
57 |
+
|
58 |
+
More details on how to load the `seacrowd` library can be found [here](https://github.com/SEACrowd/seacrowd-datahub?tab=readme-ov-file#how-to-use).
|
59 |
+
|
60 |
|
61 |
## Dataset Homepage
|
62 |
|