hugochan / RL-based-Graph2Seq-for-NQG

Code & data accompanying the ICLR 2020 paper "Reinforcement Learning Based Graph-to-Sequence Model for Natural Question Generation"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Transformer2Seq not found

keerthana1512 opened this issue · comments

from .models.transformer2seq import Transformer2Seq
ModuleNotFoundError: No module named 'core.models.transformer2seq'

It would really help me if you could look into this. Thank you.

from .models.transformer2seq import Transformer2Seq
ModuleNotFoundError: No module named 'core.models.transformer2seq'

It would really help me if you could look into this. Thank you.

Thank you for your interest to our work! The Transformer2Seq code was actually not used. So you can simple delete this line. I have pushed a new commit to fix this. Please check out the latest code.

FYI, to use transformer-based seq2seq, please check out this open source implementation: http://opennmt.net/OpenNMT-py/FAQ.html#how-do-i-use-the-transformer-model

Okay. Thank you.