Method and device with natural language processing

    公开(公告)号:US12039277B2

    公开(公告)日:2024-07-16

    申请号:US17186830

    申请日:2021-02-26

    CPC classification number: G06F40/30 G06N3/08 G06N5/02

    Abstract: A method and device with natural language processing is disclosed. The method includes performing a word embedding of an input sentence, encoding a result of the word embedding, using an encoder of a natural language processing model, to generate a context embedding vector, decoding the context embedding vector, using a decoder of the natural language processing model, to generate an output sentence corresponding to the input sentence, generating a score indicating a relationship between the context embedding vector and each of a plurality of knowledge embedding vectors, determining a first loss based on the output sentence, determining a second loss based on the generated score, and performing training of the natural language processing model, including training the natural language processing model based on the determined first loss, and training the natural language processing model based on the determined second loss.

    Method and apparatus for modeling user preferences

    公开(公告)号:US12038988B2

    公开(公告)日:2024-07-16

    申请号:US17698667

    申请日:2022-03-18

    CPC classification number: G06F16/9535

    Abstract: A user preference modeling method including receiving preference scores corresponding to items, receiving an input for selecting an item from among the items, decaying a preference score corresponding to one or more items from among the items included in a first list and a second list based on a time decay rate and a first parameter, in response to the selected item being included in the first list, decaying the preference score corresponding to the one or more items comp included in the first list and the second list based on a time decay rate and a second parameter, in response to the selected item being included in the second list, and increasing a preference score corresponding to the selected item, wherein the first list may include one or more of the plurality of items based on the preference scores, and wherein the first list is different from the second list.

Patent Agency Ranking