Datasets:
holylovenia
commited on
Commit
•
4088560
1
Parent(s):
f73a423
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
@@ -30,25 +30,25 @@ ind, vie, zlm, fil
|
|
30 |
## Supported Tasks
|
31 |
|
32 |
Commonsense Reasoning, Question Answering
|
33 |
-
|
34 |
## Dataset Usage
|
35 |
### Using `datasets` library
|
36 |
```
|
37 |
-
|
38 |
-
|
39 |
```
|
40 |
### Using `seacrowd` library
|
41 |
```import seacrowd as sc
|
42 |
# Load the dataset using the default config
|
43 |
-
|
44 |
# Check all available subsets (config names) of the dataset
|
45 |
-
|
46 |
# Load the dataset using a specific config
|
47 |
-
|
48 |
```
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
|
53 |
## Dataset Homepage
|
54 |
|
|
|
30 |
## Supported Tasks
|
31 |
|
32 |
Commonsense Reasoning, Question Answering
|
33 |
+
|
34 |
## Dataset Usage
|
35 |
### Using `datasets` library
|
36 |
```
|
37 |
+
from datasets import load_dataset
|
38 |
+
dset = datasets.load_dataset("SEACrowd/seaeval", trust_remote_code=True)
|
39 |
```
|
40 |
### Using `seacrowd` library
|
41 |
```import seacrowd as sc
|
42 |
# Load the dataset using the default config
|
43 |
+
dset = sc.load_dataset("seaeval", schema="seacrowd")
|
44 |
# Check all available subsets (config names) of the dataset
|
45 |
+
print(sc.available_config_names("seaeval"))
|
46 |
# Load the dataset using a specific config
|
47 |
+
dset = sc.load_dataset_by_config_name(config_name="<config_name>")
|
48 |
```
|
49 |
+
|
50 |
+
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).
|
51 |
+
|
52 |
|
53 |
## Dataset Homepage
|
54 |
|