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