首页> 外国专利> TEXT CLASSIFICATION MODEL CONSTRUCTION METHOD AND APPARATUS, AND TERMINAL AND STORAGE MEDIUM

TEXT CLASSIFICATION MODEL CONSTRUCTION METHOD AND APPARATUS, AND TERMINAL AND STORAGE MEDIUM

机译:文本分类模型的构建方法和装置,以及终端和存储介质

摘要

A text classification model construction method and apparatus, and a terminal and a storage medium. The text classification model construction method comprises: constructing a convolutional neural network model by using a PyTorch framework, wherein the convolutional neural network model is arranged on an embedding layer (S11); obtaining text classification training data, and performing word vector training on the text training data by using a Word2Vec algorithm to obtain word vectors (S12); and inputting the word vectors into the convolutional neural network model for classification training, and obtaining a text classification model when convergence occurs (S13). A PyTorch framework is used for the text classification model. Due to the fact that the object-oriented interface design of the PyTorch framework comes from the Torch, the interface design of the Torch has the advantages of being flexible and easy to use, the PyTorch framework can print calculation results layer by layer to facilitate debugging, and therefore, the constructed text classification model is easier to maintain and debug.
机译:文本分类模型的构建方法和装置,以及终端和存储介质。文本分类模型的构建方法包括:利用PyTorch框架构建卷积神经网络模型,其中,将卷积神经网络模型布置在嵌入层上(S11);获取文本分类训练数据,并通过Word2Vec算法对文本训练数据进行词向量训练,得到词向量(S12);将词向量输入到卷积神经网络模型中进行分类训练,并在收敛时获得文本分类模型(S13)。 PyTorch框架用于文本分类模型。由于PyTorch框架的面向对象的界面设计来自Torch,因此Torch的界面设计具有灵活易用的优点,PyTorch框架可以逐层打印计算结果,方便调试。 ,因此,构造的文本分类模型更易于维护和调试。

著录项

  • 公开/公告号WO2020164267A1

    专利类型

  • 公开/公告日2020-08-20

    原文格式PDF

  • 申请/专利权人 PING AN TECHNOLOGY (SHENZHEN) CO. LTD.;

    申请/专利号WO2019CN117225

  • 发明设计人 XU LIANG;JIN GE;XIAO JING;

    申请日2019-11-11

  • 分类号G06F16/35;

  • 国家 WO

  • 入库时间 2022-08-21 11:09:50

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号