Downloads · 30 days
22
12% of all-time downloads
ponpoke/qwen2.5-0.5b-instruct-sql-structural-projection-lora
qwen2.5-0.5b-instruct-sql-structural-projection-lora is a text generation model from ponpoke. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as apache-2.0.
[](https://ko-fi.com/ponpoke) Tips are greatly appreciated and help sustain the compute resources needed for further research!
Downloads · 30 days
22
12% of all-time downloads
All-time downloads
187
Public
Repo size
17.6 MB
Likes
1
Public
Click a slice to open those files.
.safetensors17.6 MB · 100%
From the Hugging Face model README
Tips are greatly appreciated and help sustain the compute resources needed for further research!
Experimental no-retraining structural projection of a Qwen2.5-7B SQL LoRA into Qwen2.5-0.5B-Instruct.
This case study was produced using Neural-Scalpel:
ponpoke/Neural-Scalpel
It is not a fully trained SQL model and does not guarantee general SQL improvement.
This adapter is intended for: Qwen/Qwen2.5-0.5B-Instruct
This adapter was structurally projected from a Qwen2.5-7B SQL LoRA into the Qwen2.5-0.5B-Instruct architecture.
This adapter follows the license constraints of the base model and the source adapter. Please review the original model and adapter licenses before commercial use.
On the Neural-Scalpel SQL-50 benchmark, this adapter improved:
Best tested alpha: 16.
This adapter was generated using the Neural-Scalpel framework via Structural Projection (RSVD-based weight delta transport). It approximates and compresses the source adapter's weight-delta structure into a PEFT-compatible LoRA for Qwen2.5-0.5B-Instruct.
Evaluation scripts, SQL-50 benchmark definitions, failure cases, and analysis reports are available here: https://github.com/ponpoke/qwen2.5-0.5b-sql-structural-projection
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-0.5B-Instruct")
model = PeftModel.from_pretrained(base_model, "ponpoke/qwen2.5-0.5b-instruct-sql-structural-projection-lora")