Skip to content

Commit

Permalink
spelling: repetition
Browse files Browse the repository at this point in the history
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
  • Loading branch information
jsoref committed Oct 27, 2024
1 parent ff24bee commit 1d4c31e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/synthid_text/detector_bayesian.py
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@ def score(self, outputs: jnp.ndarray) -> jnp.ndarray:
input_ids=outputs,
)
)
# context repitition mask shape [batch_size, output_len - (ngram_len - 1)]
# context repetition mask shape [batch_size, output_len - (ngram_len - 1)]

combined_mask = context_repetition_mask * eos_token_mask

Expand Down

0 comments on commit 1d4c31e

Please sign in to comment.