Torch神经网络机器翻译系统OpenNMT.zip

上传者: 39840914 | 上传时间: 2024-04-12 14:25:16 | 文件大小: 4.64MB | 文件类型: ZIP
OpenNMT 是一个由 Harvard NLP (哈佛大学自然语言处理研究组) 开源的 Torch 神经网络机器翻译系统。OpenNMT 系统设计简单易用,易于扩展,同时保持效率和最先进的翻译精确度。特性:简单的通用接口,只需要源/目标文件。快速高性能GPU训练和内存优化。提高翻译性能的最新的研究成果。可配对多种语言的预训练模型(即将推出)。允许其他序列生成任务的拓展,如汇总和图文生成。快速开始:OpenNMT 包含三个命令1) 数据预处理th preprocess.lua -train_src data/src-train.txt -train_tgt data/tgt-train.txt -valid_src data/src-val.txt -valid_tgt data/tgt-val.txt -save_data data/demo2) 模型训练th train.lua -data data/demo-train.t7 -save_model model3) 语句翻译th translate.lua -model model_final.t7 -src data/src-test.txt -output pred.txt


标签:OpenNMT

文件下载

资源详情

[{"title":"( 284 个子文件 4.64MB ) Torch神经网络机器翻译系统OpenNMT.zip","children":[{"title":"extra.css <span style='color:#111;'> 603B </span>","children":null,"spread":false},{"title":"Dockerfile <span style='color:#111;'> 3.38KB </span>","children":null,"spread":false},{"title":".dockerignore <span style='color:#111;'> 16B </span>","children":null,"spread":false},{"title":".dokx <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"drule <span style='color:#111;'> 12B </span>","children":null,"spread":false},{"title":"codes_bothfix.fr <span style='color:#111;'> 5.95KB </span>","children":null,"spread":false},{"title":"codes_prefix.fr <span style='color:#111;'> 4.38KB </span>","children":null,"spread":false},{"title":"codes_suffix_case_insensitive.fr <span style='color:#111;'> 4.18KB </span>","children":null,"spread":false},{"title":"codes_nofix.fr <span style='color:#111;'> 2.88KB </span>","children":null,"spread":false},{"title":"fr500 <span style='color:#111;'> 3.41KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 21B </span>","children":null,"spread":false},{"title":"favicon.ico <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"dropout-type.jpg <span style='color:#111;'> 83.27KB </span>","children":null,"spread":false},{"title":"dropout.jpg <span style='color:#111;'> 62.69KB </span>","children":null,"spread":false},{"title":"version-select.js <span style='color:#111;'> 1.87KB </span>","children":null,"spread":false},{"title":"unidata.lua <span style='color:#111;'> 49.74KB </span>","children":null,"spread":false},{"title":"Preprocessor.lua <span style='color:#111;'> 41.27KB </span>","children":null,"spread":false},{"title":"SentenceNLLCriterion.lua <span style='color:#111;'> 21.07KB </span>","children":null,"spread":false},{"title":"ExtendedCmdLine.lua <span style='color:#111;'> 20.56KB </span>","children":null,"spread":false},{"title":"Translator.lua <span style='color:#111;'> 20.21KB </span>","children":null,"spread":false},{"title":"Decoder.lua <span style='color:#111;'> 19.83KB </span>","children":null,"spread":false},{"title":"Beam.lua <span style='color:#111;'> 18.25KB </span>","children":null,"spread":false},{"title":"TokenizerTest.lua <span style='color:#111;'> 16.10KB </span>","children":null,"spread":false},{"title":"Trainer.lua <span style='color:#111;'> 15.98KB </span>","children":null,"spread":false},{"title":"BeamSearcher.lua <span style='color:#111;'> 14.06KB </span>","children":null,"spread":false},{"title":"tokenizer.lua <span style='color:#111;'> 13.77KB </span>","children":null,"spread":false},{"title":"tercom.lua <span style='color:#111;'> 13.64KB </span>","children":null,"spread":false},{"title":"SampledDataset.lua <span style='color:#111;'> 12.21KB </span>","children":null,"spread":false},{"title":"embeddings.lua <span style='color:#111;'> 11.85KB </span>","children":null,"spread":false},{"title":"train.lua <span style='color:#111;'> 11.78KB </span>","children":null,"spread":false},{"title":"BatchTest.lua <span style='color:#111;'> 11.78KB </span>","children":null,"spread":false},{"title":"Batch.lua <span style='color:#111;'> 11.51KB </span>","children":null,"spread":false},{"title":"translate.lua <span style='color:#111;'> 11.00KB </span>","children":null,"spread":false},{"title":"learn_bpe.lua <span style='color:#111;'> 9.95KB </span>","children":null,"spread":false},{"title":"SeqTagger.lua <span style='color:#111;'> 9.57KB </span>","children":null,"spread":false},{"title":"Encoder.lua <span style='color:#111;'> 9.36KB </span>","children":null,"spread":false},{"title":"EncoderTest.lua <span style='color:#111;'> 8.96KB </span>","children":null,"spread":false},{"title":"BiEncoder.lua <span style='color:#111;'> 8.41KB </span>","children":null,"spread":false},{"title":"Optim.lua <span style='color:#111;'> 7.87KB </span>","children":null,"spread":false},{"title":"DecoderAdvancer.lua <span style='color:#111;'> 7.80KB </span>","children":null,"spread":false},{"title":"Factory.lua <span style='color:#111;'> 7.80KB </span>","children":null,"spread":false},{"title":"rest_multi_models.lua <span style='color:#111;'> 7.59KB </span>","children":null,"spread":false},{"title":"LM.lua <span style='color:#111;'> 6.98KB </span>","children":null,"spread":false},{"title":"Dict.lua <span style='color:#111;'> 6.80KB </span>","children":null,"spread":false},{"title":"Seq2Seq.lua <span style='color:#111;'> 6.62KB </span>","children":null,"spread":false},{"title":"PDBiEncoder.lua <span style='color:#111;'> 6.61KB </span>","children":null,"spread":false},{"title":"MemoryOptimizer.lua <span style='color:#111;'> 6.58KB </span>","children":null,"spread":false},{"title":"Vocabulary.lua <span style='color:#111;'> 6.48KB </span>","children":null,"spread":false},{"title":"restserver.lua <span style='color:#111;'> 6.18KB </span>","children":null,"spread":false},{"title":"BPE.lua <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false},{"title":"Saver.lua <span style='color:#111;'> 5.85KB </span>","children":null,"spread":false},{"title":"Tagger.lua <span style='color:#111;'> 5.76KB </span>","children":null,"spread":false},{"title":"rest_translation_server.lua <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"OptimTest.lua <span style='color:#111;'> 5.67KB </span>","children":null,"spread":false},{"title":"LanguageModel.lua <span style='color:#111;'> 5.57KB </span>","children":null,"spread":false},{"title":"DecoderTest.lua <span style='color:#111;'> 5.10KB </span>","children":null,"spread":false},{"title":"Parallel.lua <span style='color:#111;'> 5.09KB </span>","children":null,"spread":false},{"title":"unicode.lua <span style='color:#111;'> 4.94KB </span>","children":null,"spread":false},{"title":"BeamSearchTest.lua <span style='color:#111;'> 4.56KB </span>","children":null,"spread":false},{"title":"GRU.lua <span style='color:#111;'> 4.55KB </span>","children":null,"spread":false},{"title":"AliasMultinomial.lua <span style='color:#111;'> 4.42KB </span>","children":null,"spread":false},{"title":"Cuda.lua <span style='color:#111;'> 4.36KB </span>","children":null,"spread":false},{"title":"FeaturesTest.lua <span style='color:#111;'> 4.28KB </span>","children":null,"spread":false},{"title":"Profiler.lua <span style='color:#111;'> 4.23KB </span>","children":null,"spread":false},{"title":"TensorTest.lua <span style='color:#111;'> 4.17KB </span>","children":null,"spread":false},{"title":"Logger.lua <span style='color:#111;'> 4.16KB </span>","children":null,"spread":false},{"title":"generate_metadata.lua <span style='color:#111;'> 4.12KB </span>","children":null,"spread":false},{"title":"PreprocessorTest.lua <span style='color:#111;'> 4.10KB </span>","children":null,"spread":false},{"title":"JoinReplicateTable.lua <span style='color:#111;'> 4.09KB </span>","children":null,"spread":false},{"title":"ExtendedCmdLineTest.lua <span style='color:#111;'> 4.03KB </span>","children":null,"spread":false},{"title":"Tensor.lua <span style='color:#111;'> 4.02KB </span>","children":null,"spread":false},{"title":"Model.lua <span style='color:#111;'> 3.99KB </span>","children":null,"spread":false},{"title":"VocabularyTest.lua <span style='color:#111;'> 3.97KB </span>","children":null,"spread":false},{"title":"launch.lua <span style='color:#111;'> 3.92KB </span>","children":null,"spread":false},{"title":"LSTM.lua <span style='color:#111;'> 3.85KB </span>","children":null,"spread":false},{"title":"CNNEncoder.lua <span style='color:#111;'> 3.84KB </span>","children":null,"spread":false},{"title":"Dataset.lua <span style='color:#111;'> 3.75KB </span>","children":null,"spread":false},{"title":"score.lua <span style='color:#111;'> 3.67KB </span>","children":null,"spread":false},{"title":"tag.lua <span style='color:#111;'> 3.67KB </span>","children":null,"spread":false},{"title":"preprocess.lua <span style='color:#111;'> 3.65KB </span>","children":null,"spread":false},{"title":"GoogleEncoder.lua <span style='color:#111;'> 3.40KB </span>","children":null,"spread":false},{"title":"DictTest.lua <span style='color:#111;'> 3.26KB </span>","children":null,"spread":false},{"title":"TableTest.lua <span style='color:#111;'> 3.16KB </span>","children":null,"spread":false},{"title":"Sequencer.lua <span style='color:#111;'> 3.02KB </span>","children":null,"spread":false},{"title":"FileReader.lua <span style='color:#111;'> 3.00KB </span>","children":null,"spread":false},{"title":"apply_embeddings.lua <span style='color:#111;'> 2.99KB </span>","children":null,"spread":false},{"title":"bleu.lua <span style='color:#111;'> 2.99KB </span>","children":null,"spread":false},{"title":"TranslationEvaluator.lua <span style='color:#111;'> 2.95KB </span>","children":null,"spread":false},{"title":"tokenize.lua <span style='color:#111;'> 2.90KB </span>","children":null,"spread":false},{"title":"case.lua <span style='color:#111;'> 2.87KB </span>","children":null,"spread":false},{"title":"DynamicDataset.lua <span style='color:#111;'> 2.86KB </span>","children":null,"spread":false},{"title":"Features.lua <span style='color:#111;'> 2.83KB </span>","children":null,"spread":false},{"title":"GlobalAttention.lua <span style='color:#111;'> 2.78KB </span>","children":null,"spread":false},{"title":"release_model.lua <span style='color:#111;'> 2.78KB </span>","children":null,"spread":false},{"title":"SampledVocabDataset.lua <span style='color:#111;'> 2.76KB </span>","children":null,"spread":false},{"title":"average_models.lua <span style='color:#111;'> 2.75KB </span>","children":null,"spread":false},{"title":"Advancer.lua <span style='color:#111;'> 2.73KB </span>","children":null,"spread":false},{"title":"StringTest.lua <span style='color:#111;'> 2.72KB </span>","children":null,"spread":false},{"title":"HookManagerTest.lua <span style='color:#111;'> 2.63KB </span>","children":null,"spread":false},{"title":"Generator.lua <span style='color:#111;'> 2.59KB </span>","children":null,"spread":false},{"title":"......","children":null,"spread":false},{"title":"<span style='color:steelblue;'>文件过多,未全部展示</span>","children":null,"spread":false}],"spread":true}]

评论信息

免责申明

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