Data element generation method and device, equipment and medium
The invention discloses a data element generation method and device, equipment and a medium, and the method comprises the steps: obtaining a target text, inputting the target text into a pre-trained text rewriting model, obtaining a prediction label of each character in the output target text, and c...
Saved in:
Main Authors | , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
29.08.2023
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention discloses a data element generation method and device, equipment and a medium, and the method comprises the steps: obtaining a target text, inputting the target text into a pre-trained text rewriting model, obtaining a prediction label of each character in the output target text, and carrying out the corresponding operation of each character according to the prediction label of each character. The obtained updated text is a target data element; according to the method and the device, the target text is rewritten to obtain the target data element based on the prediction label obtained after the target text passes through the text rewriting model, so that the data element of the target text is automatically generated by modifying the target text under the condition of low data resources, and the automation degree of generating the data element is improved.
本发明公开了一种数据元生成方法、装置、设备和介质,本发明获取目标文本,并将目标文本输入预先训练完成的文本改写模型,获取输出的该目标文本中每个字符的预测标签,根据每个字符的预测标签,对每个字符进行对应的操作,得到更新后的文本为目标数据元;由于本发明中是基于目标文本经过文本改写模型后得到的 |
---|---|
Bibliography: | Application Number: CN202310434481 |