Qwen/Qwen2.5-0.5B-Instruct often answers Azerbaijani prompts in Turkish. In our tests it did so 42% of the time.
This model fixes much of that without any training. We changed 128 numbers: one bias vector in layer 20, which is 0.00003% of the model.
Made by MAIN Lab (Master Artificial Intelligence Network). It is a reproduction of the weight-space programming idea from MIT CSAIL ("Sparks of Weight-Space Programming", 2026): read a network's weights and edit them directly.
ə, q and x. At layers 18–20 it is almost orthogonal to the Azerbaijani-vs-English direction.self_attn.v_proj.bias. Attention weights sum to 1, so this is an exact, always-on residual shift.The edit itself is in weight_edit.json.
| Qwen2.5-0.5B | + system prompt "answer only in Azerbaijani" | This model | |
|---|---|---|---|
| Clean Azerbaijani answers | 55.3% | 57.4% (p = 0.65, not significant) | 77.2% (p = 7·10⁻⁷) |
| Answered in Turkish | 41.6% | 36.5% | 18.3% |
| Turkish-only words per 100 | 8.4 | 6.7 | 3.9 |
| English prompts answered in English | 100% | 100% | 100% |
| Fluency, bits/byte under SIBA Meristem (lower is better) | 1.332 | 1.326 | 1.357 |
Honest limits:
Use it like the base model; the edit is already applied.
from transformers import AutoModelForCausalLM, AutoTokenizer
tok = AutoTokenizer.from_pretrained("MAIN-Lab/qwen2.5-0.5b-az-steer")
m = AutoModelForCausalLM.from_pretrained("MAIN-Lab/qwen2.5-0.5b-az-steer")
Apache-2.0, the same as the base model, Qwen2.5-0.5B-Instruct.