Text recommendation method and device, electronic equipment and storage medium

The invention provides a text recommendation method and device, electronic equipment and a storage medium, and the method comprises the steps: inputting an original text into a contrast learning model to obtain target feature information of the original text, the contrast learning model being obtain...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: WEI SI, LI ZHUO, WANG YANG, SHENG ZHICHAO, WANG SHIJIN, LI SONG
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 provides a text recommendation method and device, electronic equipment and a storage medium, and the method comprises the steps: inputting an original text into a contrast learning model to obtain target feature information of the original text, the contrast learning model being obtained by training an initial contrast learning model based on multiple batches of sample texts, each batch of sample texts comprises at least one first triple and at least one second triple, the first triple comprises an original sample text, a first positive example sample and a negative example sample of the original sample text, and the second triple comprises the original sample text, a second positive example sample and a negative example sample of the original sample text; the first positive example sample comprises a text of which the similarity with the original sample text is greater than a preset value, and the second positive example sample comprises partial text of the original sample text; and determining