Flint Terse (MLX)
Recursive Flint, fine-tuned to think briefly and in shorthand inside <think> while keeping its final answers. This is a complete MLX model for Apple Silicon: download it in LM Studio or load it with mlx-lm, with nothing else to install. The GGUF version is gyohng/flint-terse.
"Hi!" base: 123 thinking tokens ("The user has just said "Hi!" — a simple greeting. ...")
terse: 15 thinking tokens User greets; respond friendly; ask how can help; brief; casual.
flint-terse keeps code accuracy within noise of the base (101.3 against 102.3 out of 110) with about 72% less thinking on code and over 80% less on math, prose and chat. For the least thinking on code, see flint-terse-minimalist.
Results
Measured on the int4 base with the adapter in llama.cpp. Scores are the mean of three seeds with one sample per task (temperature 1, top-p 0.95, top-k 20). The thinking reduction is relative to the base on the same tasks.
| Code (110 tasks) | Math (120 tasks) | Less thinking: code | math | prose & chat | |
|---|---|---|---|---|---|
| Flint int4 (base) | 102.3 | 103.3 | — | — | — |
| flint-terse | 101.3 | 108.7 | 72% | 84% | 87% |
| flint-terse-minimalist | 92.3 | 107.7 | 83% | 85% | 93% |
flint-terse stays within about one code task of the base, inside seed-to-seed noise, with 72% less thinking on code. flint-terse-minimalist thinks the least, small talk included, at about 10 code tasks below the base. Final replies stay complete; in chats about 3% of flint-terse's carry a stray </think>.
What this model is
The MLX int4 base RecursiveSI/flint-int4 with the LoRA merged in (30.6 GB). The merge rewrote attention q/k/v/o, the shared expert, the two dense MLPs and the routed experts' down-projections in the last 16 MoE layers. They are stored unquantized as bfloat16, the model's own dtype: re-quantizing them to 4 bits, as mlx_lm.fuse does, would round away most of the fine-tune. Every other tensor is the base's original int4. The base repository is written for the Rec runtime, which LM Studio's MLX engine cannot read, so the packed weights are saved here as the uint32 words MLX itself writes and config.json names the 8-bit embeddings. Against llama.cpp running the GGUF adapter on the int4 GGUF it picks the same top token at 97% of 256 positions (mean |Δlogp| 0.06). The chat template is Flint's, minus a replace("\x00", "") that LM Studio's template engine does not support, and it skips empty system messages.
The unmerged adapters (GGUF for llama.cpp, MLX for mlx-lm --adapter-path) are at gyohng/flint-terse-lora.
Usage
LM Studio: search for gyohng/flint-terse-mlx, download, load. Set temperature 1, top-p 0.95 and top-k 20 (the base model's defaults).
mlx-lm:
mlx_lm.generate --model gyohng/flint-terse-mlx --temp 1 --top-p 0.95 --top-k 20 --max-tokens 4096 \
--prompt "Write a function that merges overlapping intervals."
mlx_lm.server --model gyohng/flint-terse-mlx # OpenAI-compatible server
How it was made
Training ran directly on the int4 coefficients with rank-32 FP32 LoRA on attention, the shared expert and the dense MLPs, plus rank-8 LoRA on the routed experts' down-projections in the last 16 MoE layers. The model learned from its own answers by reinforcement learning: an answer earned reward only if it passed its tests, and less the longer it thought. flint-terse was penalised only beyond a quarter of the base model's own thinking on each task, so hard problems keep room to think; flint-terse-minimalist was held to a fixed budget. A short supervised pass earlier taught terse thinking for prose and chat. A final step on short chats and multi-turn conversations keeps thinking brief in everyday chat: supervised on its own shortest thinking for flint-terse, by reinforcement for flint-terse-minimalist. Code, data and a one-script reproduction are at https://github.com/gyohng/flint-terse.
License
Apache-2.0, the same licence as Flint. This fine-tune adds no further conditions. Flint is by Recursive.