Language model training method and device, electronic equipment and storage medium
The invention provides a language model training method and device, electronic equipment and a computer readable storage medium. The language model training method and device are used for training a plurality of N-element models according to a preset training corpus set; according to an expectation...
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 provides a language model training method and device, electronic equipment and a computer readable storage medium. The language model training method and device are used for training a plurality of N-element models according to a preset training corpus set; according to an expectation maximization algorithm, determining an optimal weight coefficient corresponding to each N-element model when the plurality of N-element models process a preset target corpus set; and according to the optimal weight coefficient corresponding to each N-element model, performing interpolation processing on the plurality of N-element models to obtain a language model. Herein, the optimal weight coefficient of each N-element model during processing of the target corpus set is determined through an expectation maximization algorithm, and after interpolation processing is conducted on the N-element models through the optimal weight coefficients, the language model with the optimal overall processing result can be obtained |
---|