Flint Terse

Recursive Flint, fine-tuned to think briefly and in shorthand inside <think> while keeping its final answers. This is a complete GGUF model: download it in LM Studio or pass it to llama.cpp, with nothing else to install.

"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%

The merged GGUF is the same network as base plus adapter: over 16K tokens of chat transcripts its mean KL divergence from base plus adapter is under 0.005 with 98% the same top token, no more than base plus adapter differs from itself run with another batch size (llama.cpp llama-perplexity --kl-divergence).

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 file is

flint-terse.gguf (33.7 GB) is the original RecursiveSI/flint-int4-gguf flint-int4-q4_1.gguf with the LoRA merged in by llama.cpp's llama-export-lora, which 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 as F16. Every other tensor is copied unchanged as Q4_1. The embedded chat template is Flint's, minus a replace("\x00", "") that LM Studio's template engine does not support, and it skips empty system messages. Context length is the base's 262,144 tokens.

The unmerged adapters, GGUF LoRA for llama.cpp and MLX LoRA for mlx-lm, are at gyohng/flint-terse-lora. The complete MLX model is gyohng/flint-terse-mlx.

Usage

LM Studio: search for gyohng/flint-terse, download, load. Set temperature 1, top-p 0.95 and top-k 20 (the base model's defaults).

llama.cpp:

hf download gyohng/flint-terse flint-terse.gguf --local-dir .
llama-server -m flint-terse.gguf --jinja --temp 1 --top-p 0.95 --top-k 20

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.

Downloads last month
2,944
GGUF
Model size
40B params
Architecture
flint
Hardware compatibility
Log In to add your hardware

We're not able to determine the quantization variants.

Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for gyohng/flint-terse

Finetuned
(2)
this model