The differences between the three are explained in the model summary 47. Causal language modeling/masked language modeling are very often used in research papers, so those terms don’t come from the transformers library.