Method and apparatus for training semantic retrieval network, electronic device and storage medium

    公开(公告)号:US12293300B2

    公开(公告)日:2025-05-06

    申请号:US17930221

    申请日:2022-09-07

    Abstract: The disclosure provides a method for training a semantic retrieval network, an electronic device and a storage medium. The method includes: obtaining a training sample including a search term and n candidate files corresponding to the search term, where n is an integer greater than 1; inputting the training sample into the ranking model, to obtain n first correlation degrees output by the ranking model, in which each first correlation degree represents a correlation between a candidate document and the search term; inputting the training sample into the semantic retrieval model, to obtain n second correlation degrees output by the semantic retrieval model, wherein each second correlation degree represents a correlation between a candidate document and the search term; and training the semantic retrieval model and the ranking model jointly based on the n first correlation degrees and the n second correlation degrees.

    Method for processing information

    公开(公告)号:US12265842B2

    公开(公告)日:2025-04-01

    申请号:US18817035

    申请日:2024-08-27

    Abstract: A method for processing information is provided. The method includes obtaining input information to be processed. The method further includes determining execution information associated with processing of the input information. The execution information includes at least one of memory information to be retrieved or tool information to be invoked. The method further includes obtaining, by using the execution information, at least one piece of processing result information corresponding to the processing of the input information. The method further includes the at least one piece of processing result information to generate output information for feedback.

    METHOD AND APPARATUS FOR TRAINING SEMANTIC RETRIEVAL NETWORK, ELECTRONIC DEVICE AND STORAGE MEDIUM

    公开(公告)号:US20230004819A1

    公开(公告)日:2023-01-05

    申请号:US17930221

    申请日:2022-09-07

    Abstract: The disclosure provides a method for training a semantic retrieval network, an electronic device and a storage medium. The method includes: obtaining a training sample including a search term and n candidate files corresponding to the search term, where n is an integer greater than 1; inputting the training sample into the ranking model, to obtain n first correlation degrees output by the ranking model, in which each first correlation degree represents a correlation between a candidate document and the search term; inputting the training sample into the semantic retrieval model, to obtain n second correlation degrees output by the semantic retrieval model, wherein each second correlation degree represents a correlation between a candidate document and the search term; and training the semantic retrieval model and the ranking model jointly based on the n first correlation degrees and the n second correlation degrees.

Patent Agency Ranking