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

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

Example Embodiment

[0055] In order to make the purpose, technical solutions, and advantages of this application clearer, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the application, and not used to limit the 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 technology of computer science, which attempts to understand the essence of intelligence and produce a new kind of intelligent machine that can react in a similar way to human intelligence. Artificial intelligence is to study the design principles and impl...

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 Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products