Text information processing method, device and equipment
The embodiment of the invention provides a text information processing method, device and equipment. The method comprises the steps of obtaining a sentence vector model and a word vector of text information; determining a first parameter matrix and a first word list according to the sentence vector...
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 embodiment of the invention provides a text information processing method, device and equipment. The method comprises the steps of obtaining a sentence vector model and a word vector of text information; determining a first parameter matrix and a first word list according to the sentence vector model and the word vector; performing product quantization processing on the first parameter matrix to obtain a quantization coding matrix; compressing the first word list to obtain a compressed word list; processing the text information according to the quantized coding matrix and the compressed word list to obtain a processing result; according to the embodiment of the invention, the model parameter quantity is greatly reduced, the model precision is maintained, and the accuracy loss is small.
本发明的实施例提供一种文本信息的处理方法、装置及设备,所述方法包括:获取文本信息的句向量模型和词向量;根据所述句向量模型和词向量,确定第一参数矩阵和第一词表;对所述第一参数矩阵进行乘积量化处理,得到量化编码矩阵;对所述第一词表进行压缩处理,得到压缩词表;根据所述量化编码矩阵和所述压缩词表,对所述文本信息进行处理,得到处理结果;本发明的实施例大大降低了模型参数量,同时保持模型精度,准确率损失少。 |
---|