Skip to content

DABAI6666/ATGSL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ATGSL

Adversarial Text Generation by Search and Learning

Data

Our 7 datasets are:

Prerequisites:

Required packages are listed in the requirements.txt file:

pip install -r requirements.txt

How to use

  • Run the following code to generate the adversaries:
python command_dataset_model.py

Here we explain each required argument in details:

  • --data_set: The path to the dataset. We used the public datasets datasets.
  • --victim: Name of the target model such as ''bert''. trained model parameters.
  • --bm_model: Our generated finely tuned BM_Model,we shared the trained model parameters.
  • --train_classification: Used to generate victim models.
  • --model: All core model codes of ATGSL.

In case someone may want to use our generated adversary results towards the benchmark data directly, here it is.

Hadoop

ATGSL

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages