NLP_Passage1

时间:2021-04-11 11:01:42
【文件属性】:
文件名称:NLP_Passage1
文件大小:4.92MB
文件格式:ZIP
更新时间:2021-04-11 11:01:42
Python CSE 378:递归神经网络,注意力和阅读理解 警告:我们仅在Python 3.6上测试过此代码! 您可以使用python --version检查您的Python python --version 。 目录 安装 要在该项目中运行代码,您需要使用Python 3.6。 这是因为我们依赖 ,后者仅适用于Python 3.6 将使用用于开发的Python的确切版本以及运行代码所需的所有依赖关系来建立虚拟环境。 。 将目录更改为该存储库的克隆。 cd cs378_RNN 使用Python 3创建一个Conda环境。 conda create -n cs378_RNN python=3.6 现在激活Conda环境。 您将需要在每个要在此仓库中运行代码的终端中激活Conda环境。 source activate cs378_RNN 安装所需的依赖项。 pip install -r r
【文件预览】:
NLP_Passage1-main
----train_model.py(22KB)
----requirements.txt(310B)
----LICENSE(1KB)
----.DS_Store(6KB)
----rnn_attention_rc()
--------templates()
--------__init__.py(0B)
--------models()
--------.DS_Store(6KB)
--------__pycache__()
--------demo.py(2KB)
--------data.py(4KB)
----squad()
--------test_small.json(1.74MB)
--------train_small.json(16.39MB)
--------val_small.json(846KB)
----README.md(2KB)
----tests()
--------__init__.py(0B)
--------test_attention_rnn.py(2KB)
--------rnn_attn_rc_test_case.py(1KB)
--------README.md(218B)
--------__pycache__()
--------test_cbow.py(2KB)
--------test_rnn.py(2KB)
----pytest.ini(46B)
----.zip(308B)

网友评论