Downloads · 30 days
12
15% of all-time downloads
azatvaliev/sieve-llama-3.2-1b
sieve-llama-3.2-1b is a text generation model from azatvaliev. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as llama3.2.
Fine-tune of meta-llama/Llama-3.2-1B for SQL WHERE clause generation.
Downloads · 30 days
12
15% of all-time downloads
All-time downloads
80
Public
Parameters
1.2B
2.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors2.5 GB · 99%
From the Hugging Face model README
Fine-tune of meta-llama/Llama-3.2-1B for SQL WHERE clause generation.
GGUF quantizations are available at azatvaliev/sieve-llama-3.2-1b-GGUF.
This is a completion model (not instruct/chat). Given a PostgreSQL schema (DDL), a natural language filter as a -- filter: comment, and a SELECT * FROM table prefix, the model completes with the appropriate WHERE clause.
Input:
CREATE TABLE "public"."product" (
"id" bigint PRIMARY KEY,
"name" text NOT NULL,
"category" text NOT NULL,
"price" numeric(10,2) NOT NULL,
"in_stock" boolean NOT NULL DEFAULT true
);
-- filter: electronics under $50
SELECT * FROM product
Output:
WHERE category LIKE '%electronics%' AND price < 50
The adapter/ directory contains the LoRA adapter weights.