holylovenia
commited on
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
@@ -9,7 +9,7 @@ tags:
|
|
9 |
- self-supervised-pretraining
|
10 |
---
|
11 |
|
12 |
-
|
13 |
|
14 |
|
15 |
## Languages
|
@@ -19,25 +19,25 @@ ind
|
|
19 |
## Supported Tasks
|
20 |
|
21 |
Self Supervised Pretraining
|
22 |
-
|
23 |
## Dataset Usage
|
24 |
### Using `datasets` library
|
25 |
```
|
26 |
-
|
27 |
-
|
28 |
```
|
29 |
### Using `seacrowd` library
|
30 |
```import seacrowd as sc
|
31 |
# Load the dataset using the default config
|
32 |
-
|
33 |
# Check all available subsets (config names) of the dataset
|
34 |
-
|
35 |
# Load the dataset using a specific config
|
36 |
-
|
37 |
```
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
|
42 |
## Dataset Homepage
|
43 |
|
|
|
9 |
- self-supervised-pretraining
|
10 |
---
|
11 |
|
12 |
+
KoPI(Korpus Perayapan Indonesia)-CC_News is Indonesian Only Extract from CC NEWS Common Crawl from 2016-2022(july) ,each snapshots get extracted using warcio,trafilatura and filter using fasttext
|
13 |
|
14 |
|
15 |
## Languages
|
|
|
19 |
## Supported Tasks
|
20 |
|
21 |
Self Supervised Pretraining
|
22 |
+
|
23 |
## Dataset Usage
|
24 |
### Using `datasets` library
|
25 |
```
|
26 |
+
from datasets import load_dataset
|
27 |
+
dset = datasets.load_dataset("SEACrowd/kopi_cc_news", trust_remote_code=True)
|
28 |
```
|
29 |
### Using `seacrowd` library
|
30 |
```import seacrowd as sc
|
31 |
# Load the dataset using the default config
|
32 |
+
dset = sc.load_dataset("kopi_cc_news", schema="seacrowd")
|
33 |
# Check all available subsets (config names) of the dataset
|
34 |
+
print(sc.available_config_names("kopi_cc_news"))
|
35 |
# Load the dataset using a specific config
|
36 |
+
dset = sc.load_dataset_by_config_name(config_name="<config_name>")
|
37 |
```
|
38 |
+
|
39 |
+
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).
|
40 |
+
|
41 |
|
42 |
## Dataset Homepage
|
43 |
|