malteklaes's picture
Upload README.md
cef02b8 verified
|
raw
history blame
2.23 kB
metadata
license: apache-2.0
task_categories:
  - text-generation
  - fill-mask
language:
  - code
size_categories:
  - 1K<n<10K
dataset_info:
  - config_name: cpp
    features:
      - name: func_code_string
        dtype: string
    splits:
      - name: train
        num_bytes: 0
        num_examples: 3000
      - name: test
        num_bytes: 0
        num_examples: 100
      - name: validation
        num_bytes: 0
        num_examples: 1000
    download_size: 0
    dataset_size: 0
  - config_name: cpp
    features:
      - name: func_code_string
        dtype: string
    splits:
      - name: train
        num_bytes: 1429272535
        num_examples: 454451
      - name: test
        num_bytes: 82377246
        num_examples: 26909
      - name: validation
        num_bytes: 42358315
        num_examples: 15328
    download_size: 1060569153
    dataset_size: 1554008096
configs:
  - config_name: default
    data_files:
      - split: train
        path: cpp_dataset/train/train.jsonl
      - split: test
        path: cpp_dataset/test/test.jsonl
      - split: validation
        path: cpp_dataset/validation/validation.jsonl

C++ Dataset

documentation source: https://huggingface.co/docs/datasets/main/en/repository_structure

Supported Tasks and Leaderboards

  • language-modeling: The dataset can be used to train a model for modelling programming languages, which consists in building language models for programming languages.

Language

  • C++ programming language

Dataset Structure

Data Instances

A data point consists of a function code along with its documentation. Each data point also contains meta data on the function, such as the repository it was extracted from.

{
  'id': '0',
  'func_code_string': 'organisation/repository'
}

Data Fields

  • id: Arbitrary number
  • func_code_string: actual code line (each line is a whole C++ program)

Data Splits

Three splits are available as .jsonl:

  • train (3000 lines)
  • test (100 lines)
  • valid (1000 lines)

Citation Information