动态神经网络工具包
dyNET的Python项目详细描述
…容器:
----
它是用c++编写的(绑定在
python中),被设计为在cpu或gpu上运行时高效,
,并且能够很好地与具有动态结构的网络一起工作,这些结构在每个训练实例中都会发生变化。例如,这些类型的网络在自然语言处理任务中特别重要,dynet
已经被用来构建最先进的"语法分析"系统lt;https://github.com/clab/lstm parser>;`,`machine
翻译<;https://github.com/neubig/lamtram>;`,`formatology
屈折变化<;https://github.com/mfaruqui/morph trans>;``和许多其他
应用程序区域。
阅读"文档"<;http://dynet.readthedocs.io/en/latest/>;``开始
,并随时联系"dynet用户"
组<;https://groups.google.com/forum/!论坛/dynet用户>;``如果您有任何问题,请在注册时选择
"所有电子邮件"。我们非常感谢您通过"github page"lt;http://github.com/clab/dynet>;``uu提交任何错误报告和贡献,您也可以在我们的"technical"
报告中阅读更多技术细节,https://arxiv.org/abs/1701.03980>;`uu。
Getting Started
---
(c++)<;http://dynet.readthedocs.io/en/latest/tutorial.html c-tutorial>;` `
(python)<;http://dynet.readthedocs.io/en/latest/tutorial.html `〈python tutorial>;`http://dynet.readthedocs.io/on/en/latest/tutortorial.html ` python tutorial>;` ` ` ` `
;
>
;您可以在这里(c++com/clab/dynet_教程示例es>;` ` `.
使dynet与其他tookits不同的一个方面是
**自动批处理**功能。参见
`documentation<;http://dynet.readthedocs.io/en/latest/minibatch.html>;`
关于批处理。
L)。cmake和mercurial可以从标准存储库安装。
/>
::
brew使用自制软件安装cmake hg。
sudo port使用macports安装cmake mercurial。
e eigen
库<;https://bitbucket.org/eigen/eigen>;`。**如果使用任何
发布的版本,可能会出现断言失败或编译错误。**
如果您还没有eigen,则可以使用
以下命令轻松获得它:
:
hg clone https://bitbucket.org/eigen/eigen/-r b2e267d
`-r num`指定了一个已知有效的修订号。
冒险的用户可以删除它并使用最新版本,但有可能导致代码中断/无法编译。在MacOS上,您可以使用自制程序安装Eigen的最新开发:
::
~~~~~~~~~~~~~~~~~~~
克隆GITHUB存储库
Git克隆http://GITHUB.COM/CLAB/DyNET.git
CD DyNETBR/> MKDIR构建
CDBug
-deigen3_include_dir=/path/to/eigen-denable_cpp_examples=on
使用两个进程编译`_
python安装
~~~~~~~~~~~~~~~~~~~~~~~
>您可以使用以下命令安装python的dynet
:
有关详细信息,请参阅
`文档<;http://dynet.readthedocs.io/en/最新的/python.html为python安装dynet>;``uu
戴尔、约夫·戈德伯格、奥斯汀·马修斯、瓦利德·阿马尔、安东尼奥斯·阿纳斯塔索普洛斯、米格尔·巴列斯特罗斯、蒋大卫、丹尼尔·克洛肖、特雷弗·科恩、凯文·杜、马纳尔·法鲁基、辛西娅·甘、丹·加雷特、杨凤姬、凌鹏·孔、阿迪古纳·昆科罗、高拉夫·库Mar和Chaitanya Malaviya和Paul Michel和Yusuke Oda和Matthew Richardson和Naomi Saphra和Swabha Swayamdipta和Pengcheng Yin},
Journal={Arxiv Preprint Arxiv:1701.03980},
Year={2017}
去戴尼!您可以在这里找到贡献的指导原则。|构建状态(travis ci)图像::https://travis-ci.org/clab/dynet.svg?branch=master
:目标:https://travis ci.org/clab/dynet
…|构建状态(appveyor)图像::https://ci.appveyor.com/api/projects/status/github/clab/dynet?svg=true
:目标:https://ci.appveyor.com/project/danielh/dynet-c3iuq
。|构建状态(文档)图像::https://readthedocs.org/projects/dynet/badge/?version=latest
:目标:http://dynet.readthedocs.io/en/latest/
…| pypi版本image::https://badge.fury.io/py/dynet.svg
:目标:https://badge.fury.io/py/dynet
----
它是用c++编写的(绑定在
python中),被设计为在cpu或gpu上运行时高效,
,并且能够很好地与具有动态结构的网络一起工作,这些结构在每个训练实例中都会发生变化。例如,这些类型的网络在自然语言处理任务中特别重要,dynet
已经被用来构建最先进的"语法分析"系统lt;https://github.com/clab/lstm parser>;`,`machine
翻译<;https://github.com/neubig/lamtram>;`,`formatology
屈折变化<;https://github.com/mfaruqui/morph trans>;``和许多其他
应用程序区域。
阅读"文档"<;http://dynet.readthedocs.io/en/latest/>;``开始
,并随时联系"dynet用户"
组<;https://groups.google.com/forum/!论坛/dynet用户>;``如果您有任何问题,请在注册时选择
"所有电子邮件"。我们非常感谢您通过"github page"lt;http://github.com/clab/dynet>;``uu提交任何错误报告和贡献,您也可以在我们的"technical"
报告中阅读更多技术细节,https://arxiv.org/abs/1701.03980>;`uu。
Getting Started
---
(c++)<;http://dynet.readthedocs.io/en/latest/tutorial.html c-tutorial>;` `
(python)<;http://dynet.readthedocs.io/en/latest/tutorial.html `〈python tutorial>;`http://dynet.readthedocs.io/on/en/latest/tutortorial.html ` python tutorial>;` ` ` ` `
;
>
;您可以在这里(c++com/clab/dynet_教程示例es>;` ` `.
使dynet与其他tookits不同的一个方面是
**自动批处理**功能。参见
`documentation<;http://dynet.readthedocs.io/en/latest/minibatch.html>;`
关于批处理。
L)。cmake和mercurial可以从标准存储库安装。
/>
::
sudo port使用macports安装cmake mercurial。
e eigen
库<;https://bitbucket.org/eigen/eigen>;`。**如果使用任何
发布的版本,可能会出现断言失败或编译错误。**
如果您还没有eigen,则可以使用
以下命令轻松获得它:
:
hg clone https://bitbucket.org/eigen/eigen/-r b2e267d
`-r num`指定了一个已知有效的修订号。
冒险的用户可以删除它并使用最新版本,但有可能导致代码中断/无法编译。在MacOS上,您可以使用自制程序安装Eigen的最新开发:
::
克隆GITHUB存储库
Git克隆http://GITHUB.COM/CLAB/DyNET.git
CD DyNETBR/> MKDIR构建
CDBug
-deigen3_include_dir=/path/to/eigen-denable_cpp_examples=on
使用两个进程编译`_
python安装
~~~~~~~~~~~~~~~~~~~~~~~
>您可以使用以下命令安装python的dynet
:
有关详细信息,请参阅
`文档<;http://dynet.readthedocs.io/en/最新的/python.html为python安装dynet>;``uu
戴尔、约夫·戈德伯格、奥斯汀·马修斯、瓦利德·阿马尔、安东尼奥斯·阿纳斯塔索普洛斯、米格尔·巴列斯特罗斯、蒋大卫、丹尼尔·克洛肖、特雷弗·科恩、凯文·杜、马纳尔·法鲁基、辛西娅·甘、丹·加雷特、杨凤姬、凌鹏·孔、阿迪古纳·昆科罗、高拉夫·库Mar和Chaitanya Malaviya和Paul Michel和Yusuke Oda和Matthew Richardson和Naomi Saphra和Swabha Swayamdipta和Pengcheng Yin},
Journal={Arxiv Preprint Arxiv:1701.03980},
Year={2017}
去戴尼!您可以在这里找到贡献的指导原则。|构建状态(travis ci)图像::https://travis-ci.org/clab/dynet.svg?branch=master
:目标:https://travis ci.org/clab/dynet
…|构建状态(appveyor)图像::https://ci.appveyor.com/api/projects/status/github/clab/dynet?svg=true
:目标:https://ci.appveyor.com/project/danielh/dynet-c3iuq
。|构建状态(文档)图像::https://readthedocs.org/projects/dynet/badge/?version=latest
:目标:http://dynet.readthedocs.io/en/latest/
…| pypi版本image::https://badge.fury.io/py/dynet.svg
:目标:https://badge.fury.io/py/dynet