Privacy control method and device for large language model

The invention relates to a privacy control method and device for a large language model, and the method comprises the steps: obtaining a word set, and enabling any word in the word set to have a corresponding grade and importance degree; obtaining a user level and an input text of a user, inputting...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: GUAN JIAN, YI CONGWEN, HAN DONG, XIA MIN
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 a privacy control method and device for a large language model, and the method comprises the steps: obtaining a word set, and enabling any word in the word set to have a corresponding grade and importance degree; obtaining a user level and an input text of a user, inputting the input text into the large language model, and executing multiple rounds of cluster search based on the word set to obtain an output text; any round of cluster search comprises the steps that a plurality of second candidate word sequences generated by the large language model for the current plurality of first candidate word sequences are obtained, and the tail of any second candidate word sequence comprises a corresponding search candidate word and has a corresponding score; adjusting the plurality of second candidate word sequences according to the grade and the importance degree of each search candidate word and the user grade; and on the basis of the adjusted second candidate word sequences, determining the