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