holylovenia
commited on
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
@@ -33,25 +33,25 @@ ind, jav, khm, zlm, mya, tha, tgl, vie
|
|
33 |
## Supported Tasks
|
34 |
|
35 |
Intent Classification, Slot Filling
|
36 |
-
|
37 |
## Dataset Usage
|
38 |
### Using `datasets` library
|
39 |
```
|
40 |
-
|
41 |
-
|
42 |
```
|
43 |
### Using `seacrowd` library
|
44 |
```import seacrowd as sc
|
45 |
# Load the dataset using the default config
|
46 |
-
|
47 |
# Check all available subsets (config names) of the dataset
|
48 |
-
|
49 |
# Load the dataset using a specific config
|
50 |
-
|
51 |
```
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
|
56 |
## Dataset Homepage
|
57 |
|
|
|
33 |
## Supported Tasks
|
34 |
|
35 |
Intent Classification, Slot Filling
|
36 |
+
|
37 |
## Dataset Usage
|
38 |
### Using `datasets` library
|
39 |
```
|
40 |
+
from datasets import load_dataset
|
41 |
+
dset = datasets.load_dataset("SEACrowd/massive", trust_remote_code=True)
|
42 |
```
|
43 |
### Using `seacrowd` library
|
44 |
```import seacrowd as sc
|
45 |
# Load the dataset using the default config
|
46 |
+
dset = sc.load_dataset("massive", schema="seacrowd")
|
47 |
# Check all available subsets (config names) of the dataset
|
48 |
+
print(sc.available_config_names("massive"))
|
49 |
# Load the dataset using a specific config
|
50 |
+
dset = sc.load_dataset_by_config_name(config_name="<config_name>")
|
51 |
```
|
52 |
+
|
53 |
+
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).
|
54 |
+
|
55 |
|
56 |
## Dataset Homepage
|
57 |
|