Intelligent writing method and device based on large-scale language model and storage medium

The invention relates to an intelligent writing method and device based on a large-scale language model and a storage medium. The intelligent writing method based on the large-scale language model applied to the electronic equipment comprises the following steps: constructing a plurality of intellig...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: DENG BIAO, ZHAI FEIFEI, XU ZHAOPU
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 invention relates to an intelligent writing method and device based on a large-scale language model and a storage medium. The intelligent writing method based on the large-scale language model applied to the electronic equipment comprises the following steps: constructing a plurality of intelligent writing prompt templates; vectorizing texts in the writing material library to obtain a material vector list {v1, v2,..., vn}; obtaining a theme T and keywords {K1, K2,..., Kn}, and splicing the theme T and the keywords {K1, K2,..., Kn} to obtain a retrieval vector V; wherein n is greater than 1; calculating the similarity between the retrieval vector V and a material vector list {v1, v2,..., vn} to obtain m similar material texts {t1, t2,..., tm} with the highest similarity; wherein m is greater than 1; determining prompt input information based on the intelligent writing prompt template, the theme T, the keywords {K1, K2,..., Kn} and the similar material text {t1, t2,..., tm} in the prompt template library; a