moshub-code / README.md
nyuuzyou's picture
Upload folder using huggingface_hub
15a01c2 verified
metadata
annotations_creators:
  - machine-generated
language_creators:
  - crowdsourced
  - expert-generated
language:
  - code
license: other
multilinguality:
  - multilingual
pretty_name: Mos.Hub Code Dataset
size_categories:
  - 10M<n<100M
source_datasets:
  - original
task_categories:
  - text-generation
task_ids:
  - language-modeling

Dataset Card for Mos.Hub Code Dataset

Dataset Summary

This dataset was compiled from code repositories hosted on the hub.mos.ru platform (Mos.Hub). Mos.Hub is a service for storing and working with source code, based on the Git version control system.

The dataset includes code from 16,130 repositories, spanning 304 different file types as identified by github-linguist. It has been deduplicated and filtered to remove binary files, resulting in 32 GB of unique code extracted from over 794 GB of analyzed data. The dataset contains 15,740,822 unique code files processed. Each entry in the dataset represents a single file, including its content, identified language, and a unique filename.

Languages

The dataset includes multiple programming languages, with the specific language of each file identified using github-linguist.

Dataset Structure

Data Fields

This dataset includes the following fields:

  • file_text: The full text content of the file (string)
  • language: The programming language of the file, as identified by github-linguist (string)
  • file_name: A unique identifier for the file within the dataset (string)

Data Splits

All examples are in the train split. There is no validation split.

Additional Information

Dataset Curators

Ethical Considerations

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.