A LoRA adapter for Recursive Flint that makes it think briefly and in shorthand inside <think> while keeping its final answers. This repository holds the unmerged adapters: a GGUF LoRA for llama.cpp over the unchanged int4 GGUF base, and an MLX LoRA for mlx-lm over the MLX int4 base. For LM Studio, download a merged model instead: gyohng/flint-terse-minimalist (GGUF) or gyohng/flint-terse-minimalist-mlx (MLX). LM Studio cannot apply LoRA adapters, and these files alone will not load there.
"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-minimalist thinks the least: 83% less on code, 85% on math and 93% on prose and chat, greetings and small talk included, at about 10 code tasks below the base out of 110. For base-level coding accuracy, see flint-terse.
Measured on the unchanged int4 base 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>.
| File | Use |
|---|---|
flint-terse-minimalist.gguf |
GGUF LoRA for llama.cpp (339 MB) |
mlx/adapters.safetensors, mlx/adapter_config.json |
MLX LoRA for mlx-lm over RecursiveSI/flint-int4 (842 MB) |
chat_template.jinja |
Flint's chat template without its replace("\x00", ""), which LM Studio's template engine does not support; it skips empty system messages |
Use the exact base the adapter was trained on.
RecursiveSI/flint-int4-gguf, file flint-int4-q4_1.gguf, revision 9c47151036bc2c34331142dda04488bceab2bc9f, SHA-256 43c07baccdba42eb7528a9630ee15699b1942c297291dc1b39a061f508ee1a4b.
Other quantizations are different checkpoints and are not supported.
llama.cpp:
hf download RecursiveSI/flint-int4-gguf flint-int4-q4_1.gguf --revision 9c47151036bc2c34331142dda04488bceab2bc9f --local-dir .
hf download gyohng/flint-terse-minimalist-lora --local-dir flint-terse-minimalist
llama-server -m flint-int4-q4_1.gguf --lora flint-terse-minimalist/flint-terse-minimalist.gguf \
--jinja --chat-template-file flint-terse-minimalist/chat_template.jinja --temp 1 --top-p 0.95 --top-k 20
mlx-lm:
hf download gyohng/flint-terse-minimalist-lora --include 'mlx/*' --local-dir flint-terse-minimalist-lora
mlx_lm.generate --model RecursiveSI/flint-int4 --adapter-path flint-terse-minimalist-lora/mlx \
--temp 1 --top-p 0.95 --top-k 20 --max-tokens 4096 --prompt "Write a function that merges overlapping intervals."
LM Studio users can also attach this adapter to the base with the GitHub repository's ./run.sh deploy --adapter release/flint-terse-minimalist, but the merged model is simpler.
Recommended sampling is temperature 1, top-p 0.95 and top-k 20, the base model's defaults.
This adapter also adapts the routed experts with per-expert LoRA on down_proj in the last 16 MoE layers. The GGUF needs a llama.cpp build with per-expert LoRA support, which recent llama.cpp has.
mlx-lm uses one rank for every module, so in mlx/ the rank-8 expert factors are zero-padded to rank 32. The padding is exact.
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.
Apache-2.0, the same licence as Flint. This fine-tune adds no further conditions. Flint is by Recursive.
RecursiveSI/flint-int4-gguf