Explanation for label_for_lm

HI Team,

As per documentation for :
label_for_lm ,

it’s a special labelling method for language models.

Can you please explain in-depth how it labels them ?

I could not find any answers regarding how it performs