Qwen 2.5 0.5B Diary255 Text-to-SQL (GGUF)

This is a specialized, quantized GGUF model fine-tuned on Qwen2.5-0.5B-Instruct to generate safe, read-only SQLite SELECT queries for the Diary255 personal timeline application.

Model Details

  • Base Model: Qwen/Qwen2.5-0.5B-Instruct
  • Format: GGUF (q8_0 quantization)
  • Parameters: 0.5 Billion
  • Context Window: 1024 tokens

Specialized Capabilities

The model was fine-tuned procedurally on the Diary255 database schema. It strictly follows these operational rules:

  1. Strict Read-Only: Only generates SELECT queries. It will never output INSERT, UPDATE, DELETE, or DDL commands.
  2. Context Isolation: Automatically applies profile_id filters to protect and isolate user data context.
  3. Dynamic Date Logic: Generates SQLite relative offset math (strftime('%s', 'now', ...)) instead of hardcoding static epoch dates.
  4. Relational Joins: Seamlessly handles multi-table queries joining tools, diary entries, and transaction logs.

Recommended Inference Settings

When running inference (such as in llama.cpp or llamadart), we highly recommend applying a GBNF grammar constraint to guarantee syntax validity.

  • Temperature: 0.0 (for absolute deterministic SQL generation)
  • Stop Sequences: ["\n```", "<|im_end|>", "Question:", "SQL:"]
Downloads last month
1,068
GGUF
Model size
0.5B params
Architecture
qwen2
Hardware compatibility
Log In to add your hardware

We're not able to determine the quantization variants.

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

Model tree for grendo55/qwen2.5-0.5b-diary255-sql

Quantized
(217)
this model