Method and apparatus for improving model based on pre-trained semantic model
AssigneeBeijing Baidu Netcom Science Technology Co., Ltd.
InventorsXuyi Chen, Shiwei Huang
Life of this patent
Estimating the term…
Loading patent…
AssigneeBeijing Baidu Netcom Science Technology Co., Ltd.
InventorsXuyi Chen, Shiwei Huang
Estimating the term…
Embodiments of a method and an apparatus for improving a model based on a pre-trained semantic model are provided. The method may include: based on the pre-trained semantic model, obtaining an initial improved model, where semantic result information of an input vector is determined in the initial improved model based on a hash search method; and based on a model distillation method, training the initial improved model to obtain an improved model. Some embodiments can obtain the semantic result information of the input vector by performing the hash search method on the input vector, replace the original complex iterative calculation process of a semantic model, and obtain the improved model with few model parameters and high compression ratio.
A method for improving a model based on a pre-trained semantic model, the method comprising:
An electronic device, comprising:
A non-transitory computer readable storage medium storing computer instructions, wherein the computer instructions, when executed by a computer, cause the computer to perform operations, the operations comprising:
Dependencies are inferred from the claim text.