File size: 1,772 Bytes
95221ef
 
 
 
 
 
 
 
 
 
 
e24e9ff
 
95221ef
 
e24e9ff
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
395b814
 
 
 
e24e9ff
95221ef
 
 
 
 
 
 
 
e24e9ff
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
---
base_model: unsloth/llama-3.2-3b-instruct-unsloth-bnb-4bit
tags:
- text-generation-inference
- transformers
- unsloth
- llama
- gguf
license: apache-2.0
language:
- en
datasets:
- gretelai/synthetic_text_to_sql
---

### Text-to-SQL Model
A fine-tuned Llama 3.2 3B model specialized for converting natural language queries into SQL statements. This model transforms everyday questions into precise database queries, making data accessible to everyone.

### Desired Use Cases
Perfect for applications requiring natural language to SQL conversion:

Business Intelligence: "Show me sales by region for last quarter"
Data Analytics: "Find customers who haven't purchased in 6 months"
Reporting: "What are the top 10 products by revenue?"
Database Querying: Making databases accessible to non-technical users

### Training Data
Trained on the gretelai/synthetic_text_to_sql dataset, which provides:

High-quality synthetic text-to-SQL pairs
Diverse query patterns and complexity levels
Multiple database schemas and domains
Robust coverage of SQL operations and functions

### Model Performance
IDK MAN, it does what it does brev.
-UPDATE-
YEA I didnt cook.
I reckon it underfit during training/. 
I may have to re-do the data_prep then training and see what results the model gives us during inference and try to evaluate the model.

# Uploaded  model

- **Developed by:** imahwashere
- **License:** apache-2.0
- **Finetuned from model :** unsloth/llama-3.2-3b-instruct-unsloth-bnb-4bit

This llama model was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth) and Huggingface's TRL library.

[<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)