A single 14B model produced by merging three independently fine-tuned checkpoints, each
trained on a different target corpus, into one set of weights. The merge is done entirely
in parameter space — no joint training on the union of the three corpora.
Task vectors are computed relative to the pretrained base, τᵢ = φᵢ − φ₀, and the merged
model is φ_merged = φ₀ + TIES({τᵢ}).
1python main.py --method ties \
2 --models <nqa> <msq> <bcp> \
3 --weight 1 1 1 --density 0.3 0.3 0.3 \
4 --base Qwen/Qwen2.5-14B-Instruct \
5 --anchor-base
The three task vectors are close to orthogonal, which is the low-interference regime TIES
is designed for. Measured on representative weight matrices:
BrowseComp-Plus is retained most strongly, consistent with it having the largest task-vector
norm (it was trained on the most QA pairs). Weight integrity was checked across all 579
tensors: no non-finite values, and all shapes and keys match the base model.
1import torch
2from transformers import AutoModelForCausalLM, AutoTokenizer
3
4model_id = "yungisimon/Qwen2.5-14B-ties-merge-nqa-msq-bcp"
5tok = AutoTokenizer.from_pretrained(model_id)
6model = AutoModelForCausalLM.from_pretrained(model_id, dtype=torch.bfloat16, device_map="auto")