aegis-sql / README.md
beaunix's picture
add README.md
0feb659 verified
|
Raw
History Blame Contribute Delete
840 Bytes

A newer version of the Gradio SDK is available: 6.22.0

Upgrade
metadata
title: Aegis-SQL
emoji: 🗄
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.