Input method and device based on sample probability quantization and electronic equipment
A probability and sample technology, applied in the field of natural language processing, can solve problems such as probability value distortion, and achieve the effect of reducing the degree of distortion
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
example 1
[0184] Example 1: Assuming the input samples one, two, two, three, three, three, a total of 6 inputs, 3 sample types are generated, namely one, two, three. Among them, the sample probability value of one is 1 / 6, the sample probability value of two is 2 / 6, and the sample probability value of three is 3 / 6. If the predicted words are sorted according to the probability value, the order is three, two, one. Now because of the problem of storage space of electronic equipment, the probability value needs to be quantized, and the quantization target area is [0,3].
[0185] 1) If using a non-well-defined mapping function (such as tanh ), it is possible to map the sample probability values of one, two, and three to 2, 1, 1. If the predicted words are sorted according to the quantized value after mapping, the order may be two, three, one, and this order is the same as the probability value. The order of sorting is not the same.
[0186] 2) If a well-defined mapping function (such a...
example 2
[0188] Example 2: If it is quantized by group, the situation is more complicated. For example, input one, two, two, three, three, three, four, four, four, four, a total of 10 inputs, resulting in 4 sample types, namely one, two, three, four. Among them, the sample probability value of one is 1 / 10, the sample probability value of two is 2 / 10, the sample probability value of three is 3 / 10, and the sample probability value of four is 4 / 10. If the predicted words are sorted according to the probability value, the order is four, three, two, one. Now because of the problem of storage space, the probability value needs to be quantized, and the quantization target area is [0,3].
[0189] 1) If using a non-well-defined mapping function (such as min - max ), the first group is one, two, and the quantized value after mapping may be 2, 1; the second group is three, four, and the quantized value after mapping may be 2, 1. After combining the results of the first group and the second ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com