Fine-tuning a Fine-tuned Model

@everyone, @sgugger
I want to fine-tune a TextClassification Model previously fine-tuned for x number of classes to a new model with y number of classes.
Model didn’t allow to change label2id and id2label config parameter.

Thanks in advance.

found solution to this… This question was already asked… forgot the exact post.
Solution is to pass following argument in the from_pretrained() function call.

ignore_mismatched_sizes=True

Thanks anyways… can be closed now