Domain-adaptive chemical potential safety hazard short text classification method and system
A technology of potential safety hazards and classification methods, applied in the field of chemical safety hazards short text classification methods and systems, can solve the problems of large differences in text length, difficulty in capturing short text domain related feature information, and sparse text features, etc., and achieves good classification effect. The effect of compensating for the deviation of domain information
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0040] This embodiment provides a domain-adaptive chemical safety hazard short text classification method;
[0041] Such as figure 1 As shown, a domain-adapted chemical safety hazard short text classification method includes:
[0042] S101: Obtain several short texts to be classified in the field of chemical safety hazard investigation;
[0043] S102: Perform vector extraction for each short text to be classified to obtain an initial text vector corresponding to each short text to be classified;
[0044]S103: Input the initial text vectors corresponding to all the segment texts to be classified into the trained short text classification model, and output the short text classification results.
[0045] Further, said S102: perform vector extraction on each short text to be classified, and obtain an initial text vector corresponding to each short text to be classified; specifically include:
[0046] Based on the BERT model, vector extraction is performed for each short text to...
Embodiment 2
[0143] Embodiment 2 This embodiment provides a domain-adaptive chemical safety hidden danger short text classification system;
[0144] A domain-adapted chemical safety hazard short text classification system, including:
[0145] The obtaining module is configured to: obtain several short texts to be classified in the field of chemical safety hazard investigation;
[0146] The extraction module is configured to: perform vector extraction on each short text to be classified, and obtain an initial text vector corresponding to each short text to be classified;
[0147] The classification module is configured to: input the initial text vectors corresponding to all segment texts to be classified into the trained short text classification model, and output the short text classification results.
[0148] What needs to be explained here is that the above acquisition module, extraction module and classification module correspond to steps S101 to S103 in the first embodiment, and the e...
Embodiment 3
[0152] This embodiment also provides an electronic device, including: one or more processors, one or more memories, and one or more computer programs; wherein, the processor is connected to the memory, and the one or more computer programs are programmed Stored in the memory, when the electronic device is running, the processor executes one or more computer programs stored in the memory, so that the electronic device executes the method described in Embodiment 1 above.
[0153] It should be understood that in this embodiment, the processor can be a central processing unit CPU, and the processor can also be other general-purpose processors, digital signal processors DSP, application specific integrated circuits ASIC, off-the-shelf programmable gate array FPGA or other programmable logic devices , discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, o...
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