AutoModelForSequenceClassification creates a linear mapping nn.Linear(config.n_embd, config.num_labels) and allows you to change num_labels via config.
So for example you can do AutoModelForSequenceClassification.from_pretrained(MODEL, num_labels=3)
But also if you do that, you need to train the model otherwise the outputs are going to be random.