TommyPanLab / AAP-SQL-E2

huggingface.co
Total runs: 75
24-hour runs: 0
7-day runs: 24
30-day runs: 56
Model's Last Updated: July 21 2026
sentence-similarity

Introduction of AAP-SQL-E2

Model Details of AAP-SQL-E2

AAP-SQL E2 column retriever

AAP-SQL E2 是完整 AAP-SQL 設定中的雙編碼欄位檢索器。它先從資料庫 schema 中取回 50 個候選欄位,再交給 R1 cross-encoder 重排。

AAP-SQL E2 is the bi-encoder column retriever used by the full AAP-SQL configuration. It retrieves 50 schema-column candidates before the R1 cross-encoder reranks them.

Model details
  • Base model: sentence-transformers/all-mpnet-base-v2
  • Training objective: MultipleNegativesRankingLoss
  • Training seed: 42
  • Training data: column-retrieval examples derived from the BIRD training split and schema descriptions
  • Expected library: sentence-transformers>=5.1.2
Use with AAP-SQL

Download this repository into the path expected by the final runner:

hf download TommyPanLab/AAP-SQL-E2 --local-dir models/column_retriever_v3_paper_earlystop

Direct loading:

from sentence_transformers import SentenceTransformer

model = SentenceTransformer("TommyPanLab/AAP-SQL-E2")
embeddings = model.encode(["table.column: column description"])

The complete pipeline, required BIRD directory layout, and Gemini 3.1 result are documented in the AAP-SQL publication branch .

Data and license notice

The training examples were derived from the BIRD benchmark. Review the BIRD project terms before using the model. No additional license has been declared for these fine-tuned weights; the upstream model and dataset terms still apply.

Runs of TommyPanLab AAP-SQL-E2 on huggingface.co

75
Total runs
0
24-hour runs
2
3-day runs
24
7-day runs
56
30-day runs

More Information About AAP-SQL-E2 huggingface.co Model

AAP-SQL-E2 huggingface.co

AAP-SQL-E2 huggingface.co is an AI model on huggingface.co that provides AAP-SQL-E2's model effect (), which can be used instantly with this TommyPanLab AAP-SQL-E2 model. huggingface.co supports a free trial of the AAP-SQL-E2 model, and also provides paid use of the AAP-SQL-E2. Support call AAP-SQL-E2 model through api, including Node.js, Python, http.

TommyPanLab AAP-SQL-E2 online free

AAP-SQL-E2 huggingface.co is an online trial and call api platform, which integrates AAP-SQL-E2's modeling effects, including api services, and provides a free online trial of AAP-SQL-E2, you can try AAP-SQL-E2 online for free by clicking the link below.

TommyPanLab AAP-SQL-E2 online free url in huggingface.co:

https://huggingface.co/TommyPanLab/AAP-SQL-E2

AAP-SQL-E2 install

AAP-SQL-E2 is an open source model from GitHub that offers a free installation service, and any user can find AAP-SQL-E2 on GitHub to install. At the same time, huggingface.co provides the effect of AAP-SQL-E2 install, users can directly use AAP-SQL-E2 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

AAP-SQL-E2 install url in huggingface.co:

https://huggingface.co/TommyPanLab/AAP-SQL-E2

Url of AAP-SQL-E2

Provider of AAP-SQL-E2 huggingface.co

TommyPanLab
ORGANIZATIONS

Other API from TommyPanLab