beader/tianchi_nl2sql

追一科技首届中文NL2SQL挑战赛决赛第3名方案+代码

36
/ 100
Emerging

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.

No License Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 10 / 25
Maturity 1 / 25
Community 25 / 25

How are scores calculated?

Stars

559

Forks

148

Language

Jupyter Notebook

License

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.