beader/tianchi_nl2sql
追一科技首届中文NL2SQL挑战赛决赛第3名方案+代码
Implements a two-stage BERT-based architecture that decomposes SQL generation into distinct prediction tasks: Model 1 predicts selected columns and WHERE clause conditions using Chinese BERT-wwm embeddings with column type tokens, while Model 2 enumerates candidate condition-value pairs and frames them as binary classification problems. The approach reformulates the SQL output structure by merging aggregation operations with column selection and separating condition operators from values, enabling more granular modeling of each SQL component.
559 stars. No commits in the last 6 months.
Stars
559
Forks
148
Language
Jupyter Notebook
License
—
Category
Last pushed
Nov 22, 2024
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/nlp/beader/tianchi_nl2sql"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
ShawnyXiao/2017-CCF-BDCI-AIJudge
2017-CCF-BDCI-让AI当法官(初赛):7th/415 (Top 1.68%)
ShawnyXiao/2018-DC-DataGrand-TextIntelProcess
2018-DC-“达观杯”文本智能处理挑战赛:冠军 (1st/3131)
rogeroyer/2019-CCF-BDCI-Finance-Information-Negative-Judgment
top1-solution
zhanzecheng/SOHU_competition
Sohu's 2018 content recognition competition 1st solution(搜狐内容识别大赛第一名解决方案)
zzy99/epidemic-sentence-pair
天池 疫情相似句对判定大赛 线上第一名方案