Classes for text classification

I understand the fastai text classification. I have text classes. Each time the classifier randomly assigns numbers to classes and classifies them. Is it possible to somehow simply find out which numbers correspond to my classes? should give you a list of the classes, where the index of the class should correspond the the number the classifier spits out.


Thanks so much :slight_smile: