Llama-3.2-1B Text-to-SQL โ GGUF (LoRA adapter)
GGUF conversion of the LoRA adapter from ssnym/llama-3.2-1b-text-to-sql, for use with llama.cpp.
This repo contains only the adapter, converted to GGUF (f16) via llama.cpp's convert_lora_to_gguf.py. You'll need the base model's GGUF separately โ see below.
Release date: September 12, 2026
Files
text-to-sql-adapter-f16.ggufโ LoRA adapter (f16), ~22.5MB
Usage
- Download a GGUF build of the base model, e.g. unsloth/Llama-3.2-1B-Instruct-GGUF. Verified working with
Q4_K_M. - Download
text-to-sql-adapter-f16.gguffrom this repo. - Run with llama.cpp:
llama-cli -hf unsloth/Llama-3.2-1B-Instruct-GGUF:Q4_K_M \
--lora text-to-sql-adapter-f16.gguf \
-p "Given the table employees(id, name, department, salary), write a SQL query to find the average salary per department."
Or with a locally converted/downloaded base GGUF file:
llama-cli -m base-model.gguf --lora text-to-sql-adapter-f16.gguf -p "..."
You can also serve it via llama-server (OpenAI-compatible API + web UI):
llama-server -m base-model.gguf --lora text-to-sql-adapter-f16.gguf --port 8080
Why a separate adapter file instead of a merged GGUF?
Keeping the adapter separate means the same ~22.5MB file can be applied on top of any GGUF build of the base model (any quant level, from anyone) without re-downloading or re-quantizing the full base model each time โ the same tradeoff as the original safetensors adapter, just carried through to the GGUF/llama.cpp side.
Original model
See ssnym/llama-3.2-1b-text-to-sql for training details, evaluation results, and the safetensors/PEFT version of this adapter.
License
Built with Llama. Released under the Llama 3.2 Community License, inherited from the base model.
- Downloads last month
- 172
16-bit
Model tree for ssnym/llama-3.2-1b-text-to-sql-GGUF
Base model
meta-llama/Llama-3.2-1B-Instruct