Datasets:

Modalities:
Text
Formats:
json
Languages:
code
Libraries:
Datasets
pandas
License:
parquet-converter commited on
Commit
4bb3083
·
1 Parent(s): aa0988c

Update parquet files

Browse files
.gitattributes DELETED
@@ -1,39 +0,0 @@
1
- *.7z filter=lfs diff=lfs merge=lfs -text
2
- *.arrow filter=lfs diff=lfs merge=lfs -text
3
- *.bin filter=lfs diff=lfs merge=lfs -text
4
- *.bz2 filter=lfs diff=lfs merge=lfs -text
5
- *.ftz filter=lfs diff=lfs merge=lfs -text
6
- *.gz filter=lfs diff=lfs merge=lfs -text
7
- *.h5 filter=lfs diff=lfs merge=lfs -text
8
- *.joblib filter=lfs diff=lfs merge=lfs -text
9
- *.lfs.* filter=lfs diff=lfs merge=lfs -text
10
- *.model filter=lfs diff=lfs merge=lfs -text
11
- *.msgpack filter=lfs diff=lfs merge=lfs -text
12
- *.onnx filter=lfs diff=lfs merge=lfs -text
13
- *.ot filter=lfs diff=lfs merge=lfs -text
14
- *.parquet filter=lfs diff=lfs merge=lfs -text
15
- *.pb filter=lfs diff=lfs merge=lfs -text
16
- *.pt filter=lfs diff=lfs merge=lfs -text
17
- *.pth filter=lfs diff=lfs merge=lfs -text
18
- *.rar filter=lfs diff=lfs merge=lfs -text
19
- saved_model/**/* filter=lfs diff=lfs merge=lfs -text
20
- *.tar.* filter=lfs diff=lfs merge=lfs -text
21
- *.tflite filter=lfs diff=lfs merge=lfs -text
22
- *.tgz filter=lfs diff=lfs merge=lfs -text
23
- *.wasm filter=lfs diff=lfs merge=lfs -text
24
- *.xz filter=lfs diff=lfs merge=lfs -text
25
- *.zip filter=lfs diff=lfs merge=lfs -text
26
- *.zstandard filter=lfs diff=lfs merge=lfs -text
27
- *tfevents* filter=lfs diff=lfs merge=lfs -text
28
- # Audio files - uncompressed
29
- *.pcm filter=lfs diff=lfs merge=lfs -text
30
- *.sam filter=lfs diff=lfs merge=lfs -text
31
- *.raw filter=lfs diff=lfs merge=lfs -text
32
- # Audio files - compressed
33
- *.aac filter=lfs diff=lfs merge=lfs -text
34
- *.flac filter=lfs diff=lfs merge=lfs -text
35
- *.mp3 filter=lfs diff=lfs merge=lfs -text
36
- *.ogg filter=lfs diff=lfs merge=lfs -text
37
- *.wav filter=lfs diff=lfs merge=lfs -text
38
- train.jsonl filter=lfs diff=lfs merge=lfs -text
39
- data.jsonl filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
README.md DELETED
@@ -1,78 +0,0 @@
1
- ---
2
- annotations_creators: []
3
- language_creators:
4
- - expert-generated
5
- language:
6
- - code
7
- license:
8
- - apache-2.0
9
- multilinguality:
10
- - monolingual
11
- size_categories:
12
- - unknown
13
- source_datasets: []
14
- task_categories:
15
- - text-generation
16
- task_ids:
17
- - language-modeling
18
- pretty_name: CodeComplex
19
- ---
20
-
21
- # CodeComplex Dataset
22
-
23
- ## Dataset Description
24
- [CodeComplex](https://github.com/yonsei-toc/CodeComple) consists of 4,200 Java codes submitted to programming competitions by human programmers and their complexity labels annotated by a group of algorithm experts.
25
-
26
- ### How to use it
27
-
28
- You can load and iterate through the dataset with the following two lines of code:
29
-
30
- ```python
31
- from datasets import load_dataset
32
-
33
- ds = load_dataset("codeparrot/codecomplex", split="train")
34
- print(next(iter(ds)))
35
- ```
36
-
37
- ## Data Structure
38
- ```
39
- DatasetDict({
40
- train: Dataset({
41
- features: ['src', 'complexity', 'problem', 'from'],
42
- num_rows: 4517
43
- })
44
- })
45
- ```
46
-
47
- ### Data Instances
48
-
49
- ```python
50
- {'src': 'import java.io.*;\nimport java.math.BigInteger;\nimport java.util.InputMismatchException;...',
51
- 'complexity': 'quadratic',
52
- 'problem': '1179_B. Tolik and His Uncle',
53
- 'from': 'CODEFORCES'}
54
- ```
55
-
56
- ### Data Fields
57
-
58
- * src: a string feature, representing the source code in Java.
59
- * complexity: a string feature, giving program complexity.
60
- * problem: a string of the feature, representing the problem name.
61
- * from: a string feature, representing the source of the problem.
62
-
63
- complexity filed has 7 classes, where each class has around 500 codes each. The seven classes are constant, linear, quadratic, cubic, log(n), nlog(n) and NP-hard.
64
- ### Data Splits
65
-
66
- The dataset only contains a train split.
67
-
68
- ## Dataset Creation
69
- The authors first collected problem and solution codes in Java from CodeForces and they were inspected by experienced human annotators to label each code by their time complexity. After the labelling, they used different programming experts to verify the class of each data that the human annotators assigned.
70
-
71
- ## Citation Information
72
- ```
73
- @article{JeonBHHK22,
74
- author = {Mingi Jeon and Seung-Yeop Baik and Joonghyuk Hahn and Yo-Sub Han and Sang-Ki Ko},
75
- title = {{Deep Learning-based Code Complexity Prediction}},
76
- year = {2022},
77
- }
78
- ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
data.jsonl → codeparrot--codecomplex/json-train.parquet RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0470a3d5ef598b872d47de43a479503cec5450a9e761f66247d47e78ea2251aa
3
- size 14020803
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7af9259edb2a9dfbc6f8a88ad487412a7c482c6bfa77f62d82484dab059a36ce
3
+ size 4226927