↓ 1 callersMethodrandom_masking(self, token_ids, maks_rate, mask_start_idx, max_length, mask_id, tokenizer)
fengshen/models/unimc/modeling_unimc.py:114
↓ 1 callersFunctionsample_sequence_conditional(model, length, context, latent_z=None, temperature=1, top_k=0, top_p=0.0, repetition_penalty=1.0, device='cpu
fengshen/models/DAVAE/run_latent_generation.py:88