code_tutorials / README.md
mponty's picture
Update README.md
c3da880
|
raw
history blame
1.99 kB
metadata
dataset_info:
  features:
    - name: text
      dtype: string
    - name: url
      dtype: string
    - name: dump
      dtype: string
    - name: lang
      dtype: string
    - name: source
      dtype: string
  splits:
    - name: train
      num_bytes: 3124929718.313386
      num_examples: 518410
  download_size: 2971113091
  dataset_size: 3124929718.313386
configs:
  - config_name: default
    data_files:
      - split: train
        path: data/train-*
task_categories:
  - text-generation
language:
  - en
  - ru
  - zh
  - es
tags:
  - code
pretty_name: k
size_categories:
  - 100K<n<1M

Coding Tutorials

This comprehensive dataset consists of 500,000 documents, summing up to around 1.5 billion tokens. Predominantly composed of coding tutorials, it has been meticulously compiled from various web crawl datasets like RefinedWeb, OSCAR, and Escorpius. The selection process involved a stringent filtering of files using regular expressions to ensure the inclusion of content that contains programming code (most of them).

These tutorials offer more than mere code snippets. They provide an extensive context, including the rationale behind the code, the problem being addressed, and detailed step-by-step instructions. This layered context is helpful for training a code-LM model, enabling it to discern the user intent behind a piece of code and thus facilitating more contextually relevant assistance.

Programming Language Distribution

       cpp ▏   39% β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
    python ▏   25% β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
      java ▏   16% β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
    csharp ▏    3% β–ˆβ–ˆ
javascript ▏    1% β–‹
    kotlin ▏    1% β–‹
     other ▏   14% β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ

Natural language distribution

en ▏   80% β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
ru ▏   16% β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
zh ▏    2% β–‹
es ▏    2% β–‹