microsoft / rat-sql

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

embedding of the edges #39

Closed yuxiaoxin closed 2 years ago

yuxiaoxin commented 3 years ago

in the paper, you only said that the edge is a learned embedding for the relation, Can you explain in detail how the embedding is obtained? glove, BiLSTM,or the similarity of the two nodes. thank you.

berlino commented 3 years ago

It's a embedding table that maps a discrete relation to a vector, the same as typical word embedding that we are familiar with.