Downloads · 30 days
44
15% of all-time downloads
Vita0818/Vireqo-27B-Plus-260816
Vireqo-27B-Plus-260816 is a text generation model from Vita0818. Use it when you need the model to write or continue text. It is set up for llama.cpp. The card lists the license as apache-2.0.
Unofficial, experimental, text-only, Ternary-Bonsai-guided cross-version GGUF derived from both Qwen3.8-27B and Ternary-Bonsai-27B.
Downloads · 30 days
44
15% of all-time downloads
All-time downloads
298
Public
Repo size
7.6 GB
Likes
0
Public
Click a slice to open those files.
.gguf7.6 GB · 100%
From the Hugging Face model README
Unofficial, experimental, text-only, Ternary-Bonsai-guided cross-version GGUF derived from both Qwen3.8-27B and Ternary-Bonsai-27B.
Vireqo-27B-Plus-260816 is a 7.06 GiB ternary 27B-class GGUF built for constrained Apple Silicon systems. It preserves the trained {-1, 0, +1} code pattern of Ternary-Bonsai-27B, conservatively refits block scales toward the aligned Qwen3.8-27B weights, and retains source-consistent recurrent controls and token interfaces. The release was built on a Mac with approximately 12 GiB reserved for the task and was loaded successfully by LM Studio’s bundled llama.cpp backend.
This is not a conventional direct quantization of Qwen3.8-27B, not an official Qwen or Prism ML release, and not a claim that Qwen3.8 quality is retained. The large low-bit matrices are primarily the trained Ternary-Bonsai prior. Qwen3.8 contributes a limited scale-fitting term, selected F32 control tensors, and release tokenizer/template information. The complete method and its limitations are disclosed below and in TECHNICAL_README.md.
中文摘要:这是 Vireqo-27B-260816 的三值 Plus 分支。它用更大的约 7.06 GiB 文件保留 Ternary-Bonsai 的 -1/0/+1 离散权重结构,并让主干 scale 以 25% 权重向 Qwen3.8 拟合。正式文件在 LM Studio 同款后端中通过了短答、基础长回复、384-token 压力测试与 768-token 扩展测试的复读稳定性验收;但严格计数、格式、事实正确性与 Thinking 模式均没有被接受为可靠能力。
| Item | Value |
|---|---|
| File | Vireqo-27B-Plus-260816.gguf |
| Size | 7,585,332,288 bytes |
| Binary size | 7.064391 GiB |
| SHA-256 | a32a8ec286a11c6534bf29d1ee20bd4c02064032b51ae8310bb1216e2de17e03 |
| Tensor count | 851 |
| Total tensor elements | 26,895,998,464 |
| Whole-file average | approximately 2.256196 bits per element |
| Scope | text only; no vision projector, MTP, or drafter |
The release uses one fixed layout:
| GGUF type | Tensors | Role |
|---|---|---|
Q2_0 | 498 | trained Ternary-Bonsai ternary codes; 496 backbone tensors receive conservative Qwen scale fitting, while embedding and LM head remain source-exact |
F32 | 353 | 192 recurrent SSM controls from Ternary-Bonsai; 161 remaining normalization/control tensors from converted Qwen3.8 |
For each 64-weight block in the 496 fitted backbone tensors, let z = code - 1, so z ∈ {-1, 0, +1}. The release computes:
d_fit = max(dot(W_qwen, z) / dot(z, z), 0)
d_final = 0.75 * d_ternary_bonsai + 0.25 * d_fit
W_plus = d_final * z
If a block contains only zero codes, it retains the source scale. The packed Ternary-Bonsai code bytes are copied unchanged for every Q2 tensor:
0;code=3): 0;420,208,640;token_embd.weight: byte-exact Ternary-Bonsai Q2 payload;output.weight: byte-exact Ternary-Bonsai Q2 payload;.ssm_a, .ssm_conv1d.weight, .ssm_dt.bias, and .ssm_norm.weight tensors: byte-exact Ternary-Bonsai F32 payloads;The 25% Qwen fitting weight is a conservative engineering prior inherited from the stable Q1 route. It is not claimed to be globally optimal. A sampled reconstruction audit measured Qwen-target NMSE changing from 0.44395375 for the original Ternary-Bonsai code+scale to 0.43573998 for the fixed-code blended scale, a relative reduction of 1.8501%. This is a weight-space diagnostic, not a 1.85% benchmark or quality claim.
| Item | Vireqo-27B-260816 | Vireqo-27B-Plus-260816 |
|---|---|---|
| Main discrete alphabet | binary {-1,+1} | ternary {-1,0,+1} |
| Release size | 4.5413 GiB | 7.0644 GiB |
| Low-bit prior | Bonsai Q1 | Ternary-Bonsai Q2 |
| Embedding / LM head | Bonsai-Q1-derived symmetric Q4 container | native source-exact ternary Q2 payload |
| Intended operating point | minimum-memory stable chat | larger quality-oriented ternary representation |
“Plus” identifies the ternary size/representation branch. It does not mean the Qwen mix is more aggressive, and no standard benchmark comparison against the Q1 release is claimed here.
The final GGUF contains:
| Parameter | Embedded value |
|---|---|
| Temperature | 0.7 |
| Top-k | 20 |
| Top-p | 0.95 |
| Min-p | 0 |
| Repeat penalty | 1.08 |
| Repeat window | 64 |
The first three values follow the upstream Ternary-Bonsai recommendation. The modest repetition penalty and 64-token window are release safeguards for sustained low-bit generation. A final llama.cpp regression omitted all sampling fields and confirmed that these metadata defaults produced 8/8 nonempty base responses without detected loops. A frontend’s saved per-model preset may override the GGUF values.
The tests used LM Studio’s installed llama.cpp-mac-arm64-apple-metal-advsimd-2.28.2 backend, full GPU offload, flash attention, Q8_0 K/V cache, one parallel request, and reasoning disabled.
| Suite | Requests | Automatic loop flags | Manually confirmed content loops | Notes |
|---|---|---|---|---|
| Base, temperature 0 / penalty 1.08 | 8 | 0 | 0 | 8/8 stable |
| Base, source metadata defaults | 8 | 0 | 0 | pre-finalization control |
| Stress, up to 384 tokens | 10 | 4 | 0 | flags were required topic terms or dialogue labels, not sentence/paragraph loops |
| Extended, up to 768 tokens | 3 | 2 | 0 | flags came from a required repeated date clue and a required running example |
| Base, final embedded defaults | 8 | 0 | 0 | 8/8 stable without request sampling overrides |
| Difficult 384-token subset, final defaults | 3 | 0 | 0 | 3/3 normal stops |
The detector is intentionally conservative. A flag can be raised when a required term appears four times even if the answer is progressing normally. Manual review found no repeated sentence, duplicated paragraph, or tail cycle in the 384- and 768-token suites.
Representative results:
法国的首都是巴黎。, 7 completion tokens, normal stop;0.000;Stability is not quality equivalence. Observed weaknesses include mixed-language fragments, invented numerical claims, incomplete strict counts, and generation-limit truncation. In the final student/teacher test, the model stopped normally but did not produce exactly twelve requested turns.
| Item | Result |
|---|---|
| Host used for build/test | Apple M5 MacBook Pro, 24 GB unified memory |
| Task memory budget | approximately 12 GiB |
| Contexts actually tested | 1024 and 2048 |
| GPU offload | full (-ngl 99) |
| Flash attention | on |
| K/V cache | Q8_0 / Q8_0 |
| Parallel requests | 1 |
| Final short-probe speed | approximately 11.17 tokens/s |
| Final 2048-context session maximum RSS | 7,701,676,032 bytes, approximately 7.17 GiB |
| Highest maximum RSS observed across runtime validation | 9,221,750,784 bytes, approximately 8.59 GiB |
| Swap | 0 |
These values are one-machine evidence. LM Studio versions, context size, concurrent applications, unified-memory pressure, and macOS caching can change the result.
The bundled backend can terminate with status 1 or 134 after receiving a duplicate interrupt during server shutdown. All cited model loads, responses, and timing records completed before cleanup; this shutdown behavior was not classified as an inference failure.
Vireqo-27B-Plus-260816.gguf with a current llama.cpp runtime.2048; reduce to 1024 if the system is under memory pressure.1.mmproj, MTP model, or speculative drafter.First diagnostic prompt:
请只用一句完整的中文回答:法国的首都是哪里?
Expected behavior is a short answer equivalent to 法国的首都是巴黎。 followed by a normal stop.
See LM-STUDIO-使用指南.md for the no-copy local installation, GUI settings, and troubleshooting.
GGML_METAL_TENSOR_DISABLE=1 ./llama-cli \
-m Vireqo-27B-Plus-260816.gguf \
-ngl all -c 2048 -fa on -ctk q8_0 -ctv q8_0 \
--jinja --reasoning off \
--temp 0.7 --top-k 20 --top-p 0.95 --min-p 0 \
--repeat-penalty 1.08 --repeat-last-n 64 \
-n 256 -st \
-p '请用一句完整的中文回答:法国的首都是哪里?'
GGML_METAL_TENSOR_DISABLE=1 was required by the separately pinned local build on the tested M5 setup. LM Studio’s bundled backend handled the unavailable Metal Tensor API path automatically. This is a runtime-specific detail, not evidence of GGUF corruption.
The artifact should be treated as a reproducible cross-version ternary-prior-transfer experiment with encouraging long-output stability, not as a dependable general-purpose 27B assistant.
| Source | Revision | Link |
|---|---|---|
| Qwen3.8-27B | 1d4bf0f2ff6012fd82039f2fa52739d0dd7c60c0 | Qwen/Qwen3.8-27B |
| Ternary-Bonsai-27B-gguf | abbae723028d71be674e71e1a71201a6f43fab22 | prism-ml/Ternary-Bonsai-27B-gguf |
| llama.cpp conversion/tooling | ad1de39e0708e3ced9c71bb3c82d93a2c046a73f | ggml-org/llama.cpp |
The exact Ternary-Bonsai input was Ternary-Bonsai-27B-Q2_g64.gguf, 7,585,330,240 bytes, SHA-256 59a45d1ecef702b14531b06d22949f33b25c1897da31a8c0b298e01e4d9138eb.
Vireqo-27B-Plus-260816.gguf.provenance.json — final release provenance;weight-build.provenance.json — complete weight-build and per-tensor statistics;metadata-finalization.provenance.json — proof that release metadata rebuilding preserved every tensor payload byte;artifact-validation.md / .json — independent structural and source validation;runtime-validation.json — runtime, memory, suite, and acceptance summary;long-regression-*.md / .json — raw base, stress, extended, and final-default response records;source-revisions.json — pinned sources;build-info.txt — compact build handoff;TECHNICAL_README.md — full technical route and recovery ladder;LM-STUDIO-使用指南.md — local no-copy installation and troubleshooting;SHA256SUMS.txt — release checksum.The artifact is provided under Apache License 2.0, consistent with the pinned upstream repositories inspected for this build. Review LICENSE and NOTICE before redistribution and re-check upstream terms if using different revisions.
Vireqo-27B-Plus-260816 is the name of this independent experimental artifact. It is not affiliated with, sponsored by, or endorsed by Qwen, Alibaba Cloud, Prism ML, or Bonsai. Those names are used only to identify the disclosed upstream sources and lineage.