holylovenia
commited on
Commit
•
550d578
1
Parent(s):
ceb009a
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
@@ -37,25 +37,25 @@ bik, ceb, hil, ilo, tgl, pam, pag, war
|
|
37 |
## Supported Tasks
|
38 |
|
39 |
Self Supervised Pretraining
|
40 |
-
|
41 |
## Dataset Usage
|
42 |
### Using `datasets` library
|
43 |
```
|
44 |
-
|
45 |
-
|
46 |
```
|
47 |
### Using `seacrowd` library
|
48 |
```import seacrowd as sc
|
49 |
# Load the dataset using the default config
|
50 |
-
|
51 |
# Check all available subsets (config names) of the dataset
|
52 |
-
|
53 |
# Load the dataset using a specific config
|
54 |
-
|
55 |
```
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
|
60 |
## Dataset Homepage
|
61 |
|
|
|
37 |
## Supported Tasks
|
38 |
|
39 |
Self Supervised Pretraining
|
40 |
+
|
41 |
## Dataset Usage
|
42 |
### Using `datasets` library
|
43 |
```
|
44 |
+
from datasets import load_dataset
|
45 |
+
dset = datasets.load_dataset("SEACrowd/palito", trust_remote_code=True)
|
46 |
```
|
47 |
### Using `seacrowd` library
|
48 |
```import seacrowd as sc
|
49 |
# Load the dataset using the default config
|
50 |
+
dset = sc.load_dataset("palito", schema="seacrowd")
|
51 |
# Check all available subsets (config names) of the dataset
|
52 |
+
print(sc.available_config_names("palito"))
|
53 |
# Load the dataset using a specific config
|
54 |
+
dset = sc.load_dataset_by_config_name(config_name="<config_name>")
|
55 |
```
|
56 |
+
|
57 |
+
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).
|
58 |
+
|
59 |
|
60 |
## Dataset Homepage
|
61 |
|