nyuuzyou commited on
Commit
c742314
·
verified ·
1 Parent(s): 83be82c

Add files using upload-large-folder tool

Browse files
Files changed (2) hide show
  1. README.md +109 -16
  2. data.parquet +3 -0
README.md CHANGED
@@ -6,6 +6,8 @@ language_creators:
6
  - expert-generated
7
  language:
8
  - code
 
 
9
  license: other
10
  multilinguality:
11
  - multilingual
@@ -16,42 +18,133 @@ source_datasets:
16
  - original
17
  task_categories:
18
  - text-generation
19
- task_ids:
20
- - language-modeling
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  ---
22
 
23
- # Dataset Card for GitVerse Code Dataset
 
 
 
 
24
 
25
  ### Dataset Summary
26
 
27
- This dataset was compiled from code repositories hosted on the [GitVerse](https://gitverse.ru) platform, a Russian GitHub alternative. The platform is set to open for all users in early 2024.
 
 
 
 
 
 
 
 
28
 
29
- The dataset includes code from **9,014** repositories, spanning **419** different file types as identified by [github-linguist](https://github.com/github-linguist/linguist). It has been deduplicated and filtered to remove binary files, resulting in **30 GB** of unique code extracted from over **400 GB** of analyzed data. The dataset contains **2,804,216** unique code files processed. Each entry in the dataset represents a single file, including its content, identified language, and a unique filename.
 
30
 
31
  ### Languages
32
 
33
- The dataset includes multiple programming languages, with the specific language of each file identified using [github-linguist](https://github.com/github-linguist/linguist).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
 
35
  ## Dataset Structure
36
 
37
  ### Data Fields
38
 
39
- This dataset includes the following fields:
 
 
 
 
40
 
41
- - `file_text`: The full text content of the file (string)
42
- - `language`: The programming language of the file, as identified by [github-linguist](https://github.com/github-linguist/linguist) (string)
43
- - `file_name`: A unique identifier for the file within the dataset (string)
 
44
 
45
  ### Data Splits
46
 
47
- All examples are in the train split. There is no validation split.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48
 
49
- ## Additional Information
50
 
51
- ### Dataset Curators
 
 
 
52
 
53
- - [nyuuzyou](https://ducks.party)
54
 
55
- ### Ethical Considerations
56
 
57
- This dataset has been compiled with an analysis of the licenses used in the repositories to ensure ethical collection and use of the data. Users of this dataset should respect the rights of the authors and use the data responsibly.
 
6
  - expert-generated
7
  language:
8
  - code
9
+ - ru
10
+ - en
11
  license: other
12
  multilinguality:
13
  - multilingual
 
18
  - original
19
  task_categories:
20
  - text-generation
21
+ tags:
22
+ - code
23
+ - russian
24
+ configs:
25
+ - config_name: default
26
+ data_files:
27
+ - split: train
28
+ path: "data.parquet"
29
+ default: true
30
+ dataset_info:
31
+ features:
32
+ - name: file_text
33
+ dtype: string
34
+ - name: language
35
+ dtype: string
36
+ - name: file_name
37
+ dtype: string
38
  ---
39
 
40
+ # GitVerse Code Dataset
41
+
42
+ ## Dataset Description
43
+
44
+ This dataset was compiled from code repositories hosted on [GitVerse](https://gitverse.ru), a Russian code hosting platform and an alternative to GitHub in the Russian developer community. GitVerse is used by Russian developers, enterprises, and open-source projects, making this dataset particularly valuable for training code models with Russian language understanding and Russian coding conventions.
45
 
46
  ### Dataset Summary
47
 
48
+ | Statistic | Value |
49
+ |-----------|-------|
50
+ | **Total Files** | 2,802,994 |
51
+ | **Total Repositories** | 9,014 |
52
+ | **Total Size** | 2 GB (compressed Parquet) |
53
+ | **Programming Languages** | 416 |
54
+ | **File Format** | Parquet (single file) |
55
+
56
+ ### Key Features
57
 
58
+ - **Russian code corpus**: Contains code from over 9,000 repositories, many featuring Russian comments, documentation, and variable names
59
+ - **Diverse language coverage**: Spans 416 programming languages identified by [github-linguist](https://github.com/github-linguist/linguist)
60
 
61
  ### Languages
62
 
63
+ The dataset includes 416 programming languages. The top 30 languages by file count:
64
+
65
+ | Rank | Language | File Count |
66
+ |------|----------|------------|
67
+ | 1 | C | 580,713 |
68
+ | 2 | JavaScript | 275,744 |
69
+ | 3 | C++ | 197,896 |
70
+ | 4 | Shell | 166,527 |
71
+ | 5 | Python | 116,065 |
72
+ | 6 | Markdown | 112,811 |
73
+ | 7 | TypeScript | 107,867 |
74
+ | 8 | Java | 88,429 |
75
+ | 9 | PHP | 80,341 |
76
+ | 10 | Makefile | 77,619 |
77
+ | 11 | XML | 75,320 |
78
+ | 12 | Go | 69,155 |
79
+ | 13 | C# | 68,185 |
80
+ | 14 | Text | 65,677 |
81
+ | 15 | JSON | 64,253 |
82
+ | 16 | SVG | 58,107 |
83
+ | 17 | HTML | 43,261 |
84
+ | 18 | YAML | 40,178 |
85
+ | 19 | Unity3D Asset | 33,917 |
86
+ | 20 | Rust | 32,872 |
87
+ | 21 | LLVM | 29,819 |
88
+ | 22 | Unix Assembly | 27,672 |
89
+ | 23 | Roff | 25,884 |
90
+ | 24 | CSS | 21,809 |
91
+ | 25 | TSX | 21,637 |
92
+ | 26 | reStructuredText | 19,683 |
93
+ | 27 | Perl | 18,576 |
94
+ | 28 | Gettext Catalog | 17,071 |
95
+ | 29 | Diff | 14,225 |
96
+ | 30 | CMake | 14,132 |
97
 
98
  ## Dataset Structure
99
 
100
  ### Data Fields
101
 
102
+ | Field | Type | Description |
103
+ |-------|------|-------------|
104
+ | `file_text` | string | The full text content of the file (UTF-8 encoded) |
105
+ | `language` | string | Programming language as identified by [github-linguist](https://github.com/github-linguist/linguist) |
106
+ | `file_name` | string | A unique identifier for the file within the dataset |
107
 
108
+ ### Data Format
109
+
110
+ - **Format**: Apache Parquet
111
+ - **File Structure**: Single file (`data.parquet`)
112
 
113
  ### Data Splits
114
 
115
+ All examples are in the train split. There is no validation or test split.
116
+
117
+ ### Example Data Point
118
+
119
+ ```
120
+ {
121
+ 'file_text': 'Процедура ОбработкаПроведения(Отказ, Режим)\n\t// Нерабочий вариант без ошибок\n...',
122
+ 'language': '1C Enterprise',
123
+ 'file_name': '004_work.code.bsl'
124
+ }
125
+ ```
126
+
127
+ ## Dataset Creation
128
+
129
+ ### Language Detection
130
+
131
+ Programming languages are detected using [github-linguist](https://github.com/github-linguist/linguist), GitHub's library for language detection and syntax highlighting.
132
+
133
+ ### Source Data
134
+
135
+ All data originates from public repositories hosted on [GitVerse](https://gitverse.ru).
136
+
137
+ ## Considerations for Using the Data
138
 
139
+ ### Personal and Sensitive Information
140
 
141
+ The dataset may contain:
142
+ - Email addresses in code comments or configuration files
143
+ - API keys or credentials that were accidentally committed
144
+ - Personal information in comments or documentation
145
 
146
+ Users should exercise caution and implement appropriate filtering when using this data.
147
 
148
+ ### Licensing Information
149
 
150
+ This dataset is a collection of source code from repositories with various licenses. Any use of all or part of the code gathered in this dataset must abide by the terms of the original licenses, including attribution clauses when relevant. Users of this dataset should respect the rights of the authors and use the data responsibly.
data.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c2f347f60f7154df236ceda0a21d5584b60b9bb86865f9fc112aa8a06bd9cb70
3
+ size 2113644971