Live commenting generation method and device, electronic equipment and computer storage medium
A barrage and generator technology, applied in the computer field, can solve problems such as single style and low interest, and achieve the effect of improving interest and enriching the display effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0026] Embodiment 1 of this application provides a barrage generation method, such as Figure 1 Shown, Figure 1 A flowchart of a barrage generation method provided by this embodiment of the application includes the following steps:
[0027] S101, acquiring a target image and text data representing emotional information.
[0028] The target image in this application can be an image containing any picture in different scenes, for example, it can be an animal photo or a test paper, etc. The embodiment of this application does not limit the specific form of the target image. Text data representing emotional information can be collected from social media software platforms using web crawlers. Social media software platforms can be comment websites, movie reviews, video barrage, live broadcast platforms, etc., and any appropriate text data with emotional information. The emotional type of the emotional information can be any one of positive, neutral and negative. Among them, positive emo...
Embodiment 2
[0043] Based on the scheme in the first embodiment, before the emotional barrage is generated by the barrage generator in the generative confrontation neural network, the embodiment of the present application also trains the generative confrontation neural network to obtain the trained generative confrontation neural network, such as Figure 2 Shown, Figure 2 A flow chart of a training method of a barrage generator provided by this embodiment of the application is provided. The barrage generator is trained and generated by the following ways:
[0044] S201, acquiring image sample features and text sample label features.
[0045] Among them, image sample features are used to indicate the features of image samples used for training neural network models, such as generating antagonistic neural networks, while text sample label features are used to indicate the features of text samples used as labels for training neural network models, such as generating antagonistic neural networks.
...
Embodiment 3
[0077] Based on the scheme in Embodiment 2, optionally, in an embodiment of the present application, step 203a1 may include steps 203a11-203a13, as follows:
[0078] Step 203a11: Input multi-modal features to generate a barrage generator in the confrontation neural network, and generate at least one predicted word.
[0079] In this embodiment of the application, the barrage generator in the anti-neural network generated by multi-modal feature input generates at least one predicted word in turn, in which the predicted word generated later depends on the predicted word generated earlier. In a sentence, the previous predicted word has a great influence on the part-of-speech prediction of the current word. For example, when the sentence "I eat apples" is generated, when predicting apples, it is obvious that the previous eating is a verb. An emotional barrage includes at least one predicted word and one word representing emotional information.
[0080] Step 203a12: According to at leas...
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