Thanks @yjernite! Didn’t know that no_repeat_ngram_size can also be used with sampling.
no_repeat_ngram_size