Skip to content

seq2seq with pgn optimizes the oov and repeated problems

Notifications You must be signed in to change notification settings

xjiao004/seq2seq2-pgn-cn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Seq2Seq-PGN-cn

Installation

conda create -n tfTrain python=3.6

pip install tf-nightly-gpu

pip install -r requirements.txt

Training seq2seq model

set args.evaluate=False, run:

python train_attention.py

Test seq2seq model

set args.evaluate=True, run:

python train_attention.py

PGN

模型改进加入PGN后,训练:python train_pgn.py

测试即将train_pgn.py中的mode设置为test。

About

seq2seq with pgn optimizes the oov and repeated problems

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages