File size: 1,215 Bytes
7a85132
 
 
 
 
 
 
888d39b
 
 
7a85132
 
 
888d39b
7a85132
 
 
 
 
3d8313a
7a85132
3d8313a
ea2acd6
074f30d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
---
annotations_creators:
- no-annotation
language_creators:
- found
language:
- id
license: cc
multilinguality:
- monolingual
source_datasets:
- original
task_categories:
- text-generation
task_ids:
- language-modeling
paperswithcode_id: oscar
---

KoPI (Korpus Perayapan Indonesia) is Indonesian general corpora for sequence language modelling 

Subset of KoPI corpora:
  KoPI-CC + KoPI-CC-NEWS + KoPI-Mc4 + KoPI-Wiki + KoPI-Leipzig + KoPI-Paper + KoPI-Books

Prerequisite 
- Zstandard
  - you need to install zstandard first ( `pip install zstandard` )

Usage

```
from datasets import load_dataset

tiny = load_dataset('acul3/KoPI','tiny') #10 files load only
#small = load_dataset('acul3/KoPI','small') #30 files load only
#medium = load_dataset('acul3/KoPI','medium') #55 files load only
#large = load_dataset('acul3/KoPI','large') #75 files load only
#full = load_dataset('acul3/KoPI','full') #107 files load only (all files)
```

output dataset will be like

```
DatasetDict({
    train: Dataset({
        features: ['text', 'url', 'timestamp', 'meta'],
        num_rows: 2000000
    })
    validation: Dataset({
        features: ['text', 'url', 'timestamp', 'meta'],
        num_rows: 200000
    })
})
```