Skip to content

Generating Adversarial Examples for Holding Robustness of Source Code Processing Models

Notifications You must be signed in to change notification settings

SEKE-Adversary/MHM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

MHM

Repository for holding source code of paper Generating Adversarial Examples for Holding Robustness of Source Code Processing Models.

Hierarchy

MHM
├── README.md
├── mhm
    ├── LSTMClassifier			# training LSTM model on poj104 classification task.
    ├── mhm-astnn			# adversarial attack on LSTM classifier.
    ├── mhm-lstm			# training ASTNN model and adversarial attack on it.
    └── poj104				# filelist of poj104 dataset.

Environment

python 3.5 with package requirements:

jupyterlab
numpy
pytorch
pandas
pycparser
gensim
tensorflow

Acknowledgement

Transformer Model is built based on The Annotated Transformer.

ASTNN Model is built based on ASTNN.

About

Generating Adversarial Examples for Holding Robustness of Source Code Processing Models

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages