seq2seq:这是带有Tensorflow 2的seq2seq模型结构-源码

上传者: 42102220 | 上传时间: 2021-04-23 15:36:38 | 文件大小: 389KB | 文件类型: ZIP
seq2seq 这是Tensorflow 2的seq2seq模型结构。 有三种模型架构,RNNSeq2Seq,RNNSeq2SeqWithAttention,TransformerSeq2Seq。 该存储库包含训练,评估,推断,转换为保存的模型格式脚本。 火车 例子 您可以通过运行以下脚本开始培训 $ python -m scripts.train \ --dataset-path " data/*.txt " \ --batch-size 2048 --dev-batch-size 2048 \ --epoch 90 --steps-per-epoch 250 --auto-encoding \ --learning-rate 2e-4 \ --device gpu \ --tensorboard-update-freq 50 --model-name Transformer

文件下载

资源详情

[{"title":"( 31 个子文件 389KB ) seq2seq:这是带有Tensorflow 2的seq2seq模型结构-源码","children":[{"title":"seq2seq-master","children":[{"title":"requirements-dev.txt <span style='color:#111;'> 38B </span>","children":null,"spread":false},{"title":"pyproject.toml <span style='color:#111;'> 135B </span>","children":null,"spread":false},{"title":"tests","children":[{"title":"test_utils.py <span style='color:#111;'> 499B </span>","children":null,"spread":false},{"title":"test_data.py <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"data","children":[{"title":"sample_dataset.tsv <span style='color:#111;'> 439B </span>","children":null,"spread":false}],"spread":true},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"test_layer.py <span style='color:#111;'> 3.21KB </span>","children":null,"spread":false},{"title":"test_search.py <span style='color:#111;'> 1.19KB </span>","children":null,"spread":false},{"title":"test_model.py <span style='color:#111;'> 883B </span>","children":null,"spread":false}],"spread":true},{"title":"resources","children":[{"title":"sp-model","children":[{"title":"sp_model_unigram_16K.vocab <span style='color:#111;'> 277.31KB </span>","children":null,"spread":false},{"title":"sp_model_unigram_16K.model <span style='color:#111;'> 495.88KB </span>","children":null,"spread":false}],"spread":true},{"title":"configs","children":[{"title":"rnn.json <span style='color:#111;'> 155B </span>","children":null,"spread":false},{"title":"rnn-attention.json <span style='color:#111;'> 155B </span>","children":null,"spread":false},{"title":"transformer.json <span style='color:#111;'> 259B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"seq2seq","children":[{"title":"layer.py <span style='color:#111;'> 9.47KB </span>","children":null,"spread":false},{"title":"utils.py <span style='color:#111;'> 2.77KB </span>","children":null,"spread":false},{"title":"search.py <span style='color:#111;'> 8.19KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 105B </span>","children":null,"spread":false},{"title":"model.py <span style='color:#111;'> 11.91KB </span>","children":null,"spread":false},{"title":"data.py <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false}],"spread":true},{"title":"requirements.txt <span style='color:#111;'> 58B </span>","children":null,"spread":false},{"title":"setup.py <span style='color:#111;'> 359B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 298B </span>","children":null,"spread":false},{"title":".circleci","children":[{"title":"config.yml <span style='color:#111;'> 1.78KB </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 10.29KB </span>","children":null,"spread":false},{"title":"scripts","children":[{"title":"inference.py <span style='color:#111;'> 4.49KB </span>","children":null,"spread":false},{"title":"train.py <span style='color:#111;'> 6.65KB </span>","children":null,"spread":false},{"title":"convert_to_savedmodel.py <span style='color:#111;'> 4.94KB </span>","children":null,"spread":false},{"title":"evaluate.py <span style='color:#111;'> 4.86KB </span>","children":null,"spread":false}],"spread":true},{"title":".vscode","children":[{"title":"settings.json <span style='color:#111;'> 202B </span>","children":null,"spread":false},{"title":"extensions.json <span style='color:#111;'> 62B </span>","children":null,"spread":false}],"spread":true}],"spread":false}],"spread":true}]

评论信息

免责申明

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