microsoft / rat-sql

A relation-aware semantic parsing model from English to SQL
https://arxiv.org/abs/1911.04942
MIT License
405 stars 117 forks source link

initial state of the decoder #28

Open zhuang-li opened 4 years ago

zhuang-li commented 4 years ago

Hi, I looked into the code of RATSQL. It seems the initial state of the decoder is zero instead of the end state of the questions.

Am I understanding this part clearly? Is there any specific reason you don't follow traditional seq2seq that the initial state of the decoder is the end state of the question?