ruvimx commited on
Commit
7d264b1
·
verified ·
1 Parent(s): b1f02e9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +113 -55
README.md CHANGED
@@ -1,55 +1,113 @@
1
- ---
2
- license: cc-by-4.0
3
- configs:
4
- - config_name: literature
5
- data_files:
6
- - split: train
7
- path: literature/train-*
8
- - config_name: wikipedia
9
- data_files:
10
- - split: train
11
- path: wikipedia/train-*
12
- dataset_info:
13
- - config_name: literature
14
- features:
15
- - name: text
16
- dtype: large_string
17
- - name: title
18
- dtype: large_string
19
- - name: author
20
- dtype: large_string
21
- - name: tid
22
- dtype: int64
23
- - name: source
24
- dtype: large_string
25
- - name: license
26
- dtype: large_string
27
- - name: url
28
- dtype: large_string
29
- - name: date
30
- dtype: timestamp[us]
31
- splits:
32
- - name: train
33
- num_bytes: 23808445
34
- num_examples: 562
35
- download_size: 12331663
36
- dataset_size: 23808445
37
- - config_name: wikipedia
38
- features:
39
- - name: text
40
- dtype: large_string
41
- - name: title
42
- dtype: large_string
43
- - name: source
44
- dtype: large_string
45
- - name: license
46
- dtype: large_string
47
- - name: date
48
- dtype: timestamp[us]
49
- splits:
50
- - name: train
51
- num_bytes: 5647322338
52
- num_examples: 1134416
53
- download_size: 2631278461
54
- dataset_size: 5647322338
55
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ pretty_name: UkrCorpus — Ukrainian Text Corpus
4
+ configs:
5
+ - config_name: literature
6
+ data_files:
7
+ - split: train
8
+ path: literature/train-*
9
+ - config_name: wikipedia
10
+ data_files:
11
+ - split: train
12
+ path: wikipedia/train-*
13
+ tags:
14
+ - ukrainian
15
+ - pretraining
16
+ - wikipedia
17
+ - literature
18
+ size_categories:
19
+ - 100M<n<1B
20
+ dataset_info:
21
+ - config_name: literature
22
+ features:
23
+ - name: text
24
+ dtype: large_string
25
+ - name: title
26
+ dtype: large_string
27
+ - name: author
28
+ dtype: large_string
29
+ - name: tid
30
+ dtype: int64
31
+ - name: source
32
+ dtype: large_string
33
+ - name: license
34
+ dtype: large_string
35
+ - name: url
36
+ dtype: large_string
37
+ - name: date
38
+ dtype: timestamp[us]
39
+ splits:
40
+ - name: train
41
+ num_bytes: 23808445
42
+ num_examples: 562
43
+ download_size: 12331663
44
+ dataset_size: 23808445
45
+ - config_name: wikipedia
46
+ features:
47
+ - name: text
48
+ dtype: large_string
49
+ - name: title
50
+ dtype: large_string
51
+ - name: source
52
+ dtype: large_string
53
+ - name: license
54
+ dtype: large_string
55
+ - name: date
56
+ dtype: timestamp[us]
57
+ splits:
58
+ - name: train
59
+ num_bytes: 5647322338
60
+ num_examples: 1134416
61
+ download_size: 2631278461
62
+ dataset_size: 5647322338
63
+ language:
64
+ - uk
65
+ ---
66
+
67
+ # UkrCorpus — Ukrainian Text Corpus
68
+
69
+ A large-scale corpus of Ukrainian texts for pretraining and fine-tuning language models.
70
+ Includes cleaned Ukrainian Wikipedia and public domain fiction literature.
71
+
72
+ ## Subsets
73
+
74
+ | Config | Description | Records | Tokens |
75
+ |--------|-------------|---------|--------|
76
+ | `wikipedia` | Articles from uk.wikipedia.org, cleaned from wikimarkup | 1,134,432 | ~847M |
77
+ | `literature` | Fiction from ukrlib.com.ua | 562 | ~3M |
78
+
79
+ ## Usage
80
+ ```python
81
+ from datasets import load_dataset
82
+
83
+ ds = load_dataset("ruvimx/UkrCorpus", "wikipedia")
84
+ ds = load_dataset("ruvimx/UkrCorpus", "literature")
85
+ ```
86
+
87
+ ## Fields
88
+
89
+ ### wikipedia
90
+ | Field | Type | Description |
91
+ |-------|------|-------------|
92
+ | `text` | string | Article text |
93
+ | `title` | string | Article title |
94
+ | `source` | string | Source (`wikipedia_uk`) |
95
+ | `license` | string | License (`CC-BY-SA-4.0`) |
96
+ | `date` | string | Collection date |
97
+
98
+ ### literature
99
+ | Field | Type | Description |
100
+ |-------|------|-------------|
101
+ | `text` | string | Full text of the work |
102
+ | `title` | string | Title of the work |
103
+ | `author` | string | Author name |
104
+ | `tid` | int | Internal source ID |
105
+ | `source` | string | Source identifier |
106
+ | `license` | string | License |
107
+ | `url` | string | Link to original |
108
+ | `date` | string | Collection date |
109
+
110
+ ## License
111
+
112
+ - Wikipedia: CC-BY-SA 4.0
113
+ - Literature: Public Domain