Datasets:
|
Download cpp_dataset/README.md from malteklaes/cpp-code-code_search_net-style: direct link, hf CLI and curl.
- Browser
- Download file 2.23 kB
-
https://huggingface.co/datasets/malteklaes/cpp-code-code_search_net-style/resolve/6dd697404bcfdeb57edf1514fd2ab4b7309a3332/cpp_dataset/README.md
- Command line
-
hf download hf://datasets/malteklaes/cpp-code-code_search_net-style@6dd697404bcfdeb57edf1514fd2ab4b7309a3332/cpp_dataset/README.md
-
curl -L -o README.md https://huggingface.co/datasets/malteklaes/cpp-code-code_search_net-style/resolve/6dd697404bcfdeb57edf1514fd2ab4b7309a3332/cpp_dataset/README.md
2.23 kB
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 numberfunc_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
- 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} }