Open kirudang opened 1 month ago
Hi,
Have you tried simply replacing WatermarkLogitsProcessor
with our processor from mb_watermark_processor
?
This would mean importing the following line
from mb_watermark_processor import WatermarkLogitsProcessor
# from watermark_processor import WatermarkLogitsProcessor
If you have any more questions, please open an issue in this repository.
Hi there,
As I want to implemente this watermark, could you help invoke a sample code to integrate to model.generate mode? Like the KGW does below.
I saw your generation_pipeline but can i skip data_collator and generation_partial?