holylovenia
commited on
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
@@ -14,7 +14,7 @@ tags:
|
|
14 |
---
|
15 |
|
16 |
|
17 |
-
BasahaCorpus contains short stories in four Central Philippine languages
|
18 |
|
19 |
|
20 |
## Languages
|
@@ -24,25 +24,25 @@ msb, rin, kar, hil
|
|
24 |
## Supported Tasks
|
25 |
|
26 |
Readability Assessment
|
27 |
-
|
28 |
## Dataset Usage
|
29 |
### Using `datasets` library
|
30 |
```
|
31 |
-
|
32 |
-
|
33 |
```
|
34 |
### Using `seacrowd` library
|
35 |
```import seacrowd as sc
|
36 |
# Load the dataset using the default config
|
37 |
-
|
38 |
# Check all available subsets (config names) of the dataset
|
39 |
-
|
40 |
# Load the dataset using a specific config
|
41 |
-
|
42 |
```
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
|
47 |
## Dataset Homepage
|
48 |
|
|
|
14 |
---
|
15 |
|
16 |
|
17 |
+
BasahaCorpus contains short stories in four Central Philippine languages(Minasbate, Rinconada, Kinaray-a, and Hiligaynon) for low-resourcereadability assessment. Each dataset per language contains storiesdistributed over the first three grade levels (L1, L2, and L3) inthe Philippine education context. The grade levels of the datasethave been provided by an expert from Let's Read Asia.
|
18 |
|
19 |
|
20 |
## Languages
|
|
|
24 |
## Supported Tasks
|
25 |
|
26 |
Readability Assessment
|
27 |
+
|
28 |
## Dataset Usage
|
29 |
### Using `datasets` library
|
30 |
```
|
31 |
+
from datasets import load_dataset
|
32 |
+
dset = datasets.load_dataset("SEACrowd/basaha_corpus", trust_remote_code=True)
|
33 |
```
|
34 |
### Using `seacrowd` library
|
35 |
```import seacrowd as sc
|
36 |
# Load the dataset using the default config
|
37 |
+
dset = sc.load_dataset("basaha_corpus", schema="seacrowd")
|
38 |
# Check all available subsets (config names) of the dataset
|
39 |
+
print(sc.available_config_names("basaha_corpus"))
|
40 |
# Load the dataset using a specific config
|
41 |
+
dset = sc.load_dataset_by_config_name(config_name="<config_name>")
|
42 |
```
|
43 |
+
|
44 |
+
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).
|
45 |
+
|
46 |
|
47 |
## Dataset Homepage
|
48 |
|