Text multi-label classification method and device
The invention relates to the technical field of natural language processing and artificial intelligence, and particularly discloses a text multi-label classification method and device.The method comprises the steps that a text multi-classification request is received; the multi-classification reques...
Gespeichert in:
Hauptverfasser: | , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention relates to the technical field of natural language processing and artificial intelligence, and particularly discloses a text multi-label classification method and device.The method comprises the steps that a text multi-classification request is received; the multi-classification request carries target text data; inputting the target text data into a pre-training model to obtain a target pre-training word vector matrix corresponding to the target text data; generating a prompt template matrix based on a pre-constructed adaptive prompt template; the adaptive prompt template is constructed through iterative training based on comparative learning; splicing the prompt template matrix and the target pre-training word vector matrix to obtain a spliced target statement vector representation; inputting the target statement vector representation into a coding model to obtain a target statement representation corresponding to the target text data; and performing mapping classification on the target stateme |
---|