Update README.md
Browse files
README.md
CHANGED
|
@@ -10,3 +10,33 @@ library_name: transformers
|
|
| 10 |
tags:
|
| 11 |
- text-to-sql
|
| 12 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
tags:
|
| 11 |
- text-to-sql
|
| 12 |
---
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
## Model Details
|
| 16 |
+
|
| 17 |
+
Model Description
|
| 18 |
+
This model is a fine-tuned version of Llama-3.2-3B-Instruct designed specifically for Text-to-SQL tasks. It was trained to accept a database schema and a natural language question, and output a valid SQL query along with a brief explanation of the logic.
|
| 19 |
+
It is lightweight (3B parameters), making it suitable for local deployment on consumer GPUs using 4-bit quantization.
|
| 20 |
+
|
| 21 |
+
### Model Description
|
| 22 |
+
Base Model: unsloth/Llama-3.2-3B-Instruct
|
| 23 |
+
Fine-tuning Framework: Unsloth (QLoRA)
|
| 24 |
+
Dataset: gretelai/synthetic_text_to_sql
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
## Uses
|
| 28 |
+
|
| 29 |
+
The model was trained using the Alpaca prompt format. For best results, structure your input as follows:
|
| 30 |
+
|
| 31 |
+
|
| 32 |
+

|
| 33 |
+
|
| 34 |
+
## How to Get Started with the Model
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
|
| 39 |
+
#### Summary
|
| 40 |
+
|
| 41 |
+
]
|
| 42 |
+
|