src/transformers/models/bart/modeling_tf_bart.py/TFBartForSequenceClassification/dummy_inputs
class TFBartForSequenceClassification:    def dummy_inputs(self):
        pad_token = self.config.pad_token_id
        input_ids = tf.constant([[0, 6, 10, 4, 2], [0, 8, 12, 2, pad_token]])
        dummy_inputs = {
            "attention_mask": tf.cast(tf.math.not_equal(input_ids, (pad_token)), dtype=tf.int32),
            "input_ids": input_ids,
        }
        return dummy_inputs