Dataset from the paper "ECCO: Can We Improve Model-Generated Code Efficiency Without Sacrificing Functional Correctness?"
The dataset consists of 2 subsets edit and generate each with 3 splits (train, val and test).
Code repository:
https://github.com/CodeEff/ECCO
dataset = load_dataset('CodeEff/ECCO', 'edit') # For history-based editing setting
dataset = load_dataset('CodeEff/ECCO', 'generate') # For nl-instructed generation… See the full description on the dataset page:
https://huggingface.co/datasets/CodeEff/ECCO.