Ancient poem automatic generation method based on pre-training model
A technology for automatic generation of ancient poems, applied in neural learning methods, biological neural network models, natural language data processing, etc., can solve problems such as poor model generation effects, achieve lower threshold, improve generation quality, and improve quality
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0040] The present invention will be further elaborated below in conjunction with the accompanying drawings of the description.
[0041] The present invention provides a kind of method based on pre-training ancient style poem automatic generation, comprises the following steps:
[0042] 1) Collect a large amount of monolingual corpus, including existing ancient poems and classical Chinese, and then perform word segmentation data preprocessing, use monolingual corpus to train the language model to obtain the pre-training model;
[0043] 2) Utilize the collected existing ancient style poems to construct training corpus, obtain the training data and keywords of ancient style poems;
[0044] 3) Use the keywords extracted in step 2) to train a language model as a keyword expansion module (such as figure 1 shown);
[0045] 4) Fine-tuning is carried out on the pre-trained model trained in step 1) using the ancient poetry training corpus;
[0046] 5) The keyword input by the user i...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


