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

Word vector generation method and device and electronic equipment

A word vector and vector technology, applied in the field of word vector generation methods, devices and electronic equipment, can solve the problems of long inference time, large model calculation, complex network structure, etc., to reduce the computational complexity, overcome the complex network structure, The effect of improving reliability and versatility

Active Publication Date: 2020-06-05
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF5 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The word vector generation method, device and electronic equipment proposed in this application are used to solve the problem of related technologies. Deep language models with contextual semantic expression capabilities often have complex network structure, the huge amount of parameters leads to a huge amount of calculation of the model, and the problem of long inference time

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
  • Word vector generation method and device and electronic equipment
  • Word vector generation method and device and electronic equipment
  • Word vector generation method and device and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] Exemplary embodiments of the present application are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present application to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0017] The embodiment of the present application aims at the problem that in the related technologies, the deep language model with contextual semantic expression ability often has a complex network structure, the huge amount of parameters leads to a huge amount of calculation of the model, and the problem of long reasoning time, proposes a word vector generation meth...

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 word vector generation method and device and electronic equipment, and relates to the technical field of natural language processing. The method comprises the steps: obtaininga to-be-processed statement, and obtaining a target word in the to-be-processed statement; obtaining context information of the target word; determining a context-independent word vector corresponding to the target word according to a preset mapping relation between segmented words and word vectors; determining a context semantic vector corresponding to the context information according to a preset mapping relation between characters and word vectors; and generating a target word vector corresponding to the target word according to the context-independent word vector and the context semanticvector. Therefore, through the word vector generation method, the reliability and universality of natural language understanding are improved, and the calculation complexity of word vector generationis reduced.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to the field of natural language processing technology, and proposes a word vector generation method, device and electronic equipment. Background technique [0002] In the field of Natural Language Processing (NLP for short), a deep language model with contextual semantic expression ability usually has good language expression ability. For example, the Bidirectional Encoder Representation from Transformers (BERT) model from the converter uses the self-attention mechanism to fully interact and build a complete context, so that each word in the text can be based on the context. Different words have different semantics, which improves the reliability of natural language understanding by fusing the context of words. [0003] However, deep language models with contextual semantic expression capabilities often have complex network structures. For example, the BERT basic model...

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): G06F40/284G06F40/30
Inventor 庞超王硕寰孙宇李芝
Owner BEIJING BAIDU NETCOM SCI & TECH 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