THU-BPM / MarkLLM

MarkLLM: An Open-Source Toolkit for LLM Watermarking.(EMNLP 2024 Demo)
https://aclanthology.org/2024.emnlp-demo.7/
Apache License 2.0
284 stars 29 forks source link

Add translation attack method #9

Closed tzh21 closed 4 months ago

tzh21 commented 4 months ago

Add translation attack in text_editor.py. Add translation attack option in assess_robustness.py. Improve the translation text editor. Now you can specify the source language, intermediary language and translation tool yourself.