src/transformers/models/opt/modeling_tf_opt.py/TFOPTPreTrainedModel/dummy_inputs
class TFOPTPreTrainedModel:    def dummy_inputs(self):
        pad_token = 1
        input_ids = tf.convert_to_tensor(DUMMY_INPUTS, dtype=tf.int32)
        dummy_inputs = {
            "attention_mask": tf.cast(input_ids != pad_token, tf.int32),
            "input_ids": input_ids,
        }
        return dummy_inputs