Rootformer-Code v19.2
Coding Release Based on Qwen3.8-27B
2 min readupdated
The model is based on the official Qwen/Qwen3.8-27B language model (27.78B parameters) and enhanced with classical Arabic legal analysis and grammar algorithms. The main highlight of version 19.2 is the two-phase Qaṭʿ al-Waswasa method, which strictly limits the model's thinking time in the block, preventing loops and token loss. This release is built for developers who need a reliable code generator for agent tasks and complex scripts without endless generation freezes.
Key features
- Top benchmarks: Achieves 82.28% on a pool of 615 coding tasks and 91.46% on a single pass on HumanEval+.
- Two-phase Qaṭʿ al-Waswasa: Limits the thinking token budget (1600–2200 tokens) and forces the tag closed for clean code generation.
- Symmetric verification: NWP-v2 ranks and re-checks complex tasks through cross-comparison of judgments.
- Full vLLM readiness: BF16 weights and compatibility with the vLLM framework for fast deployment.
What you can do
- Generate complex Python or HTML5 code or automation scripts in a single pass without context cutoff.
- Deploy in agent environments for multi-file development (tested on TurāthAgent-Hard-12).
- Run on server hardware with FP8/BF16 support via the vLLM library for local development.
Example
from transformers import AutoTokenizer
from vllm import LLM, SamplingParams
model_id = "enver/rootformer-code-v19.2-qwen38-nwp"
tok = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
llm = LLM(model=model_id, quantization="fp8", dtype="bfloat16", trust_remote_code=True)
msgs = [
{"role": "system", "content": "You are an expert Python 3 software engineer."},
{"role": "user", "content": "Implement an O(1) LRU cache with TTL expiration in Python."},
]
prompt = tok.apply_chat_template(msgs, tokenize=False, add_generation_prompt=True, enable_thinking=True, reasoning_effort="xhigh")
print(prompt)
Read more
DetailsBase model: Qwen/Qwen3.8-27B (27.78B parameters).
Languages: English, Arabic, code.
Metrics: HumanEval+ 91.46%, MBPP+ 82.28%, TurāthCode-40 92.50%.
Hardware: tested on H100 80GB with vLLM 0.34.0 FP8.










Comments