What watermarking algorithms does MarkLLM support?
MarkLLM supports a wide range of watermarking algorithms, including KGW, Unigram, SWEET, UPV, EWD, SIR, X-SIR, DiPmark, Unbiased Watermark, TS Watermark, SynthID-Text, PF Watermark, MorphMark, Adaptive Watermark, SemStamp, k-SemStamp, EXP/EXPGumbel, EXP-Edit, ITS-Edit, and IE. It provides a unified framework for their implementation and evaluation.
How can I use MarkLLM in my own Python code?
You can integrate MarkLLM into your Python code by installing it via pip and then using the `AutoWatermark` class. You'll need to configure it with your desired LLM model and tokenizer, then you can generate watermarked text and detect watermarks within generated content.
Does MarkLLM provide tools for evaluating watermark performance?
Yes, MarkLLM includes a comprehensive evaluation module with 12 tools to assess watermarking technologies. These tools cover detectability, robustness, and the impact on text quality. It also offers customizable automated evaluation pipelines to suit diverse research and application needs.