Neural network training method, text similarity detection method and dialogue system
A neural network training and text similarity technology, applied in the field of information retrieval, can solve problems such as low accuracy rate, inconsistent training and prediction distribution, and achieve the effect of providing accuracy rate
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0038] see figure 1 , this application discloses a neural network training method for the technical defects of the prior art, including the steps:
[0039] S1: Label the three sentences S1, S2, and S3;
[0040] S2: Input two of the marked three sentences into the neural network to obtain sentence features SF1, SF2, and SF3 respectively;
[0041] S3: Calculate the cosine similarity COS(1,2) of SF1 and SF2;
[0042] S4: Calculate the loss function J of positive and negative samples;
[0043] S5: Set the loss function L to enhance the distance and discrimination between positive and negative samples;
[0044] S6: Calculate the final loss function T, and train the neural network.
[0045] The technical solutions of the present application are further described below with reference to various preferred embodiments.
[0046] S1: Label the three sentences S1, S2, S3:
[0047] The purpose of this step is to turn the input sentence into a sentence format that can be processed by ...
PUM

Abstract
Description
Claims
Application Information

- R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com