Easy

Implement the forward masking process for a masked diffusion LM (mask a fraction tt of to

Diffusion & Non-Autoregressive Language Models · Problem 1 of 4

Chapter 15Diffusion & Non-Autoregressive Language Models

Implement the forward masking process for a masked diffusion LM (mask a fraction tt of to

EasyProblem 1 / 4

Implement the forward masking process for a masked diffusion LM (mask a fraction tt of tokens).

Implement the function/class skeleton in the editor. Any correct approach is accepted.

Hints