DataPilot V6 - Models
Collection
LoRA adapter for DataPilot V6 NL-to-SQL agent (Lexsi hackathon, Track 3, Problem 6) โข 1 item โข Updated
How to use Yogi016/datapilot-v6-tiny-aya-sql-grpo-lora with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("CohereLabs/tiny-aya-global")
model = PeftModel.from_pretrained(base_model, "Yogi016/datapilot-v6-tiny-aya-sql-grpo-lora")LoRA adapter (r=16) trained with GRPO (TRL 1.7.1) on top of CohereLabs/tiny-aya-global (3.35B),
using a reward that executes the generated SQL read-only and compares result sets to a gold query.
Lexsi AI hackathon, Track 3, Problem 6 (Data and Database Agents).
| Split | n | Base execution accuracy | Tuned execution accuracy | Paired McNemar p |
|---|---|---|---|---|
| test_iid | 51 | 0.608 | 0.824 | 0.001 |
| test_novel | 17 | 0.353 | 0.471 | 0.625 (not significant) |
Synthetic business database, template-generated questions, one training run, one seed.
Base model license: see the base model's card (you must accept its terms to use it).
Code: code/. Data: Yogi016/datapilot-v6-sql-benchmark. Logs and eval trajectories: Yogi016/datapilot-v6-trajectories-and-logs.