扩展到fairseq上的young序列研究工具包

youngseq的Python项目详细描述


对于FairSeq软件

版权所有(c)2017至今,Facebook,Inc.保留所有权利。

以源和二进制形式重新分配和使用,无论是否修改, 如果满足以下条件,则允许使用:

  • Redistributions of source code must retain the above copyright notice, this
    list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice,
    this list of conditions and the following disclaimer in the documentation
    and/or other materials provided with the distribution.
  • Neither the name Facebook nor the names of its contributors may be used to
    endorse or promote products derived from this software without specific
    prior written permission.

本软件由版权所有者和贡献者“按原样”提供,并且 任何明示或默示保证,包括但不限于 对特定用途的适销性和适合性的保证 否认。在任何情况下,版权持有人或贡献者均不承担责任 任何直接、间接、附带、特殊、惩戒性或间接损害 (包括但不限于替代货物或服务的采购; 使用、数据或利润的损失;或营业中断),无论是何种原因造成的 任何责任理论,无论是合同责任、严格责任还是侵权责任 (包括疏忽或其他)以任何方式产生的 软件,即使被告知有这种损坏的可能性。

说明:
杨塞克 在Fairseq上扩展的Young序列研究工具包

###准备 ####要求: *[pytorch安装](http://pytorch.org/) *为了训练新的模型,您还需要一个nvidia gpu和[nccl](https://github.com/NVIDIA/nccl) *python 3.6版

目前,YoungSeq和FairSeq需要Pythorch版本>;=1.0.0。 请按照这里的说明操作:https://github.com/pytorch/pytorch#installation

如果使用Docker,请确保使用 –ipc=host–shm size作为命令行选项运行nvidia docker。

####安装Fairseq: ` git clone https://github.com/pytorch/fairseq.git cd fairseq pip install -r requirements.txt python setup.py build develop `

####安装YoungSeq: ` git clone https://github.com/Jason-Young-NLP/YoungSeq.git cd YoungSeq pip install -r requirements.txt python setup.py build develop `

###实验 ` cd Experiments ./preprocess.ted-17.sh./generate.ted-17-baseline.sh./train.ted-17-baseline.sh `

平台:未知 分类器:目标受众:科学/研究 分类器:编程语言::python::3 分类器:license::osi approved::apache软件许可证 分类器:操作系统::与操作系统无关 分类器:主题::科学/工程::人工智能 描述内容类型:文本/标记

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java使用无循环和乘法的递归调用查找值   java字符串大小冲突   在一组Java文件对象中查找唯一的超级目录   没有Eclipse控制台输出窗口(Java)?   java这怎么等于105而不是15?   java Adempiere列调出,用于不处理从(代码)选项导入和创建行的字段   java tomcat、2个webapps、2个log4js,但这两个应用都记录到一个文件中   lambda理解Java谓词   HotspotFX上的Java EOF问题   java google应用程序引擎:如何向连接/断开通道“ping”添加信息?   java如何使用VTDXML获取一个元素的所有名称空间声明?   java如何使用drawLine()获得一条线以随机方向拍摄?   java transactionManager应该使用哪个SessionFactory?   java在安卓上播放声音   在Mac上使用JBDC对SQL Server进行java Windows身份验证   java基本列表和字符串[]   java NamedParameterJdbcTemplate从中选择*   扩展上的java Android可扩展列表视图   使用ApacheAxis2的java SOAP附件