-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug in the implementation when non_analyze=False #1
Comments
Sorry for this. We have fixed this as you suggest. |
Thanks for your work, I want to know what is the form of watermark message input into the model. |
watermark_processor = WmProcessorMessageModel(message_model=lm_message_model, |
谢谢您的解答,但是抱歉,我没太懂0-1比特的含义,是说嵌入的每一个水印message最多包含1比特的信息量吗?比如可以嵌入是否是由模型生成的文本,这种包含是否两个选项的水印,也可以嵌入一个确定的没有选项的信息,比如嵌入时间等,是这样理解吗?请问如果信息量超过1比特,可以怎样处理呢 |
for example, we can encode an integer between 0-1023, then it corresponds to an information of 10 bit |
Thank you for your answer |
In
watermarking/watermark_processors/message_model_processor.py
decoded_message, decoded_prob = decoded_probs.max(0)
should bedecoded_prob, decoded_message = decoded_probs.max(0)
The text was updated successfully, but these errors were encountered: