Downloads · 30 days
9
12% of all-time downloads
residuals/qwen2.5-14b
qwen2.5-14b is a text generation model from residuals. Use it when you need the model to write or continue text. It is set up for residuals.
This repository contains instruction residuals (delta weights) computed as the parameter-wise difference between Qwen/Qwen2.5-14B-Instruct and Qwen/Qwen2.5-14B.
Downloads · 30 days
9
12% of all-time downloads
All-time downloads
74
Public
Parameters
14.8B
59.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors59.1 GB · 100%
From the Hugging Face model README
This repository contains instruction residuals (delta weights) computed as the parameter-wise difference between Qwen/Qwen2.5-14B-Instruct and Qwen/Qwen2.5-14B.
Apply these residuals to the base model to reconstruct the instruction-tuned weights without retraining.
from transformers import AutoModelForCausalLM, AutoTokenizer
from residuals import Residuals
base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-14B")
tok = AutoTokenizer.from_pretrained("Qwen/Qwen2.5-14B")
res = Residuals.from_pretrained("residuals/qwen2.5-14b")
res.apply(base, base_tokenizer=tok)
Qwen/Qwen2.5-14BQwen/Qwen2.5-14B-Instructmodel-00001-of-000N.safetensors, ... for multi-part weights.These are additive residuals (task vectors). Applying them to the base model's parameters reconstructs the instruction-tuned model.
Generated with the residuals Python package. Install via: pip install residuals.