Datasets:

Modalities:
Text
Formats:
parquet
ArXiv:
Libraries:
Datasets
pandas
vishruthnath commited on
Commit
f341a85
·
verified ·
1 Parent(s): b8392e1

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +34 -2
README.md CHANGED
@@ -76,6 +76,38 @@ configs:
76
  - split: test
77
  path: generate_eval/test-*
78
  ---
79
- # Dataset Card for "ECCO"
80
 
81
- [More Information needed](https://github.com/huggingface/datasets/blob/main/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
76
  - split: test
77
  path: generate_eval/test-*
78
  ---
79
+ # ECCO
80
 
81
+ Dataset from the paper "ECCO: Can We Improve Model-Generated Code Efficiency Without Sacrificing Functional Correctness?"
82
+
83
+ ![teaser](https://github.com/user-attachments/assets/44659b06-3676-4deb-affb-2ec5f02787f6)
84
+
85
+ The dataset consists of 2 subsets `edit` and `generate` each with 3 splits (`train`, `val` and `test`).
86
+
87
+ Code repository: [https://github.com/CodeEff/ECCO](https://github.com/CodeEff/ECCO)
88
+
89
+ ### Loading the dataset / benchmark
90
+ ```python
91
+ dataset = load_dataset('CodeEff/ECCO', 'edit') # For history-based editing setting
92
+ dataset = load_dataset('CodeEff/ECCO', 'generate') # For nl-instructed generation setting
93
+ ```
94
+ These are used to generate code by each model across the 2 paradigms. We use the `test` split for the evaluation/results and the `train` and `val` splits for finetuning and few-shot prompting.
95
+
96
+ ### Evaluation dataset
97
+ The dataset also consists of an additional 3rd subset `generate_eval` which consists of the spectrum of user solutions for each problem in the `test` split.
98
+ This is used for the percentile evaluation of the **NL-instructed generation** paradigm.
99
+
100
+ ### Data Sources
101
+ Dataset is sourced from [IBM CodeNet](https://github.com/IBM/Project_CodeNet) which consists of primarily competetive programming solutions.
102
+ This is further filtered for efficiency and correctness as described in our paper.
103
+
104
+
105
+ ### Citation
106
+ ```
107
+ @article{waghjale2024ecco,
108
+ title={ECCO: Can We Improve Model-Generated Code Efficiency Without Sacrificing Functional Correctness?},
109
+ author={Waghjale, Siddhant and Veerendranath, Vishruth and Wang, Zora Zhiruo and Fried, Daniel},
110
+ journal={arXiv preprint arXiv:2407.14044},
111
+ year={2024}
112
+ }
113
+ ```