How to use from
OpenClaw
Start the llama.cpp server
# Install llama.cpp:
brew install llama.cpp
# Start a local OpenAI-compatible server:
llama serve -hf minktn/Qwen2.5-3B-Instruct-Text2SQL-Tuned:Q4_K_M
Configure OpenClaw
# Install OpenClaw:
npm install -g openclaw@latest
# Register the local server and set it as the default model:
openclaw onboard --non-interactive --mode local \
  --auth-choice custom-api-key \
  --custom-base-url http://127.0.0.1:8080/v1 \
  --custom-model-id "minktn/Qwen2.5-3B-Instruct-Text2SQL-Tuned:Q4_K_M" \
  --custom-provider-id llama-cpp \
  --custom-compatibility openai \
  --custom-text-input \
  --accept-risk \
  --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Quick Links

Qwen2.5-3B-Instruct-Text2SQL-Tuned

This model is a specialized Text-to-SQL adaptation inheriting directly from the base architecture Qwen/Qwen2.5-3B-Instruct. It is fine-tuned to translate complex natural language queries into executable, standardized SQLite syntax given relational schema definitions (DDL).


📌 Heritage & Model Overview

  • Base Architecture: Qwen/Qwen2.5-3B-Instruct
  • Domain Specialization: Text-to-SQL (Spider-style multi-domain benchmarks)
  • Primary Task: Schema-grounded query generation
  • Available Artifacts:
    • final_model/: Full-precision PyTorch / SafeTensors weights & tokenizers (for evaluation & fine-tuning pipelines).
    • qwen2.5-3b-instruct.Q4_K_M.gguf: 4-bit medium quantized artifact optimized for lightweight edge and local CPU inference.
Downloads last month
20
GGUF
Model size
3B params
Architecture
qwen2
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for minktn/Qwen2.5-3B-Instruct-Text2SQL-Tuned

Base model

Qwen/Qwen2.5-3B
Quantized
(320)
this model