# CoDiSum **Repository Path**: danielljc/CoDiSum ## Basic Information - **Project Name**: CoDiSum - **Description**: Implementation of 'Commit message generation for source code change'. - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-03-20 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # CoDiSum Code and data of the paper **Commit Message Generation for Source Code Changes**. ## Intro CoDiSum is a deep neural network model used to generate commit message for source code changes. It take processed `diff` as input and outputs natural language description. In this repository, we provide the implementation of our CoDiSum model with Python Keras APIs. ## Requirements * Python >= 3.6.2 * Numpy >= 1.15.0 * Keras >= 2.1.5 * Tensorflow >= 1.7.0 ## Usage example usage: Create a dir `models` to save the model file and run ``` python CopyNetPlusgen.py ``` This command will lead to a full training and prediction process. Related parameters are in `CopyNetPlusgen.py` file, named in uppercase. ## Datasets We put the data set in a compressed file `data4CopynetV3.zip`, You can extract directly to the current folder. ## Model ![Image text](./images/overview.png) ## Citing If you find CoDiSum useful in your research, we ask that you cite the following paper: ``` @inproceedings{ author = {Xu, Shengbin and Yao, Yuan and Xu, Feng and Gu, Tianxiao and Tong, Hanghang and Lu, Jian}, title = {Commit Message Generation for Source Code Changes}, booktitle = {Proceedings of the 28th International Joint Conference on Artificial Intelligence}, year = {2019}, } ```