holylovenia
commited on
Commit
•
005ff8c
1
Parent(s):
f4396ab
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
@@ -42,25 +42,25 @@ ind, jav, khm, lao, tgl, min, mya, sun, tha, vie, zlm, ceb, war, cbk, bcl
|
|
42 |
## Supported Tasks
|
43 |
|
44 |
Self Supervised Pretraining
|
45 |
-
|
46 |
## Dataset Usage
|
47 |
### Using `datasets` library
|
48 |
```
|
49 |
-
|
50 |
-
|
51 |
```
|
52 |
### Using `seacrowd` library
|
53 |
```import seacrowd as sc
|
54 |
# Load the dataset using the default config
|
55 |
-
|
56 |
# Check all available subsets (config names) of the dataset
|
57 |
-
|
58 |
# Load the dataset using a specific config
|
59 |
-
|
60 |
```
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
|
65 |
## Dataset Homepage
|
66 |
|
@@ -72,7 +72,7 @@ Source: 1.0.0. SEACrowd: 2024.06.20.
|
|
72 |
|
73 |
## Dataset License
|
74 |
|
75 |
-
Other License (others) |
|
76 |
|
77 |
## Citation
|
78 |
|
|
|
42 |
## Supported Tasks
|
43 |
|
44 |
Self Supervised Pretraining
|
45 |
+
|
46 |
## Dataset Usage
|
47 |
### Using `datasets` library
|
48 |
```
|
49 |
+
from datasets import load_dataset
|
50 |
+
dset = datasets.load_dataset("SEACrowd/culturax", trust_remote_code=True)
|
51 |
```
|
52 |
### Using `seacrowd` library
|
53 |
```import seacrowd as sc
|
54 |
# Load the dataset using the default config
|
55 |
+
dset = sc.load_dataset("culturax", schema="seacrowd")
|
56 |
# Check all available subsets (config names) of the dataset
|
57 |
+
print(sc.available_config_names("culturax"))
|
58 |
# Load the dataset using a specific config
|
59 |
+
dset = sc.load_dataset_by_config_name(config_name="<config_name>")
|
60 |
```
|
61 |
+
|
62 |
+
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).
|
63 |
+
|
64 |
|
65 |
## Dataset Homepage
|
66 |
|
|
|
72 |
|
73 |
## Dataset License
|
74 |
|
75 |
+
Other License (others) |The licence terms for CulturaX strictly follows those of mC4 and OSCAR.Please refer to both below licenses when using this dataset.- mC4 license: https://huggingface.co/datasets/allenai/c4#license- OSCAR license: https://huggingface.co/datasets/oscar-corpus/OSCAR-2301#licensing-information
|
76 |
|
77 |
## Citation
|
78 |
|