Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NL2SQL复现X-SQL问题 #24

Open
ningshixian opened this issue Dec 2, 2019 · 0 comments
Open

NL2SQL复现X-SQL问题 #24

ningshixian opened this issue Dec 2, 2019 · 0 comments

Comments

@ningshixian
Copy link

苏神你好:

我想请教一个问题,我在您的代码基础上,想复现X-SQL....
遇到一个问题:X-SQL中有一个Context Reinforcing Layer,它利用Context Embedding全局向量来对表头向量列表[...]逐一作Attention和残差计算。您的代码中是取列名[CLS]所在位置的向量拼接然后分类,而我希望的是将全局向量hctx和每一个表头的不定长向量输出做一个attention,那么问题来了,batch_gather该如何设计呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant