Tencent / NeuralNLP-NeuralClassifier

An Open-source Neural Hierarchical Multi-label Text Classification Toolkit
Other
1.85k stars 406 forks source link

Any guide for generating taxonomy file? (hierar_taxonomy: A text file describes taxonomy.) #99

Closed david0718 closed 3 years ago

david0718 commented 3 years ago

Hi guys

Many thanks for such a good project. It is helpful for me. Just want a case for "label_type": "multi_label", which is for labelling the knowledge.

I did not find any guide for this setting or how to generate a such a config file. I am a fresh man in such a field. Really appreciated if you guys could provide any help?

Thanks David

coderbyr commented 3 years ago

For label_type: multi_label, it means your model is multi-label classification, In your dataset, doc_label should be a list, for example, doc_label": ["CCAT--C12", "GCAT--GCRIM", "GCAT--GPOL"]