Text generation method and device, equipment and storage medium

The embodiment of the invention provides a text generation method and device, equipment and a storage medium. According to the method, the topic field to which the first text input by the user belongs is determined, the answer text is generated through the large language model obtained through fine...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: CHEN HONGXIANG, LUO CHUANJIANG, ZHENG KAITAO
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The embodiment of the invention provides a text generation method and device, equipment and a storage medium. According to the method, the topic field to which the first text input by the user belongs is determined, the answer text is generated through the large language model obtained through fine tuning training under the condition that the topic field is a universal field, and the answer text is generated through the large language model and the field knowledge base under the condition that the topic field is a specific field. According to the method, the limitation of a large language model in specific domain knowledge processing is dealt with, the adaptability and accuracy of the large language model in various scenes are improved, the generalization ability and transportability of a man-machine conversation process are enhanced, and the accuracy of generated answer texts and the correlation with questions are improved. 本发明的实施方式提供了一种文本生成方法、装置、设备及存储介质。本发明通过确定用户所输入的第一文本所属的话题领域,在话题领域为通用领域的情况下,通过微调训练得到的大语言模型