- 模型参数设置:epoch number: 10 hidden_size=256 embedding_size=256
- 训练:将要训练的文本保存在data/train_data.txt,运行MyMain.py文件, mode设为train,训练模型保存在model文件夹中,训练日志保存在all.log。
- 测试:将要测试的文本保存为test_data.txt,运行MyMain.py文件时,mode设为test.测试结果保存在result.txt.
- 结果:由于数据量有限,因此本次数据测试结果的BLEU值只有0.46
-
Notifications
You must be signed in to change notification settings - Fork 0
qingyue2014/PytorchNMT
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published