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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
annotations_creators:
|
| 3 |
+
- machine-generated
|
| 4 |
+
language_creators:
|
| 5 |
+
- crowdsourced
|
| 6 |
+
- expert-generated
|
| 7 |
+
language:
|
| 8 |
+
- code
|
| 9 |
+
- ru
|
| 10 |
+
- en
|
| 11 |
+
license: other
|
| 12 |
+
multilinguality:
|
| 13 |
+
- multilingual
|
| 14 |
+
pretty_name: GitVerse Code Dataset
|
| 15 |
+
size_categories:
|
| 16 |
+
- 1M<n<10M
|
| 17 |
+
source_datasets:
|
| 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 |
+
A comprehensive code dataset compiled from [GitVerse](https://gitverse.ru), Russia's premier code hosting platform. This dataset is specifically designed to support training code models with strong Russian language understanding and authentic Russian coding practices.
|
| 43 |
+
|
| 44 |
+
---
|
| 45 |
+
|
| 46 |
+
## Overview
|
| 47 |
+
|
| 48 |
+
The GitVerse Code Dataset represents a significant code corpus from a Russian-native platform, capturing both open-source and enterprise projects across 416 programming languages. It serves as a valuable resource for developing multilingual code understanding models tailored to Russian developers and organizations.
|
| 49 |
+
|
| 50 |
+
### Key Statistics
|
| 51 |
+
|
| 52 |
+
| Metric | Value |
|
| 53 |
+
|--------|-------|
|
| 54 |
+
| Total Files | 2,802,994 |
|
| 55 |
+
| Total Repositories | 9,014 |
|
| 56 |
+
| Compressed Size | 2 GB (Parquet) |
|
| 57 |
+
| Programming Languages | 416 |
|
| 58 |
+
| File Format | Single Parquet file |
|
| 59 |
+
|
| 60 |
+
---
|
| 61 |
+
|
| 62 |
+
## Dataset Characteristics
|
| 63 |
+
|
| 64 |
+
### Scope and Coverage
|
| 65 |
+
|
| 66 |
+
This dataset captures code from over 9,000 repositories hosted on GitVerse, including:
|
| 67 |
+
|
| 68 |
+
- **Russian-centric content**: Extensive coverage of code written by Russian developers, featuring Russian comments, documentation, and variable naming conventions
|
| 69 |
+
- **Diverse language ecosystem**: Support for 416 distinct programming languages
|
| 70 |
+
- **Developer and enterprise projects**: A mix of individual developer projects and Russian enterprise codebases
|
| 71 |
+
- **Quality-assured**: Curated to provide meaningful representation of Russian coding practices
|
| 72 |
+
|
| 73 |
+
### Programming Languages
|
| 74 |
+
|
| 75 |
+
The dataset encompasses 416 languages. The 30 most represented languages by file count are:
|
| 76 |
+
|
| 77 |
+
| Rank | Language | File Count |
|
| 78 |
+
|------|----------|------------|
|
| 79 |
+
| 1 | C | 580,713 |
|
| 80 |
+
| 2 | JavaScript | 275,744 |
|
| 81 |
+
| 3 | C++ | 197,896 |
|
| 82 |
+
| 4 | Shell | 166,527 |
|
| 83 |
+
| 5 | Python | 116,065 |
|
| 84 |
+
| 6 | Markdown | 112,811 |
|
| 85 |
+
| 7 | TypeScript | 107,867 |
|
| 86 |
+
| 8 | Java | 88,429 |
|
| 87 |
+
| 9 | PHP | 80,341 |
|
| 88 |
+
| 10 | Makefile | 77,619 |
|
| 89 |
+
| 11 | XML | 75,320 |
|
| 90 |
+
| 12 | Go | 69,155 |
|
| 91 |
+
| 13 | C# | 68,185 |
|
| 92 |
+
| 14 | Text | 65,677 |
|
| 93 |
+
| 15 | JSON | 64,253 |
|
| 94 |
+
| 16 | SVG | 58,107 |
|
| 95 |
+
| 17 | HTML | 43,261 |
|
| 96 |
+
| 18 | YAML | 40,178 |
|
| 97 |
+
| 19 | Unity3D Asset | 33,917 |
|
| 98 |
+
| 20 | Rust | 32,872 |
|
| 99 |
+
| 21 | LLVM | 29,819 |
|
| 100 |
+
| 22 | Unix Assembly | 27,672 |
|
| 101 |
+
| 23 | Roff | 25,884 |
|
| 102 |
+
| 24 | CSS | 21,809 |
|
| 103 |
+
| 25 | TSX | 21,637 |
|
| 104 |
+
| 26 | reStructuredText | 19,683 |
|
| 105 |
+
| 27 | Perl | 18,576 |
|
| 106 |
+
| 28 | Gettext Catalog | 17,071 |
|
| 107 |
+
| 29 | Diff | 14,225 |
|
| 108 |
+
| 30 | CMake | 14,132 |
|
| 109 |
+
|
| 110 |
+
---
|
| 111 |
+
|
| 112 |
+
## Dataset Structure
|
| 113 |
+
|
| 114 |
+
### Data Fields
|
| 115 |
+
|
| 116 |
+
Each record contains three fields providing content and metadata:
|
| 117 |
+
|
| 118 |
+
| Field | Type | Description |
|
| 119 |
+
|-------|------|-------------|
|
| 120 |
+
| `file_text` | string | Complete file content in UTF-8 encoding |
|
| 121 |
+
| `language` | string | Programming language identified using [github-linguist](https://github.com/github-linguist/linguist) |
|
| 122 |
+
| `file_name` | string | Unique file identifier within the dataset |
|
| 123 |
+
|
| 124 |
+
### Sample Record
|
| 125 |
+
|
| 126 |
+
```json
|
| 127 |
+
{
|
| 128 |
+
"file_text": "Процедура ОбработкаПроведения(Отказ, Режим)\n\t// Нерабочий вариант без ошибок\n...",
|
| 129 |
+
"language": "1C Enterprise",
|
| 130 |
+
"file_name": "004_work.code.bsl"
|
| 131 |
+
}
|
| 132 |
+
```
|
| 133 |
+
|
| 134 |
+
### File Format
|
| 135 |
+
|
| 136 |
+
- **Format**: Apache Parquet
|
| 137 |
+
- **Structure**: Single consolidated file (`data.parquet`)
|
| 138 |
+
- **Encoding**: UTF-8
|
| 139 |
+
- **Split**: All examples are included in a single training split (no validation or test splits)
|
| 140 |
+
|
| 141 |
+
---
|
| 142 |
+
|
| 143 |
+
## Data Creation Process
|
| 144 |
+
|
| 145 |
+
### Language Detection Methodology
|
| 146 |
+
|
| 147 |
+
Programming languages are identified using [github-linguist](https://github.com/github-linguist/linguist), GitHub's robust library for language detection and syntax highlighting. This ensures consistent and reliable language classification across all files in the dataset.
|
| 148 |
+
|
| 149 |
+
### Source Data
|
| 150 |
+
|
| 151 |
+
All data originates from public repositories hosted on [GitVerse](https://gitverse.ru), Russia's leading code hosting platform.
|
| 152 |
+
|
| 153 |
+
---
|
| 154 |
+
|
| 155 |
+
## Usage Considerations
|
| 156 |
+
|
| 157 |
+
### Data Privacy and Security
|
| 158 |
+
|
| 159 |
+
The dataset may contain sensitive information that requires careful handling:
|
| 160 |
+
|
| 161 |
+
- **Email Addresses**: Present in code comments, documentation, or configuration files
|
| 162 |
+
- **Credentials**: Accidentally committed API keys or authentication tokens
|
| 163 |
+
- **Personal Information**: Names, phone numbers, and other identifiable data in comments or documentation
|
| 164 |
+
|
| 165 |
+
Users should implement appropriate filtering and anonymization when preparing data for model training.
|
| 166 |
+
|
| 167 |
+
### Licensing and Attribution
|
| 168 |
+
|
| 169 |
+
This dataset aggregates source code from repositories with diverse licenses. Any use of code or data derived from this dataset must comply with the original repository licenses, including attribution requirements where applicable.
|
| 170 |
+
|
| 171 |
+
Users are responsible for:
|
| 172 |
+
- Reviewing applicable license terms for code they utilize
|
| 173 |
+
- Providing proper attribution when required
|
| 174 |
+
- Ensuring compliance with license restrictions
|
| 175 |
+
- Respecting the rights of original authors
|
| 176 |
+
|
| 177 |
+
### Responsible Use
|
| 178 |
+
|
| 179 |
+
This dataset should be used responsibly with consideration for:
|
| 180 |
+
- Original developer contributions and intellectual property rights
|
| 181 |
+
- License compliance for any derivative works
|
| 182 |
+
- Transparency about the source and composition of training data
|
| 183 |
+
- Ethical considerations in model training and deployment
|
| 184 |
+
|
| 185 |
+
---
|
| 186 |
+
|
| 187 |
+
## Technical Details
|
| 188 |
+
|
| 189 |
+
**Source**: Public repositories hosted on [GitVerse](https://gitverse.ru)
|
| 190 |
+
|
| 191 |
+
**Annotations**: Machine-generated (language detection)
|
| 192 |
+
|
| 193 |
+
**Multilingual Support**: Includes multilingual code and documentation with emphasis on Russian content
|
| 194 |
+
|
| 195 |
+
**Task Categories**: Text generation, code modeling, language understanding
|
| 196 |
+
|
| 197 |
+
**Tags**: Code, Russian language, multilingual
|
| 198 |
+
|
| 199 |
+
---
|