nuprl/EditPackFT

Dataset

14

stars

7

commits

2

linked in READMEs

Feb 29, 2024

updated

code

README

EditPackFT

EditPackFT is a dataset built for training LLMs on the task of instructional code editing. The mail columns are:

  1. old_contents the code before the edit
  2. instruction the instruction to transform the before code into the after code
  3. new_contents the code after the edit
  4. content a pre-formatted training window that can be used to train an LLM with prompts in the format of: <before><instruction><after>

This dataset has been filtered from CommitPackFT. For more detail, see our paper, and our GitHub repository.

Citation

If you use our work, please cite our paper as such:

@inproceedings{cassano2023edit,
      title={{Can It Edit? Evaluating the Ability of Large Language Models to Follow Code Editing Instructions}}, 
      author={Federico Cassano and Luisa Li and Akul Sethi and Noah Shinn and Abby Brennan-Jones and Anton Lozhkov and Carolyn Jane Anderson and Arjun Guha},
      booktitle={The First International Workshop on Large Language Model for Code},
      year={2024},
      url={https://arxiv.org/abs/2312.12450}
}

Contributors

cassanof

7 commits

nuprl/EditPackFT

Dataset

14

stars

7

commits

2

linked in READMEs

Feb 29, 2024

updated

code

README

EditPackFT

EditPackFT is a dataset built for training LLMs on the task of instructional code editing. The mail columns are:

  1. old_contents the code before the edit
  2. instruction the instruction to transform the before code into the after code
  3. new_contents the code after the edit
  4. content a pre-formatted training window that can be used to train an LLM with prompts in the format of: <before><instruction><after>

This dataset has been filtered from CommitPackFT. For more detail, see our paper, and our GitHub repository.

Citation

If you use our work, please cite our paper as such:

@inproceedings{cassano2023edit,
      title={{Can It Edit? Evaluating the Ability of Large Language Models to Follow Code Editing Instructions}}, 
      author={Federico Cassano and Luisa Li and Akul Sethi and Noah Shinn and Abby Brennan-Jones and Anton Lozhkov and Carolyn Jane Anderson and Arjun Guha},
      booktitle={The First International Workshop on Large Language Model for Code},
      year={2024},
      url={https://arxiv.org/abs/2312.12450}
}

Contributors

cassanof

7 commits