Downloads · 30 days
46
40% of all-time downloads
chabab/gemma-3-270m-text2sql-oracle-postgres-GGUF
gemma-3-270m-text2sql-oracle-postgres-GGUF is a machine learning model from chabab. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
GGUF builds of chabab/gemma-3-270m-text2sql-oracle-postgres — Gemma-3 270M fine-tuned for Oracle / PostgreSQL text-to-SQL.
Downloads · 30 days
46
40% of all-time downloads
All-time downloads
116
Public
Repo size
834 MB
Likes
0
Public
Click a slice to open those files.
.gguf834 MB · 100%
From the Hugging Face model README
GGUF builds of chabab/gemma-3-270m-text2sql-oracle-postgres — Gemma-3 270M fine-tuned for
Oracle / PostgreSQL text-to-SQL.
| File | Quant | Size |
|---|---|---|
gemma-3-270m-text2sql-f16.gguf | f16 | 543 MB |
gemma-3-270m-text2sql-q8_0.gguf | q8_0 | 292 MB |
huggingface-cli download chabab/gemma-3-270m-text2sql-oracle-postgres-GGUF gemma-3-270m-text2sql-q8_0.gguf Modelfile --local-dir .
ollama create text2sql -f Modelfile
ollama run text2sql "Schema:
employees(employee_id INTEGER PK, first_name VARCHAR(50), last_name VARCHAR(50), salary NUMERIC(12,2))
Question:
Show the five employees with the largest salary. Return only the SQL."
llama-cli -m gemma-3-270m-text2sql-q8_0.gguf --temp 0 -p "<your schema + question>"
Use greedy decoding (temperature 0). The model is trained to emit exactly one SQL
statement with no fences or commentary.