QuanLLM-4-Zinc
1. Introduction
QuanLLM-4-Zinc is a software-engineering-focused language model obtained by LoRA supervised fine-tuning of Qwen/Qwen3.8-27B on 693 real GitHub issue trajectories from SWE-bench Pro (default + hard splits). It is trained to read an issue, navigate a repository, locate the problem, and produce a patch. The LoRA adapter has been merged into the base weights, so the model ships as a standard bf16 multimodal checkpoint and can be served directly by mainstream inference stacks.
Zinc is the everyday workhorse of the QuanLLM family; the flagship QuanLLM-4-Silicon (agentic coding with test-verified reinforcement learning) is on the roadmap.
2. Model Summary
| Item | Value |
|---|---|
| Architecture | Hybrid linear/full attention LM (64 layers, GQA 24 Q / 4 KV heads) with native vision encoder |
| Total Parameters | 27.78B (25.23B non-embedding), incl. vision tower and MTP module |
| Context Length | 262,144 max positions; served and evaluated at 131,072 |
| Training Stage | Post-training (LoRA SFT) on the instruct base |
| Weight Format | bf16, ~55.6GB, standard safetensors (12 language shards + vision + MTP) |
Training recipe
| Item | Value |
|---|---|
| Method | LoRA SFT (r=128, alpha=256, dropout=0.05), merged post-training |
| Data | SWE-bench Pro default (642) + hard (51), 693 real issue trajectories; Go (276) / Python (257) / JS (155) / TS (5) |
| Config | seq len 4096, lr 2e-5, 1 epoch (174 steps) |
3. Evaluation
Internal evaluation on 20 samples from SWE-bench Pro, patch-similarity metric:
| Model | avg_similarity | vs Base |
|---|---|---|
| Qwen3.8-27B (base) | 0.0448 | โ |
| QuanLLM-4-Zinc (this model) | 0.0740 | 1.65ร |
The current evaluation set is small (20 samples): the results confirm the training direction works, but the model is not yet production-ready. Larger-scale evaluations will be published as they become available.
4. Quickstart
from transformers import AutoModelForImageTextToText, AutoProcessor
model_name = "meaworm/QuanLLM-4-Zinc"
processor = AutoProcessor.from_pretrained(model_name)
model = AutoModelForImageTextToText.from_pretrained(
model_name, dtype="bfloat16", device_map="auto"
)
messages = [{"role": "user", "content": "Explain what this repository does and how to fix the failing test."}]
text = processor.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = processor(text=[text], return_tensors="pt").to(model.device)
output = model.generate(**inputs, max_new_tokens=4096)
print(processor.decode(output[0][inputs.input_ids[0].shape[0]:], skip_special_tokens=True))
Serving with vLLM (single L20, MTP speculative decoding enabled):
vllm serve meaworm/QuanLLM-4-Zinc \
--max-model-len 131072 \
--speculative-config '{"method":"mtp","num_speculative_tokens":1}'
5. Usage Recommendations
- Sampling: temperature 0.7, top_p 0.8, top_k 20 (matching the shipped generation config).
- Context: the model accepts repository-scale inputs up to 128K tokens; provide the issue text together with the relevant files for best results.
- Multimodality: image and video inputs are supported natively (e.g., error screenshots, recorded reproductions).
- Known limitations: evaluated on only 20 samples so far; expect uneven performance across languages (TypeScript is underrepresented in training data, n=5). Verify patches with real tests before applying.
6. License & Attribution
The model weights are released under the same license as the base model Qwen/Qwen3.8-27B; see LICENSE. Training data derives from SWE-bench Pro (ScaleAI) โ attribution to the dataset authors is required when redistributing or reporting.
7. Citation
@misc{quanllm-4-zinc,
title = {QuanLLM-4-Zinc},
author = {QuanLLM Team},
year = {2026},
url = {https://huggingface.co/meaworm/QuanLLM-4-Zinc}
}
- Downloads last month
- 12
Model tree for meaworm/QuanLLM-4-Zinc
Base model
Qwen/Qwen3.8-27B