alt.freeweights.qwen / Qwen3.8-27B-pi
From: bytkim <huggingface.co/bytkim>Newsgroups: alt.freeweights.qwenSubject:

Qwen3.8-27B-pi

Date: 2026-11-15Commit: 34d3f21Signed: 2DC28CC7B26A283B ✓

Text generation model with 27.8B parameters. Safetensors weights, 59.4 GB in all. Published by bytkim under Apache-2.0.

27.8B params59.4GBQwen3.8-27B-pisafetensorspermissive
FactsParams27.8BSize59.4 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get bytkim/Qwen3.8-27B-pi
# manifest sha256 668182c21d5d… · 59.4 GB · 37 files
$ fw verify ./Qwen3.8-27B-pi bytkim/Qwen3.8-27B-pi
From sourceHosted (signed)bytkim/Qwen3.8-27B-piLast check: 2026-11-15 03:32 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Fine-tune of Qwen3.8-27B.

Works with

Overview

Size
59.4 GB
Weights
59.4 GB (safetensors)
Parameters
27.8B
Formats
safetensors
Task
text generation
License
Apache-2.0 (permissive)
Files
37, each with a sha256
Publisher
bytkim
Added
2026-11-15
Section
alt.freeweights.qwen
Lineage

Original release from the publisher.

Base model: Qwen/Qwen3.8-27B

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 03:32 UTCpassed

Model card

From the publisher at commit 34d3f21. Shown as plain text with links; images open at the publisher.

Image: Qwen3.8-27B-pi and Base: Terminal-Bench 2.1 xhigh preview and Pi GPQA Diamond xhigh attempt pass rate; SciCode Pi/S8 subproblem scores

BF16 · FP8 · GGUF

Quickstart · Benchmarks · Advanced · License

Built for pi#

Qwen3.8-27B-pi builds on Qwen3.8-27B for coding work in the Pi agent harness. It is tailored to the loop of reading a repository, editing files, running tools, and responding to their feedback. The aim is more completed work with less generated text, while retaining the base model's familiar interface.

Fine-tuned for the Pi agent harness, the model is designed to work through coding tasks as an iterative process: inspect the code, make a change, check the result, and use tool feedback to guide the next step. Adjustable reasoning effort lets you balance responsiveness with deeper problem-solving, from focused edits to more involved debugging and implementation work.

Image: Qwen3.8-27B-pi versus Base across low, medium, and xhigh reasoning: Terminal-Bench 2.1 score, turns, tool calls, reasoning tokens, and total output tokens; Pi GPQA Diamond overall attempt pass rates; SciCode Pi/S8 subproblem scores

Qwen3.8-27B-pi Highlights#

  • Built for Pi: Fine-tuned for the everyday coding loop—reading repositories, editing files, running tools, and working through feedback in the Pi harness—with an emphasis on turning plans into working, checked implementations.
  • Curated coding experience: Supervised fine-tuning on filtered, successful Pi sessions helps the model learn complete coding workflows, rather than isolated answers or code snippets, including how to adapt to existing environments and check results against task requirements.
  • Task quality matters: Development also included reviewing, repairing, and exploring more demanding coding tasks—with a focus on clear requirements and checks that distinguish working solutions from incorrect ones.
  • Refined through reinforcement learning: A second training stage pairs verified task outcomes with a custom reasoning-efficiency reward built on GRPO, encouraging successful low- and medium-effort solutions to reason more economically while leaving xhigh focused on correctness.
  • Available in practical formats: Choose a deployment format that fits your hardware, including GGUF quantizations calibrated using complete Pi coding sessions.

Pi’s development followed a staged process, from trajectory curation and supervised fine-tuning to reinforcement learning and checkpoint evaluation. Each stage was assessed against the same practical goal: helping the model complete useful work in Pi while managing the resources it spends. Checkpoints were compared using actual agent outcomes alongside generated tokens, tool calls, and completion time—not training loss alone.

Performance by reasoning level#

Image: Terminal-Bench 2.1 task success versus mean output tokens for Pi and Base at low, medium, and xhigh reasoning

Curated Pi sessions and reinforcement learning emphasized completed, checked coding work. Pi shows a steadier rise in completion from low to xhigh than Base, with fewer output tokens at every matched effort level. In these selected results, Pi’s medium setting matches Base’s xhigh completion rate with about 41% fewer output tokens.

Image: GPQA Diamond attempt pass rate versus mean output tokens for Pi FP8 and Base at low, medium, and xhigh reasoning; y-axis 75–90 percent

Pi’s RL stage encouraged economical low/medium reasoning while keeping xhigh focused on correctness. The graph shows a smoother rise in Pi’s attempt success as effort increases, while Base peaks at medium. Pi achieves the highest xhigh score, but Base retains the medium-effort edge.

Image: SciCode passed subproblems out of 337 versus mean output tokens for Pi FP8 and Base at low, medium, and xhigh reasoning; y-axis 35–50 percent

Pi’s development prioritized successful solutions alongside resource use—not shorter responses alone. Both models improve with higher effort, but Pi solves more subproblems at every level. At xhigh, Pi scores higher with about 23% fewer output tokens; at medium, its higher score requires more tokens.

Quickstart#

vllm serve bytkim/Qwen3.8-27B-pi \
  --host 127.0.0.1 \
  --max-model-len 262144 \
  --max-num-seqs 1 \
  --reasoning-parser qwen3 \
  --enable-auto-tool-choice \
  --tool-call-parser qwen3_xml \
  --speculative-config '{"method":"mtp","num_speculative_tokens":3}'

By default, vLLM loads this repository’s generation_config.json, which sets thinking-mode sampling to temperature=1.0, top_p=0.95, and top_k=20. No additional sampling flags are needed; client-provided values override these defaults, and --generation-config vllm uses vLLM’s built-in defaults instead.

Non-thinking mode#

To serve with non-thinking mode and its recommended sampling settings as defaults, use this command instead of the one above:

vllm serve bytkim/Qwen3.8-27B-pi \
  --host 127.0.0.1 \
  --max-model-len 262144 \
  --max-num-seqs 1 \
  --reasoning-parser qwen3 \
  --enable-auto-tool-choice \
  --tool-call-parser qwen3_xml \
  --speculative-config '{"method":"mtp","num_speculative_tokens":3}' \
  --default-chat-template-kwargs '{"enable_thinking":false}' \
  --override-generation-config '{"temperature":0.7,"top_p":0.8,"presence_penalty":1.5}'

Alternatively, keep the thinking-mode server above and override individual API requests:

{
  "temperature": 0.7,
  "top_p": 0.8,
  "presence_penalty": 1.5,
  "chat_template_kwargs": {
    "enable_thinking": false
  }
}

These overrides follow Qwen’s recommended non-thinking settings. The remaining sampling settings are inherited from the model and vLLM defaults; turning thinking off alone does not change sampling.

Advanced#

SGLang serving is also supported, including DFlash2 speculative decoding and FP8 KV cache.

DFlash2 companion weights are mirrored unchanged from Inco AI, with attribution and license included in dflash2/.

The examples below use DFlash2 instead of the Quickstart's MTP configuration, with FP8 KV cache and a 256K context limit. Use a runtime build with DFlash2 support and sufficient GPU memory; these are documentation-based examples.

Download the DFlash2 companion#

Download the mirrored DFlash2 companion once before starting either server. The ~3.85 GB BF16 draft works as the companion for either target format.

hf download bytkim/Qwen3.8-27B-pi \
  --include "dflash2/*" \
  --local-dir models/pi-bf16
SGLang: DFlash2 + FP8 KV cache#
python -m sglang.launch_server \
  --model-path bytkim/Qwen3.8-27B-pi \
  --host 127.0.0.1 \
  --port 8000 \
  --context-length 262144 \
  --max-running-requests 1 \
  --reasoning-parser qwen3 \
  --tool-call-parser qwen3_coder \
  --kv-cache-dtype fp8_e4m3 \
  --speculative-algorithm DFLASH \
  --speculative-draft-model-path models/pi-bf16/dflash2 \
  --speculative-num-draft-tokens 8
vLLM: DFlash2 + FP8 KV cache#
vllm serve bytkim/Qwen3.8-27B-pi \
  --host 127.0.0.1 \
  --port 8000 \
  --max-model-len 262144 \
  --max-num-seqs 1 \
  --reasoning-parser qwen3 \
  --enable-auto-tool-choice \
  --tool-call-parser qwen3_xml \
  --kv-cache-dtype fp8_e4m3 \
  --speculative-config '{"method":"dflash","model":"models/pi-bf16/dflash2","num_speculative_tokens":7}'

Run one server at a time. SGLang's eight-token verification block corresponds to seven draft tokens in the DFlash2 example; vLLM specifies the seven draft tokens directly. FP8 KV cache is independent of weight precision. For default-precision KV cache, change --kv-cache-dtype fp8_e4m3 to --kv-cache-dtype auto.

References: DFlash2 model and launch examples, SGLang speculative decoding, SGLang server arguments, and vLLM FP8 KV cache.

License#

Qwen3.8-27B-pi is fine-tuned from Qwen3.8-27B, whose base-model weights are licensed under the Apache License 2.0. See LICENSE for the full terms and NOTICE for upstream attribution and Pi modification details. Mirrored DFlash2 companions retain their license and provenance in dflash2/.

Acknowledgements#

Built on Qwen3.8-27B from the Qwen team and adapted for the Pi agent harness. Thanks to the open-source training, inference, quantization, and evaluation projects—and dataset contributors—that supported its development.

Files

37 files · 59.4 GBWeights 59.4 GB (safetensors). Sizes and sha256 from the signed manifest.
Show all 37 files with their sha256
FileSizesha256
.gitattributes2.33 KB1989be3bf6c9f496178ac215a94ce3460dc09c65264b2e2c335efe5b5d801f67
LICENSE11.5 KBbbedc3fda3305820b977265f01b8619d87570a6739de3a5582c3464840f1e57a
NOTICE1.65 KBbf9a4705dba9203318e6373425225f79881100e22444511d9f2a3910dc66a9c6
README.md10.1 KB6b859d6422185de23eaa80c45f1986da0e865c73e090c2d6eff32208444c578e
assets/benchmark-by-reasoning-gpqa-v1.png844 KB8c882b2d7b4da1b4fbf1a5e3630501c4b637b4fce8c1144018bf5b86418c47fb
assets/benchmark-hero-gpqa-v2.png1.36 MB3f576d11b33feaec73cd2040babc326e723f31fd1b55080268c6dd27f20d87ef
assets/gpqa-score-tokens.png397 KB08dff381ca62aca6649bc0bc9ae5bf662ad3fbbbae17526a6cfc8f923f75f221
assets/scicode-score-tokens.png410 KB9ad82686fad341abe99a936e6a0f026a043575468be9c7b082f6e8a87caef904
assets/terminal-bench-score-tokens.png386 KBf660f11fbe4b8c559755f4d9d88522f3d56b7cd2a208bccc96d38454a1aa08e0
chat_template.jinja8.95 KBc3cf9e34abf4f9e36c2d72165aa9c132d3e2a725b6c2586aaa3a8af9d7a81041
config.json3.71 KBed4687e2a1f0454027ed90d3eaca8f69a786642127d4d51e29ebb9d37905897c
dflash2/LICENSE11.4 KBcfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30
dflash2/README.md908 Bb874415fa8b3fdbf3aff401d934d511093421647551d19fed8ae1559b197dca0
dflash2/UPSTREAM_README.md5.40 KBbe141ff737af8779959cb5ecaefb458ac3c214a5020aa40f69d4d1dc6f42494a
dflash2/assets/dflash2-figure.png287 KB6d8dcc9a9472bddb644c881fe83050b5343d09bf5ffb0912e5598e55fe671e99
dflash2/config.json1.24 KB873e3556509b0da06e29654ba00d4944888d4b5e8a33afde25f7eb27d321e980
dflash2/model.safetensors3.85 GB67fc76d68dc5a9415511a4f394ef744d67510cd20e93b37cc2cc7d28e4bab65c
dflash2/source.json463 B29f73c15caf99ac33ec81f27e80674a62924b1ead1a41d0aa1e7f9d9207a65f7
generation_config.json214 B6ef70d6670f24f03a9041724c7663ef26bc1e678d10f79c93fe11c192ba14b7d
model-00001-of-00012.safetensors2.54 GB54d83c1d36631de231876217a8e0c2483eccee8746369a482b79442bdfc5d958
model-00002-of-00012.safetensors4.84 GBbb8c3b6c40e4592402200565d96b21bcbd8134ead11b665c16903ebf1b4a0031
model-00003-of-00012.safetensors4.97 GB20d21928a7fd5e2bd6c606b1ba2c0fb4fe944a54e50df6884fe6617ee7692597
model-00004-of-00012.safetensors4.91 GBe1d0d7791be44ed640c7e6f97fb6109daed416e41a85c19c1817474ef3d36520
model-00005-of-00012.safetensors4.99 GB4f3581c73fcaf1ebaaea94ace19c4af7352bbf41dec0f973f14a1ba41cad7a37
model-00006-of-00012.safetensors4.91 GB5b9f6ffdbc48bb298fa10f63c321f2858cc6069e458f55423a012c90a3dd5150
model-00007-of-00012.safetensors4.93 GBfa78c1e1e87046f81b895b71c20d1d416dfee8800b95763c83192a62c1265bcb
model-00008-of-00012.safetensors4.97 GB51d7260aedf191047fd01f330e8605234f663ddbbb1d76679f519b90eb0566bd
model-00009-of-00012.safetensors4.96 GB05a3a6dfbfe1a86435ea17e0ad36e1318299a8534ced1b4db72617fba6bf1bc8
model-00010-of-00012.safetensors4.93 GBe2323c6c2f0872ea180d1cf6082f351fb2d9e245a4e5ed74a325e3239fb68a8e
model-00011-of-00012.safetensors4.97 GB47a57de557f4839dd49dea612727571696a68cc57b8f756db6da98b8b71367be
model-00012-of-00012.safetensors2.79 GBda568dcdb9e75e5cbe8b38fa9b67e38baf149004310107d723ab042857e87d73
model.safetensors.index.json112 KB32c010d25006adbf2248d9ea16d3d4ff5baf2242b9d639763c42b3bec594b84a
mtp.safetensors849 MB1d8268aa85ace093a561e3e7b63b9d390dac1cd55a90cd55b5ec509c3c9da9fe
preprocessor_config.json390 B27225450ac9c6529872ee1924fcb0962ff5634834f817040f444118116f4e516
processor_config.json1.22 KBbfbc24af59a3e73a9cd0653b8d4ae758dfaec4e3e6c15dfb1c6c8ee8d5683c85
tokenizer.json20.0 MB06b9509352d2af50381ab2247e083b80d32d5c0aba91c272ca9ff729b6a0e523
tokenizer_config.json1.17 KB792fa3f0cb88b111e54ef3134c873531008c4df471d108da17903426e308aa7b
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
34d3f21045 pinned now2026-11-15 03:32 UTC37 files · 59.4 GB

Use it

$ fw get bytkim/Qwen3.8-27B-pi
# manifest sha256 668182c21d5d… · 59.4 GB · 37 files
$ fw verify ./Qwen3.8-27B-pi bytkim/Qwen3.8-27B-pi
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/bytkim/Qwen3.8-27B-pi.json --dir ./Qwen3.8-27B-pi $ python3 fw.py verify ./Qwen3.8-27B-pi ./bytkim__Qwen3.8-27B-pi.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download bytkim/Qwen3.8-27B-pi --revision 34d3f21045f7b41453e66c39e137cfc818a603ce --local-dir ./Qwen3.8-27B-pi
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForCausalLM, AutoTokenizer tok = AutoTokenizer.from_pretrained("bytkim/Qwen3.8-27B-pi", revision="34d3f21045f7b41453e66c39e137cfc818a603ce") model = AutoModelForCausalLM.from_pretrained("bytkim/Qwen3.8-27B-pi", revision="34d3f21045f7b41453e66c39e137cfc818a603ce", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve bytkim/Qwen3.8-27B-pi --revision 34d3f21045f7b41453e66c39e137cfc818a603ce

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
LICENSE
Text sha256
bbedc3fda3305820b977265f01b8619d87570a6739de3a5582c3464840f1e57a
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: bytkim <huggingface.co/bytkim>Newsgroups: alt.freeweights.qwenSubject: Qwen3.8-27B-piDate: 2026-11-15Commit: 34d3f21Signed: 2DC28CC7B26A283B ✓
Upstream
bytkim/Qwen3.8-27B-pi
Pinned commit
34d3f21045f7b41453e66c39e137cfc818a603ce
Manifest
Qwen3.8-27B-pi.json · .minisig
Manifest sha256
668182c21d5d14a68ef23b3d9d6790be1a1025760eaa23d9a053c1419d551619
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:32 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/bytkim/Qwen3.8-27B-pi.json $ curl -O https://freeweights.allternit.com/manifests/bytkim/Qwen3.8-27B-pi.json.minisig $ minisign -Vm Qwen3.8-27B-pi.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

Parent

Qwen/Qwen3.8-27B · this model is a finetune of it

1 model in the catalog name this one as their parent.

Quantizations
1
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download bytkim/Qwen3.8-27B-pi
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. Qwen3.8-27B-pi.json. Provenance. Takedown history: none.

Variants

1 quantized or adapter build of Qwen3.8-27B-pi. Each has its own license check and page.

From: BAAI <huggingface.co/BAAI>Subject: Aquila-VL-2B-llava-qwen
From: Perciqa <huggingface.co/Perciqa>Subject: Aurora-Code-1
From: BAAI <huggingface.co/BAAI>Subject: bge-reasoner-embed-qwen3-8b-0923
From: amazon <huggingface.co/amazon>Subject: BMOJOF-primed-HQwen3-8B-Instruct
From: nbeerbower <huggingface.co/nbeerbower>Subject: Bubba-Qwen3.6-27B-LoRA
From: bartowski <huggingface.co/bartowski>Subject: bytkim_Qwen3.8-27B-pi-GGUF