AAP-SQL column retriever is the bi-encoder used in the full AAP-SQL workflow. It performs the first stage of schema retrieval and returns up to 50 candidate columns for candidate reranking.
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
AAP-SQL publication branch
The complete AAP-SQL workflow, research method terminology, BIRD directory layout, and reproduction instructions are maintained in the
GitHub publication branch
.
Use with AAP-SQL
Download this repository into the path expected by the final runner:
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("TommyPanLab/AAP-SQL-Column-Retriever")
embeddings = model.encode(["table.column: column description"])
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-Column-Retriever on huggingface.co
91
Total runs
14
24-hour runs
12
3-day runs
20
7-day runs
-15
30-day runs
More Information About AAP-SQL-Column-Retriever huggingface.co Model
AAP-SQL-Column-Retriever huggingface.co
AAP-SQL-Column-Retriever huggingface.co is an AI model on huggingface.co that provides AAP-SQL-Column-Retriever's model effect (), which can be used instantly with this TommyPanLab AAP-SQL-Column-Retriever model. huggingface.co supports a free trial of the AAP-SQL-Column-Retriever model, and also provides paid use of the AAP-SQL-Column-Retriever. Support call AAP-SQL-Column-Retriever model through api, including Node.js, Python, http.
AAP-SQL-Column-Retriever huggingface.co is an online trial and call api platform, which integrates AAP-SQL-Column-Retriever's modeling effects, including api services, and provides a free online trial of AAP-SQL-Column-Retriever, you can try AAP-SQL-Column-Retriever online for free by clicking the link below.
TommyPanLab AAP-SQL-Column-Retriever online free url in huggingface.co:
AAP-SQL-Column-Retriever is an open source model from GitHub that offers a free installation service, and any user can find AAP-SQL-Column-Retriever on GitHub to install. At the same time, huggingface.co provides the effect of AAP-SQL-Column-Retriever install, users can directly use AAP-SQL-Column-Retriever installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
AAP-SQL-Column-Retriever install url in huggingface.co: