beaunix commited on
Commit
0feb659
·
verified ·
1 Parent(s): 095680c

add README.md

Browse files
Files changed (1) hide show
  1. README.md +22 -11
README.md CHANGED
@@ -1,17 +1,28 @@
1
  ---
2
- title: Aegis Sql
3
- emoji: 💬
4
- colorFrom: yellow
5
- colorTo: purple
6
  sdk: gradio
7
- sdk_version: 6.5.1
8
  app_file: app.py
9
  pinned: false
10
- hf_oauth: true
11
- hf_oauth_scopes:
12
- - inference-api
13
- license: mit
14
- short_description: Fine tuned Qwen2.5-7B as SQL Query DB Expert
15
  ---
16
 
17
- An example chatbot using [Gradio](https://gradio.app), [`huggingface_hub`](https://huggingface.co/docs/huggingface_hub/v0.22.2/en/index), and the [Hugging Face Inference API](https://huggingface.co/docs/api-inference/index).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ title: Aegis-SQL
3
+ emoji: "\U0001F5C4"
4
+ colorFrom: blue
5
+ colorTo: gray
6
  sdk: gradio
7
+ sdk_version: 5.9.1
8
  app_file: app.py
9
  pinned: false
10
+ short_description: Natural language to SQL. Qwen2.5-Coder-7B QLoRA fine-tune.
 
 
 
 
11
  ---
12
 
13
+ # Aegis-SQL
14
+
15
+ A QLoRA fine-tune of Qwen2.5-Coder-7B-Instruct for text-to-SQL. Paste a
16
+ database schema (DDL), ask a question in plain English, and read the
17
+ generated SQL query.
18
+
19
+ Trained on a curated, deduplicated, executability-filtered mix of Spider,
20
+ BIRD, and sql-create-context, with schema linking applied so each prompt
21
+ carries only the tables the query needs.
22
+
23
+ Runtime: transformers + BitsAndBytes 4-bit on ZeroGPU. A GGUF Q4_K_M
24
+ build of the same model lives under `gguf/` in the model repo
25
+ (`beaunix/aegis-sql`) for llama.cpp use.
26
+
27
+ This is a research demo. Verify any generated SQL before running it
28
+ against real data.