CoolFace
Datasetpublic

malteklaes/cpp-code-code_search_net-style

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… See the full description on the dataset page: https://huggingface.co/datasets/malteklaes/cpp-code-code_search_net-style.

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
1likes137downloads
Dataset Card

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 (50000 lines)
  • test (10000 lines)
  • valid (10000 lines)

Citation Information

  • based on this dataset source: https://huggingface.co/datasets/nguyentruong-ins/codeforcescppcleaned/tree/main/data
  • based on format and idea: https://huggingface.co/datasets/codesearchnet
  • expanded by @article{husain2019codesearchnet, title={C++ Dataset}, author={Klaes, Malte}, year={2024} }