src/transformers/models/longformer/modeling_tf_longformer.py/TFLongformerForMaskedLM/__init__
class TFLongformerForMaskedLM:    def __init__(self, config, *inputs, **kwargs):
        super().__init__(config, *inputs, **kwargs)

        self.longformer = TFLongformerMainLayer(config, add_pooling_layer=False, name="longformer")
        self.lm_head = TFLongformerLMHead(config, self.longformer.embeddings, name="lm_head")