Language model training method and device, electronic equipment and computer readable medium

A training method and language model technology, applied in the computer field, can solve the problem of low accuracy of processing results, and achieve the effect of improving the processing effect

Active Publication Date: 2021-06-15
BEIJING SANKUAI ONLINE TECH CO LTD
View PDF14 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of this application proposes a language model training method, device, electronic equipment and computer-readable medium to solve the problem of the accuracy of the processing results of the language model in the prior art. low technical issues

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 model training method and device, electronic equipment and computer readable medium
  • Language model training method and device, electronic equipment and computer readable medium
  • Language model training method and device, electronic equipment and computer readable medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The 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 related inventions, rather than to limit the invention. It should also be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.

[0027] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

[0028] Please refer to figure 1 , which shows a process 100 of an embodiment of the language model training method according to the present application. The language model training method includes the following steps:

[0029] Step 101, select a first text sample set based...

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 embodiment of the invention discloses a language model training method and device, electronic equipment and a computer readable medium. According to the embodiment, the language model training method is characterized by comprising the steps of: selecting a first text sample set based on a natural language processing task, and training a first pre-training model through the first text sample set to obtain an initial language model; testing a test text in a preset test text set by using the initial language model, and generating a second text sample set based on a test result and the test text; training the first pre-training model by using the second text sample set to obtain a second pre-training model; and training the second pre-training model by using the first text sample set to obtain a target language model. According to the embodiment, the model applied to the natural language processing task can be obtained, and the model can improve the accuracy of the processing result.

Description

technical field [0001] The embodiments of the present application relate to the field of computer technology, and specifically relate to a language model training method, device, electronic equipment, and computer-readable media. Background technique [0002] With the development of computer technology, Natural Language Processing (NLP) has been applied in many fields. Among them, the language model is an important technology in the field of natural language processing, which can be applied to various text processing scenarios such as text classification, entity recognition, and reading comprehension. [0003] In the prior art, a pre-training model is usually obtained by training with public data sets, and then the pre-training model is further trained by using a small number of text samples customized for the current natural language processing tasks to obtain the required language model . However, the public datasets are less pertinent to the current natural language pro...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06K9/62G06F16/35G06N20/00
CPCG06F16/35G06N20/00G06F18/214
Inventor 郭同胡懋地
Owner BEIJING SANKUAI ONLINE TECH 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