Skip to content

Repos for On the Reliability and Explainability of Language Models for Program Generation

Notifications You must be signed in to change notification settings

yueyueL/ProgramGen-LMs-Reliability

Repository files navigation

On the Reliability and Explainability of Language Models for Program Generation

Overview

This repository contains all the necessary materials for replicating the research conducted in our study "On the Reliability and Explainability of Language Models for Program Generation." The study focuses on assessing the reliability and explainability of various language models in the context of program generation tasks. Our study reveals significant flaws in model performance and uncovers severe data duplication, leading to over-optimistic results. Our findings highlight the critical need for more rigorous evaluation methods and benchmarks to enhance the reliability and explainability of these models in practical applications.

Datasets Used in the Study

Dataset Name Task Types Venus Paper Link and Source Code
Tufano et al. Code Review ICSE'19 [data], [Paper]
Bugs2Fix Code Repair TOSEM'19 [data], [Paper]
CodeReview Code Review FSE'22 [data], [Paper]
CodeTrans-Dataset Code Translation NIPS'19 [data], [Paper]
CONCODE Code Generation NIPS'19 [data], [Paper]

Getting Started

To get started with replicating our study, please follow the steps below:

Prerequisite and Setup

  • Python 3.6 +
  • Packages:
pip install -r requirements.txt

Choose a diretory and:

git clone https://github.com/yueyueL/ProgramGen-LMs-Reliability.git

cd ProgramGen-LMs-Reliability/

Contribution

We welcome contributions and suggestions! Please open an issue or submit a pull request for any enhancements.

Citation

If you use the resources provided in this repository, please cite our paper

@misc{liu2023reliability,
      title={On the Reliability and Explainability of Language Models for Program Generation}, 
      author={Yue Liu and Chakkrit Tantithamthavorn and Yonghui Liu and Li Li},
      year={2023},
      eprint={2302.09587},
      archivePrefix={arXiv},
      primaryClass={cs.SE}
}

About

Repos for On the Reliability and Explainability of Language Models for Program Generation

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published