X-LANCE / text2sql-lgesql

[ACL 2021] This is the project containing source codes and pre-trained models about ACL2021 Long Paper ``LGESQL: Line Graph Enhanced Text-to-SQL Model with Mixed Local and Non-Local Relations".
https://arxiv.org/abs/2106.01093
Apache License 2.0
146 stars 37 forks source link

支持cspider数据集训练 #22

Open szj2ys opened 1 year ago

szj2ys commented 1 year ago

我想用lgesql在中文数据集cspider上训练,我要怎么做呢?

rhythmcao commented 1 year ago

Two schemes:

  1. Use an off-the-shelf translator to translate Chinese question into English, and directly apply the model.
  2. Use a multi-lingual PLM to replace BERT. Notice that the schema linking strategy in preprocessing script should be revised to support cross-lingual matching, or use nomatch as a baseline.