Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -10,7 +10,7 @@ tags:
|
|
| 10 |
- textual-entailment
|
| 11 |
---
|
| 12 |
|
| 13 |
-
ViCon, comprises pairs of synonyms and antonymys
|
| 14 |
|
| 15 |
|
| 16 |
## Languages
|
|
@@ -20,25 +20,25 @@ vie
|
|
| 20 |
## Supported Tasks
|
| 21 |
|
| 22 |
Textual Entailment
|
| 23 |
-
|
| 24 |
## Dataset Usage
|
| 25 |
### Using `datasets` library
|
| 26 |
```
|
| 27 |
-
|
| 28 |
-
|
| 29 |
```
|
| 30 |
### Using `seacrowd` library
|
| 31 |
```import seacrowd as sc
|
| 32 |
# Load the dataset using the default config
|
| 33 |
-
|
| 34 |
# Check all available subsets (config names) of the dataset
|
| 35 |
-
|
| 36 |
# Load the dataset using a specific config
|
| 37 |
-
|
| 38 |
```
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
|
| 43 |
## Dataset Homepage
|
| 44 |
|
|
|
|
| 10 |
- textual-entailment
|
| 11 |
---
|
| 12 |
|
| 13 |
+
ViCon, comprises pairs of synonyms and antonymys acrossnoun, verb, and adjective classes, offerring data todistinguish between similarity and dissimilarity.
|
| 14 |
|
| 15 |
|
| 16 |
## Languages
|
|
|
|
| 20 |
## Supported Tasks
|
| 21 |
|
| 22 |
Textual Entailment
|
| 23 |
+
|
| 24 |
## Dataset Usage
|
| 25 |
### Using `datasets` library
|
| 26 |
```
|
| 27 |
+
from datasets import load_dataset
|
| 28 |
+
dset = datasets.load_dataset("SEACrowd/vicon", trust_remote_code=True)
|
| 29 |
```
|
| 30 |
### Using `seacrowd` library
|
| 31 |
```import seacrowd as sc
|
| 32 |
# Load the dataset using the default config
|
| 33 |
+
dset = sc.load_dataset("vicon", schema="seacrowd")
|
| 34 |
# Check all available subsets (config names) of the dataset
|
| 35 |
+
print(sc.available_config_names("vicon"))
|
| 36 |
# Load the dataset using a specific config
|
| 37 |
+
dset = sc.load_dataset_by_config_name(config_name="<config_name>")
|
| 38 |
```
|
| 39 |
+
|
| 40 |
+
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).
|
| 41 |
+
|
| 42 |
|
| 43 |
## Dataset Homepage
|
| 44 |
|