首页> 外国专利> METHOD AND APPARATUS FOR UPDATING PARAMETER OF MULTI-TASK MODEL, AND ELECTRONIC DEVICE

METHOD AND APPARATUS FOR UPDATING PARAMETER OF MULTI-TASK MODEL, AND ELECTRONIC DEVICE

机译:用于更新多任务模型的参数的方法和装置,以及电子设备

摘要

The invention discloses a method and an apparatus for updating parameters of a multi-task model. The method includes: obtaining a training sample set, in which the training sample set comprises a plurality of samples and a task to which each sample belongs; putting each sample into a corresponding sample queue sequentially according to the task to which each sample belongs; training a shared network layer in the multi-task model and a target sub-network layer of tasks associated with the sample queue with samples in the sample queue in case that the number of the samples in the sample queue reaches a training data requirement, so as to generate a model parameter update gradient corresponding to the tasks associated with the sample queue; and updating parameters of the shared network layer and the target sub-network layer in a parameter server according to the model parameter update gradient.
机译:本发明公开了一种更新多任务模型参数的方法和装置。该方法包括:获取训练样本集,其中训练样本集包括多个样本和每个样本所属的任务;根据每个样本所属的任务顺序将每个样本放入相应的样本队列;在样本队列中的样本数量达到训练数据要求的情况下,训练多任务模型中的共享网络层和样本队列中的样本相关任务的目标子网络层,以生成与样本队列相关任务对应的模型参数更新梯度;以及根据模型参数更新梯度在参数服务器中更新共享网络层和目标子网络层的参数。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号