gemma-3-270m-text2sql-oracle-postgres-GGUF

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

Ollama

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.cpp

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.

Downloads last month
-
GGUF
Model size
0.3B params
Architecture
gemma3
Hardware compatibility
Log In to add your hardware

8-bit

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for chabab/gemma-3-270m-text2sql-oracle-postgres-GGUF

Quantized
(1)
this model