Method, apparatus, electronic device and storage medium for training semantic similarity model
AssigneeBeijing Baidu Netcom Science Technology Co., Ltd.
InventorsZhen Li, Yukun Li, Yu Sun
Life of this patent
Estimating the term…
Loading patent…
AssigneeBeijing Baidu Netcom Science Technology Co., Ltd.
InventorsZhen Li, Yukun Li, Yu Sun
Estimating the term…
The present disclosure provides a method, apparatus, electronic device and storage medium for training a semantic similarity model, which relates to the field of artificial intelligence. A specific implementation solution is as follows: obtaining a target field to be used by a semantic similarity model to be trained; calculating respective correlations between the target field and application fields corresponding to each of training datasets in known multiple training datasets; training the semantic similarity model with the training datasets in turn, according to the respective correlations between the target field and the application fields corresponding to each of the training datasets. According to the technical solution of the present disclosure, it is possible to, in the fine-tuning phase, more purposefully train the semantic similarity model with the training datasets with reference to the correlations between the target field and the application fields corresponding to the training datasets, thereby effectively improving the learning capability of the sematic similarity model and effectively improving the accuracy of the trained semantic similarity model.
A computer-implemented method for training a semantic similarity model for a parameter fine-tuning of a semantic matching task of Natural Language Processing (NLP), the semantic similarity model being configured to receive an input of two texts, calculate the similarity between the two texts, and output a semantic similarity, wherein the method comprises:
An electronic device, comprising:
A non-transitory computer readable storage medium with computer instructions stored thereon, wherein the computer instructions are used for causing a computer to perform a method for training a semantic similarity model for a parameter fine-tuning of a semantic matching task of Natural Language Processing (NLP), the semantic similarity model being configured to receive an input of two texts, calculate the similarity between the two texts, and output a semantic similarity, wherein the method comprises:
Dependencies are inferred from the claim text.