YigitCahit BayanDuygu commited on
Commit
49bf23a
·
0 Parent(s):

Duplicate from turkish-nlp-suite/temiz-OSCAR

Browse files

Co-authored-by: Duygu Altinok <BayanDuygu@users.noreply.huggingface.co>

.gitattributes ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.lz4 filter=lfs diff=lfs merge=lfs -text
12
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
13
+ *.model filter=lfs diff=lfs merge=lfs -text
14
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
15
+ *.npy filter=lfs diff=lfs merge=lfs -text
16
+ *.npz filter=lfs diff=lfs merge=lfs -text
17
+ *.onnx filter=lfs diff=lfs merge=lfs -text
18
+ *.ot filter=lfs diff=lfs merge=lfs -text
19
+ *.parquet filter=lfs diff=lfs merge=lfs -text
20
+ *.pb filter=lfs diff=lfs merge=lfs -text
21
+ *.pickle filter=lfs diff=lfs merge=lfs -text
22
+ *.pkl filter=lfs diff=lfs merge=lfs -text
23
+ *.pt filter=lfs diff=lfs merge=lfs -text
24
+ *.pth filter=lfs diff=lfs merge=lfs -text
25
+ *.rar filter=lfs diff=lfs merge=lfs -text
26
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
27
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
29
+ *.tar filter=lfs diff=lfs merge=lfs -text
30
+ *.tflite filter=lfs diff=lfs merge=lfs -text
31
+ *.tgz filter=lfs diff=lfs merge=lfs -text
32
+ *.wasm filter=lfs diff=lfs merge=lfs -text
33
+ *.xz filter=lfs diff=lfs merge=lfs -text
34
+ *.zip filter=lfs diff=lfs merge=lfs -text
35
+ *.zst filter=lfs diff=lfs merge=lfs -text
36
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
37
+ # Audio files - uncompressed
38
+ *.pcm filter=lfs diff=lfs merge=lfs -text
39
+ *.sam filter=lfs diff=lfs merge=lfs -text
40
+ *.raw filter=lfs diff=lfs merge=lfs -text
41
+ # Audio files - compressed
42
+ *.aac filter=lfs diff=lfs merge=lfs -text
43
+ *.flac filter=lfs diff=lfs merge=lfs -text
44
+ *.mp3 filter=lfs diff=lfs merge=lfs -text
45
+ *.ogg filter=lfs diff=lfs merge=lfs -text
46
+ *.wav filter=lfs diff=lfs merge=lfs -text
47
+ # Image files - uncompressed
48
+ *.bmp filter=lfs diff=lfs merge=lfs -text
49
+ *.gif filter=lfs diff=lfs merge=lfs -text
50
+ *.png filter=lfs diff=lfs merge=lfs -text
51
+ *.tiff filter=lfs diff=lfs merge=lfs -text
52
+ # Image files - compressed
53
+ *.jpg filter=lfs diff=lfs merge=lfs -text
54
+ *.jpeg filter=lfs diff=lfs merge=lfs -text
55
+ *.webp filter=lfs diff=lfs merge=lfs -text
56
+ # Video files - compressed
57
+ *.mp4 filter=lfs diff=lfs merge=lfs -text
58
+ *.webm filter=lfs diff=lfs merge=lfs -text
59
+ data/train/oscar2019.jsonl filter=lfs diff=lfs merge=lfs -text
60
+ data/train/oscar2109.jsonl filter=lfs diff=lfs merge=lfs -text
61
+ data/train/oscar2201.jsonl filter=lfs diff=lfs merge=lfs -text
62
+ data/train/oscar2301.jsonl filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,140 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ annotations_creators:
3
+ - Duygu Altinok
4
+ language:
5
+ - tr
6
+ license:
7
+ - cc-by-sa-4.0
8
+ multilinguality:
9
+ - monolingual
10
+ source_datasets:
11
+ - oscar-corpus/oscar
12
+ - oscar-corpus/OSCAR-2109
13
+ - oscar-corpus/OSCAR-2201
14
+ - oscar-corpus/OSCAR-2301
15
+ pretty_name: temiz-OSCAR
16
+ config_names:
17
+ - oscar-2019
18
+ - oscar-2109
19
+ - oscar-2201
20
+ - oscar-2301
21
+ dataset_info:
22
+ - config_name: oscar-2019
23
+ features:
24
+ - name: text
25
+ dtype: string
26
+ splits:
27
+ - name: train
28
+ num_bytes: 2817356
29
+ num_examples: 3671430
30
+ - config_name: oscar-2109
31
+ features:
32
+ - name: text
33
+ dtype: string
34
+ splits:
35
+ - name: train
36
+ num_bytes: 2817356
37
+ num_examples: 8472809
38
+ - config_name: oscar-2201
39
+ features:
40
+ - name: text
41
+ dtype: string
42
+ splits:
43
+ - name: train
44
+ num_bytes: 2817356
45
+ num_examples: 5193341
46
+ - config_name: oscar-2301
47
+ features:
48
+ - name: text
49
+ dtype: string
50
+ splits:
51
+ - name: train
52
+ num_bytes: 2817356
53
+ num_examples: 6402187
54
+ configs:
55
+ - config_name: oscar-2019
56
+ data_files:
57
+ - split: train
58
+ path: data/train/oscar2019.jsonl
59
+ - config_name: oscar-2109
60
+ data_files:
61
+ - split: train
62
+ path: data/train/oscar2109.jsonl
63
+ - config_name: oscar-2201
64
+ data_files:
65
+ - split: train
66
+ path: data/train/oscar2201.jsonl
67
+ - config_name: oscar-2301
68
+ data_files:
69
+ - split: train
70
+ path: data/train/oscar2301.jsonl
71
+ task_categories:
72
+ - fill-mask
73
+ - text-generation
74
+ tags:
75
+ - oscar
76
+ size_categories:
77
+ - 10M<n<100M
78
+ ---
79
+
80
+
81
+ <img src="https://raw.githubusercontent.com/turkish-nlp-suite/.github/main/profile/temiz-oscar.png" width="30%" height="30%">
82
+
83
+ # Dataset Card for Temiz OSCAR
84
+ Temiz OSCAR is a corpora collection consisting of cleaned versions of original OSCAR corpora.
85
+ This collection is made up of four datasets: [OSCAR-2019](https://huggingface.co/datasets/oscar-corpus/oscar), [OSCAR-2109](https://huggingface.co/datasets/oscar-corpus/OSCAR-2109), [OSCAR-2201](https://huggingface.co/datasets/oscar-corpus/OSCAR-2201) and [OSCAR-2301](https://huggingface.co/datasets/oscar-corpus/OSCAR-2301)
86
+
87
+ This corpus is a part of large scale Turkish corpus [Bella Turca](https://huggingface.co/datasets/turkish-nlp-suite/BellaTurca). For more details about Bella Turca, please refer to [the publication](https://link.springer.com/chapter/10.1007/978-3-031-70563-2_16).
88
+
89
+
90
+ | Dataset | num instances | size | num of words|
91
+ |---|---|---|---|
92
+ | OSCAR-2019 | 3.671.430 | 7.7G | 976M |
93
+ | OSCAR-2109 | 8.472.809 | 18G | 2.22B|
94
+ | OSCAR-2201 | 5.193.341 | 14GB | 1.75B |
95
+ | OSCAR-2301 | 6.402.187 | 18GB |2.19B |
96
+ | **Total** | 23.739.767 | 57GB | 7.15B |
97
+
98
+
99
+ This collection includes web text, crawled from internet by OSCAR project. We cleaned the corpus by quite many criterion such as text length, character to digit ratio; as well as filtered for too much profanity, adult content and more. For all the details please visit the publication.
100
+
101
+
102
+
103
+ ### Instances
104
+
105
+ A typical instance from the dataset looks like:
106
+
107
+ ```
108
+ {
109
+ "text": Türkiyenin önde gelen ilaç şirketlerinden Nobel İlaç, enfeksiyonlardan korunma yolları içerikli eğitim programı ile, \
110
+ Junior Chamber International (JCI) tarafından 2016 Uluslararası Kurumsal Sosyal Sorumluluk ödülüne layık görüldü. Yarım asrı
111
+ aşkın süredir insan sağlığının korunması ve iyileştirilmesi alanında çalışan Türkiyenin önde gelen ilaç firmalarından, %100 Türk \
112
+ sermayeli Nobel İlaç, kurumsal sosyal sorumluluk alanındaki kararlılığını bu proje ile bir kez daha gösterdi. Sağlıklı yaşam \
113
+ bilincinin erken yaşlarda eğitim yoluyla geliştirilmesi gerektiğine inanan Nobel İlaç ve gönüllü çalışanları, 7 farklı oturumda \
114
+ ilkokul çağındaki 120 çocuğa ulaşarak enfeksiyonlardan korunma yolları içerikli eğitimler verdiler. 114 ülkede 169.000 üyesi \
115
+ bulunan, toplumlarda pozitif değişime ve gelişime katkıda bulunmak için gençlerin liderlik, girişimcilik becerilerini ve sosyal \
116
+ sorumluluk bilincini geliştirme misyonunu üstlenen Junior Chamber International (JCI), Nobel İlaçın bu eğitim programını 2016 Uluslararası Kurumsal Sosyal Sorumluluk Ödülüne layık gördü. Nobel İlaç bu proje ile ülkemizin geleceğini şekillendirecek çocuklarımıza, nitelikli ve kaliteli eğitim verilmesine destek olarak, sağlıklı ve bilinçli bireyler yetişmesine katkı sağlamayı hedeflemiştir. Aynı zamanda ülkemiz çocuklarında farkındalık uyandırarak, gelecekte yapılacak benzer toplumsal projelerde aktif görev almaları için onlara rol model olmayı amaçlamıştır."
117
+ ```
118
+
119
+
120
+ ## Citation
121
+
122
+ ```
123
+ @InProceedings{10.1007/978-3-031-70563-2_16,
124
+ author="Altinok, Duygu",
125
+ editor="N{\"o}th, Elmar
126
+ and Hor{\'a}k, Ale{\v{s}}
127
+ and Sojka, Petr",
128
+ title="Bella Turca: A Large-Scale Dataset of Diverse Text Sources for Turkish Language Modeling",
129
+ booktitle="Text, Speech, and Dialogue",
130
+ year="2024",
131
+ publisher="Springer Nature Switzerland",
132
+ address="Cham",
133
+ pages="196--213",
134
+ abstract="In recent studies, it has been demonstrated that incorporating diverse training datasets enhances the overall knowledge and generalization capabilities of large-scale language models, especially in cross-domain scenarios. In line with this, we introduce Bella Turca: a comprehensive Turkish text corpus, totaling 265GB, specifically curated for training language models. Bella Turca encompasses 25 distinct subsets of 4 genre, carefully chosen to ensure diversity and high quality. While Turkish is spoken widely across three continents, it suffers from a dearth of robust data resources for language modelling. Existing transformers and language models have primarily relied on repetitive corpora such as OSCAR and/or Wiki, which lack the desired diversity. Our work aims to break free from this monotony by introducing a fresh perspective to Turkish corpora resources. To the best of our knowledge, this release marks the first instance of such a vast and diverse dataset tailored for the Turkish language. Additionally, we contribute to the community by providing the code used in the dataset's construction and cleaning, fostering collaboration and knowledge sharing.",
135
+ isbn="978-3-031-70563-2"
136
+ }
137
+ ```
138
+
139
+ ## Acknowledgments
140
+ This research was supported with Cloud TPUs from Google's TPU Research Cloud (TRC).
data/train/oscar2019.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:03fd39e15ed9662bc7f73375f39b63cc90439d197a91a7935b0c74cee1dfb74f
3
+ size 8229089101
data/train/oscar2109.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5350b4b5fb54199163baa12bd97d504005490307875245bbd169bc15f303b3b1
3
+ size 18754930596
data/train/oscar2201.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0694cbd701fa4eef312f914e5e90ba2a52cb918dcc910f3a5283ef793228a8a1
3
+ size 14836471773
data/train/oscar2301.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1e113db250ef915c6230b806a0b04ad60d72bfc564090ef24045e90376ab8530
3
+ size 18581924251