Skip to main content

set_domino_masker

Function set_domino_masker 

Source
pub fn set_domino_masker(masker: Option<DominoMasker>)
Expand description

Install a DOMINO masker for constrained decoding. The masker must be built from the tokenizer vocabulary. Pass None to disable.