AAP-SQL candidate reranker is the cross-encoder used after the first stage of schema retrieval. It scores the retrieved candidate columns and retains the top 10 core columns for prompt augmentation.
Model details
Base model: cross-encoder/ms-marco-MiniLM-L6-v2
Training objective: BinaryCrossEntropyLoss
Training seed: 42
Training data: schema-ranking 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 CrossEncoder
model = CrossEncoder("TommyPanLab/AAP-SQL-Candidate-Reranker")
scores = model.predict([ ("user question", "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-Candidate-Reranker on huggingface.co
39
Total runs
1
24-hour runs
2
3-day runs
16
7-day runs
21
30-day runs
More Information About AAP-SQL-Candidate-Reranker huggingface.co Model
AAP-SQL-Candidate-Reranker huggingface.co
AAP-SQL-Candidate-Reranker huggingface.co is an AI model on huggingface.co that provides AAP-SQL-Candidate-Reranker's model effect (), which can be used instantly with this TommyPanLab AAP-SQL-Candidate-Reranker model. huggingface.co supports a free trial of the AAP-SQL-Candidate-Reranker model, and also provides paid use of the AAP-SQL-Candidate-Reranker. Support call AAP-SQL-Candidate-Reranker model through api, including Node.js, Python, http.
AAP-SQL-Candidate-Reranker huggingface.co is an online trial and call api platform, which integrates AAP-SQL-Candidate-Reranker's modeling effects, including api services, and provides a free online trial of AAP-SQL-Candidate-Reranker, you can try AAP-SQL-Candidate-Reranker online for free by clicking the link below.
TommyPanLab AAP-SQL-Candidate-Reranker online free url in huggingface.co:
AAP-SQL-Candidate-Reranker is an open source model from GitHub that offers a free installation service, and any user can find AAP-SQL-Candidate-Reranker on GitHub to install. At the same time, huggingface.co provides the effect of AAP-SQL-Candidate-Reranker install, users can directly use AAP-SQL-Candidate-Reranker installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
AAP-SQL-Candidate-Reranker install url in huggingface.co: