Word vector generation method and device, computer equipment and storage medium
The invention relates to an artificial intelligence technology, and provides a word vector generation method and device, computer equipment and a storage medium, and the method comprises the steps: training a word in a corpus through a preset model, and obtaining an initialization vector of the word...
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 an artificial intelligence technology, and provides a word vector generation method and device, computer equipment and a storage medium, and the method comprises the steps: training a word in a corpus through a preset model, and obtaining an initialization vector of the word in the corpus; the candidate words of the to-be-constructed word vector words generated based on the initialization vectors of the words are sorted through the preset sorting model to obtain the positive correlation set and the negative correlation set of the to-be-constructed word vector words, and the candidate words are sorted, so that the number of annotations of the words is reduced, the training efficiency of the model is improved, and the training efficiency of the model is improved. The positive correlation set and negative correlation set samples are obtained through the preset sorting model, the quality of the samples is improved, the high-quality samples are sent into the contrast learning model for tra |
---|