Skip to content

The code repo for paper <Two Heads Are Better Than One: Exploiting Both Sequence and Graph Models in AMR-To-Text Generation>

Notifications You must be signed in to change notification settings

hyn0027/DualGen

Repository files navigation

DualGen

The code repo for Two Heads Are Better Than One: Exploiting Both Sequence and Graph Models in AMR-To-Text Generation.

get silver data

cd pre-training
pip install -r requirements.txt
pip install amrlib

change the path in get_data.sh

sh get_data.sh

silver data in silver_data/training/ available

preprocess

cd fairseq

change the path in preprocess.sh

sh preprocess.sh

pre-training

cd fairseq

change the path in pre-train.sh

sh pre-train.sh

fine-tune

cd fairseq

change the path in fine-tune.sh

sh fine-tune.sh

train without pre-training

cd fairseq

change the path in train.sh

sh train.sh

About

The code repo for paper <Two Heads Are Better Than One: Exploiting Both Sequence and Graph Models in AMR-To-Text Generation>

Resources

Stars

Watchers

Forks