holylovenia
commited on
Commit
•
dd17492
1
Parent(s):
0212c96
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
@@ -9,7 +9,7 @@ tags:
|
|
9 |
- textual-entailment
|
10 |
---
|
11 |
|
12 |
-
This dataset is designed for Natural Language Inference NLP task.
|
13 |
for Indonesian NLI by explicitly incorporating various linguistic phenomena such as numerical reasoning, structural
|
14 |
changes, idioms, or temporal and spatial reasoning.
|
15 |
|
@@ -21,25 +21,25 @@ ind
|
|
21 |
## Supported Tasks
|
22 |
|
23 |
Textual Entailment
|
24 |
-
|
25 |
## Dataset Usage
|
26 |
### Using `datasets` library
|
27 |
```
|
28 |
-
|
29 |
-
|
30 |
```
|
31 |
### Using `seacrowd` library
|
32 |
```import seacrowd as sc
|
33 |
# Load the dataset using the default config
|
34 |
-
|
35 |
# Check all available subsets (config names) of the dataset
|
36 |
-
|
37 |
# Load the dataset using a specific config
|
38 |
-
|
39 |
```
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
|
44 |
## Dataset Homepage
|
45 |
|
|
|
9 |
- textual-entailment
|
10 |
---
|
11 |
|
12 |
+
This dataset is designed for Natural Language Inference NLP task.It is designed to provide a challenging test-bed
|
13 |
for Indonesian NLI by explicitly incorporating various linguistic phenomena such as numerical reasoning, structural
|
14 |
changes, idioms, or temporal and spatial reasoning.
|
15 |
|
|
|
21 |
## Supported Tasks
|
22 |
|
23 |
Textual Entailment
|
24 |
+
|
25 |
## Dataset Usage
|
26 |
### Using `datasets` library
|
27 |
```
|
28 |
+
from datasets import load_dataset
|
29 |
+
dset = datasets.load_dataset("SEACrowd/indonli", trust_remote_code=True)
|
30 |
```
|
31 |
### Using `seacrowd` library
|
32 |
```import seacrowd as sc
|
33 |
# Load the dataset using the default config
|
34 |
+
dset = sc.load_dataset("indonli", schema="seacrowd")
|
35 |
# Check all available subsets (config names) of the dataset
|
36 |
+
print(sc.available_config_names("indonli"))
|
37 |
# Load the dataset using a specific config
|
38 |
+
dset = sc.load_dataset_by_config_name(config_name="<config_name>")
|
39 |
```
|
40 |
+
|
41 |
+
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).
|
42 |
+
|
43 |
|
44 |
## Dataset Homepage
|
45 |
|