File size: 4,733 Bytes
c76306a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e472cd4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c76306a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
---
license: apache-2.0
language:
- en
tags:
- mlx
- safetensors
- bonsai
- oqe
- calibration-smoke
- experimental
- not-for-production
pipeline_tag: text-generation
library_name: mlx
base_model:
- TiGa-RCE/Bonsai-27B-MLX-BF16-Config-Repaired
---

# Bonsai 27B oQ4e S32 Calibration Smoke

> **Experimental calibration artifact. Not a quality release. Do not use this
> model to judge Bonsai quality or as a production checkpoint.**

## Experiment family and current status

This is one public checkpoint in an **unfinished** MLX/oMLX compatibility and
quantization experiment:

- [BF16 config-repaired archival baseline](https://huggingface.co/TiGa-RCE/Bonsai-27B-MLX-BF16-Config-Repaired)
- [oQ2e S32 calibration smoke](https://huggingface.co/TiGa-RCE/Bonsai-27B-oQ2e-S32-Smoke)
- **oQ4e S32 calibration smoke — this repository**

The experiment remains incomplete until maintained MLX/MLX-LM/oMLX support can
load and generate through the relevant Bonsai paths without the current local
compatibility patches, explicit calibration proxies, or imatrix-boundary
workarounds. The larger predeclared evaluations follow that runtime gate.

The Hub's displayed parameter count reflects packed quantized storage tensors.
It does not describe a newly trained smaller model; the logical source
architecture is Bonsai 27B.

This repository preserves a bounded oQe-enhanced 4-bit MLX artifact that
loaded and generated normally on a 32 GB Apple Silicon host. Its purpose is
reproducible pipeline evidence and archival storage, not a claim that it
outperforms another Bonsai checkpoint.

## What this proves

- An oQe-enhanced 4-bit MLX artifact was produced from the public,
  config-repaired BF16 conversion baseline.
- Structural and load checks passed.
- The 32-sample imatrix collection completed with 496 entries.
- The allocation uses an effective 4.70 bits per weight: embeddings at 8-bit
  and 22 sensitivity-selected modules at 5-bit.
- The artifact produced coherent reasoning in the bounded behavioral smoke.
- On fixed 10-question screens it scored HellaSwag 6/10 and ARC-Challenge
  6/10.

## What this does not prove

The sensitivity stage was intentionally minimal: 2 samples of 64 tokens. The
10-question screens are too small for a quality ranking. This artifact has not
passed the predeclared 100-question evaluations or a quality-sized sensitivity
pass, and it did not beat the smaller oQ2e smoke artifact on the tiny screen.

Do not present it as a production model, a quality release, or evidence that
oQ4e is superior to ordinary Q4, oQ2e, Q1, or another quantization method.

## Reproduction parameters

| Setting | Value |
| --- | ---: |
| oQ level | 4 |
| effective allocation | 4.70 bpw |
| default quantization | affine 4-bit, group size 64 |
| embedding quantization | affine 8-bit, group size 64 |
| sensitivity-selected modules | 22 at affine 5-bit |
| imatrix samples | 32 |
| imatrix sequence length | 512 |
| sensitivity samples | 2 |
| sensitivity sequence length | 64 |
| calibration dataset | `oqe_code_multilingual` |
| imatrix entries | 496 |

`oq_imatrix_report.json`, `PROVENANCE.json`, and the included
`IMATRIX_CACHE_S32.npz` preserve the emitted artifact and calibration
evidence. The NPZ contains aggregate activation statistics, not raw
calibration prompts, and is not needed to run the model.

## Bounded evaluation

The fixed screens used deterministic, thinking-disabled decoding and the same
letter parser as the earlier oQ2e smoke:

| Benchmark | Score | Peak generation memory |
| --- | ---: | ---: |
| HellaSwag, fixed 10 | 6/10 | 15.70 GB |
| ARC-Challenge, fixed 10 | 6/10 | 15.42 GB |

The raw records are retained under `docs/`. These are pipeline screens, not
statistically useful benchmark claims.

## Provenance

- Derived baseline:
  [TiGa-RCE/Bonsai-27B-MLX-BF16-Config-Repaired](https://huggingface.co/TiGa-RCE/Bonsai-27B-MLX-BF16-Config-Repaired)
- Original source:
  [prism-ml/Bonsai-27B-gguf](https://huggingface.co/prism-ml/Bonsai-27B-gguf)
- Source revision used for conversion:
  `0cf7e3d21581b169b4df1de8bf01316000e2fbb7`
- Original source file:
  `Bonsai-27B-F16.gguf`
- Original source file SHA-256:
  `d4a381a6d07131c34af888607bdbda49fc885c97673a0d22aa3e0f0284bba566`
- Output hashes: `MODEL_SHA256SUMS.txt`

The project retains the upstream Apache-2.0 `LICENSE.txt` and `NOTICE.txt`.

## Runtime

The artifact uses heterogeneous MLX quantization metadata. It was validated
with the experimental oMLX/oQe path used to create it. Compatibility with
stock MLX-LM or other runtimes is not claimed.

## Attribution

Created by Technologies Brewster Jennings du Canada for the Bonsai MLX
quantization experiment. Created using Bonsai by Prism ML, derived from
Qwen3.6-27B.