Att-LSTM:Att-LSTM和分层式Att-LSTM-源码

上传者: 42146230 | 上传时间: 2021-06-25 17:10:01 | 文件大小: 13.3MB | 文件类型: ZIP
Att-LSTM的示意图 分层式Att-LSTM的示意图 要求 的Python 3.5.2 数据集 Hochreiter&Schmidhuber提出了“添加问题”,并随机创建数据集。 手写数字分类(MNIST)的顺序版本,由tensorflow下载。 数据集是最常见的问题分类。 MSQC数据集是从提取的。 用法 训练模式 添加问题用法python test_add.py 棉选项 batch_size :批量大小。 默认值为20。 step_size :输入的长度,在我的论文中称为T。 在{100,200,400,600}中检查该值。 input_size :输入的维数。 预设值为2。 output_size :输出的尺寸。 默认值为1。 unit_size :隐藏的单位数。 默认值为100。 learning_rate :学习率。 默认值为0.001。 epoch_n

文件下载

资源详情

[{"title":"( 63 个子文件 13.3MB ) Att-LSTM:Att-LSTM和分层式Att-LSTM-源码","children":[{"title":"Att-LSTM-master","children":[{"title":"test_mnist.py <span style='color:#111;'> 6.23KB </span>","children":null,"spread":false},{"title":"models","children":[{"title":"hier_qc.py <span style='color:#111;'> 11.54KB </span>","children":null,"spread":false},{"title":"__pycache__","children":[{"title":"arnn.cpython-35.pyc <span style='color:#111;'> 9.01KB </span>","children":null,"spread":false},{"title":"__init__.cpython-35.pyc <span style='color:#111;'> 120B </span>","children":null,"spread":false},{"title":"hier_qc.cpython-35.pyc <span style='color:#111;'> 8.41KB </span>","children":null,"spread":false},{"title":"model.cpython-35.pyc <span style='color:#111;'> 2.06KB </span>","children":null,"spread":false}],"spread":true},{"title":"__init__.py <span style='color:#111;'> 14B </span>","children":null,"spread":false},{"title":"model.py <span style='color:#111;'> 1.66KB </span>","children":null,"spread":false},{"title":"arnn.py <span style='color:#111;'> 10.51KB </span>","children":null,"spread":false}],"spread":true},{"title":"images","children":[{"title":"Add_T400.jpg <span style='color:#111;'> 29.01KB </span>","children":null,"spread":false},{"title":"hierarchical.jpg <span style='color:#111;'> 74.59KB </span>","children":null,"spread":false},{"title":"MNIST.jpg <span style='color:#111;'> 25.64KB </span>","children":null,"spread":false},{"title":"Add_T600.jpg <span style='color:#111;'> 29.06KB </span>","children":null,"spread":false},{"title":"Add_T200.jpg <span style='color:#111;'> 30.94KB </span>","children":null,"spread":false},{"title":"Add_T100.jpg <span style='color:#111;'> 25.11KB </span>","children":null,"spread":false},{"title":"pMNIST.jpg <span style='color:#111;'> 22.57KB </span>","children":null,"spread":false},{"title":"attlstm.jpg <span style='color:#111;'> 27.65KB </span>","children":null,"spread":false}],"spread":true},{"title":"data","children":[{"title":"add","children":[{"title":"data","children":[{"title":"ReadMe <span style='color:#111;'> 114B </span>","children":null,"spread":false}],"spread":true},{"title":"create_data.py <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false},{"title":"__pycache__","children":[{"title":"__init__.cpython-35.pyc <span style='color:#111;'> 122B </span>","children":null,"spread":false},{"title":"batch_loader.cpython-35.pyc <span style='color:#111;'> 3.38KB </span>","children":null,"spread":false}],"spread":true},{"title":"batch_loader.py <span style='color:#111;'> 3.58KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 14B </span>","children":null,"spread":false}],"spread":true},{"title":"msqc","children":[{"title":"__pycache__","children":[{"title":"__init__.cpython-35.pyc <span style='color:#111;'> 123B </span>","children":null,"spread":false},{"title":"batch_loader.cpython-35.pyc <span style='color:#111;'> 6.80KB </span>","children":null,"spread":false}],"spread":true},{"title":"batch_loader.py <span style='color:#111;'> 9.28KB </span>","children":null,"spread":false},{"title":"vocab.pkl <span style='color:#111;'> 965.05KB </span>","children":null,"spread":false},{"title":"test.txt <span style='color:#111;'> 441.51KB </span>","children":null,"spread":false},{"title":"train.txt <span style='color:#111;'> 3.70MB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 14B </span>","children":null,"spread":false},{"title":"create_msqc.py <span style='color:#111;'> 439B </span>","children":null,"spread":false}],"spread":true},{"title":"mnist","children":[{"title":"t10k-images-idx3-ubyte.gz <span style='color:#111;'> 1.57MB </span>","children":null,"spread":false},{"title":"t10k-labels-idx1-ubyte.gz <span style='color:#111;'> 4.44KB </span>","children":null,"spread":false},{"title":"train-labels-idx1-ubyte.gz <span style='color:#111;'> 28.20KB </span>","children":null,"spread":false},{"title":"train-images-idx3-ubyte.gz <span style='color:#111;'> 9.45MB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"result","children":[{"title":"add","children":[{"title":"add_lstm_100.pkl <span style='color:#111;'> 115.58KB </span>","children":null,"spread":false},{"title":"add_arnn_200.pkl <span style='color:#111;'> 17.73KB </span>","children":null,"spread":false},{"title":"add_rnn_400.pkl <span style='color:#111;'> 26.90KB </span>","children":null,"spread":false},{"title":"add_rnn_200.pkl <span style='color:#111;'> 17.73KB </span>","children":null,"spread":false},{"title":"ReadMe <span style='color:#111;'> 46B </span>","children":null,"spread":false},{"title":"add_arnn_600.pkl <span style='color:#111;'> 23.85KB </span>","children":null,"spread":false},{"title":"add_arnn_400.pkl <span style='color:#111;'> 23.85KB </span>","children":null,"spread":false},{"title":"add_lstm_600.pkl <span style='color:#111;'> 29.96KB </span>","children":null,"spread":false},{"title":"add_rnn_100.pkl <span style='color:#111;'> 11.62KB </span>","children":null,"spread":false},{"title":"add_lstm_200.pkl <span style='color:#111;'> 23.85KB </span>","children":null,"spread":false},{"title":"add_arnn_100.pkl <span style='color:#111;'> 11.62KB </span>","children":null,"spread":false},{"title":"plot.py <span style='color:#111;'> 1.85KB </span>","children":null,"spread":false},{"title":"add_rnn_600.pkl <span style='color:#111;'> 29.96KB </span>","children":null,"spread":false},{"title":"add_lstm_400.pkl <span style='color:#111;'> 29.96KB </span>","children":null,"spread":false}],"spread":false},{"title":"msqc","children":[{"title":"msqc_arnn_k2.pkl <span style='color:#111;'> 6.01KB </span>","children":null,"spread":false},{"title":"ReadMe <span style='color:#111;'> 34B </span>","children":null,"spread":false},{"title":"plot.py <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false}],"spread":true},{"title":"mnist","children":[{"title":"mnist_arnn_k8.pkl <span style='color:#111;'> 14.46KB </span>","children":null,"spread":false},{"title":"ReadMe <span style='color:#111;'> 35B </span>","children":null,"spread":false},{"title":"mnist_lstm.pkl <span style='color:#111;'> 29.66KB </span>","children":null,"spread":false},{"title":"plot.py <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false}],"spread":true},{"title":"pmnist","children":[{"title":"pmnist_lstm.pkl <span style='color:#111;'> 110.92KB </span>","children":null,"spread":false},{"title":"ReadMe <span style='color:#111;'> 36B </span>","children":null,"spread":false},{"title":"pmnist_arnn_k8.pkl <span style='color:#111;'> 80.76KB </span>","children":null,"spread":false},{"title":"plot.py <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"test_pmnist.py <span style='color:#111;'> 6.94KB </span>","children":null,"spread":false},{"title":"test_add.py <span style='color:#111;'> 5.15KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 5.85KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

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