yashcse21 commited on
Commit
52ee4ee
·
verified ·
1 Parent(s): 87ee02a

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +21 -0
README.md ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: llama3.2
3
+ base_model: mlx-community/Llama-3.2-1B-Instruct-bf16
4
+ tags: [text-to-sql, lora, mlx, reasoning]
5
+ library_name: mlx
6
+ ---
7
+
8
+ # Text-to-SQL · adapters
9
+
10
+ MLX LoRA adapter fine-tuned from
11
+ `mlx-community/Llama-3.2-1B-Instruct-bf16` to turn a natural-language question + a `CREATE TABLE` schema into a
12
+ schema-faithful SQLite `SELECT` (reasoning models emit `Reasoning: … / SQL: …`).
13
+
14
+ ```python
15
+ # download the adapter, then:
16
+ from mlx_lm import load
17
+ model, tok = load("mlx-community/Llama-3.2-1B-Instruct-bf16", adapter_path="<downloaded-adapter-dir>")
18
+ ```
19
+
20
+ Pair generation with a deterministic AST guardrail (single read-only SELECT).
21
+ See the project repo for the data pipeline, study, and evaluation.