I'm fine-tuning BERT models to binary classify reports. For example, a report can be about 'birds' or not about 'birds'.
This works really well, but now I want to do multi-label classification, because I want to classify for about 1000 animals. However, some animals are closely related (for example: 'raven' and 'crow').
Predicting these individual labels will get lower accuracy, but if I would group them together in 'raven or crow' I get a much higher accurary.
However, I don't want to manually make these groups. Is there a generic method that would use the LLM and classes to create those groups for me?