Datasets:
ArXiv:
License:
Commit
•
6d0e5b0
1
Parent(s):
97d9e31
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
@@ -36,25 +36,25 @@ war, ceb, min, vie, ilo, tgl, lao, khm, mya, jav, ind, tha, sun, zlm
|
|
36 |
## Supported Tasks
|
37 |
|
38 |
Self Supervised Pretraining
|
39 |
-
|
40 |
## Dataset Usage
|
41 |
### Using `datasets` library
|
42 |
```
|
43 |
-
|
44 |
-
|
45 |
```
|
46 |
### Using `seacrowd` library
|
47 |
```import seacrowd as sc
|
48 |
# Load the dataset using the default config
|
49 |
-
|
50 |
# Check all available subsets (config names) of the dataset
|
51 |
-
|
52 |
# Load the dataset using a specific config
|
53 |
-
|
54 |
```
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
|
59 |
## Dataset Homepage
|
60 |
|
|
|
36 |
## Supported Tasks
|
37 |
|
38 |
Self Supervised Pretraining
|
39 |
+
|
40 |
## Dataset Usage
|
41 |
### Using `datasets` library
|
42 |
```
|
43 |
+
from datasets import load_dataset
|
44 |
+
dset = datasets.load_dataset("SEACrowd/oscar_2201", trust_remote_code=True)
|
45 |
```
|
46 |
### Using `seacrowd` library
|
47 |
```import seacrowd as sc
|
48 |
# Load the dataset using the default config
|
49 |
+
dset = sc.load_dataset("oscar_2201", schema="seacrowd")
|
50 |
# Check all available subsets (config names) of the dataset
|
51 |
+
print(sc.available_config_names("oscar_2201"))
|
52 |
# Load the dataset using a specific config
|
53 |
+
dset = sc.load_dataset_by_config_name(config_name="<config_name>")
|
54 |
```
|
55 |
+
|
56 |
+
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).
|
57 |
+
|
58 |
|
59 |
## Dataset Homepage
|
60 |
|