src/transformers/models/gptsan_japanese/modeling_gptsan_japanese.py/GPTSanJapaneseForConditionalGeneration/__init__
class GPTSanJapaneseForConditionalGeneration:    def __init__(self, config: GPTSanJapaneseConfig):
        super().__init__(config)
        self.model = GPTSanJapaneseModel(config)
        self.register_buffer("final_logits_bias", torch.zeros([1, config.vocab_size]))
        self.lm_head = nn.Linear(config.d_model, config.vocab_size, bias=False)
        if not self.config.torchscript:
            self.lm_head.weight = self.model.embed_tokens.weight