--- license: apache-2.0 task_categories: - text-generation - fill-mask language: - code size_categories: - 1K 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/codeforces_cpp_cleaned/tree/main/data - based on format and idea: https://huggingface.co/datasets/code_search_net - expanded by @article{husain2019codesearchnet, title={C++ Dataset}, author={Klaes, Malte}, year={2024} }