src/transformers/models/bart/modeling_bart.py/PretrainedBartModel/__init_subclass__
class PretrainedBartModel:    def __init_subclass__(self):
        warnings.warn(
            "The class `PretrainedBartModel` has been depreciated, please use `BartPretrainedModel` instead.",
            FutureWarning,
        )