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