Unlock instant, AI-driven research and patent intelligence for your innovation.

Model generation method and device, entity identification method and device and electronic equipment

A technology of entity recognition and model generation, applied in the field of entity recognition, which can solve the problems of low accuracy of entity recognition and less entity information stored in vectors

Pending Publication Date: 2020-04-17
BEIJING KNOWNSEC INFORMATION TECH
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the embodiment of the present application is to provide a model generation method, entity recognition method, device, and electronic equipment to solve the problem of converting labeled corpus into vectors and then performing entity recognition through a neural network model in existing entity recognition methods. The problem of low accuracy of entity recognition caused by the fact that the vector saves less entity information

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
  • Model generation method and device, entity identification method and device and electronic equipment
  • Model generation method and device, entity identification method and device and electronic equipment
  • Model generation method and device, entity identification method and device and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0043] Such as figure 1 As shown, the embodiment of the present application provides a method for generating a model, which specifically includes the following steps:

[0044] Step S100: Generate feature image information according to the target sentence to be trained, the feature image information includes a feature image composed of a plurality of regional blocks and the category label of the target sentence, the target sentence includes a plurality of characters, each character corresponds to A region tile.

[0045] Step S102: using a preset neural network model to extract feature vectors of feature images.

[0046] Step S104: Calculate the corresponding training loss according to the feature vector and the corresponding category label.

[0047] Step S106: Iteratively updating the neural network model according to the training loss to obtain a trained entity recognition model.

[0048] In step S100, the target sentence to be trained is the entity recognition sentence to ...

no. 2 example

[0083] This application provides an entity recognition method, such as Figure 11 As shown, the method specifically includes the following steps:

[0084] Step S200: Generate a feature image according to the entity sentence to be recognized, the feature image information includes a feature image composed of a plurality of region blocks, the entity sentence to be recognized includes a plurality of characters, and each character corresponds to a region block.

[0085] Step S202: Input the feature image into an entity recognition model, where the entity recognition model is an entity recognition model generated in any optional implementation manner in the first embodiment.

[0086] Step S204: Obtain the predicted label of the entity sentence to be recognized output by the entity recognition model.

[0087] The method of generating the feature image in step S200 of the above steps according to the entity sentence of the model to be recognized is consistent with the method of step...

no. 3 example

[0091] Figure 12 A schematic structural block diagram of the model generation device provided by the present application is shown, and it should be understood that the device is different from the above-mentioned Figure 1 to Figure 10 The method embodiment in the corresponding method can execute the steps involved in the method performed by the server in the first embodiment. The specific functions of the device can refer to the above description. To avoid repetition, the detailed description is omitted here appropriately. The device includes at least one software function module that can be stored in a memory in the form of software or firmware (firmware) or solidified in an operating system (operating system, OS) of the device. Specifically, the device includes: a generating module 300, configured to generate feature image information according to the target sentence to be trained, the feature image information including a feature image composed of a plurality of area bloc...

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 provides a model generation method and device, an entity recognition method and device and electronic equipment. The model generation method comprises the steps that feature image information is generated according to a to-be-trained target statement, the feature image information comprises a feature image composed of a plurality of area image blocks and a category label of the target statement, the target statement comprises a plurality of characters, and each character corresponds to one area image block; a feature vector of the feature image is extracted by adopting a preset neural network model; corresponding training loss is calculated according to the feature vector and the corresponding category label; and iterative updating is performed on the neural network model according to the training loss to obtain a trained entity recognition model.

Description

technical field [0001] The present application relates to the technical field of entity recognition, in particular, to a model generation method, entity recognition method, device and electronic equipment. Background technique [0002] The traditional entity recognition method converts the marked corpus into vectors through word2vec, and then performs entity recognition on it through the neural network model, but converting the marked corpus into vectors saves less entity information, resulting in low accuracy of entity recognition question. Contents of the invention [0003] The purpose of the embodiment of the present application is to provide a model generation method, entity recognition method, device, and electronic equipment to solve the problem of converting labeled corpus into vectors and then performing entity recognition through a neural network model in existing entity recognition methods. The vector saves less entity information, resulting in low accuracy of e...

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): G06F40/295G06F16/583G06F16/58G06F16/55G06T3/40
CPCG06F16/583G06F16/5866G06F16/55G06T3/4038Y02D10/00
Inventor 胡仁伟陈效友张会杰
Owner BEIJING KNOWNSEC INFORMATION TECH