AAP-SQL R1 is the cross-encoder schema reranker used by the full AAP-SQL configuration. It scores the candidates returned by E2 and retains the top 10 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
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-R1")
scores = model.predict([("user question", "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-R1 on huggingface.co
34
Total runs
0
24-hour runs
2
3-day runs
2
7-day runs
13
30-day runs
More Information About AAP-SQL-R1 huggingface.co Model
AAP-SQL-R1 huggingface.co
AAP-SQL-R1 huggingface.co is an AI model on huggingface.co that provides AAP-SQL-R1's model effect (), which can be used instantly with this TommyPanLab AAP-SQL-R1 model. huggingface.co supports a free trial of the AAP-SQL-R1 model, and also provides paid use of the AAP-SQL-R1. Support call AAP-SQL-R1 model through api, including Node.js, Python, http.
AAP-SQL-R1 huggingface.co is an online trial and call api platform, which integrates AAP-SQL-R1's modeling effects, including api services, and provides a free online trial of AAP-SQL-R1, you can try AAP-SQL-R1 online for free by clicking the link below.
TommyPanLab AAP-SQL-R1 online free url in huggingface.co:
AAP-SQL-R1 is an open source model from GitHub that offers a free installation service, and any user can find AAP-SQL-R1 on GitHub to install. At the same time, huggingface.co provides the effect of AAP-SQL-R1 install, users can directly use AAP-SQL-R1 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.