-
公开(公告)号:US12106062B2
公开(公告)日:2024-10-01
申请号:US17572930
申请日:2022-01-11
Inventor: Zhe Hu , Zhiwei Cao , Jiachen Liu , Xinyan Xiao
CPC classification number: G06F40/40
Abstract: The disclosure provides a method for generating a text. The method includes: obtaining a coding sequence of a first text by coding the first text; obtaining a controllable attribute of a second text to be generated; predicting a hidden state of the second text based on the coding sequence of the first text and the controllable attribute of the second text; and obtaining a second text corresponding to the first text by decoding the coding sequence of the first text based on the hidden state of the second text.