OpenJev v5 4B (qwen3.5-4b-nli-v5), MLX affine 5-bit
Part of veJ: code, setup and benchmarks at https://github.com/ordinarybob/vej.
A conversion for Apple silicon of qwen3.5-4b-nli-v5, OpenJev's trained v5 4B checkpoint, from AlexWortega/openjev (by OpenJev's authors) at revision
a298f274886c4676c42f1a4262401b6aa9653e6d, as veJ serves it on a Mac. Nothing was trained or tuned: the weights are the
publisher's, in another format. This repository holds only the files the conversion made; the publisher's own files
are not copied here.
In veJ it is the one model that reads images, and one of the readers the tiers ask about text before the judge.
What changed
- The token embedding and every Linear module of the transformer layers (249 modules) are quantized affine 5-bit, group size 64, with mlx-lm's
quantize_modelon MLX 0.32.2. Every other tensor is the publisher's, unchanged; the converter checks each of them, the score head (bfloat16) and the recurrentA_logparameters (float32) among them. config.jsonis the publisher's with the quantization and amlx_openjev_derivativerecord (format, the source config's sha256).source-config.json(the publisher'sconfig.json) and the tokenizer files are the publisher's own, unchanged, and are not copied here: the directory takes them from the publisher at the same revision (Use, below).mlx-conversion.jsonrecords every file's size and sha256; the server checks them at load.- The vision tower is not here either: the server reads the publisher's BF16 vision tensors unchanged, from a sidecar directory that
mlx_openjev_vision_assets.pyextracts from the publisher's checkpoint (297 tensors, each held to its sha256), with Qwen3.5's image processor config.
Converted with veJ's
python server/q5/mlx_openjev_packed_gdn.py --checkpoint <publisher dir> --convert-output <out> --convert-bits 5
Measured
- Accuracy on the screening questions by width: 0.777 at 4 bits, 0.835 at 5, 0.837 at 6, 0.838 in 16 bits. The width moves the model's confidence, not what it gets right: 6 bits at a threshold of 0.98 settles what 5 bits settles at 0.95.
- 5 bits is 0.5 GB smaller than 6 and reads faster; 4 bits loses 6 points.
The figures above are from veJ's own measurements (method and full results). The publisher's card describes the model itself.
Use
The conversion, then the publisher's own files from the publisher at the same revision:
hf download Bob99Bob/openjev-qwen3.5-4b-nli-v5-mlx-affine5 --local-dir DIR
hf download AlexWortega/openjev --revision a298f274886c4676c42f1a4262401b6aa9653e6d \
qwen3.5-4b-nli-v5/config.json qwen3.5-4b-nli-v5/tokenizer.json qwen3.5-4b-nli-v5/tokenizer_config.json qwen3.5-4b-nli-v5/model.safetensors --local-dir SRC
cp SRC/qwen3.5-4b-nli-v5/config.json DIR/source-config.json && cp SRC/qwen3.5-4b-nli-v5/tokenizer.json SRC/qwen3.5-4b-nli-v5/tokenizer_config.json DIR/
hf download Qwen/Qwen3.5-4B --revision 851bf6e806efd8d0a36b00ddf55e13ccb7b8cd0a preprocessor_config.json --local-dir QWEN
python server/q5/mlx_openjev_vision_assets.py --checkpoint SRC/qwen3.5-4b-nli-v5 --output VISION \
--preprocessor QWEN/preprocessor_config.json
python server/q5/mlx_openjev_packed_gdn.py --checkpoint DIR --vision-sidecar VISION \
--model openjev-4b-a298f274-mlx-affine5-g64-v1 --port 29742
veJ's setup for Apple silicon (provision/m4_models.py fetch) assembles the directory from both and checks every file against its record.
The publisher's model.safetensors (9.1 GB) is needed only for its vision tower (0.67 GB); the setup reads just those bytes from it. The served settings are in veJ's server/launchd/services.toml.
The publisher's note on its training data
Trained on the test splits of other benchmarks. v5 deliberately includes TRAIN and TEST splits of MMLU, ARC, GSM8K, HellaSwag, WinoGrande, GPQA-diamond, CLINC-150, Banking77 and ESCI — the exact list is
qwen3.5-4b-nli-v5/panel_manifest.json. Numbers on those benchmarks are meaningless for this checkpoint and are not reported.
Licence
MIT, as the publisher declares for OpenJev in its card (the repository has no licence file; LICENSE is the MIT text attributed to OpenJev's authors). It is built on Qwen/Qwen3.5-4B, Apache-2.0 (LICENSE.Apache-2.0). NOTICE says what this conversion changed.