Configuration Parsing Warning:In config.json: "quantization_config.bits" must be an int

Jima-35B

About the name. La jima is the agave harvest in Mexico: the jimador cuts away the leaves until only the heart of the plant is left. Jima models are fitted to small machines the same way, by removing what a model does not need and leaving the rest untouched. Nothing is re-quantized. The word is Spanish, pronounced HEE-mah, and is unrelated to Iwo Jima.

Formerly Qwen3.6-35B-A3B-exl3-2.08bpw-pruned10-q8emb. See also Jima-27B, which is slower but scores much higher on agent tasks.

Qwen3.6-35B-A3B at 2.08 bits per weight (EXL3), with the 26 least-used experts in every layer removed (230 of 256 kept), the vision tower removed, and the token embedding table stored as 8-bit (int8 codes plus one f16 scale per row). Made to fit a 16 GB Apple Silicon Mac.

  • Derived from: UnstableLlama/Qwen3.6-35B-A3B-exl3-2.08bpw, an EXL3 quant of Qwen/Qwen3.6-35B-A3B. Both are Apache 2.0. No re-quantization was done: expert tensors were removed and the router rows for them dropped.
  • Which experts: chosen per layer by routing frequency, counted on the WikiText-2 training split plus a sample of code (not the test split used below). pruning.json lists the original index of every kept expert.
  • Size: 8.46 GiB on disk, 10.19 GiB peak memory at 8k context.
  • Write-up and scripts: lab note and trellis-fit. prune_experts.py and embed_q8.py there rebuild these weights byte for byte from the source quant.

Running it

This variant does not load in stock MLXL3 (it stops with missing tensor model.language_model.embed_tokens.weight), because the embedding table is stored as embed_tokens.q8 and embed_tokens.q8_scale. It needs our fork, built from source. You need Apple Silicon, Rust 1.89 or later and Python 3.12:

git clone https://github.com/EnriqueGalindo/mlxl3
cd mlxl3
python3.12 -m venv .venv
.venv/bin/python -m pip install mlx==0.32.2
export MLXL3_MLX_ROOT="$PWD/.venv/lib/python3.12/site-packages/mlx"
export MLXL3_ENGINE_BACKEND=mlx
cargo build --release --locked --no-default-features --features mlx,chat --bin mlxl3-rs
export MLXL3_ALLOCATOR_CACHE_MIB=512      # stops MLX keeping freed memory after long prompts
target/release/mlxl3-rs serve /absolute/path/to/this/model --port 8000 --context-length 65536

Keep the .venv folder in place: the binary loads MLX's libraries from it.

Then talk to it with any OpenAI-compatible client. The model field must be the absolute path you served:

curl http://127.0.0.1:8000/v1/chat/completions -H 'Content-Type: application/json' -d '{
  "model": "/absolute/path/to/this/model",
  "messages": [{"role": "user", "content": "What is 17 times 23?"}],
  "temperature": 0.7, "top_k": 20, "max_tokens": 2000}'

Checked on 2026-11-25 from a fresh download of this repository, and on 2026-11-30 on the fork's main branch, which is current MLXL3 with one added commit (the 8-bit embedding loader): perplexity, KL and speed are unchanged.

If you want a file that runs in stock MLXL3, use Jima-35B-stock.

The server accepts temperature, top_k, repetition_penalty, reasoning_effort (this model's template ignores it) and chat_template_kwargs: {"preserve_thinking": false}. It rejects top_p, min_p and seed. If your client does not send earlier turns' thinking back, set preserve_thinking to false; otherwise each earlier turn is rendered with an empty thinking block.

Measurements

All run on an Apple M5 Max. WikiText-2 test, 16 windows of 2,048 tokens, second half scored (16,368 tokens), against the bf16 model's saved log-probabilities.

Model Size on disk Perplexity KL vs bf16 (mean) Top-1 agreement Peak memory at 8k context
bf16 reference 67 GB 5.903 0 1 -
EXL3 2.08 bpw (source quant) 10.57 GiB 6.303 0.1141 85.9% 11.48 GiB
pruned10 8.94 GiB 6.353 0.1261 85.4% 10.68 GiB
pruned10-q8emb 8.46 GiB 6.354 0.1264 85.5% 10.19 GiB

Task tests (our own harness, greedy, thinking on, 12,288-token reply limit):

Test bf16 Source 2.08 quant pruned10 pruned10-q8emb
HumanEval (164) 159 132 159 153
MMLU sample (150) not run 124 121 124
Planted-code recall at 32k and 64k (64 codes) not run 64 64 64
Exact code copy at 32k and 64k (16) not run 14 16 16

The source quant loses most of its HumanEval points to thinking loops (31 problems stuck redrafting until the token limit). The pruned models almost never loop (2 and 5 problems). We do not have an explanation for that.

AppWorld test_normal (168 tasks, stock ReAct code agent, temperature 1.0, top-k 20, unseeded, one run per cell):

Setting bf16 (mlx-lm) pruned10-q8emb (MLXL3 fork) Tasks only one model passed
Round one: earlier thinking dropped, 8,192-token reply limit 121 (72.0%) 118 (70.2%) 24 vs 21, p = 0.77
Round two: earlier thinking kept, 24,576-token reply limit 123 (73.2%) 110 (65.5%) 28 vs 15, p = 0.066
Both rounds, of 336 244 (72.6%) 228 (67.9%)

Round one's reply limit cut off 125 of the bf16 model's replies and 12 of this model's, so it understates the gap. Rerunning the same model on the same tasks flipped 36 to 50 tasks, so one run cannot resolve a difference of fewer than about 10 tasks. pruned10 without the 8-bit embeddings was not run on AppWorld.

Limits

  • One unseeded run per AppWorld cell; no top-p or min-p (MLXL3 rejects them).
  • Not yet run on an actual 16 GB machine; memory figures are from a 128 GB Mac.
  • Text only. The vision tower was removed.
  • Not tested in exllamav3 on NVIDIA or AMD. The expert count per layer (230) differs from the base config's 256.
Downloads last month
87
Safetensors
Model size
5B params
Tensor type
I8
ยท
F16
ยท
I16
ยท
BF16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for meatlo4f/Jima-35B

Base model

Qwen/Qwen3.5-27B
Quantized
(2)
this model