Skip to content

Improving Bash Comment Generation via Data Augmentation and Semantic-Aware

Notifications You must be signed in to change notification settings

syhstudy/Bash2Com

Repository files navigation

Bash2Com

Title: Bash Comment Generation via Data Augmentation and Semantic-Aware CodeBERT

1.FrameWork

image

2.Code Introduction

/data is the experiment corpus.

/result are experiment results.

/train are experiment models.

/GPT is the GPT3.5 model and result.

FGM.py, FSGM.py, NP-GD, and PGD are adversarial training methods.

3.Experiment

We have sorted out the code and corpus. You just:

1: Just run "./eval.py" to get the paper results.

2: Just run "./train/run.py" to rerun the experiment.

4.Others

The README_add includes detailed comparison results and some theories about data augmentation.

About

Improving Bash Comment Generation via Data Augmentation and Semantic-Aware

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages