METHOD AND APPARATUS FOR TRAINING MODEL, AND METHOD AND APPARATUS FOR PREDICTING TEXT

    公开(公告)号:US20220129768A1

    公开(公告)日:2022-04-28

    申请号:US17646851

    申请日:2022-01-03

    Abstract: The present disclosure provides a method and apparatus for training a model. The method can include: acquiring at least one paragraph text, each paragraph text comprising a plurality of fine-grained samples; processing a fine-grained sample in the each paragraph text to obtain a coarse-grained sample; annotating the coarse-grained sample in the each paragraph text and obscuring one coarse-grained sample using a mask of one fine-grained sample to obtain a training sample set, wherein the training sample set comprises a plurality of annotated texts, and each annotated text comprises at least one of a fine-grained sample or an annotated coarse-grained sample; and training a fine-grained model using the training sample set to obtain a trained fine-grained model, the fine-grained model being used to learn content of a previous fine grain size and predict content of an adjacent coarse grain size.

Patent Agency Ranking