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