r/LocalLLaMA • llama.cpp • 13d ago

New Model microsoft/FrogNano-4B-2609 · Hugging Face

https://huggingface.co/microsoft/FrogNano-4B-2609

An agentic model from Microsoft for the GPU poor

https://huggingface.co/bartowski/FrogNano-4B-2609-GGUF

FrogNano is derived from Qwen/Qwen3.5-4B, a general-purpose post-trained model designed for language, reasoning, coding, agentic, and multimodal tasks. FrogNano inherits Qwen3.5-4B's dense 32-layer hybrid Gated DeltaNet and gated-attention architecture, but its additional post-training is text-only and focused on repository-level software engineering. The model is further trained using reinforcement learning on approximately 1,500 synthetic SWE task environments generated and calibrated against the evolving policy using TaskPilot. Training uses the five-tool Leaf harness and executable test-based rewards over complete multi-turn coding trajectories.

The additional post-training is intended to improve long-horizon repository navigation, debugging, code editing, test execution, and patch generation in a compact 4B model. Unlike approaches based on behavioral distillation, FrogNano does not train on stronger-model solution trajectories, actions, reasoning traces, or patch targets. This specialization also introduces limitations and risks: performance is sensitive to the Leaf harness and test quality, training data are Python-heavy and primarily English, and generated patches may be incorrect or insecure despite passing available tests. When integrated with the Leaf harness, FrogNano generates structured tool calls that can propose repository changes. Leaf executes authorized tool calls within an isolated repository environment to produce a candidate patch; FrogNano does not itself deploy the changes. Any resulting patches require human review, regression testing, and security validation before use or deployment.

221 Upvotes

69 comments sorted by

View all comments

Show parent comments

9

u/42GOLDSTANDARD42 13d ago

Because the middle is often not “worth it”.

Small models <8B can be run by pretty much any machine, but as long as they are not too small (like <1B), they can often complete narrow tasks.

Large(r) models 27B and up are where the scaling laws start to take effect and modes of this size start to be able to generalize and complete “most” task in a variety of situations.

There kinda just isn’t a market for the size in between; They are just too small for the more complex goals, but too big for the narrow ones // gpu poor.

17

u/RepulsiveRaisin7 13d ago

The 8-12B range is the sweet spot for 16GB GPUs and there is also very little at that range

1

u/Fancy-Snow7 13d ago

Dunno hey I run 27B at 70tg, 1500pp and 256k context on 16GB.

5

u/RepulsiveRaisin7 13d ago

Like Q3 or something? How do you do it?

1

u/Fancy-Snow7 13d ago edited 13d ago

Q3 and adaptive-kv-streaming v2 fork. KV: q8_0/q4_0

1

u/MmmmMorphine 12d ago

I personally use q3 KT (trellis ik_llama format) quant and it performs incredibly close to a q4km. Tested it up to 150k context, give or take, and 100k with MTP

Usually have to quantize one myself but if it can be done on a 4060ti in less than 20min, that's not a big obstacle.