Method for processing tasks in parallel, device and storage medium

    公开(公告)号:US11954522B2

    公开(公告)日:2024-04-09

    申请号:US17076346

    申请日:2020-10-21

    CPC classification number: G06F9/4881 G06F9/52 G06N20/00

    Abstract: Embodiments of the present disclosure disclose a method for processing tasks in parallel, a device and a storage medium, and relate to a field of artificial intelligent technologies. The method includes: determining at least one parallel computing graph of a target task; determining a parallel computing graph and an operator scheduling scheme based on a hardware execution cost of each operator task of each of the at least one parallel computing graph in a cluster, in which the cluster includes a plurality of nodes for executing the plurality of operator tasks, and each parallel computing graph corresponds to at least one operator scheduling scheme; and scheduling and executing the plurality of operator tasks of the determined parallel computing graph in the cluster based on the determined parallel computing graph and the determined operator scheduling scheme.

    Method and apparatus for recalling news based on artificial intelligence, device and storage medium

    公开(公告)号:US11238097B2

    公开(公告)日:2022-02-01

    申请号:US16000160

    申请日:2018-06-05

    Abstract: A method and apparatus for recalling news based on artificial intelligence, a device and a storage medium. The method comprises: building an index repository according to candidate news, the index repository including M search trees, each search tree being a complete binary tree including at least two layers, each non-leaf node in each search tree corresponding to a semantic index vector, each piece of candidate news corresponding to a leaf node in each search tree; when news needs to be recommended to the user, generating a user's semantic index vector according to the user's interest tag; with respect to each search tree, respectively according to semantic index vectors corresponding to non-leaf nodes therein and the user's semantic index vector, determining a path from a first layer of non-leaf nodes to a leaf node, and regarding candidate news corresponding to the leaf node on the path as a recall result.

    INTERACTION METHOD AND APPARATUS BASED ON ARTIFICIAL INTELLIGENCE

    公开(公告)号:US20180336266A1

    公开(公告)日:2018-11-22

    申请号:US15891258

    申请日:2018-02-07

    Abstract: The present disclosure discloses an interaction method and apparatus based on artificial intelligence. A specific embodiment of the method comprises: receiving a current interactive statement entered by a user through a terminal; extracting at least one type of characteristic based on the current interactive statement and a previous interactive statement entered by the user; processing the at least one type of characteristic using a pretrained neural network model to determine whether an intent maintaining relationship exists between the current interactive statement and the previous interactive statement; and if the intent maintaining relationship exists, updating a limitation condition for the previous interactive statement using the current interactive statement, performing information retrieval using the previous interactive statement with the updated limitation condition, and pushing a retrieved retrieval result to the terminal. This embodiment reduces time spent in user entry.

    Method and apparatus for generating shared encoder

    公开(公告)号:US12229667B2

    公开(公告)日:2025-02-18

    申请号:US17209576

    申请日:2021-03-23

    Abstract: A method and an apparatus for generating a shared encoder are provided, which belongs to a field of computer technology and deep learning. The method includes: sending by a master node a shared encoder training instruction to child nodes, so that each child node obtains training samples based on a type of a target shared encoder included in the training instruction; sending an initial parameter set of the target shared encoder to be trained to each child node after obtaining a confirmation message returned by each child node; obtaining an updated parameter set of the target shared encoder returned by each child node; determining a target parameter set corresponding to the target shared encoder based on a first preset rule and the updated parameter set of the target shared encoder returned by each child node.

    Data processing method and apparatus based on recurrent neural network, and device

    公开(公告)号:US12217150B2

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

    申请号:US17248131

    申请日:2021-01-11

    Abstract: A data processing method and apparatus based on a recurrent neural network and a device are provided. The recurrent neural network includes multiple recurrent units, each recurrent unit includes multiple data processing nodes and a start node, at least one recurrent unit includes an end node, and at least one data processing node is included between the start node and the end node. During the processing of the first target processing object in a first recurrent unit, in a case that the first target processing object does not satisfy the first preset condition, the start node in the first recurrent unit is run to add a tag to the data processing nodes subsequent to the start node and stop addition of the tag in response to reaching the end node, and no processing is performed by the data processing nodes with the tag.

    METHOD AND APPARATUS FOR TRAINING DEEP LEARNING MODEL

    公开(公告)号:US20210216875A1

    公开(公告)日:2021-07-15

    申请号:US17218033

    申请日:2021-03-30

    Abstract: A method for training a deep learning model may include: acquiring model description information and configuration information of a deep learning model; segmenting the model description information into at least two sections based on segmentation point variable in the configuration information, and loading the model description information to a corresponding resource to run; inputting a batch of training samples into a resource corresponding to a first section of model description information, then starting training and using obtained context information as an input of a resource corresponding to a subsequent section of model description information; and so on until an operation result of a resource corresponding to a final section of model description information is obtained; if a training completion condition is met, outputting a trained deep learning model; and otherwise, keeping on acquiring a subsequent batch of training samples and performing the above training steps until the condition is met.

    Conversation processing method and apparatus based on artificial intelligence, device and computer-readable storage medium

    公开(公告)号:US10977578B2

    公开(公告)日:2021-04-13

    申请号:US16006213

    申请日:2018-06-12

    Abstract: A conversation processing method and apparatus based on artificial intelligence, a device and a computer-readable storage medium. The disclosure embodiments, enable the user feedback information provided by conversation service conducted by the user to model conversation understanding system, then according to the user feedback information, perform adjustment processing for a service state of the model conversation understanding system, to obtain an adjustment state of the model conversation understanding system so that it is possible to execute the conversation service with the model conversation understanding system, based on the adjustment state. Since a fault-tolerant and fault-correcting mechanism is provided, it is possible to adjust the understanding capability of the model conversation understanding system in real time and thereby effectively improve the reliability of conversation by collecting the user's user feedback information, and then adjusting the service state of the model conversation understanding system in time based on the user feedback information.

Patent Agency Ranking