Sentence ordering using pointer network
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
all_data
final_save
Config.py
README.md
TfUtils.py
__init__.py
helper.py
model.py
myRNN.py

README.md

SentenceOrdering_PTR

Sentence ordering using pointer network

how to get it to work

after data retrieved in all_data directory, and embedding files put in all_data/embed directory as specified. run:

python model.py --load-config --weight-path ./final_save/lstm

python model.py --load-config --weight-path ./final_save/cbow

python model.py --load-config --weight-path ./final_save/cnn

threre are default config files in ./final_save/<model> dir. you can run:

python model.py --weight-path ./your/save/path

to generate config file and modify it as you want. then run:

python model.py --load-config --weight-path ./your/save/path

to run the model you configured through modifying config file