Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Language recognition method based on language model and text classification method and device

A language recognition and language model technology, applied in the Internet field, can solve problems such as time-consuming, time-consuming, and complex neural network model parameters, and achieve the effect of improving training efficiency and saving training time

Active Publication Date: 2020-08-18
TENCENT TECH (SHENZHEN) CO LTD
View PDF8 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Due to the complex parameters of the large neural network model, it will take more time to re-distill knowledge, resulting in low model training efficiency

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Language recognition method based on language model and text classification method and device
  • Language recognition method based on language model and text classification method and device
  • Language recognition method based on language model and text classification method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0056] Artificial Intelligence (AI) is a theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. In other words, artificial intelligence is a comprehensive technique of computer science that attempts to understand the nature of intelligence and produce a new kind of intelligent machine that can respond in a similar way to human intelligence. Artificial intelligence is t...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a language recognition method and device based on a language model, a text classification method and device, computer equipment and a storage medium. The method comprises thesteps of obtaining a training word vector corresponding to a training statement, and inputting the training word vector into a to-be-trained first model and a trained second model to obtain a featurematrix output by each first network layer of the first model and a feature matrix output by each second network layer of the second model, wherein the first network layers and the second network layers are in one-to-one correspondence, and the network layer number of the first model is smaller than that of the second model; performing similarity calculation on the feature matrix output by each first network layer and the feature matrix output by the second network layer corresponding to each first network layer; and obtaining each similarity, adjusting model parameters of the first model basedon each similarity until the updated target similarity meets a convergence condition, obtaining a trained first model, and performing language recognition through the first model. The method can improve the model training efficiency.

Description

technical field [0001] The present application relates to the technical field of the Internet, in particular to a language model-based language recognition method, a text classification method, a device, a computer device and a storage medium. Background technique [0002] With the development of Internet technology, neural network models have emerged, which can be used to handle various NLP (Natural Language Processing, natural language processing) tasks. Large neural network models can be compressed into small neural network models through knowledge distillation. [0003] In traditional technologies, the knowledge distillation method for large neural network models is usually based on specific NLP tasks, and small neural network models are obtained by performing knowledge distillation on large neural network models. For example, based on the text similarity matching task definition for large The neural network model knowledge distillation obtains the loss function of the ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G10L15/00G10L15/06G10L15/18G06N3/08G06N3/04G06F16/35
CPCG10L15/005G10L15/063G10L15/18G06F16/35G06N3/08G06N3/045
Inventor 黄展鹏赵博赵瑞辉陆扩建
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products