Multi-output Classification?

There are some terminologies called multi-class classification and multi-label classification. If the each document in your dataset belongs to only one topic and the number of topics are more than two, you are talking about multi-class classification. If each document in your dataset may belong to one or more classes at the same time, your problem can be defined as multi-label classification.

I assume that your problem is just multi-class text classification. You can use AutoModelForSequenceClassification in huggingface pipelines. It is a kind of wrapper for PyTorch and TensorFlow. So, you may produce PyTorch models via huggingface.

As another solution, you can directly employ Pytorch seq2seq models. You may probably use FastText easily. Here is related topic that I created before. For sentiment classification including just two topics, I used FastText before as a deep learning approach.