We conduct experiments on three different public dataset on the task of code summarization.
- The first dataset can be accessible from the paper https://arxiv.org/abs/2005.00653
- The second dataset can be accessible from the paper https://arxiv.org/abs/2004.02843
- The third dataset can be accessible from the paper https://arxiv.org/abs/1909.09436v2
- To different dataset, you can change its parameter setting in the file gscs/config.py.
- To train the model, you can set the main function to run _train() in the file gscs/main.py.
- To test the model, you can set the main function to run _test() and set the picked model file's path in the file gscs/main.py.
- To evaluate the result, you can use three metrics in the floder evaluation.