Downloads · 30 days
0
pratsinha/consolidated-qwen-rank8
consolidated-qwen-rank8 is a machine learning model from pratsinha. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for pytorch.
Consolidation + per-class LoRA compression of Qwen/Qwen1.5-0.5B. This artifact stores only the cheap learned tensors (7 shared per-class backbone matrices + per-layer rank-8 LoRA adapters + q/k/v biases). The frozen b…
Downloads · 30 days
0
Access
Public
Updated Jun 14, 2026
Repo size
66.9 MB
Likes
0
Public
Click a slice to open those files.
.pt66.9 MB · 100%
From the Hugging Face model README
Consolidation + per-class LoRA compression of Qwen/Qwen1.5-0.5B. This artifact stores only
the cheap learned tensors (7 shared per-class backbone matrices + per-layer
rank-8 LoRA adapters + q/k/v biases). The frozen base model is pulled from
Qwen/Qwen1.5-0.5B at load time.
from hub import pull # from github.com/sinha-k-prat/consolidated-qwen
model, tok = pull("pratsinha/consolidated-qwen-rank8")
ids = tok("Weight consolidation works by", return_tensors="pt")
print(tok.decode(model.base.generate(**ids, max_new_tokens=60)[0]))
Research prototype — https://github.com/sinha-k-prat/consolidated-qwen