ObscuraCoder/code-classification
This dataset collates three class-balanced code classification datasets in the wild, where splits have been stratified by label. The sources are: CodeXGLUE defect detection (sourced from: semeru/code-code-DefectDetection) BigCloneBench clone detection (sourced from: nchen909/bigclonebench-processed) CodeComplex code runtime complexity prediction (sourced from: codeparrot/codecomplex)
0248
1---2dataset_info:3- config_name: clone-detection4 features:5 - name: label6 dtype:7 class_label:8 names:9 '0': '0'10 '1': '1'11 - name: source_code12 dtype: string13 splits:14 - name: train15 num_bytes: 211812339316 num_examples: 90102817 - name: validation18 num_bytes: 200982998019 num_examples: 83083220 - name: test21 num_bytes: 90044970922 num_examples: 41541623 download_size: 198664863624 dataset_size: 502840308225- config_name: complexity-prediction26 features:27 - name: source_code28 dtype: string29 - name: label30 dtype:31 class_label:32 names:33 '0': constant34 '1': cubic35 '2': linear36 '3': logn37 '4': nlogn38 '5': np39 '6': quadratic40 splits:41 - name: train42 num_bytes: 10643844.58711534243 num_examples: 380044 - name: validation45 num_bytes: 560202.346690281246 num_examples: 20047 - name: test48 num_bytes: 1448123.06619437749 num_examples: 51750 download_size: 453658251 dataset_size: 12652170.052- config_name: defect-detection53 features:54 - name: label55 dtype:56 class_label:57 names:58 '0': '0'59 '1': '1'60 - name: source_code61 dtype: string62 splits:63 - name: train64 num_bytes: 4465608365 num_examples: 2185466 - name: validation67 num_bytes: 544911368 num_examples: 273269 - name: test70 num_bytes: 551331071 num_examples: 273272 download_size: 2113930873 dataset_size: 5561850674configs:75- config_name: clone-detection76 data_files:77 - split: train78 path: clone-detection/train-*79 - split: validation80 path: clone-detection/validation-*81 - split: test82 path: clone-detection/test-*83- config_name: complexity-prediction84 data_files:85 - split: train86 path: complexity-prediction/train-*87 - split: validation88 path: complexity-prediction/validation-*89 - split: test90 path: complexity-prediction/test-*91- config_name: defect-detection92 data_files:93 - split: train94 path: defect-detection/train-*95 - split: validation96 path: defect-detection/validation-*97 - split: test98 path: defect-detection/test-*99---100 101This dataset collates three class-balanced code classification datasets in the wild, where splits have been stratified by label. The sources are:102 1031. CodeXGLUE defect detection (sourced from: [semeru/code-code-DefectDetection](https://huggingface.co/datasets/semeru/code-code-DefectDetection))1042. BigCloneBench clone detection (sourced from: [nchen909/bigclonebench-processed](https://huggingface.co/datasets/nchen909/bigclonebench-processed))1053. CodeComplex code runtime complexity prediction (sourced from: [codeparrot/codecomplex](https://huggingface.co/datasets/codeparrot/codecomplex))