Skip to content

oralmer/watermarking_LLM

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code for paper "Excuse me, sir? Your language model is leaking (information)"

(Authored by Or Zamir, Tel Aviv University, [email protected])

Full paper: [https://arxiv.org/abs/2401.10360]

The main file is generate.py, the main method in which generates the plot and figures from the paper. This code was not written, designed, optimized or tested for any use or application besides research. Commercial use is not allowed.

Acknowledgments: The base code we used for generating an LLM response token-by-token is adapted from the following repository [https://github.com/jthickstun/watermark/] that was written by Rohith Kuditipudi, John Thickstun, Tatsunori Hashimoto, and Percy Liang.

Cite as:

@misc{zamir2024excuse,
      title={Excuse me, sir? Your language model is leaking (information)}, 
      author={Or Zamir},
      year={2024},
      eprint={2401.10360},
      archivePrefix={arXiv},
      primaryClass={cs.CR}
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%