Coder Social home page Coder Social logo

codisum's Introduction

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

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},
}

codisum's People

Contributors

kinggoldxu avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.