src/transformers/models/gpt2/modeling_tf_gpt2.py/TFGPT2DoubleHeadsModel/__init__
class TFGPT2DoubleHeadsModel:    def __init__(self, config, *inputs, **kwargs):
        super().__init__(config, *inputs, **kwargs)
        config.num_labels = 1
        self.transformer = TFGPT2MainLayer(config, name="transformer")
        self.multiple_choice_head = TFSequenceSummary(
            config, initializer_range=config.initializer_range, name="multiple_choice_head"
        )