Sample data processing method, sample data processing device and electronic equipment
A sample data and processing method technology, applied in the field of data processing, can solve problems such as sample data imbalance, training failure, and large differences in the number of training corpora
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0032] A sample data processing method provided by the embodiment of this application is described below, please refer to figure 1 , the sample data processing method in the embodiment of the present application includes:
[0033] Step 101, obtaining all sample data for training a preset intent recognition model;
[0034] In the embodiment of the present application, the electronic device may first obtain all sample data used for training the intent recognition model during a preset training phase of the intent recognition model. Optionally, the above-mentioned sample data may be the data set by the corpus personnel, or, after the corpus personnel first set several pieces of sample data, the developer triggers the electronic device to continue generating other samples based on the set sample data. Sample data, the source of the above sample data is not limited here. Specifically, the above-mentioned sample data is in the form of a template corpus, and the above-mentioned tem...
Embodiment 2
[0091] Embodiment 2 of the present application provides a sample data processing device, which can be integrated into electronic equipment, such as image 3 As shown, the sample data processing device 300 in the embodiment of the present application includes:
[0092] An acquisition unit 301, configured to acquire all sample data for training a preset intention recognition model;
[0093] A category determination unit 302, configured to determine the intent category and language model category to which each sample data belongs according to the intent label and language model label of each sample data, wherein the above language model categories include positive samples and negative samples;
[0094] A statistical unit 303, configured to count the number of sample data under each intent category, count the number of sample data under each language model category, and count the total number of all sample data;
[0095] The first calculation unit 304 is configured to calculate t...
Embodiment 3
[0123] Embodiment 3 of the present application provides an electronic device, please refer to Figure 4 , the electronic device 4 in the embodiment of the present application includes: a memory 401, one or more processors 402 ( Figure 4 Only one of them is shown) and a computer program stored on the memory 401 and executable on the processor. Wherein: the memory 401 is used to store software programs and modules, and the processor 402 executes various functional applications and data processing by running the software programs and units stored in the memory 401 to obtain resources corresponding to the above preset events. Specifically, the processor 402 implements the following steps by running the above-mentioned computer program stored in the memory 401:
[0124] Obtain all sample data used to train the preset intent recognition model;
[0125] Determining the intent category and language model category to which each sample data belongs according to the intent label and l...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


