Datasets:

Modalities:
Text
Formats:
parquet
Languages:
Russian
Libraries:
Datasets
Dask
License:
SpirinEgor commited on
Commit
271679c
·
1 Parent(s): 749004a

Upload data

Browse files
README.md CHANGED
@@ -1,3 +1,84 @@
1
  ---
2
  license: apache-2.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: apache-2.0
3
+ dataset_info:
4
+ features:
5
+ - name: text
6
+ dtype: string
7
+ splits:
8
+ - name: train
9
+ num_examples: 142178930
10
+ - name: validation
11
+ num_examples: 71208
12
+ configs:
13
+ - config_name: default
14
+ data_files:
15
+ - split: train
16
+ path: data/train-*
17
+ - split: validation
18
+ path: data/validation-*
19
+ task_categories:
20
+ - text-generation
21
+ language:
22
+ - ru
23
+ size_categories:
24
+ - 100M<n<1B
25
  ---
26
+
27
+ # Cultura-Ru-Edu
28
+
29
+ The `Cultura-Ru-Edu` dataset consists of Russian educational web pages filtered from the [`uonlp/CulturaX`](https://huggingface.co/datasets/uonlp/CulturaX) dataset.
30
+
31
+ The dataset creation was inspired by [`HuggingFaceFW/fineweb-edu`](https://huggingface.co/datasets/HuggingFaceFW/fineweb-edu), but with a focus on the Russian language.
32
+ By filtering the dataset based on educational criteria, the `Cultura-Ru-Edu` dataset is both high-quality and large enough to train a Russian-focused language model for tasks requiring knowledge of the world.
33
+
34
+ ## Dataset curation
35
+
36
+ To create this dataset, we annotated a subset with the `Meta-Llama-3-70B-Instruct` model, trained a classifier on it, and then applied it to the entire dataset, keeping only the high-quality samples.
37
+
38
+ ### Annotation
39
+
40
+ Follow [`deepvk/cultura_ru_edu_llama3_annotations`](https://huggingface.co/datasets/deepvk/cultura_ru_edu_llama3_annotations) to see details about creating the annotation dataset.
41
+
42
+ ### Training classifier
43
+
44
+ We trained a classifier based on the [`USER-base`](https://huggingface.co/deepvk/USER-base) model.
45
+ Unlike the original FineWeb-Edu pipeline, we used binary classification, where the positive class includes samples with a score of 3 and higher.
46
+ We found this approach more stable due to the high imbalance in the annotation dataset.
47
+
48
+ ### Dataset scoring
49
+
50
+ We converted the classifier to ONNX format and applied it to the Russian part of the [`uonlp/CulturaX`](https://huggingface.co/datasets/uonlp/CulturaX) dataset.
51
+ The original dataset contained approximately 800 million documents, and after filtration, only 140 million documents remained (~17.5% of the original dataset).
52
+
53
+ ## Dataset information
54
+
55
+ Each sample contains only one property — `text`, the original text document.
56
+
57
+ Some notes:
58
+ - This dataset is a filtered version of the larger, multilingual [`uonlp/CulturaX`](https://huggingface.co/datasets/uonlp/CulturaX) dataset. No other information was added or removed.
59
+ - Since the original dataset consists of parsed web pages, there may still be artifacts in the text header or footer. Future work may include detecting and removing such blocks.
60
+
61
+ ## Usage
62
+
63
+ To use this dataset, one may simply use the `datasets` API.
64
+
65
+ ```python
66
+ from datasets import load_dataset
67
+
68
+ cultura_ru_edu = load_dataset("deepvk/cultura_ru_edu", split="train", streaming=True)
69
+
70
+ ```
71
+
72
+ Note that the dataset size is approximately 500GB, so it is better to use streaming or download it directly via Git LFS.
73
+
74
+ ## Citations
75
+
76
+ ```
77
+ @misc{deepvk2024cultura-ru-edu,
78
+ title={Cultura-Ru-Edu},
79
+ author={Spirin, Egor and Sokolov, Andrey},
80
+ url={https://huggingface.co/datasets/deepvk/cultura_ru_edu},
81
+ publisher={Hugging Face}
82
+ year={2024},
83
+ }
84
+ ```
data/train-00000-of-00024.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1b3c48e346d81da2a68a8aaee0f6ff482a79262cfe624b768902b3381f5177c8
3
+ size 20632861759
data/train-00001-of-00024.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4cb0ee3844dbd9f34227b324a6c5b3fc74c80522b0156eff20e42e40d70afdde
3
+ size 20632260795
data/train-00002-of-00024.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70f94ac269cd64f4b45989619e9dc52df1cee9ffb339d2c0f13a79c742f5f4cb
3
+ size 20632486289
data/train-00003-of-00024.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c1a607634736f62dcab138a4cccdec0376e69a58cdb681ea2faa0ea33089c701
3
+ size 20631997411
data/train-00004-of-00024.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:68a92558b9b8e76656a3c50085be6972e42246e01446b3672fbe968b246555cd
3
+ size 20631735716
data/train-00005-of-00024.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:30b14127b596e9ffc1be0c826a366834337f297d36ec3a2efef804a6ee66370b
3
+ size 20634200294
data/train-00006-of-00024.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8039f7f61e908851f4ca68ac6bee17de2b6094f2af78e08e76051d6e998dab84
3
+ size 20631802914
data/train-00007-of-00024.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a95a298ec79328a5318742779fcb7fff479c9f4026c336811f16364d7658b66
3
+ size 20633143887
data/train-00008-of-00024.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1df467281a1579c2a7d9b41d9ca66f0a97aaad7dbfeb53d6da08aeec8203403b
3
+ size 20630428390
data/train-00009-of-00024.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:760bb84ac01f70f86691d6f87e13b2f93a0d7dff84b2cf545800baa9ab277150
3
+ size 20630604719
data/train-00010-of-00024.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d1c7fee430d22ca46cb73250d261a96a1276b47f8a79787226cdbe82e76e363b
3
+ size 20631110610
data/train-00011-of-00024.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9862629719545052fb6aefa749a5c2cf6d52c63a668789253ba15491ef8cab4c
3
+ size 20634222708
data/train-00012-of-00024.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:902c1ebc2b45f5bc9a72a6a8149361f7e6d8af0e8c1d6a9d20049aa51a8076b1
3
+ size 20631301144
data/train-00013-of-00024.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fd5addc75cca1f49a3f9ac61546d60dea8193907e2d0ec12997b27d260e02c1e
3
+ size 20636717161
data/train-00014-of-00024.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e4db960059b1c5f42029e2cb9da2dd83cb6f722881cae2c02bd1dd5399dea73
3
+ size 20633592518
data/train-00015-of-00024.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d5d7ab43866066278e09b55c417ac14e3a50336915d7a436591b305f6b7db8e8
3
+ size 20630282782
data/train-00016-of-00024.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5603b41d0060c8166d0be515f09cffdabd8d84203e2185b6d41091d142530cd
3
+ size 20628315911
data/train-00017-of-00024.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e34c951a2b0c75b7f5cf9239d17c39a00eab9c2a6c7f382b407f3df1558f9735
3
+ size 20630353980
data/train-00018-of-00024.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:91993cf50620ec33503f1be34c07ba27a0d3322349aab0e1fc44d8ccd727ead7
3
+ size 20632612811
data/train-00019-of-00024.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fcd589f4c76be5e70ea6ee87c5f620d33c8b90bafa646f3f9f4dc0d0a8a8686d
3
+ size 20632993069
data/train-00020-of-00024.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8291a2a0acf535586e465f018fc45f8d8255eccba4747a54d6f7a38f131bc42b
3
+ size 20632032122
data/train-00021-of-00024.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9bd39866926a82f9f6d9931d87eea6dc4ba209117d45bf35f219bb0400dee86a
3
+ size 20632405328
data/train-00022-of-00024.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be9ab9459e4a08b11db6d31d264a0a8d1fd0b138c9566179fddc0f5cfe2de1c4
3
+ size 20633286636
data/train-00023-of-00024.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d5a2f7aa1345abdd91fee4ae45b7c38910ee4ec88af7ed30d387fd69cce082ca
3
+ size 20632232857
data/train-00024-of-00024.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:905cadce8ea48f51dace9c56a99eb62a93a7cfbe457c5485ccfe6f3c7634cfeb
3
+ size 4808481724
data/validation-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3ef6fb3d51148873ca1dfbd58cee2f5f49f399d7318ecefe7a6192af15a71387
3
+ size 249799121