This repo contains the data and the source code of the tool (i.e., GRI and WALI) used in our paper Towards Effectively Testing Machine Translation Systems from White-Box Perspectives.
The CAT folder contains all source files and data used to reproduce the results of CAT approach. The TransRepair folder contains all source files and data used to reproduce the results of TransRepair approach. The SIT folder contains all source files and data used to reproduce the results of SIT approach. The GRI contains all source files and data used to reproduce the results of GRI approach. The WALI contains all source files and data used to reproduce the results of WALI approach. The Labeled data folder contains the samples of data used in our paper for manual evaluation.
The Transformer model used for the implementation and evaluation can be found at transformer model
git clone https://github.com/conf2024-8888/NMT-Testing.git
cd NMT-Testing
pip install -r requirements.txt
- download transformer model at transformer model and unzip the zipped file and put the model in the root directory of the repository.
- Go to the subdirectory TransRepair, SIT, CAT, GRI or WALI
cd GRI
- Run the pipeline.sh :
sh pipeline.sh
- The bash file pipeline.sh inside each subfolder will trigger all source code to run