Arete-27B-pi for Yasakani
This text-only pack runs Nous Research's Arete-27B with the harness-hub pi coding adapter baked into its weights. The adapter was trained on stock Qwen3.8-27B, Arete's parent, rather than on Arete. Yasakani loads a single target model and uses its usual draft model. No runtime LoRA support or engine modification is needed.
The target weighs 12,365,242,368 bytes; its SHA-256 is 49676c4ad01a9714fc35f74c9c4f6bb18d9367911f2453eab6b44798d907f75b. The draft, draft head and KV profile are additional files. The original Arete conversion is available separately at audreyt/Arete-27B-YASAKANI-quality.
Run
With the Hugging Face CLI, Yasakani 0.1.4, and a matching engine library installed:
hf download audreyt/Arete-27B-pi-YASAKANI-quality --local-dir arete-pi
yasakani verify --model-dir arete-pi
yasakani selfcheck --model-dir arete-pi --dll /path/to/libyskn.so
YASAKANI_THINKING_BUDGET=0 yasakani serve --model-dir arete-pi \
--dll /path/to/libyskn.so --host 127.0.0.1 --port 8765 --max-ctx 32768
The published measurements are from one Linux RTX 5090. On Windows, the corresponding engine library is yskn.dll. The 262,144-token setting in the manifest is a configuration limit, not a long-context quality result.
For pi, add the following provider to ~/.pi/agent/models.json (merge it with any existing providers):
{
"providers": {
"yasakani": {
"baseUrl": "http://127.0.0.1:8765/v1",
"api": "openai-completions",
"apiKey": "local",
"models": [{"id": "arete-27b-pi", "reasoning": false, "contextWindow": 32768, "maxTokens": 2048}]
}
}
}
Select it with pi --provider yasakani --model arete-27b-pi --thinking off. In the coding smoke test, pi requested thinking off but its trace still contained reasoning blocks. The separate HTTP request with enable_thinking: false reported zero reasoning tokens. Do not assume the pi flag alone suppresses reasoning.
What was merged
- Base: NousResearch/Arete-27B at
108f0af. All 18 BF16 shard hashes matched the pinned repository. - Adapter: harness-hub/Qwen3.8-27B-pi-adapted at
e786f84. Factor file SHA-256:869b2a089882c0dac4683993f11081bd70edc30b32c64a988c688d6ac26b792a. reproduce/bake_pi_merge.pycomputesArete + 2 × (B @ A)in FP32 and rounds once to BF16. All 256 rank-32 pairs were applied (alpha 64). The merge checked independent scalar samples in each target and compared every byte of the 928 untargeted tensors.- Yasakani's converter then quantized the merged checkpoint. The 192 calibration windows matched the published checksum
ed82db6b45451ab1f09ddba7af4d209f35cdf2a29c6e8d09c87431c7518e07b7using the original Qwen tokenizer. The native search kernel passed its self-test. Of 400 body matrices, 288 use four bits per weight and 112 use three. The four-bit output head was recomputed using the merged activations. The unchanged embedding was copied from the original Arete quality pack. - The pack ships the adapter's tokenizer. Its token IDs match Arete's, but its pre-tokenizer handles combining marks differently. Arete's inference chat template produced the same text and token IDs as the adapter's training template in six tested configurations, including assistant and tool history. The draft model and KV profile remain unchanged.
Inference checks and speed
yasakani verify matched all 11 manifest files. A fresh, model-specific selfcheck.json reproduced 3/3 greedy outputs. The engine also passed its independent copy/edit self-consistency check: 1,080 generated tokens agreed with teacher forcing, and 16- and 64-position passes agreed bit for bit over 2,206 positions.
The table compares the original Arete quality pack with this pack on the same RTX 5090, using the same Linux engine and upstream look-ahead benchmark. Greedy decode, 512 tokens per prompt, warm engine, default KV5. These are decode tokens/s; they exclude loading and prefill.
| Prompt | Arete, plain | Arete-pi, plain | Arete, speculative | Arete-pi, speculative |
|---|---|---|---|---|
| Prose | 108.7 | 108.8 | 214.2 | 219.1 |
| Thinking | 108.7 | 108.8 | 192.7 | 215.5 |
| Code | 108.7 | 108.8 | 353.6 | 333.5 |
| CSV to JSON | 108.1 | 108.5 | 1125.1 | 1127.6 |
Plain throughput was effectively unchanged. The code prompt was 5.7% slower with speculation: the run confirmed 3.76 tokens per pass, down from 4.09. Within each model, the greedy IDs were identical with speculation on and off on every prompt. These four prompts are not a general speed ranking.
On a real OpenAI-compatible server, pi 1.5.2 read a faulty Python batching function and edited the loop bound to preserve a partial final batch. The edited file passed five input/output cases and two invalid-size cases in an independent sandbox. A separate thinking-off arithmetic request returned 391 for 17 × 23. These are smoke tests. This conversion was not evaluated on Terminal-Bench, SWE-bench or Propaganda_Eval; the scores of the upstream adapter and base model do not establish performance for this combination.
Closeness to the merged BF16 model
With Yasakani's default KV5 cache, the pack agreed with Arete + pi in BF16 on the most likely next token at 95.57% of 20,460 scored positions. Mean KL divergence was 0.01127; perplexity was 2.17383 for the pack and 2.16885 for BF16 (+0.23%). The test used all 20 upstream evaluation windows and the make_reference.py and score_yasakani.py programs from the converter revision linked above. These windows are Qwen thinking transcripts; the result measures quantization fidelity on that text, not the adapter's coding ability. See eval/quality-score.json.
As a separate weight-level check, reproduce/quantized_delta.py decoded a block of 512 rows from one matrix for each of the seven adapter projection types. Along the BF16 update direction, the candidate retained coefficients of 0.967–1.038 (1 means the full update); the original Arete pack measured −0.067–0.024. This is a sample, distinct from the full 256-target BF16 merge check.
This is an independent community conversion. See NOTICE for upstream credits, LICENSE for terms, SHA256SUMS for release checksums, and eval/ for machine-readable measurements.