ESIM:使用PyTorch实现自然语言推理的ESIM模型-源码

上传者: 42131342 | 上传时间: 2021-09-04 13:40:20 | 文件大小: 60.7MB | 文件类型: ZIP
ESIM-增强的顺序推理模型 使用PyTorch实现ESIM模型以进行自然语言推理 该存储库包含Chen等人在论文介绍的序列模型的PyTorch实现。 在2016年。 下图显示了该模型的体系结构的高级视图。 该模型是在的日内瓦大学的背景下实现的。 如何 安装套件 要使用此存储库中定义的模型,您首先需要按照软件包上描述的步骤在计算机上安装PyTorch(仅在使用Windows时才需要此步骤)。 然后,要安装运行模型所需的依赖关系,只需执行命令pip install --upgrade . 从克隆的存储库内部(在根,最好是在内部)。 提取数据以训练和测试模型 位于此存储库的scripts /文件

文件下载

资源详情

[{"title":"( 27 个子文件 60.7MB ) ESIM:使用PyTorch实现自然语言推理的ESIM模型-源码","children":[{"title":"ESIM-master","children":[{"title":"setup.py <span style='color:#111;'> 476B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"data","children":[{"title":"dataset","children":[{"title":"bnli.jsonl <span style='color:#111;'> 2.32MB </span>","children":null,"spread":false}],"spread":true},{"title":"checkpoints","children":[{"title":"SNLI","children":[{"title":"best.pth.tar <span style='color:#111;'> 65.04MB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 11.09KB </span>","children":null,"spread":false},{"title":"esim","children":[{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"layers.py <span style='color:#111;'> 7.68KB </span>","children":null,"spread":false},{"title":"utils.py <span style='color:#111;'> 6.02KB </span>","children":null,"spread":false},{"title":"model.py <span style='color:#111;'> 8.39KB </span>","children":null,"spread":false},{"title":"data.py <span style='color:#111;'> 14.34KB </span>","children":null,"spread":false}],"spread":true},{"title":"scripts","children":[{"title":"fetch_data.py <span style='color:#111;'> 3.61KB </span>","children":null,"spread":false},{"title":"testing","children":[{"title":"test_snli.py <span style='color:#111;'> 4.48KB </span>","children":null,"spread":false},{"title":"test_mnli.py <span style='color:#111;'> 5.31KB </span>","children":null,"spread":false}],"spread":true},{"title":"preprocessing","children":[{"title":"preprocess_bnli.py <span style='color:#111;'> 3.89KB </span>","children":null,"spread":false},{"title":"preprocess_mnli.py <span style='color:#111;'> 7.56KB </span>","children":null,"spread":false},{"title":"preprocess_snli.py <span style='color:#111;'> 6.29KB </span>","children":null,"spread":false}],"spread":true},{"title":"training","children":[{"title":"utils.py <span style='color:#111;'> 4.54KB </span>","children":null,"spread":false},{"title":"train_mnli.py <span style='color:#111;'> 10.80KB </span>","children":null,"spread":false},{"title":"train_snli.py <span style='color:#111;'> 9.05KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"README.md <span style='color:#111;'> 6.12KB </span>","children":null,"spread":false},{"title":"config","children":[{"title":"testing","children":[{"title":"mnli_testing.json <span style='color:#111;'> 345B </span>","children":null,"spread":false}],"spread":true},{"title":"preprocessing","children":[{"title":"mnli_preprocessing.json <span style='color:#111;'> 419B </span>","children":null,"spread":false},{"title":"bnli_preprocessing.json <span style='color:#111;'> 269B </span>","children":null,"spread":false},{"title":"snli_preprocessing.json <span style='color:#111;'> 415B </span>","children":null,"spread":false}],"spread":true},{"title":"training","children":[{"title":"snli_training.json <span style='color:#111;'> 425B </span>","children":null,"spread":false},{"title":"mnli_training.json <span style='color:#111;'> 535B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"esim.png <span style='color:#111;'> 93.10KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明