add --synthid-keys

This commit is contained in:
Xuan Son Nguyen
2026-09-04 01:09:05 +02:00
parent 73c900a97d
commit 8b46bb9640
4 changed files with 43 additions and 1 deletions
+1 -1
View File
@@ -1396,7 +1396,7 @@ extern "C" {
/// @details SynthID text watermarking, compatible with the SynthIDTextWatermarkLogitsProcessor from HF transformers
/// place it after truncation and temperature samplers and before the dist sampler
/// @param keys one watermarking key per tournament layer
/// @param keys secret watermarking keys, each key adds one tournament round (the HF default config uses 30 keys)
/// @param sampling_table table of 0/1 values, maps a hashed ngram to a g-value
/// @param ngram_len number of tokens hashed together (context of ngram_len - 1 tokens plus the candidate)
/// @param context_history_size number of recent contexts to remember, a repeated context is not watermarked