File size: 840 Bytes
08de7c6
0feb659
 
 
 
08de7c6
0feb659
08de7c6
 
0feb659
08de7c6
 
0feb659
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
---
title: Aegis-SQL
emoji: "\U0001F5C4"
colorFrom: blue
colorTo: gray
sdk: gradio
sdk_version: 5.9.1
app_file: app.py
pinned: false
short_description: Natural language to SQL. Qwen2.5-Coder-7B QLoRA fine-tune.
---

# Aegis-SQL

A QLoRA fine-tune of Qwen2.5-Coder-7B-Instruct for text-to-SQL. Paste a
database schema (DDL), ask a question in plain English, and read the
generated SQL query.

Trained on a curated, deduplicated, executability-filtered mix of Spider,
BIRD, and sql-create-context, with schema linking applied so each prompt
carries only the tables the query needs.

Runtime: transformers + BitsAndBytes 4-bit on ZeroGPU. A GGUF Q4_K_M
build of the same model lives under `gguf/` in the model repo
(`beaunix/aegis-sql`) for llama.cpp use.

This is a research demo. Verify any generated SQL before running it
against real data.