Skip to content

qingyue2014/PytorchNMT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PytorchNMT

  1. 模型参数设置:epoch number: 10 hidden_size=256 embedding_size=256
  2. 训练:将要训练的文本保存在data/train_data.txt,运行MyMain.py文件, mode设为train,训练模型保存在model文件夹中,训练日志保存在all.log。
  3. 测试:将要测试的文本保存为test_data.txt,运行MyMain.py文件时,mode设为test.测试结果保存在result.txt.
  4. 结果:由于数据量有限,因此本次数据测试结果的BLEU值只有0.46

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages